jakubonty / weather_station_mqtt

5 stars 7 forks source link

Weather Station MQTT

This is port of maserver: https://github.com/sarnau/MMMMobileAlerts/tree/master/maserver from Markus Fritze. Some modifications were added to work with homeassistent.

To get it working you need to: 1) install Mosquitto broker plugin 2) install this Weather Station MQTT and configure it 3) check logs addon logs 4) list MQTT broker messages to get sensor: sudo apt-get install mosquitto-clients , mosquitto_sub -t "#" -h 192.168.0.123 -u username -P password 5) add sensors to configuration.yml

sensor:
  - platform: mqtt
    name: bathroom_humidity
    state_topic: MobileAlerts/1148a76fa501/json
    unit_of_measurement: '%'
    value_template: "{{value_json.humidity[0]}}"

Hints for the config.json keys: