eavanvalkenburg / pysiaalarm

A python package to connect to a SIA DC-09 based alarm system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I am using a Dahua alarm system with SIA-DC09

matbogdan79 opened this issue · comments

and this is the error:

Logger: pysiaalarm.base_server
Source: runner.py:186
First occurred: 16:24:10 (5 occurrences)
Last logged: 16:24:38

Last line could not be parsed succesfully. Error message: Parse content: no matches found in #B12345|1602 00 000]_17:23:51,09-18-2023 , using matcher: re.compile('\n[#]?(?P[A-F0-9]{3,16})?\n[|]?\n(?P<event_qualifier>\d{1})\n(?P<event_type>\d{3})\n\s\n(?P\d{2})\n\s\n(?P\d{3})\n[\]]\n(?:\[(?:(?<=\[)(?P.[^\\[\\]])(?=\])), re.VERBOSE). Line: DABA003F"ADM-CID"0062L0#B12345[#B12345|1602 00 000]_17:23:51,09-18-2023 B0E60058"ADM-CID"0050L0#123456[#123456|3441 01 000][RLivingRoom][IuserName]_17:20:15,09-18-2023 BFEC0058"ADM-CID"0055L0#123456[#123456|1400 01 000][RLivingRoom][IuserName]_17:22:02,09-18-2023 2DE1004C"ADM-CID"0056L0#123456[#123456|1406 01 000][RLivingRoom]_17:22:02,09-18-2023 BA990058"ADM-CID"0057L0#123456[#123456|3441 01 000][RLivingRoom][IuserName]_17:22:30,09-18-2023 6AED0058"ADM-CID"0059L0#123456[#123456|1400 01 000][RLivingRoom][IuserName]_17:22:58,09-18-2023 6225004C"ADM-CID"0060L0#123456[#123456|1406 01 000][RLivingRoom]_17:22:58,09-18-2023
Event timestamp is no longer valid: 2023-09-18 17:24:26+00:00
Last line could not be parsed succesfully. Error message: Parse content: no matches found in #123456|3441 01 000][RLivingRoom][IuserName]_17:20:15,09-18-2023 , using matcher: re.compile('\n[#]?(?P[A-F0-9]{3,16})?\n[|]?\n(?P<event_qualifier>\d{1})\n(?P<event_type>\d{3})\n\s\n(?P\d{2})\n\s\n(?P\d{3})\n[\]]\n(?:\[(?:(?<=\[)(?P.[^\\[\\]]
)(?=\])), re.VERBOSE). Line: B0E60058"ADM-CID"0050L0#123456[#123456|3441 01 000][RLivingRoom][IuserName]_17:20:15,09-18-2023 BFEC0058"ADM-CID"0055L0#123456[#123456|1400 01 000][RLivingRoom][IuserName]_17:22:02,09-18-2023 2DE1004C"ADM-CID"0056L0#123456[#123456|1406 01 000][RLivingRoom]_17:22:02,09-18-2023 BA990058"ADM-CID"0057L0#123456[#123456|3441 01 000][RLivingRoom][IuserName]_17:22:30,09-18-2023 6AED0058"ADM-CID"0059L0#123456[#123456|1400 01 000][RLivingRoom][IuserName]_17:22:58,09-18-2023 6225004C"ADM-CID"0060L0#123456[#123456|1406 01 000][RLivingRoom]_17:22:58,09-18-2023 2A580058"ADM-CID"0064L0#B12345[#B12345|3441 01 000][RLivingRoom][IuserName]_17:24:26,09-18-2023 6F440029"NULL"0000L0#B12345[]_17:24:30,09-18-2023
Last line could not be parsed succesfully. Error message: Parse content: no matches found in #B12345|1400 01 000][RLivingRoom][IuserName]_17:24:42,09-18-2023, using matcher: re.compile('\n[#]?(?P[A-F0-9]{3,16})?\n[|]?\n(?P<event_qualifier>\d{1})\n(?P<event_type>\d{3})\n\s\n(?P\d{2})\n\s\n(?P\d{3})\n[\]]\n(?:\[(?:(?<=\[)(?P.[^\\[\\]]*)(?=\])), re.VERBOSE). Line: E02D0058"ADM-CID"0065L0#B12345[#B12345|1400 01 000][RLivingRoom][IuserName]_17:24:42,09-18-2023
Event timestamp is no longer valid: 2023-09-18 17:24:42+00:00

Logger: pysiaalarm.base_server
Source: runner.py:186
First occurred: 16:24:10 (9 occurrences)
Last logged: 16:25:50

Event timestamp is no longer valid: 2023-09-18 17:24:42+00:00
Event timestamp is no longer valid: 2023-09-18 17:24:46+00:00
Last line could not be parsed succesfully. Error message: Parse content: no matches found in #123456|3441 01 000][RLivingRoom][IuserName]_17:20:15,09-18-2023 , using matcher: re.compile('\n[#]?(?P[A-F0-9]{3,16})?\n[|]?\n(?P<event_qualifier>\d{1})\n(?P<event_type>\d{3})\n\s\n(?P\d{2})\n\s\n(?P\d{3})\n[\]]\n(?:\[(?:(?<=\[)(?P.[^\\[\\]])(?=\])), re.VERBOSE). Line: B0E60058"ADM-CID"0050L0#123456[#123456|3441 01 000][RLivingRoom][IuserName]_17:20:15,09-18-2023 BFEC0058"ADM-CID"0055L0#123456[#123456|1400 01 000][RLivingRoom][IuserName]_17:22:02,09-18-2023 2DE1004C"ADM-CID"0056L0#123456[#123456|1406 01 000][RLivingRoom]_17:22:02,09-18-2023 BA990058"ADM-CID"0057L0#123456[#123456|3441 01 000][RLivingRoom][IuserName]_17:22:30,09-18-2023 6AED0058"ADM-CID"0059L0#123456[#123456|1400 01 000][RLivingRoom][IuserName]_17:22:58,09-18-2023 6225004C"ADM-CID"0060L0#123456[#123456|1406 01 000][RLivingRoom]_17:22:58,09-18-2023 2A580058"ADM-CID"0064L0#B12345[#B12345|3441 01 000][RLivingRoom][IuserName]_17:24:26,09-18-2023 E02D0058"ADM-CID"0065L0#B12345[#B12345|1400 01 000][RLivingRoom][IuserName]_17:24:42,09-18-2023 C70F004C"ADM-CID"0066L0#B12345[#B12345|1406 01 000][RLivingRoom]_17:24:42,09-18-2023 6F850029"NULL"0000L0#B12345[]_17:25:30,09-18-2023
Event timestamp is no longer valid: 2023-09-18 17:25:51+00:00
Last line could not be parsed succesfully. Error message: Parse content: no matches found in #123456|3441 01 000][RLivingRoom][IuserName]_17:20:15,09-18-2023 , using matcher: re.compile('\n[#]?(?P[A-F0-9]{3,16})?\n[|]?\n(?P<event_qualifier>\d{1})\n(?P<event_type>\d{3})\n\s\n(?P\d{2})\n\s\n(?P\d{3})\n[\]]\n(?:\[(?:(?<=\[)(?P.[^\\[\\]]
)(?=\])), re.VERBOSE). Line: B0E60058"ADM-CID"0050L0#123456[#123456|3441 01 000][RLivingRoom][IuserName]_17:20:15,09-18-2023 BFEC0058"ADM-CID"0055L0#123456[#123456|1400 01 000][RLivingRoom][IuserName]_17:22:02,09-18-2023 2DE1004C"ADM-CID"0056L0#123456[#123456|1406 01 000][RLivingRoom]_17:22:02,09-18-2023 BA990058"ADM-CID"0057L0#123456[#123456|3441 01 000][RLivingRoom][IuserName]_17:22:30,09-18-2023 6AED0058"ADM-CID"0059L0#123456[#123456|1400 01 000][RLivingRoom][IuserName]_17:22:58,09-18-2023 6225004C"ADM-CID"0060L0#123456[#123456|1406 01 000][RLivingRoom]_17:22:58,09-18-2023 2A580058"ADM-CID"0064L0#B12345[#B12345|3441 01 000][RLivingRoom][IuserName]_17:24:26,09-18-2023 E02D0058"ADM-CID"0065L0#B12345[#B12345|1400 01 000][RLivingRoom][IuserName]_17:24:42,09-18-2023 C70F004C"ADM-CID"0066L0#B12345[#B12345|1406 01 000][RLivingRoom]_17:24:42,09-18-2023

Set the timezone and allowed timeband on the SIAAccount so that the timestamp invalid goes away and we can check the rest, you could also see why there is a 4 minute difference.

I have already checked: Ignore the timestamp check of the SIA events

And I will check why the time difference. Both HA and dahua security use ntp.
Let me know if you need me for further information or debug logs.

Thank you in advance for your efforts and time

commented

@matbogdan79 did you manage to get this Airshield Dahua system working with this integration?