Homeassistant Sensors for MQTT component

Once i built up my multi sensors i wanted to add them into home assistant.

I had an issue with the database getting very large due to the number of times the motion sensor was triggered.
I excluded these entities in my log book so they no they where not longer tracked by the MySQL database.

Sensors can be created for

Humidity
Temperature
LUX
Motion
LED

As the ESP8266 Multi sensors utilize the mqtt protocol, you can view the JSON in your MQTT client.

- platform: mqtt
name: Wildinghousehold Multisensor Humidity
state_topic: "wildinghousehold/sensornode1"
unit_of_measurement: "%"
value_template: '{{ value_json.humidity | round(1) }}'

Leave a Reply

Your email address will not be published. Required fields are marked *