-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LEDnet Device is Discovered but fails to Integrate due to "Unknown Error" #38
Comments
Closing this issue! After 24 hours I attempted to re-connect and the lamps connected without issue. |
Apologies re-opening this issue after further testing. If HA restarts or the lamps lose connnection to HA there is a strong chance of the integration failing. When working: I can set color, configuration values, power on/off, etc but lamps will only display colors and some themes (this is to be expected) When failing: Integration fails, error below is logged
|
Hmm. I strongly suspect that you have a device which is not yet supported, and so is defaulting to using the Much like this issue: #26 We need to find out what the model number of your lights is in order to test if it will work with an existing model. Some ideas of things to try:
|
Hi, 2025-02-17 21:58:51.978 ERROR (MainThread) [aiohttp.server] Error handling request from 192.168.1.232 |
@MNeubauer72 yours is a different problem by the looks of it. Please could you open a new issue? |
Of course. New issue: #39 |
@8none1 I have tried both suggestions above to no avail (ensuring HA is restarted after each edit is performed). I've manually rolled back the changes for now. I don't have any other LEDNETWF devices connected, is there a way to set the integration to debugging mode without having any devices connected? |
There is! Have a look here: https://github.com/8none1/lednetwf_ble/blob/main/betatest.md#how-to-enable-debugging |
Have you tried installing the latest beta? In my case #39 it helped. |
@MNeubauer72 I am now on the the newest beta but unfortunately receiving same error. @8none1 Thanks for the guidance, debug logging enabled through config.yaml edit. After restart and 1 connection attempt this is what is returned in system logging.
|
There should be a load more debugging output in the logs before that traceback. You should see a bunch of information about the Bluetooth conversation and the data received from the device. All the lines should be prefixed |
Apologies, here is the full log for LEDNETWF
|
Hmmm, this is sus:
😂 Your device identifies as an So here's what to try:
Restart Home Assistant and see what happens now. 🤞 If this does fix it, then I will make a new release with that fix in. |
Okay I have some good news! The text edit above has allowed me to connect both lamps. I can change power on/off state but brightness & color controls are non-functional (any changes made on HA do not change color/brightness on lamp). I've attached the default configuration below as its populated after initialization. Connection is stable after HA restart, lamps re-initialize and connect without issue :) I have tried the following configuration changes to support color/brightness changes without success:
HA Logs attached |
This looks like you have a device with another new variation of the protocol. The only way to add full support is to get hold of one of these devices or something which uses the same protocol and reverse engineer it. I'll keep an eye on AliExpress for something which looks the same. In the meantime, I will push a change to move |
Oh, you might also want to try moving the |
Attempting to pair 2 Zengge Led Sunset Lamps (Company: Madoury Part#: DREW1923) the connection fails due to "Unknown Error Occurring" Let me know what info you need from me and i'll be happy to provide it.
HA:2025.2.1
Amazon Link to Lamp for reference
The text was updated successfully, but these errors were encountered: