Skip to content

Read data from a BME280 environmental sensor and write to Azure IoT Hub.

License

Notifications You must be signed in to change notification settings

stevegerke/azure_iot_getstarted_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

azure_iot_getstarted_python

Read data from a BME280 environmental sensor and write to Azure IoT Hub.

This code is a combination of bme280.py written by Matt Hawkins to read data from the BME280 sensor via the I2C bus and SimulatedDevice.py provided by Microsoft to connect to a device-specific MQTT endpoint on your IoT Hub.

https://www.raspberrypi-spy.co.uk/2016/07/using-bme280-i2c-temperature-pressure-sensor-in-python/

https://bitbucket.org/MattHawkinsUK/rpispy-misc/raw/master/python/bme280.py

https://github.com/Azure-Samples/azure-iot-samples-python/

IoT Hub requires the following:

  • pip install azure-iothub-device-client

  • sudo apt-get install libboost-all-dev

About

Read data from a BME280 environmental sensor and write to Azure IoT Hub.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages