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

Tellmon IP bridge - NULL frame not recognized #60

Open
tamisoft opened this issue May 23, 2024 · 1 comment
Open

Tellmon IP bridge - NULL frame not recognized #60

tamisoft opened this issue May 23, 2024 · 1 comment
Assignees

Comments

@tamisoft
Copy link

I am getting this error in HomeAssistant, using pysiaalarm 3.1.1:
Last line could not be parsed succesfully. Error message: No matches found, event was not a SIA or ADM Spec event, line was: D2860025"NULL"0001#1997[]_17:07:08,05-23-2024. Line: D2860025"NULL"0001#1997[]_17:07:08,05-23-2024
I am suspecting that the 0001 before the account id is the problem, but not sure., any hints?

@tamisoft
Copy link
Author

Changing main regex fixes this, but next: 401 events were not mapped after that to the zones in HA

main_regex = r"""
(?P<crc>[A-Fa-f0-9]{4})
(?P<length>[A-Fa-f0-9]{4})\"
(?P<encrypted_flag>\*)?
(?P<message_type>SIA-DCS|ADM-CID|NULL)\"
(?P<sequence>[0-9]{4})?
(?:(?P<receiver>R[A-Fa-f0-9]{1,6})
(?P<line>L[A-Fa-f0-9]{1,6}))?
[#]?(?P<account>[A-Fa-f0-9]{3,16})?
[\[]
(?P<rest>.*)
"""
MAIN_MATCHER = re.compile(main_regex, re.X)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants