Can anyone shed some light on this issue? I can see in the PM2 logs that Mosca is receiving mqtt messages from both Hass and the SmartThings hub. I can see in the ST live logs that it sends state changes every time an event occurs. The problem is, no matter what I do, ST will not react to any message sent from Hass. They don’t even show up in the live logs…
I’m half tempted to return the ST hubs and buy an Aeonlabs Zwave usb stick.
PM2/Mosca logs:
#Messages from SmartThings
0|smartthi | info: Incoming message from SmartThings: smartthings/Cabinet Lights/switch = turningOn
0|smartthi | info: Incoming message from MQTT: smartthings/Cabinet Lights/switch = turningOn
0|smartthi | info: Skipping duplicate message from: smartthings/Cabinet Lights/switch = turningOn
0|smartthi | info: Incoming message from SmartThings: smartthings/Cabinet Lights/switch = on
0|smartthi | info: Incoming message from MQTT: smartthings/Cabinet Lights/switch = on
0|smartthi | info: Skipping duplicate message from: smartthings/Cabinet Lights/switch = on
0|smartthi | info: Incoming message from SmartThings: smartthings/Cabinet Lights/switch = turningOff
0|smartthi | info: Incoming message from MQTT: smartthings/Cabinet Lights/switch = turningOff
0|smartthi | info: Skipping duplicate message from: smartthings/Cabinet Lights/switch = turningOff
0|smartthi | info: Incoming message from SmartThings: smartthings/Cabinet Lights/switch = off
0|smartthi | info: Incoming message from MQTT: smartthings/Cabinet Lights/switch = off
0|smartthi | info: Skipping duplicate message from: smartthings/Cabinet Lights/switch = off
#Messages from HASS
0|smartthi | info: Incoming message from MQTT: smartthings/Cabinet Lights/switch = on
0|smartthi | info: Passing level instead of switch on
0|smartthi | info: Incoming message from MQTT: smartthings/Cabinet Lights/switch = off
Livelogs from ST
Device Handler:
39701f7d-277b-4692-8f6d-cb444f8a0bc7 5:29:59 PM: debug Parsing 'index:17, mac:B827XXXXD330, ip:0A0000D4, port:1F90, requestId:dfbf4f73-b71a-4ce0-ba60-72c8214c226a, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA0KQ29udGVudC1MZW5ndGg6IDE1DQpFVGFnOiBXLyJmLURIZHBsNU0rdGdnenMzdnE5RGdVeUEiDQpEYXRlOiBNb24sIDI4IE5vdiAyMDE2IDIzOjI5OjU5IEdNVA0KQ29ubmVjdGlvbjoga2VlcC1hbGl2ZQ==, body:eyJzdGF0dXMiOiJPSyJ9'
39701f7d-277b-4692-8f6d-cb444f8a0bc7 5:29:58 PM: debug Sending '{"path":"/push","body":{"name":"Cabinet Lights","value":"off","type":"switch"}}' to device
39701f7d-277b-4692-8f6d-cb444f8a0bc7 5:29:58 PM: debug Parsing 'index:18, mac:B827XXXXD330, ip:0A0000D4, port:1F90, requestId:f499a5d0-e004-4d74-9fde-eeb30e3c9402, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA0KQ29udGVudC1MZW5ndGg6IDE1DQpFVGFnOiBXLyJmLURIZHBsNU0rdGdnenMzdnE5RGdVeUEiDQpEYXRlOiBNb24sIDI4IE5vdiAyMDE2IDIzOjI5OjU4IEdNVA0KQ29ubmVjdGlvbjoga2VlcC1hbGl2ZQ==, body:eyJzdGF0dXMiOiJPSyJ9'
39701f7d-277b-4692-8f6d-cb444f8a0bc7 5:29:58 PM: debug Sending '{"path":"/push","body":{"name":"Cabinet Lights","value":"turningOff","type":"switch"}}' to device
39701f7d-277b-4692-8f6d-cb444f8a0bc7 5:29:51 PM: debug Parsing 'index:17, mac:B827XXXXD330, ip:0A0000D4, port:1F90, requestId:9d83c01d-f680-412c-80b5-4c8ea920f746, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA0KQ29udGVudC1MZW5ndGg6IDE1DQpFVGFnOiBXLyJmLURIZHBsNU0rdGdnenMzdnE5RGdVeUEiDQpEYXRlOiBNb24sIDI4IE5vdiAyMDE2IDIzOjI5OjUxIEdNVA0KQ29ubmVjdGlvbjoga2VlcC1hbGl2ZQ==, body:eyJzdGF0dXMiOiJPSyJ9'
39701f7d-277b-4692-8f6d-cb444f8a0bc7 5:29:51 PM: debug Parsing 'index:18, mac:B827XXXXD330, ip:0A0000D4, port:1F90, requestId:5c4bf21d-8bdb-4c67-811f-777253ce94d9, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA0KQ29udGVudC1MZW5ndGg6IDE1DQpFVGFnOiBXLyJmLURIZHBsNU0rdGdnenMzdnE5RGdVeUEiDQpEYXRlOiBNb24sIDI4IE5vdiAyMDE2IDIzOjI5OjUwIEdNVA0KQ29ubmVjdGlvbjoga2VlcC1hbGl2ZQ==, body:eyJzdGF0dXMiOiJPSyJ9'
39701f7d-277b-4692-8f6d-cb444f8a0bc7 5:29:51 PM: debug Sending '{"path":"/push","body":{"name":"Cabinet Lights","value":"on","type":"switch"}}' to device
39701f7d-277b-4692-8f6d-cb444f8a0bc7 5:29:50 PM: debug Sending '{"path":"/push","body":{"name":"Cabinet Lights","value":"turningOn","type":"switch"}}' to device
Smart Device:
fc98f0e8-bdaf-4914-a818-5c3c7b856194 5:29:58 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Cabinet Lights","value":"off","type":"switch"}}
fc98f0e8-bdaf-4914-a818-5c3c7b856194 5:29:58 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Cabinet Lights","value":"turningOff","type":"switch"}}
fc98f0e8-bdaf-4914-a818-5c3c7b856194 5:29:51 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Cabinet Lights","value":"on","type":"switch"}}
fc98f0e8-bdaf-4914-a818-5c3c7b856194 5:29:50 PM: debug Forwarding device event to bridge: {"path":"/push","body":{"name":"Cabinet Lights","value":"turningOn","type":"switch"}}