I run HASS and a M5Stack OMG using HASS discovery, the OMG shows up in HASS automatically. I have an iBeacon and am experimenting with the mqtt_room
integration for room presence detection.
Target: I would like the HASS sensor.ibeacon
to show the omg name myroom
if the iBeacon is in the same room with the OMG.
This is the configration for mqtt_room:
sensor:
- platform: mqtt_room
state_topic: "home/home_presence"
timeout: 5
away_timeout: 600
name: "ibeacon"
device_id: "xx:xx:redacted"
Here are the setting for the OMG:
{"lowpowermode":1,"hasspresence":true,"interval":1,"onlysensors":false,"bleconnect":false,"minrssi":-75}
Now some thigns do not seem to work as expected, and I would like to better understand why that is and how to do it better:
-
why does
home/homepresence/myroom
only contain 1 device, even if there are several devices in the room? Is that a requirement of themqtt_room
integration? Will HASS anyway detect more than 1 device per room, if the corresponding sensors are defined? -
why is the minrssi not applied to
home/homepresence/myroom
? It will contain devices that have a lower rssi. How am I supposed to tune the detection sensitivity formqtt_room
? Note: The rssi filtering does seem to work forBTtoMQTT
. -
just an observation:
white-list
seems to be applied tohome/homepresence/myroom
and toBTtoMQTT
if specified.
My main problem is that minrssi is not applied to the hasspresence
feature.
The observed behavior is the same for version 0.9.5 and 0.9.6.