2019-11-09 17:23:07 +00:00
|
|
|
The service will gather sensor data and provide access to it via gRPC.
|
|
|
|
|
2019-11-17 13:45:44 +00:00
|
|
|
### Telemetry
|
|
|
|
|
|
|
|
You can use cloud telemetry for free via Azure-IoT-Hub.
|
|
|
|
You still need a backend application that will process the messages.
|
|
|
|
|
|
|
|
You will need to create a:
|
|
|
|
- IoT Hub
|
|
|
|
- IoT Device
|
|
|
|
|
|
|
|
Then navigate to your device and grab the primary key, you will need it to create
|
|
|
|
a connection string of the form:
|
|
|
|
|
|
|
|
`HostName=YOUR_IOT_HUB_NAME.azure-devices.net;DeviceId=YOUR_DEVICE_NAME;SharedAccessKey=PRIMARY_OR_SECONDARY_KEY`
|
|
|
|
|
|
|
|
The connection string can be passed to the application via `appsettings.json` or command line arguments or environment variables:
|
|
|
|
```
|
|
|
|
dotnet run --Telemetry:AzureIotHubConnectionString=CONNECTION_STRING
|
|
|
|
export Telemetry:AzureIotHubConnectionString=CONNECTION_STRING
|
|
|
|
```
|
|
|
|
|
2019-11-09 17:23:07 +00:00
|
|
|
### Enviroment Sensor
|
2019-11-09 13:34:49 +00:00
|
|
|
|
2019-11-09 17:23:07 +00:00
|
|
|
Worker service for the [BME680](https://www.bosch-sensortec.com/bst/products/all_products/bme680) enviromental sensor from Bosh.
|
2019-11-09 13:34:49 +00:00
|
|
|
|
2019-11-09 14:54:06 +00:00
|
|
|
Sensor capabilities:
|
|
|
|
|
|
|
|
* Temperature
|
|
|
|
* Barometric Pressure
|
|
|
|
* Humidity
|
|
|
|
* VOC Gas (Currently not implemented in binding)
|
|
|
|
|
2019-11-10 12:38:40 +00:00
|
|
|
|
2019-11-09 14:54:06 +00:00
|
|
|
|
|
|
|
|