-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Get the current alarm state from --details output #20
Comments
If you're set up with your alarm panel, then just: # Dump alarm panel status
ultrasync --details Or, a live feed will be more like: # Dump alarm panel status
ultrasync --watch |
It's in the response, but yeah, you'd need to filter it out. You could use a tool such as jq to do it for example. ultrasync --details | jq <your filters here> |
I've looked into the code, but I don't quit understand how you determine the current alarm state. (trying to implement this in PHP) |
I reviewed the code just now. You're right, there isn't a whole lot of detail in the result set since it's just the bank status that is being printed. I thought for some reason that i made it so it would print more details. It doesn't really look like there is an option to get exactly what you want at this time. We can leave this ticket open and enhance the details output |
If it could be narrowed down to just like "status", that would be awesome. I did dig in the source, trying to replicate the build for just one area, to get the status, but I don't seem to get it going. Especially struggeling with the following parts;
found in Line 765 in 0f37636
and Line 811 in 0f37636
|
❓ Question
I was wondering on how I could get the current state of the alarm, like Armed, away or stay. I can't seem to find anything related to the current state of the alarm?
The text was updated successfully, but these errors were encountered: