jfarmer08 / ha-sengledapi

Home Assistant Integration for Sengled Bulbs. This is a custom component to allow control of Sengled Bulbs in Homeassistant using the unofficial Sengled API. Please note this mimics the Sengled app and therefore Sengled may cut off access at anytime.
Apache License 2.0
106 stars 35 forks source link

[Bug] No Color options available #70

Closed fireheadman closed 2 years ago

fireheadman commented 2 years ago

Just got my hub to get away from smartthings... may end up ditching this hub and go with a zwave/zigbee usb hub. Until then I like seeing all the bulbs...

However I am no longer seeing the color options on my lights.

image

I'll enable debug and post that in here If there is a quick fix for this, please let me know

fireheadman commented 2 years ago

INFO in the logs gets very verbose... spews a lot of this. I have 24 bulbs.

2022-05-12 22:05:37 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Utility Bulb 1 B0CE1814XXXXXXX updating.
2022-05-12 22:05:37 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-12 22:05:37 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Utility Bulb 2 B0CE1814XXXXXXX updating.
2022-05-12 22:05:37 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True

EDIT: some bulbs now show RGB. ...others do not. All bulbs are the same type

image

some do not even have a dimming function

image

Bulb showing only dimming

image

Bulb showing with only a on/off

image

Bulb showing dimming/rbg/on/off

image
fireheadman commented 2 years ago

another minor issue.... no matter what color I change the bulb, it doesn't seem to update the card color This seems like more of a HA issue than the integration??

image

...also noticed the dimming function/slider will not update to the dimmed value, just stays at 100%

Valdorama commented 2 years ago

I've also noticed this recently (last few days). I can control the light (including colour) OK through HA, but the icon colour does not reflect the actual bulb colour - it just stays this weird whitey-grey colour.

jfarmer08 commented 2 years ago

@fireheadman can you change info to debug? This will give a lot more information. I will see what I can do, but I don't have these bulbs so it makes it harder.

fireheadman commented 2 years ago

yes, I will run that tomorrow... Also, if you have any interest in owning one of these bulbs I do not mind sending you one.... I will be slowly phasing these out for the led pucks.

fireheadman commented 2 years ago

so I added this to my logger.yaml configuration, but not seeing any DEBUG messages come across after a restart... just a ton of INFO messages.

custom_components.sengledapi: debug

Its kinda spewing too much, so turning this off.

