Lepro LED Custom Integration

Hi all,

below my integration for Lepro LED:

Please consider donating if you like it
Kind Regards
Stefano

3 Likes

Not able to get into the API and no entities created. Using the TB1 lamp. Happy to help troubleshoot if I can!

Please open a bug on github with all the log information. It might take some time as I’m currently busy with more productive HA integrations.

1 Like

Need to be able to set the API host as api-eu-iot.lepro.com doesn’t work for North America accounts, const.py and light.py once updated to api-na-iot.lepro.com worked for me. Some issues still with my Lepro S2 but power on/off is working. Will play more with this when I get time but thanks for what you’ve done so far!

@StefanoGiu Note that your github project Issues is disabled for anyone but collaborators.

1 Like

Yes… project is locked and won’t be mantained anymore because issues were full of people pretenting fix without even saying thank you… I will keep the work I will do for Home Assistant for my personal use…

Wow what an angry elf!

Many users (including me) simply asked if an integration that you made publicly available could be fixed as it wasn’t working as intended. You consistently just asked people to buy you devices or donate and you’d “consider” fixing things or adding support. I’m no developer and will be the first to admit I can’t help contribute to these integrations which I use for free, but man, what a sourpuss.

Someone identified a solution (that worked great in my case) and rather than trying to fix or accepting that it was solid solution, you literally just shut everything down, closed all issues and continue to complain about people not saying thank you.

“Please donate and I might consider implementing it”
“Or… you can support my work buying me the device and I will be glad to extend it…”
“if you buy me them, I’m glad to extend this custom component.”

I do appreciate you releasing the integration at all, but I for sure won’t be using it now.

Thank God the rest of this community is more giving.

1 Like

While I applaud all the work OP has done, I am quite intrigued by the fact that they completely missed the point of what was going on in “Issues” on their repo, namely that people were gathering their own findings and working together towards solutions… to which OP seems to have taken offense…?

1 Like

Works fine with my TB1. May I help?

Is there a Chance to call EIDs from HA?

FYI I forked this and added NA and EU selection options for API regions. If I’ve missed any, feel free to ping me and I can add more. Just use my repo instead, will try to support this going forward.

2 Likes

@advenimus forks are not permitted or allowed. Please remove your fork or I will need to report this. There’s a clear License file on Github. "Copyright (c) 2025 Sanji78 All Rights Reserved.

This source code and its contents may not be copied, modified, distributed, or used in any form without explicit written permission from the author."

This is my first warning…

Came here to thank you for this @advenimus even though I’ve since stopped using LePro lights after this integration left me hanging, but seems like Cranky McCrankface is still bitter.

So thanks, and hopefully you are able to keep it alive and maintain it for those of us that appreciate the hard work.

This is an illegal copy of my repository. I have already intimated the user to remove it. If this won’t happen I will need to report it immediately and start a legal action.

Hi Stefano,
thank you for your integration. I have the PB1 Lamp but when I activate the lamp, it keeps blinking even when I choose solid. Do you have any hint for me?
thank you
best regards
Enrico

Bit of a facepalm moment going on in here. Don’t ya just love it when someone doesn’t understand how licencing works.

If something is released under the MIT licence then it can be copied/forked/used in something else as long as the licence is copied with it.

If the OP then wants to change the licence that’s fine BUT it’s only changes from that point in time. Previous code is STILL under the MIT licence. I forked this but from a point before the licence change so nothing illegal there.

OP is also confusing the matter as while they have changed the contents of the licence file they still refer to it as MIT in several places.

This is meant to be a community that helps each other. Not holds each other to ransom.

3 Likes

I have got the same issue with ours, the integration connects to the account, but when choosing a colour the SE1 LED Strip just starts flashing, regardless of the effect being set to SOLID and cannot be undone until I use the Lepro app.

The state, On and Off works OK, but thats it - Do I need to change anything in the configs etc at all ? Any help would be apprecated as just decorated my sons room, installed the Lanbon L8 switch for it be all cool for him, but obviously doesnt control the LEDS Properly :frowning:

Will this or Sanji’s original project work with the Lepro B3 light as well?

@fingertrouble I extended my project to support B1 lights… it should work also for B3. Pls try, if not… I will try to fix it also for B3. Please use the original branch of this project… which was created by me… all the other forks are just trying to mimic my original logic, breaking the behaviours for other models… (e.g. the B1 fork doesn’t work anymore for S1 lights…) Sanji78

Bulb arrived early! Lepro B3 doesn’t work with your branch but the new branch does.

Both have an issue though -the light comes in as ‘LED Strip’ and you can’t rename that - I wanted just ‘Main Light’ but if you change that it breaks? Even if you recreate IDs.

But on the original it came in fine, but would not switch on. Whereas the new branch it works first off. I can llive with the name issue.

Great, that means I can likely get rid of my Hue light that was causing all the issues with Zigbee/ZHA (E27 screw lights that are 1500lm are common, but vanishingly rare in B22 - it’s basically Hue, Enshine/Tuya based bulbs and Lepro. Philips Wiz makes one but it’s not in stock anywhere).

Oh I edited the name again in HA again, and it seems to have stuck. Odd. So that’s fine. Bit weird it overrode my initial name though…both versions did this.