smartthings-mqtt-bridge icon indicating copy to clipboard operation
smartthings-mqtt-bridge copied to clipboard

Stops sending APP_COMMAND

Open ZHumphries opened this issue 8 years ago • 3 comments

I have a ST switch which I am having some trouble with. I am able to report data and state changes back into HA, but it has stopped working when I try and turn it on/off from HA>

Looking at the events for the device, the APP_COMMAND is no longer being sent to the device.

In live logging I have the following

Received device event from bridge: [name:Outlet - Cave, value:off, type:switch]
5b4c202e-aa61-4bdd-a9f4-4325f1ca38ac  5:11:59 PM: debug Parsing 'index:04, mac:B827EBCF6A7E, headers:UE9TVCAvIEhUVFAvMS4xDQpob3N0OiAxNzIuMTYuMC4yMDU6Mzk1MDANCmFjY2VwdDogYXBwbGljYXRpb24vanNvbg0KY29udGVudC10eXBlOiBhcHBsaWNhdGlvbi9qc29uDQpjb250ZW50LWxlbmd0aDogNjINCkNvbm5lY3Rpb246IGNsb3Nl, body:eyJuYW1lIjoiT3V0bGV0IC0gQ2F2ZSBIZWF0aW5nIiwidHlwZSI6InN3aXRjaCIsInZhbHVlIjoib2ZmIn0='

Any advice on where to start would be much appreciated

Cheers Zak

ZHumphries avatar Jan 06 '17 17:01 ZHumphries

Ehh, if it's making it to SmartThings, then maybe it doesn't accept the same on/off commands. What device type?

stjohnjohnson avatar Feb 02 '17 06:02 stjohnjohnson

I should have clarified. It works sometimes, and will usually work for a few minutes after restarting the bridge. It works perfectly from the smartthings app (its the actual smartthings smart plug).

ZHumphries avatar Feb 02 '17 07:02 ZHumphries

Hmm, well I would take the logs from the SmartThings debugger as well as the logs from the MQTT bridge and check for differences from when it's working vs. not working.

stjohnjohnson avatar Feb 02 '17 07:02 stjohnjohnson