Skip to content

Commit 7f21198

Browse files
committed
Updated docu for multiple devices
1 parent abf593c commit 7f21198

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sensorbox-publisher/Readme.MD

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
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.
66

7-
## Configuration
7+
## Configuration for a single device
88

99
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).
1010

@@ -16,6 +16,14 @@ Use one of the following options:
1616
* DPS Registration ID: [Spring Boot property](https://docs.spring.io/spring-boot/docs/2.1.8.RELEASE/reference/html/boot-features-external-config.html) `sensorbox.publisher.dps.deviceID`
1717
* DPS Device Key: [Spring Boot property](https://docs.spring.io/spring-boot/docs/2.1.8.RELEASE/reference/html/boot-features-external-config.html) `sensorbox.publisher.dps.deviceKey`
1818

19+
## Configuration for multiple devices
20+
21+
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):
24+
* DPS Scope ID: [Spring Boot property](https://docs.spring.io/spring-boot/docs/2.1.8.RELEASE/reference/html/boot-features-external-config.html) `sensorbox.publisher.dps.scope`
25+
* 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+
1927
## Running the component
2028

2129
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

Comments
 (0)