No, it doesm’t. Sadly there are still quite a few ‘holes’ in the integration.
Equpnent with two functions seems to not work fully, ie. the indoor powerplug that also has a nightlight in it, only shows the plug.
Also some lights have a strange integration. If it has both white and color functions, HA will somehow only see the color, so if I do a scene-snapshot of a light running white spectrum, and then change the white to a color, and then recall the scene, it doesn’t properly change the color to white again, and shows the light with color inside HA.
thanks a lot for the infos! and i’m glad i’ve asked, because last night when i saw this post i was so hyped i was ready to order 5 of the plugs instantly :)))
I am new to HA, and want to find the way to control Ledvance ZigBee Plugging depending on the time of day, e.g turn on from 18h to 19h.
Can anyone help me by creating an automation rules for it? Thanks
Hi @Thanh-Binh
First of, you need a zigbee integration to HA to make it talk zigbee. I would suggest you look at Zigbee Home Automation (Zigbee Home Automation - Home Assistant).
You need a zigbee dongle to get zigbee integrated, ie. the Sonoff Zigbee 3.0 Dongle Plus (something like this https://s.click.aliexpress.com/e/_Dmqv7hH) .
Remember, when you get the zigbee part done, you can integrate all sorts of zigbee devices to your Home Assistant.
When that is done, you are going to build up your automation, something like this:
Off course, replace my entity name ‘Adrians PC’ with the entity name you got from your device through the ZHA.
I hope this helps you out.
Hello @fribse, So I am currently moving and decided to go with a fresh HomeAssistant install but in my last config i was able to configure Ledvance as you demonstrated in this guide:
But i cannot find the original Home Assistant community post guiding this. I have stumbled upon a issue where i can no longer use the python print-local-keys.py. The error i receive is:
pyscript_modules.tuya.exceptions.InvalidAuthentication
Although i have tried all authentication i can no longer remember what credentials to put here. Is it the account (email and pwd) for iot.tuya.com or is it the authorization key (in my case neither seem to work)?
I know you can integrate it through smart things. But quite franc i would like not to set that up as it gives me YET another platform to manage (sweatgrin)
Best regards,
Lolk
Hi Ruben, first step to solve it, is to learn danish, so you can use the video
Did you follow ALL the steps in @Flag 's guide here: GitHub - FlagX/ha-ledvance-tuya-resync-localkey: pyscript for homeassistant to resync local keys from private tuya api
I think you are missing some credentials.
It is credentials for your LEDVANCE account you should enter.
The next post with the update is here: LEDVANCE integration - this is how to do it as per 08/22
Hello @fribse.
Hehe, as a Norwegian it was still hard to understand without subtitles i did not follow all the steps but i did find the old print-local-keys.py with the correct credentials and got the information i needed. Although I’m not quite sure where the password fits
Best regards,
Lolk
@fribse thanks for your answer.
here is the GUI for this.
I put the “if statement” in the condition section (BEDINGUNG), and Ledvance turn on in “action section” (AKTIONEN)
but it does NOT work.
I do not know how to setup TRIGGER (AUSLÖSER)???
Thanks
PS: Pls note that I can use GUI to control it manually!
I’m unsure of what you mean.
If you can use the GUI to control it, the integration works, so you need help with how to use an automation, or??? That’s not for this thread, let’s keep it to the point on the integration itself.
@fribse Maybe you are right
But you can see here my first test with automation, but it does not work
Hello, I’am getting better results for WIFI versions of lamps (even if the integration is a little unstable) using LOCALTUYA HACS integration
(Note: this post has been update to better explain the process)
Steps in short:
- Install the LEDVANCE App in Android/iOs
- Create your account on the app (it is required only for the initial device config) or login into it
- Connect your LEDVANCE lamp to the power when the app is open
- The lamp will start flashing after 5 seconds.
- Ensure your mobile is connected to your 2.4Ghz WiFi and not to 5 GHz Wifi.
- Add the new device to the app following the app instructions. It will configure it and you will ensure it works. The lamp will be connected to your 2.4 GHz WiFi.
- Try to turn on and off to be sure it works.
- Close the app
- Go to GitHub and download and install the FlagX Scripts that will be used to extract the secret LocalKey
- Follow the instruction on how to setup and extract the LocalKeys of your devices and keep not of that.
- Add the LocalTuya integration from HACS in Home Assistant
- Go in LocalTuya configure and select add a device.
- Use the localkeys info you got with the FlagX python scripts
I use the LocalTuya integration from HACS since it is fully local in Home Assistant and do not use the cloud, and it seems more stable.
All the features of the lamp (I have an RGB colour lamp) seem to be supported.
I configured two RGB LED lamps with the following parameters:
The magic numbers used are described here in the TinyTuya library page, referring to Protocol Version 3.3. For other device types, please refer to that page.
The lamps are of type:
I created a script from the new GUI that when I enter in a room, the proximity sensor triggers an events and the lamp is keep on until the sensor detect a presence.
Regards
Sounds great!
Would you mind sharing the type of light you use with this set up?
I am considering to buy one of these:
Please re-read the first line in the posting, it refers to another post update in august
Thanks, I edited and reviewed the previous post.
After more than a month of using those lamp, I noticed that now and then they suddenly stop to work and disappear from the network . The only way to recover is to unplug the lamp and turn it on again. No action on Hassio is required.
Hello, I tried the FlagX script but I get this error:
Error! Code: USER_EMAIL_ILLEGAL, message: Invalid email address, result: {'t': 167174____1882, 'success': False, 'errorCode': 'USER_EMAIL_ILLEGAL', 'status': 'error', 'errorMsg': 'Invalid email address'}
Unexpected error: Invalid result, check logs
Does anyone know why?
I tried the email adress of my ledvance account multiple times but still no success? Is it a specific user ?
Thanks !
Hi @Gussir
Could it be the region / country setting that doesn’t match between your app and the script?
Thanks for the feedback, how can I change that? I noticed also that I cannot log from this web account: MyLedvance
- Go to GitHub and download and install the FlagX Scripts that will be used to extract the secret LocalKey
how the hell do i use those files?
sorry i seriously dont know how to use them
EDIT: figured it out. only took 2 days without any instructions
Good work! I know it’s frustrating that nobody helps, but you can’t do the attitude that you are entitled, some have time others have not, and it’s a busy season, myself, I’ve been down corona over the christmas, wee hee great times
And just to make a point, peoples health, including my own, is way more important than a ledvance problem