Closed markxroberts closed 2 years ago
Additional info - see below command for zone 23 processed on zone 3...
2/25/2022, 8:52:50 PM [info] [MQTT => Panel] toggle bypass command sent on zone 5
2/25/2022, 8:53:08 PM [info] [MQTT => Panel] Received bypass zone command true on topic riscopanel/alarm/zone/25-bypass/set for zone 5
2/25/2022, 8:53:08 PM [info] [MQTT => Panel] Zone is already on the desired bypass state
2/25/2022, 8:54:24 PM [info] [MQTT => Panel] Received bypass zone command true on topic riscopanel/alarm/zone/25-bypass/set for zone 5
2/25/2022, 8:54:24 PM [info] [MQTT => Panel] Zone is already on the desired bypass state
2/25/2022, 8:55:44 PM [info] [MQTT => Panel] Received bypass zone command false on topic riscopanel/alarm/zone/25-bypass/set for zone 5
2/25/2022, 8:55:44 PM [info] [MQTT => Panel] toggle bypass command sent on zone 5
2/25/2022, 8:55:48 PM [info] [MQTT => Panel] Received bypass zone command false on topic riscopanel/alarm/zone/25-bypass/set for zone 5
2/25/2022, 8:55:48 PM [info] [MQTT => Panel] Zone is already on the desired bypass state
2/25/2022, 9:00:57 PM [info] [MQTT => Panel] Received bypass zone command true on topic riscopanel/alarm/zone/23-bypass/set for zone 3
2/25/2022, 9:00:57 PM [info] [MQTT => Panel] Zone is already on the desired bypass state
2/25/2022, 9:01:01 PM [info] [MQTT => Panel] Received bypass zone command true on topic riscopanel/alarm/zone/23-bypass/set for zone 3
2/25/2022, 9:01:01 PM [info] [MQTT => Panel] Zone is already on the desired bypass state\
I can confirm that zone bypass works kinda strange...some zones are correctly bypassed while others end up bypassing a different zone.
I think I see the issue. You have more than 9 zones and the problem is with zone ids >= 10, isn't it ?
Yes, that's right. For zones more than 10 it matches to single figure zones less than 10 where the last figure is the same. Wondered whether this had anything to do with the behaviour of the filter function in the code?
Yes. That's a piece of code that was already existing in the library i forked and I didn't check the regex. I also didn't see the issue because I only have 4 zones in my local setup.
Describe the bug Thanks for all the excellent work you've done on this project. Bypass zone bypasses the wrong zone or offers an error that zone can't be bypassed. Renaming zones doesn't always work as per closed issue #23
Configuration
Logs
Additional context Add any other context about the problem here.