You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sensorbox-publisher/Readme.MD
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
This sample provides [IoT Plug&Play](https://docs.microsoft.com/en-us/azure/iot-pnp/) support for Azure IoT by providing a [Device capability model](https://github.com/JMayrbaeurl/opensensemap-azure-integration/blob/master/device%20models/senseBox_home.capabilitymodel.json) for the [SenseBox:home](https://sensebox.de/en/products) device.
6
6
7
-
## Configuration
7
+
## Configuration for a single device
8
8
9
9
Currently only sending the latest measurements of one single senseBox is supported. Put the SenseBox ID in the [Spring Boot property](https://docs.spring.io/spring-boot/docs/2.1.8.RELEASE/reference/html/boot-features-external-config.html)`opensensemap.publisher.boxid`. The send frequency is defined in the [Spring Boot property](https://docs.spring.io/spring-boot/docs/2.1.8.RELEASE/reference/html/boot-features-external-config.html)`opensensemap.publisher.fixedRate` and defaults to 60000 (in milliseconds -> 1 minute default).
10
10
@@ -16,6 +16,14 @@ Use one of the following options:
Currently only [IoT DPS with symmetric keys](https://docs.microsoft.com/en-us/azure/iot-dps/concepts-symmetric-key-attestation#group-enrollments) enabled scenarios are supported for multiple senseBox devices.
22
+
23
+
*[IoT DPS configuration with symmetric keys](https://docs.microsoft.com/en-us/azure/iot-dps/concepts-symmetric-key-attestation#group-enrollments):
* Boxes configuration: Comma separated list of box configuration in [Spring Boot property](https://docs.spring.io/spring-boot/docs/2.1.8.RELEASE/reference/html/boot-features-external-config.html)`sensorbox.publisher.dps.boxesCreds`. E.g. "Box1ID;Box1DeviceKey;Box1DeviceKey,Box2ID;Box2DeviceKey;Box2DeviceKey" (See DPS configuration for a single device. Be careful with used characters)
26
+
19
27
## Running the component
20
28
21
29
The component that sends the SenseBox latest measurements to Azure IoT Hub can be run as Java process or as Docker container. E.g. as [Docker container](https://hub.docker.com/repository/docker/jmayrbaeurl/sensebox-publisher):
0 commit comments