monitor icon indicating copy to clipboard operation
monitor copied to clipboard

Repeat sending states, even when unchanged

Open roybosch opened this issue 4 years ago • 1 comments
trafficstars

Hi,

I'm using your monitor software for more than a year now and I'm very happy with it. It's been very stable and reliable on my Raspberry Pi Zero W. I'm combining it with Home Assistant via MQTT.

One thing I haven't found out yet is if it's possible to repeat sending the confidence number of each known device. Let's say once every minute. When I'm restarting Home Assistant, my mqtt sensor is reset to "Unavailable". This doesn't change until I restart the Raspberry on which monitor is installed. That way it sends a new confidence state, which is picked up by HA.

It seems that monitor only outputs a MQTT message when the confidence number changes. Can I force monitor to repeat this confidence every minute or so?

Looking forward to your reply.

Roy

roybosch avatar Nov 05 '21 10:11 roybosch

It's on the how-to on the first page. monitor/first_floor/KNOWN DEVICE STATES first_floor is the name of your device (raspberry i think is the default name). You send this mqtt command after a restart

drageloth avatar Nov 20 '21 12:11 drageloth