I’m hoping that someone can help me figure out why my motion sensors don’t triggering a state change using the ADT Pulse MQTT add-on.
I’m a relative noob with Home Assistant and MQTT. I’m currently running Hassio v0.85.1 on a Rasberry Pi, and have installed the ADT Pulse MQTT add-on v0.2.2.8.
I can use the add-on to arm/disarm my control panel (once I updated to v0.2.2.8), and my binary_sensors for my door zones trigger state changes as expected. None of the binary_sensors for motion detection, however, trigger.
For example, if I SSH into Hassio and subscribe to messages regarding motion in my master using:
# mosquito_sub –h <my ip address> -t ‘adt/zone/Master Room Motion/state’ –u <my username> -P <my password> -d
I do see messages like this in the add-on’s log when I move around in my Master Room:
Client mosqsub|58-core-ssh received PUBLISH (d0, q0, r0, m0, 'adt/zone/Master Room Motion/state', ... (213 bytes))
{"id":"sensor-22","devIndex":"E8VER1","name":"Master Room Motion","tags":"sensor,motion","status":"devStatMotion","statusTxt":"Master Room Motion - Motion\nLast Activity: Today 3:38 PM","activityTs":1548027532532}
But I see the following warning in my log:
019-01-20 15:38:57 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: Master Room Motion with state_topic: adt/zone/Master Room Motion/state`
And, the card for my motion detectors never changes.
Here is part of my binary_sensor.yaml (showing the configuration for both a door, which works, and a motion sensor, which doesn’t work)
- platform: mqtt
name: "Back Garage Door"
device_class: door
state_topic: "adt/zone/Outside Garage Door/state"
payload_on: "devStatOpen"
payload_off: "devStatOK"
retain: true
value_template: '{{ value_json.status }}'
- platform: mqtt
name: "Family Room Motion"
device_class: motion
state_topic: "adt/zone/Family Room Motion/state"
payload_on: "devStatOpen"
payload_off: "devStatOK"
retain: true
value_template: '{{ value_json.status }}'
and here is the configuration for the add-on:
{
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"pulse_login": {
"username": "<my username>",
"password": "<my password>"
},
"mqtt_host": "core-mosquitto",
"mqtt_url": "",
"mqtt_connect_options": {
"username": "<my username>",
"password": "<my password>"
},
"alarm_state_topic": "home/alarm/state",
"alarm_command_topic": "home/alarm/cmd",
"zone_state_topic": "adt/zone",
"smartthings_topic": "smartthings",
"smartthings": false
}
Anyone have any ideas why my motion sensors aren’t working?