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

Sending level instead of switch "on" does not turn on the lights

Open ebfio opened this issue 8 years ago • 2 comments

I'm using the latest smartthings-mqtt bridge and my lights won't turn on - they will turn off, but not on.

I commented the part of the code that intercepts "on" and change it to level. And it now works.

Latest Homeassistant + latest smartthings-mqtt + GE Smartbulbs.

ebfio avatar Feb 24 '17 18:02 ebfio

I am having this issue as well. I can lower the level of my lights, but I cannot raise the level back up. I can turn off my lights, but I can't turn them back on. I have to use my phone's Smartthings App to turn them back on. I am using the latest smartthings-mqtt-bridge and also GE Link Smartbulbs.

I am using straight MQTT publish commands to the topic to test out the MQTT-bridge. While running the command "pm2 logs smartthings-mqtt-bridge" I see the following output:

info: Incoming message from MQTT: smartthings/Living Ceiling A/switch = on
info: Passing level instead of switch on
info: Incoming message from SmartThings: smartthings/Living Ceiling A/switch = turningOn
info: Incoming message from MQTT: smartthings/Living Ceiling A/switch = turningOn
info: Skipping duplicate message from: smartthings/Living Ceiling A/switch = turningOn
info: Incoming message from SmartThings: smartthings/Living Ceiling A/switch = on
info: Incoming message from MQTT: smartthings/Living Ceiling A/switch = on
info: Skipping duplicate message from: smartthings/Living Ceiling A/switch = on
info: Incoming message from SmartThings: smartthings/Living Ceiling A/level = 100
info: Incoming message from MQTT: smartthings/Living Ceiling A/level = 100
info: Skipping duplicate message from: smartthings/Living Ceiling A/level = 100

mkelley88 avatar Apr 13 '17 16:04 mkelley88

Same here with a couple of Trådfri bulbs.

termdude avatar Feb 17 '18 15:02 termdude