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

Update entity availability based on whether successfully connected to the EVL #7

Closed
ufodone opened this issue Jan 13, 2023 · 4 comments
Assignees

Comments

@ufodone
Copy link
Owner

ufodone commented Jan 13, 2023

No description provided.

@ufodone ufodone self-assigned this Jan 13, 2023
@rct
Copy link

rct commented Jan 29, 2023

I've noted the old (current) integration gives no clues if it loses connection to the Envisalink. So this would be very much appreciated.

Do you have ways of testing this?

@ufodone
Copy link
Owner Author

ufodone commented Jan 29, 2023

I've been slowly piecing together a mock EVL server that I can use to test against and so I'll be able to use that to test losing connection.

@rct
Copy link

rct commented Jan 29, 2023

Any chance you can share your mock EVL server? I've been thinking about cobbling something together for a while.

Right now, I want to test the bug I saw with the 1.5.203 firmware where the envisalink kept sending 67302, 67303, 67304, about 10 times a second, which caused an unexpected recursion problem in AlarmServer - juggie/AlarmServer#78

@ufodone
Copy link
Owner Author

ufodone commented Jan 29, 2023

Sure, I just committed what I have to my pyenvisalink branch.

It's pretty basic right now and doesn't do much to actually simulate real behaviour but it should at least be flexible enough to hack together what you're trying to simulate. That's mostly what I've been using it for myself at this point.

You just need to set some variables at the top of evl_mock.py to set the panel type and password and then run it.

@ufodone ufodone closed this as completed Feb 2, 2023
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