Skip to content
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

Hombli smart bulb only works in color mode #5

Closed
PrimaveraNL opened this issue Oct 23, 2022 · 20 comments
Closed

Hombli smart bulb only works in color mode #5

PrimaveraNL opened this issue Oct 23, 2022 · 20 comments
Labels
bug Something isn't working
Milestone

Comments

@PrimaveraNL
Copy link

Added a hombli smart bulb to my home.
It appears in homekit only as color bulb. In the Tuya Smart app, it has more options amongst which the option for different white colors.

@0x5e
Copy link
Owner

0x5e commented Oct 23, 2022

Did you mean this bulb should be able to set color temperature, but can't be set in the HomeKit?

@PrimaveraNL
Copy link
Author

Yes. In the Tuya app it has 4 panels, "white" for white color and brightness, "color" for color setting and brightness, "Scene" and "Music" of which the latter two probably are not supported by homekit.

@0x5e
Copy link
Owner

0x5e commented Oct 23, 2022

Could you please provide some device info? Enable the homebridge in debug mode, and upload some logs of the device functions, status, product_id.

@PrimaveraNL
Copy link
Author

How do I set the homebridge to debug? I do know where to find debugging options in the tuya iot platform but not in the homebridge itself?

@0x5e
Copy link
Owner

0x5e commented Oct 23, 2022

If you start Homebridge with Web GUI, it can be found in Setting page. If started by cli, just add -D option. For example: homebridge -D

@0x5e 0x5e added the bug Something isn't working label Oct 23, 2022
@PrimaveraNL
Copy link
Author

So here are the properties and instruction set. See the 'white' mode, this is what I'm missing in homebridge currently for this device.

20221023T2308 smart bulb properties.txt
20221023T2308 smart bulb instruction set.txt

@0x5e
Copy link
Owner

0x5e commented Oct 24, 2022

The lightbulb is complicated, it has C, CW, RGB, RGBC, RGBCW 5 types. Some RGB light don't have white mode. Let me figure out how to handle this.

@PrimaveraNL
Copy link
Author

Great.
Let me know if I can help with additional data?

@0x5e
Copy link
Owner

0x5e commented Oct 24, 2022

That's enough, just I don't know how to handle 5 types of light with 1 code.

@0x5e
Copy link
Owner

0x5e commented Oct 25, 2022

#12 should fix this. Please try 1.6.0-beta.12

@PrimaveraNL
Copy link
Author

I pulled it and tried. I don't see any difference in homekit app. Should I remove the accessory and add it again or should it function on basis of the old install?

@0x5e
Copy link
Owner

0x5e commented Oct 25, 2022

No need to remove, just upgrade to the beta version. Can you record a video about the issue?Maybe I didn't fully understand the text, or maybe your operation is not correct

@PrimaveraNL
Copy link
Author

The Tuya app shows 4 tabs, of which the first two are White and Color
White tab:
IMG_2A09B52873D6-1

Color tab:
IMG_4127B0C0A3A3-1

The Apple homekit app. through the Tuya bridge, only shows this panel:
IMG_30C250867237-1

... which is the same as it was before the update. So I don't see anything different after the update.

I removed the device from the app and added it because the status log says it was 'loaded from cache' and I wanted to make sure older settings would not conflict.

@0x5e
Copy link
Owner

0x5e commented Oct 25, 2022

In the Home App, double click one of the six panel, then you can see the color setting or color temperature setting, switch to temperature panel and pick one temperature, then save. That's how it works.

IMG_8244
IMG_8245

@PrimaveraNL
Copy link
Author

Allright then.
That doesn't really solve my problem, as the bulb remains in color mode that way. It seems to operate differently in color and white mode, which can also be seen in the instruction set. It never gets into white mode like this, which it does through the Tuya app.

Thank you for your effort trying to solve this; I guess this bulb is just not compatible enough.

@0x5e
Copy link
Owner

0x5e commented Oct 25, 2022

Okay, one last try, can you open the homebridge debug mode and upload the full log during your lightbulb operation?

@PrimaveraNL
Copy link
Author

Here it is.
I already was on debug mode for another issue, so there could be some other movements of "Eettafel dimmer" in it which are unrelated.

I opened the homekit app, switched the Hombli bulb to 'ON', then double-clicked one of the six colored dots and went to 'temperature' option. Changed the temperature a bit and then copied the log which is below.

20221025T2008 homebridge log.txt

If it helps in any way, and there is a way, I could capture the log or instruction that is sent from the tuya app when I control it from there?

@0x5e
Copy link
Owner

0x5e commented Oct 26, 2022

I know where the problem is. I will submit a new version.

@0x5e
Copy link
Owner

0x5e commented Oct 26, 2022

Please try 1.6.0-beta.13

@PrimaveraNL
Copy link
Author

Pulled this and this works better than before. Thank you.

@0x5e 0x5e closed this as completed Oct 29, 2022
@0x5e 0x5e added this to the 1.6.0 milestone Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants