Closed sebglon closed 1 year ago
This issue has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/paradox-evo-binding/58026/565
The issue is probably because the zonesLowBattery
is not set/available/send as the stacktrace leads to this line:
Maybe adding some null check and set hasLowBattery to fasle would be enough. WDYT @theater ?
I'll have a look when i get home tomorrow.
Cheers, K.
On Fri, Aug 11, 2023, 11:48 PM lsiepel @.***> wrote:
The issue is probably because the zonesLowBattery is not set/available/send as the stacfktrace leqads to this line:
Maybe adding some null check and set hasLowBattery to fasle would be enough. WDYT @theater https://github.com/theater ?
— Reply to this email directly, view it on GitHub https://github.com/openhab/openhab-addons/issues/10572#issuecomment-1675388107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7Q3LVOSCQ6J37SBITKYADXU2LCJANCNFSM43QBA7AQ . You are receiving this because you were mentioned.Message ID: @.***>
The issue is probably because the
zonesLowBattery
is not set/available/send as the stacktrace leads to this line:Maybe adding some null check and set hasLowBattery to fasle would be enough. WDYT @theater ?
I believe the issue is that he's using old code from 3.0.x (not that the bug is fixed in the new one but the lines have different values). I think the code where this happens in 3.0.x is this.
boolean hasLowBattery = ParadoxUtil.isBitSet(zonesLowBattery[index], bitNumber);
I guess a null check can be made as a workaround but the root cause is that it seems that a certain zone flags are not found in the expected place of the RAM memory on EVO HD. (I initially used the mappings for Evo192 and it seems most stuff is identical)
Oh... I've found the bug. It's in the communicator... :)
Expected Behavior
Zone state is read and reported on openhab
Current Behavior
The zone value is still NULL on logs, i can find this error:
Possible Solution
Steps to Reproduce (for Bugs)
Context
Your Environment
Version used: openhab 3.0.2 Windows with
Environment name and version (e.g. Chrome 76, Java 8, Node.js 12.9, ...): chrome
Operating System and version: Windows 10
Paradox alarm: EVOHD 7.31
IP150 version 5.0.2.19