Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.35 KB

README.md

File metadata and controls

15 lines (10 loc) · 1.35 KB

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.