[Breaking] Deactivate Home Assistant presence per default (#915)

And enable to activate it by MQTT
This commit is contained in:
Florian authored and GitHub committed 2021-04-04 19:34:36 -05:00
1 parent adc5f157cd
commit e1aef48296
5 files changed
+41 -18

No files matched your search

+2
View File
@@ -168,6 +168,8 @@ sensor:
### MQTT Room Presence
The publication into presence topic needs to be activated [here is the command](../use/ble.md)
```yaml
sensor:
- platform: mqtt_room
+7
View File
@@ -133,6 +133,13 @@ If you want to change this characteristic:
With Home Assistant, this command is directly avalaible through MQTT auto discovery as a switch into the HASS OpenMQTTGateway device entities list.
:::
## Setting if the gateway publish into Home Assistant Home presence topic
If you want to publish to Home Assistant presence topic, you can activate this function by the HASS interface (this command is auto discovered), [here is a yaml example](../integrate/home_assistant.md#mqtt-room-presence).
Or by an MQTT command.
`mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"hasspresence":true}'`
## Setting the minimum RSSI accepted to publish device data
If you want to change the minimum RSSI value accepted for a device to be published, you can change it by MQTT. For example if you want to set -80