nitescuc / rpi-mqtt-monitor-docker

RPi monitoring on OpenMower for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPi MQTT Monitor for OpenMower and Home Assistant

This repository contains configuration for rpi-mqtt-monitor to be used with an OpenMower.

Usage

Running on the OpenMower

Copy the monitor.service file to /etc/systemd/system/ on your OpenMower.

Then enable and start the service:

sudo systemctl enable monitor.service
sudo systemctl start monitor.service

This will start publishing configured sensor values to OpenMower MQTT broker:

mqttui

Configuring Home Assistant MQTT bridge

rpi-mqtt-monitor already publishes Home Assistant discovery messages. So the only thing you need to do is to configure the MQTT bridge. Add the following configuration to your Home Assistant MQTT add-on:

connection openmower-to-homeassistant
address openmower.local:1883
bridge_protocol_version mqttv50
topic # in 0 monitor/ monitor/
topic # in 0 homeassistant/ homeassistant/

This will forward all monitoring and discovery messages from OpenMower to Home Assistant. Restart the MQTT add-on and you will see a new device under MQTT integration:

device

About

RPi monitoring on OpenMower for Home Assistant

License:GNU General Public License v3.0


Languages

Language:Just 43.4%Language:Python 30.4%Language:Dockerfile 26.2%