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

Improve scheduling of APS requests #6514

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

manup
Copy link
Member

@manup manup commented Nov 8, 2022

Track running unicast APS requests of the plugin and core. In Device poll handling and StateChange processing check that the queue isn't too busy before adding new APS requests.

This fixes too many StateChanges to be fired in parallel as seen for Philips Hue sensors and switches (and likely others).

Related issues: #6461 #6445

Track running unicast APS requests of the plugin and core. In Device poll handling and StateChange processing check that the queue isn't too busy before adding new APS requests.

This fixes too many StateChanges to be fired in parallel as seen for Philips Hue sensors and switches (and likely others).
@manup manup added this to the v2.19.2-beta milestone Nov 8, 2022
manup added a commit to manup/deconz-rest-plugin that referenced this pull request Nov 9, 2022
Polling should only be done if the value is old enough. This wasn't handled properly, fix by always taking lastSet and report timestamps into account.

Depends on dresden-elektronik#6514
@manup manup merged commit cb7e8a8 into dresden-elektronik:master Nov 9, 2022
manup added a commit to manup/deconz-rest-plugin that referenced this pull request Nov 9, 2022
Polling should only be done if the value is old enough. This wasn't handled properly, fix by always taking lastSet and report timestamps into account.

Depends on dresden-elektronik#6514
manup added a commit that referenced this pull request Nov 9, 2022
Polling should only be done if the value is old enough. This wasn't handled properly, fix by always taking lastSet and report timestamps into account.

Depends on #6514
@manup manup deleted the aps_scheduling branch January 3, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant