On Azure Marketplace, there is a module called Simulated Temperature Sensor
which is a great module for new Azure IoT Edge developers to start with.
However, this app is developed in C#. Apparently some developers are not C# fans and are looking for a Python version. I created it here for their reference.
PLEASE BE NOTED: this sample module and the source codes are created for testing purpose or learnign purpsoe only. Neither the coding style nor the use of connection_strings instead of certificates is recommended for production codes.
- Simulated Temperature Sensor C#: https://github.com/Azure/iotedge/tree/master/edge-modules/SimulatedTemperatureSensor
- Azure.iot.device.aio API: https://docs.microsoft.com/en-us/python/api/azure-iot-device/azure.iot.device.aio?view=azure-python
- Install Azure IoT Edge runtime on multiple platforms: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge?view=iotedge-2020-11#:~:text=The%20Azure%20IoT%20Edge%20runtime%20is%20what%20turns,logic%20to%20it%20from%20the%20cloud.%20To%20
- Develop custom codes in Python: https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-python-module?view=iotedge-2020-11