-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Wireless keypad spammed when multiple wireless sensors are active #167
Comments
Possibly connected to #168. |
The cause of this behaviour is that with multiple active detectors, this branch is always executed, at least once a second: jablotron80/custom_components/jablotron80/jablotron.py Lines 2162 to 2164 in af8560c
When I comment that out, I don't get details about the 2nd+ detectors but the keyboard does not get spammed. So we should probably focus on how to reduce the spamming while still getting details about multiple detectors. |
FWIW with these lines commented, at least the integration is now usable for me - I can see the state and arm/disarm from my phone, and the keypad is usable too. So solving these problems would be nice, but it's no longer urgent for me. |
Alright, try this:
|
Yes I can see a clear issue here, and how it gets into a loop. When it "hits" the device query button, it is waiting for /a4/ff messages, but this only occurs once it has cycled through all the info on the keypad, equivalent of pressing the button multiple times. And when the messages coming back from the control panel trigger yet more queries, hence the loop occurs. |
The issue is a result of a few things;
To resolve this problem whilst also achieving what @heifisch in #153 has set out to do needs quite a lot of effort! For now, I recommend people turn off PGX/PGY and ensure there are no faults in their system. This will result in a stable configuration. |
Spinning this issue off the issue: #163
My wireless keypad is being spammed by the integration and cycles through all active sensors every second or so. This means that when the alarm is armed but multiple windows are opened, user interacting with the keypad is not able to disarm the alarm.
The text was updated successfully, but these errors were encountered: