smartthings-mqtt-bridge
smartthings-mqtt-bridge copied to clipboard
Sending level instead of switch "on" does not turn on the lights
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.
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
Same here with a couple of Trådfri bulbs.