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

Case sensitiveness #26

Open
Phyks opened this issue Jan 3, 2022 · 1 comment
Open

Case sensitiveness #26

Phyks opened this issue Jan 3, 2022 · 1 comment

Comments

@Phyks
Copy link

Phyks commented Jan 3, 2022

Hi,

It took me a while to get a proper connection between my Ajax alarm system and pysiaalarm:

  • Account ID is case sensitive (while I was expecting hexadecimal strings would not be), I was getting:
WARNING:pysiaalarm.base_server:There is no account for a encrypted line, line was:
  • Same seems to be the case for the encryption key, I was getting:
WARNING:pysiaalarm.base_server:Last line could not be parsed succesfully. Error message: Parse content: no matches found in %s, using matcher: %s. Line:

In the end, I got it working by having account id all uppercase (same as in the Ajax Hub application) and encryption key all lowercase.

Thanks for the useful lib!
Best,

@eavanvalkenburg
Copy link
Owner

thanks for reporting, I'll have a look, I would expect there to be slightly different behaviour since the key is cast to bytes, but I will check!

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