Skip to content

murraythegoz/bme680-mqtt

 
 

Repository files navigation

bme680-mqtt

Modifies example by Pimoroni to publish bme680 data via MQTT and shown automatically as an Home-assistant entity.

Most of the code is based on Robin Cole own bme680-mqtt, with the mqtt code altered to comply with Home Assistant MQTT-Discovery schema. Most of the code is based on both documentation and by checking the message queue from a couple of TASMOTA devices using MQTT Explorer

Everything is auto set in the code, you just have to configure the following parameters:

  • sensor name (you can have several such sensors around, so you should set an unique id)
  • MQTT Broker (usually the Hassio server with MosQuiTTo integration installed)
  • MQTT username and password (default MosQuiTTo integration require a username and password set via Home Assistant users)

Finally you may want to customise the look of the sensors in the Home-assistant front end.

About

Publish bme680 data via MQTT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%