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
Report back non-ikea bulbs when using ikea dimmer. #1809
Comments
That requires support by the bulb firmware. Hue and innr bulbs don't support attribute reporting. IKEA and OSRAM bulbs do. |
And polling would be to intensive? |
Bulbs that don't report attributes are polled periodically already (that's causing the update). Unfortunately, this doesn't scale well; the more bulbs in your network, the longer it takes before a bulb is polled again (up to 10 seconds in your case, but I've seen way worse). In theory, doing a fast-poll should be possible, if the dimmer uses group commands (unicast commands might not be visible to the coordinator). It doesn't scale as well as reporting, but not as badly as regular polling. It would depend on the REST API having an up-to-date administration of the lights in the group (to know which lights to poll) and their capabilities (to know what clusters to poll). Updating the cache of the light states on seeing a command would scale better, but this becomes very challenging for relative commands (like Move for setting |
How fast would fast-poll be more or less? |
That would of course depend on the number of lights in the group, and the other traffic happening on the network, but I'd guess 1-2 sec. |
That sounds acceptable :) This would make automations in home assistant and/or node-red work faster at least :) |
For reference: I'm using node-red to set a specific light next to tv to the same brightness as another light. but only if the tv is on, if the tv is off, the lights should always be off :) Another way to do this would be using a dummy light connected to the ikea dimmer and sync all other lights with that light, this would still give some delay though. |
Do you know of OSRAM lighty & smart+ both have the report feature? |
The lightify plug and E14 colour temperature lights and the smart+ plug that I’ve seen do. I don’t know for sure about any other devices. |
Ok, just ordered a Smart+ A60 10 W/ E27 RGBW, i'll let you know :) |
I can confirm the above lamp does support reporting :) (I was to quick the first time. took a while but now it seems to work) I'll do some more testing over the next couple of days to make sure it's stable :) |
It seems to work ok. But it is slower then with the ikea bulbs and when dimming to bri: 1 it takes a while before it reports that. (up to 5 seconds?) |
You might want to check the reporting configuration in the deCONZ GUI. Open the Cluster Info panel, select the bulb’s Level Control cluster and double click on the Current Level attribute. |
Awesome! I changed all 3 options to 1 and that helps a lot! Thanks Erik! |
That will send a report every second, even when there's no changes. You want to set it to: 1/300/1, send a report per second when brightness changes by 1 or more and send a periodic report per 5 minutes. |
Ah ok, i thought so, but when checking the websocket data i did not see a report every second |
actualy, when setting it to 1,300,1 it again takes a long time before the report is send out when going to 1 or 255 in bri |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
Would it be possible to have non-ikea bulbs repot back their state when changing state (brightness and on/off) via the ikea dimmer? Now when using the dimmer ikea bulbs immediately report back their state after a change but hue and innr bulbs take up to 10 seconds to report back even do the change in brightness or on/off state is instant visiable.
The text was updated successfully, but these errors were encountered: