Now for some HW on the RPi: IoT Hub Telemetry App that sends real data
March 15, 2020 14:27
David Jones MVP
iot
powershell
dotnetcore
iothub
azure
iot-core
raspbian
dotnetio
15 Mar 2020 14:27:06
David Jones MVP
iot powershell dotnetcore iothub azure iot-core raspbian dotnetio
iot powershell dotnetcore iothub azure iot-core raspbian dotnetio
The az-iothub-ps set of PowerShell scripts has been extended: Building upon the .NET Core GitHub project djaus2/DNETCoreGPIO, there is now an app under Telemetry that runs on the RPi that sends real Telemetry data to the IoT Hub. Uses a DHT22 sensor. Only works on Raspbian though.
The az-iothub-ps repository
- https://github.com/djaus2/az-iothub-ps
- set-path.ps1 and get-iothub.ps1 are in the PS folder
- Run
./set-path
first - Then run
get-iothub
to create a hub if needed and to get hub metatdata (connection strings).
- Run
- quickstarts folder is in ps\qs-apps under which are apps.
How To
- See the setup (including wiring) is in djaus2/DNETCoreGPIO repository
- Set up the IoT Hub as previous using get-iothub PS script and get the environment variable into set-env.sh bash script, as previous.
- Look for the app quickstarts\telemetry\telemetry\simulated-device_on_RPi
- Run that after running the set-env.sh script on the device as previous
Topic | Subtopic | |
This Category Links | ||
Category: | IoT Index: | IoT |
Next: > | Now for some HW on the RPi | IoT Hub Device Streaming Apps that Send & Recv real data - 2 more apps |
< Prev: | Now for some HW on the RPi | A Sampler from the GitHub Repository dotnet/io |