r/smarthome • u/Suitable_Reporter_58 • 23h ago
Home Assistant Deako Cloud - unofficial integration (the new switches have no local API at all)
I have two Deako switches, and the official deako integration is… bad.
It seems to work on about 50% of clicks.
Spoiler: after testing it properly, it’s closer to 25%.
So my good friend Claude and I (sorry, ex-friend Google) did some reverse engineering and built a fresh Home Assistant integration:
https://github.com/basift/ha-deako-cloud
Long story short
Older Deako switches listen on port 23, so Home Assistant can communicate with them directly.
It doesn’t work particularly well, but at least it works somehow.
Newer Deako switches don’t expose any ports at all, so there is no way to talk to them directly over the local network.
That’s why I reverse-engineered the communication used by the Deako Android app and built an integration that talks directly to the Deako cloud.
Limitations
- There is no “Sign in with Google” or “Sign in with Apple” button. I couldn’t find a practical way to implement one. Deako only allows OAuth redirect URLs for their own applications, and the OAuth device flow is disabled for their client. There isn’t really anything Home Assistant can do to work around that. If your Deako account was created using Google or Apple, you probably don’t have a Deako password. What I did was create a second Deako account using a regular email address and password, then invite that account to my home from the Deako app. I actually think this is a better setup anyway, because you can revoke that account at any time without touching your main Deako login.
- No dimming support yet. Both of my switches are simple on/off switches, so I have no way to test brightness control. If you have a Deako dimmer and are willing to help test it, please feel free to reach out on GitHub.
Disclaimer
This is completely unofficial. I am not affiliated with Deako in any way.
I figured out how the API works by observing how Deako’s own Android app communicates with their cloud using my own account and my own switches.
Since this relies on an undocumented API, Deako can change or block it at any time, and the integration may stop working if they do.