2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Braelynn’s Bulb B0CE181403529ECE updating.
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Elliotts Bulb B0CE181403529CC6 updating.
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 1 B0CE18140352908D updating.
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Basement Foyer Bulb B0CE181403528D54 updating.
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 1 B0CE181403528FE5 updating.
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 2 B0CE181403529914 updating.
2022-05-16 11:41:09 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:11 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [140162240583712] Connection closed by client
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Bar B0CE1814035F9124 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Lamp Bulb B0CE1814035F77E1 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Coffee bulb B0CE181403528F06 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 1 B0CE18140352994E updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 2 B0CE181403529AF0 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 3 B0CE181403528EC4 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 1 B0CE18140352961C updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 2 B0CE181403529C16 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 2 B0CE181403529B00 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Office Bulb B0CE181403529116 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 1 B0CE1814035293ED updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 2 B0CE181403529C69 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Braelynn’s Bulb B0CE181403529ECE updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Elliotts Bulb B0CE181403529CC6 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 1 B0CE18140352908D updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Basement Foyer Bulb B0CE181403528D54 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 1 B0CE181403528FE5 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 2 B0CE181403529914 updating.
2022-05-16 11:41:19 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Bar B0CE1814035F9124 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Lamp Bulb B0CE1814035F77E1 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Coffee bulb B0CE181403528F06 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 1 B0CE18140352994E updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 2 B0CE181403529AF0 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 3 B0CE181403528EC4 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 1 B0CE18140352961C updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 2 B0CE181403529C16 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 2 B0CE181403529B00 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Office Bulb B0CE181403529116 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 1 B0CE1814035293ED updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 2 B0CE181403529C69 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Braelynn’s Bulb B0CE181403529ECE updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Elliotts Bulb B0CE181403529CC6 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 1 B0CE18140352908D updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Basement Foyer Bulb B0CE181403528D54 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 1 B0CE181403528FE5 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 2 B0CE181403529914 updating.
2022-05-16 11:41:29 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Bar B0CE1814035F9124 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Lamp Bulb B0CE1814035F77E1 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Coffee bulb B0CE181403528F06 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 1 B0CE18140352994E updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 2 B0CE181403529AF0 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 3 B0CE181403528EC4 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 1 B0CE18140352961C updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 2 B0CE181403529C16 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 2 B0CE181403529B00 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Office Bulb B0CE181403529116 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 1 B0CE1814035293ED updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 2 B0CE181403529C69 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Braelynn’s Bulb B0CE181403529ECE updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Elliotts Bulb B0CE181403529CC6 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 1 B0CE18140352908D updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Basement Foyer Bulb B0CE181403528D54 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 1 B0CE181403528FE5 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 2 B0CE181403529914 updating.
2022-05-16 11:41:39 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Bar B0CE1814035F9124 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Lamp Bulb B0CE1814035F77E1 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Coffee bulb B0CE181403528F06 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 1 B0CE18140352994E updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 2 B0CE181403529AF0 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 3 B0CE181403528EC4 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 1 B0CE18140352961C updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 2 B0CE181403529C16 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 2 B0CE181403529B00 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Office Bulb B0CE181403529116 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 1 B0CE1814035293ED updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 2 B0CE181403529C69 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Braelynn’s Bulb B0CE181403529ECE updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Elliotts Bulb B0CE181403529CC6 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 1 B0CE18140352908D updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Basement Foyer Bulb B0CE181403528D54 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 1 B0CE181403528FE5 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 2 B0CE181403529914 updating.
2022-05-16 11:41:49 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Bar B0CE1814035F9124 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Lamp Bulb B0CE1814035F77E1 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Coffee bulb B0CE181403528F06 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 1 B0CE18140352994E updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 2 B0CE181403529AF0 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 3 B0CE181403528EC4 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Buffet Bulb 1 B0CE18140352961C updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 2 B0CE181403529C16 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 2 B0CE181403529B00 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Office Bulb B0CE181403529116 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 1 B0CE1814035293ED updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Fireplace Bulb 2 B0CE181403529C69 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Braelynn’s Bulb B0CE181403529ECE updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Elliotts Bulb B0CE181403529CC6 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Living Room Bulb 1 B0CE18140352908D updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Basement Foyer Bulb B0CE181403528D54 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 1 B0CE181403528FE5 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Theater Bulb 2 B0CE181403529914 updating.
2022-05-16 11:41:59 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
fireheadman commented 2 years ago

I did run a couple tests.... However, still no debug messages are coming through. And after several restarts, still having bulbs not show the full capabilities.

Like I mentioned, I would be glad to send you a couple bulbs that are having these issues. I might also try to unpair and re-pair them in the sengled app.

Changed the temperature of a bulb

2022-05-16 11:45:12 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Bulb Kitchen Bulb 1 B0CE18140352994E Set Color Temperature 40.
2022-05-16 11:45:12 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.request] SengledApi: Sengled Request initializing.
2022-05-16 11:45:12 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Kitchen Bulb 1 B0CE18140352994E updating.
2022-05-16 11:45:12 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True

Changed the color of a bulb

2022-05-16 11:44:44 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Color Bulb Braelynn’s Bulb B0CE181403529ECE Setting Color
2022-05-16 11:44:44 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Set Color R 0 G 0 B 255
2022-05-16 11:44:44 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.request] SengledApi: Sengled Request initializing.
2022-05-16 11:44:44 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] Sengled Bulb Braelynn’s Bulb B0CE181403529ECE updating.
2022-05-16 11:44:44 INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
jfarmer08 commented 2 years ago

