Apollon77 / ioBroker.tuya

ioBroker adapter to connect to several small and cheap Wifi devices that care connected to the Tuya Cloud and mostly use the Smartlife App/Alexa-Skill
MIT License
88 stars 22 forks source link

Add Ledvance support #554

Closed agraf closed 10 months ago

agraf commented 10 months ago

While trying to get my shiny new Ledvance smart plugs to work, I found that none of the embedded keys to access Tuya work. However, there was a python tool that was able to access the APIs just fine:

https://github.com/FlagX/ha-ledvance-tuya-resync-localkey.git

This patch adds the Ledvance keys from that tool into the iobroker code. With this, I can successfully access power measurements from my Ledvance power switches.

Apollon77 commented 10 months ago

Cool, is anything working with this? So also groups and such?

agraf commented 10 months ago

It can read out the adapters' names, UUIDs and then probe (and toggle) status, voltage, current, etc etc. I don't have groups set up, so I can't quickly validate whether they work :)

Apollon77 commented 10 months ago

Thank you, I will try to find a slow in the next days to get this in!

philippeaellig commented 10 months ago

works great on my end!