Is there any way of using the rssi data published to he MQTT topics to give some idea of distance from each of the detectors? I understand it would probably be a pretty low confidence in terms of distance, but may be useful to feed into the “confidence” %?
How would I configure a sensor in HA to monitor the heartbeats? Will be a simple be useful monitor to know if I’ve not received a heartbeat from either of the detectors over a period of time…
is it possible to change the confidence level? my phone is 20 feet away and still shows 100…% any chance this can be lowered depending on how far away it is?
I finally got this to work with my own mqtt server, seems to be an issue with username/password since i had to leave it blank…, anyways
can you explain how this sensor works?
- platform: min_max
name: "Home Occupancy Confidence of 00:00:00:00:00:00"
type: max
round_digits: 0
entity_ids:
- sensor.media_room (does not exist in home assistant)
I changed the entity_id’s to sensor.media_room, but where does the information pull for sensor.media_room if i don’t have one?
My monitor has started to sometimes have this HCI error, same as this (https://github.com/andrewjfreyer/monitor/issues/25) but it’s not all the time. I don’t know if it has to do with this but the raspberry also disconnects from my Mosquitto broker after a short while. Making the whole home/away not working for me. I tried to do bash monitor.sh - E and all seems fine there, finding my phone etc. But still 0% in my Home assistant. What can I do to solve this?
Edit: I did some research in the long long thread here and found out that it could be solved with pairing to a bluetooth device first. Now everything it’s working just perfect
Question: I suspect that arrive triggers aren’t actually starting an arrive scan. When I trigger a scan from HA or directly through MQTT I can see this popping up in the logs:
mqtt trigger arrive {monitor/scan arrive
yet it doesn’t fire of a scan, I can’t see the message
**** Started arrival scan. [x2 max rep] ****
This does work consistently with the depart trigger, just not with arrive. Am I missing something? Or could it be that I don’t send the right MQTT message (which seems unlikely, but who knows)? I’ve tried this with both “-t” on and off with same results. Any help is much appreciated!