@fireheadman So I would hate for you to send me a Device. I have some wifi bulbs so I will test against them and see if they are doing something different. I am thinking the properties of these are a little different which is why your not seeing it correct. Turning on debug should have put out a lot of helpful information.

Can you confirm which version you are using?

logger: default: warning logs: custom_components.sengledapi: debug

Valdorama commented 2 years ago

My bulbs (2, in a group) are model W13-NC5. Let me know if I should create a separate issue for those. I enabled debug logging and get this:

INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Wifi Bulb TV Lamp 1 XXXX updating.
INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Wifi Bulb TV Lamp 2 YYYY updating.
INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Wifi Bulb TV Lamp 1 XXXX updating.
INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Bulb State Change: True
INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Wifi Color Bulb TV Lamp 2 YYYY .Setting Color
INFO (MainThread) [custom_components.sengledapi.sengledapi.sengledapi] SengledApi: Publish MQTT message
DEBUG (MainThread) [custom_components.sengledapi.sengledapi.sengledapi] SengledApi: Publish Mqtt (0, 31)
INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Wifi Color Bulb TV Lamp 1 XXXX .Setting Color
INFO (MainThread) [custom_components.sengledapi.sengledapi.sengledapi] SengledApi: Publish MQTT message
DEBUG (MainThread) [custom_components.sengledapi.sengledapi.sengledapi] SengledApi: Publish Mqtt (0, 32)
INFO (MainThread) [custom_components.sengledapi.sengledapi.devices.bulbs.bulb] SengledApi: Wifi Bulb TV Lamp 2 YYYY updating.

Interestingly it says "Setting Color" without specifying the target color, though it does actually work. The output differs very slightly from what @fireheadman has (e.g. 'wifi color bulb' and the MQTT lines). The attributes for one of the bulbs are:

supported_color_modes:
  - color_temp
  - hs
attribution: Data provided by Sengled
state: true
available: true
device model: W13-NC5
rssi: -30
mac: XXXX
icon: mdi:globe-light
friendly_name: TV Lamp 1
supported_features: 19
color_mode: hs
brightness: 255
hs_color:
  - 0
  - 0
rgb_color:
  - 255
  - 255
  - 255
xy_color:
  - 0.323
  - 0.329
color_temp: 500

The HS and RBG colors are wrong. It's weird how it can set the color OK (for this test a pink color) yet the attributes are incorrect. This only started happening a week or so ago.

jfarmer08 commented 2 years ago

@Valdorama So was this with the new update of ha-sengled or update to home assistance? What version of the addon are you using?

Valdorama commented 2 years ago

I'm using 0.2.3. Don't recall updating the addon recently (there hasn't been a new version has there?), but definitely updated HA a couple times to the latest release. Dunno if it's relevant but I also have a couple of ZigBee Sengled bulbs that are controlled directly through ZHA, and so far they're fine. Is it worth trying to remove and reinstall the addon? Actually I haven't power cycled the bulbs yet, might try that first...

jfarmer08 commented 2 years ago

I have push a new commit to master to correct what i think was the problem. I have also added alot more logging and I will need to clean that up before creating a release. In the mean time you can Check out the master branch.

@fireheadman @Valdorama

fireheadman commented 2 years ago

hate to be the bearer of bad news, but I unplugged my sengled hub and replaced with a Nortek usb hub. I should have my sonoff repeater tomorrow. All I can say is this is very easy now. I would hate your you to reinvent the wheel, but I am seeing 2 additional stats I was unaware of that sengled is hiding.

Those are the power stats for current and lifetime watts used, which will come in handy for power consumption monitoring on my solar monitoring.

So I will unfortunately be returning the sengled hub to amazon tomorrow. Good luck on this project. I think it may have value to those not into heavily modifying their HA installations.

Valdorama commented 2 years ago

Updated to 0.2.4. Working beautifully again now:

image

Thank you for the update.