Have the SmartThings integrarted with HA 0.83.1 installed via HassIO. Have installed the Mosquitto broker and SmartThings bridge to have my home sensors to be able to talk to HA.
Following the guided configuration I was able to add one (Contact open close) sensor to the configuration and it is working fine, as long as I can see the in the Smartthings bridge log, the state change “open” and “close” are correctly updated and transported to HA. (trying to build automation on this state change however they arent working, will ask in another thread).
But when I added the Smartthings Motion and Presence sensor to the configuration as binary sensors, the HA log has started populating with the messages in the subject line. I have checked and used the correct values for states from the smartthings bridge log to the configruation as below
binary_sensor:
- platform: mqtt
name: "Lounge Access Door"
state_topic: "smartthings/SmartSense Multi/contact/state"
payload_on: "open" #This is case sensitive!
payload_off: "closed" #This is case sensitive!
device_class: opening #Your sensor will read as open/closed instead of on/off with this setting
retain: true #this is important so HA doesn't report the sensor as disconnected
- platform: mqtt
name: "Lounge Motion"
state_topic: "smartthings/SmartSense Motion/motion/state"
payload_on: "motion detected" #This is case sensitive!
payload_off: "no motion" #This is case sensitive!
device_class: motion #Your sensor will read as open/closed instead of on/off with this setting
retain: true #this is important so HA doesn't report the sensor as disconnected
- platform: mqtt
name: "Home Presence"
state_topic: "smartthings/Arrival Sensor/presence/state"
payload_on: "home" #This is case sensitive!
payload_off: "away" #This is case sensitive!
device_class: presence #Your sensor will read as open/closed instead of on/off with this setting
retain: true #this is important so HA doesn't report the sensor as disconnected
afterwards the log is getting flooded with
2018-12-09 21:07:19 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: Home Presence with state_topic: smartthings/Arrival Sensor/presence/state
2018-12-09 21:07:19 WARNING (MainThread) [homeassistant.components.binary_sensor.mqtt] No matching payload found for entity: Lounge Motion with state_topic: smartthings/SmartSense Motion/motion/state
hence I am not sure are these only warnings and I can try to use these states for building further conditions in automations or are these telling me that the components arent working as intended.
Any correction or guidance would be appreciated.
Thanks.