-
Notifications
You must be signed in to change notification settings - Fork 67
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
Partition Status not able to switch from P1 #21
Comments
i also cannot access my "Test" Partition ?any ideas... |
I would guess that there is a javascript error that is causing the page not to update. You can look at the javascript console under the View->Developer-JavaScript console and see if anything is listed there. |
In your alarmserver.cfg file what is your test partition mapped to? [alarmserver] |
Your partition keyword 'Partition2' has a capital P in it, try to lowercase it and restart the alarmserver. |
Also i added a zone in P2 and it shows in P1 - so I'm sure there is no script written for the partitions as i would expect the zones assigned to P2 only show up on the page ... |
@dsc-elvey-za I've been rewriting all this to make it much better but I don't have a multi-partition system to test on. |
@dsc-elvey-za Looking at the code the arm/disarm/etc hooks are all hard coded to partition 1 only. I'll fix this, assume partition=1 where no partition is provided and push the code soon. I won't be able to update the GUI quickly (or easily) as I am not a gui guy, but the endpoint eg /API/arm or /API/disarm will all accept a partition when I am done. |
K, done. You can test by going to https://server:8111/api/alarm/stayarm?partition=2 It works via api, but it is not exposed via the gui. The buttons in the gui will continue to operate partition 1 only unless someone is able to update it for me. |
@dsc-elvey-za BTW, this code only exists in feature/tornado branch. You'll need python-tornado modules installed. I can backport the fixes to the old branch if absolutely necessary, but i'm using tornado going forward for http/https/sockets in python. If you are not familiar with how to install python modules (via pip) see here for instructions: http://www.tornadoweb.org/en/stable/ |
After arming the alarm system the green status icon stays green until you restart the server ? anyone else have this issue ?
Robin
The text was updated successfully, but these errors were encountered: