O
OpenDeck8mo ago
ahhdem

homeassistant switch not working

Hi, I am trying to control a smart plug with HA via opendeck. I believe the button is configured properly, but when pressing it I do not get any response from my smart plug. I have tried other devices, I have tried changing from toggle to an explicit on or off.
Control works fine in HA web UI.
Control works fine via StreamControllers HA plugin with the same token.
I don't see an HA specific logfile, and do not see any useful output in the primary log (no new output when pressing buttons) Any advice on next steps to troubleshoot?
$ ls ~/.local/share/opendeck/logs/plugins/*.log
/home/ab/.local/share/opendeck/logs/plugins/com.amansprojects.starterpack.sdPlugin.log
/home/ab/.local/share/opendeck/logs/plugins/com.barraider.audiometer.sdPlugin.log
/home/ab/.local/share/opendeck/logs/plugins/com.barraider.spotify.sdPlugin.log
/home/ab/.local/share/opendeck/logs/plugins/com.dlprows.focusvolumecontrol.sdPlugin.log
/home/ab/.local/share/opendeck/logs/plugins/dev.sean.lifx.sdPlugin.log
$ ls ~/.local/share/opendeck/logs/plugins/*.log
/home/ab/.local/share/opendeck/logs/plugins/com.amansprojects.starterpack.sdPlugin.log
/home/ab/.local/share/opendeck/logs/plugins/com.barraider.audiometer.sdPlugin.log
/home/ab/.local/share/opendeck/logs/plugins/com.barraider.spotify.sdPlugin.log
/home/ab/.local/share/opendeck/logs/plugins/com.dlprows.focusvolumecontrol.sdPlugin.log
/home/ab/.local/share/opendeck/logs/plugins/dev.sean.lifx.sdPlugin.log
No description
7 Replies
nekename
nekename8mo ago
@Terrorwolf any ideas? If you enable "Developer mode" in OpenDeck settings and restart OpenDeck, then check the "Console" tab of the Home Assistant window, there might be something useful. you can also check OpenDeck's own log file.
Terrorwolf
Terrorwolf8mo ago
What is your Homeassistant Version? Is it behind a reverse Proxy? The Token you made is a long lived one? is it working with a light or something?
ahhdem
ahhdemOP8mo ago
It is a Smart Plug It is a long lived token HA Core 2025.1.3 Running locally in docker on host net, so on localhost, no proxy If I stop opendeck and start StreamController using the same token, control works fine werird, enabled debug, restart opendeck.. and now it works? 🤷‍♂️ i hate mysteries like that but, ill take it
Terrorwolf
Terrorwolf8mo ago
ok
ahhdem
ahhdemOP8mo ago
thanks for helping gents
nekename
nekename2w ago
np @ahhdem do you still have StreamController installed?
ahhdem
ahhdemOP2w ago
Yes, afk atm tho

Did you find this page helpful?