Wrapper to Interlogix UltraSync ZeroWire Hub
Project description
Interlogix UltraSync ZeroWire Hub
Interlogix provides security solutions. One of which is their Self Contained (ZeroWire) Hub:
This is just a small library and accompaning CLI tool I wrote to allow me to interface with it.
How Does It Work?
-
First you need to install it; this part is easy:
pip install ultrasync
-
Create a configuration file that identifies:
- The location the ZeroWire hub can be found on in your local nework.
- Your ZeroWire login User ID
- Your ZeroWire login pin
Note: You can only be logged into the ZeroWire hub with the same user once; a subsequent login with the same user logs out the other. Since this plugin actively polls (and maintains a login session to) your Hub for the latest information, it can prevent you from being able to log into at the same time elsewhere. It is strongly recommended you create a second user account on your Hub dedicated to just this application.
# An example of what would be found in your configuration file: # Use hashtags/pound symbols (#) to optionally add comments # Syntax is simply <key>: <value> # # You must specify hostname, user, and pin # host: 192.168.0.30 user: My Username pin: 1234
-
Use the --scene (-s) to set your security system's alarm scene. The possible options are:
disarm
,away
, andstay
.# By default if no --config= (-c) is specified; one will be automatically # loaded from the following location (if present): # ~/.ultrasync # ~/.config/ultrasync # Windows users can store their default configuration files here: # %APPDATA%/UltraSync/config # %LOCALAPPDATA%/UltraSync/config # Disarm your security system ultrasync --scene disarm # Arm your security system and acctivate all of your sensors when setting the # away mode macro ultrasync --scene away # Arm your security system and only activate your perimiter sensors: ultrasync --scene stay
What Else Can It Do?
- You can put up a live monitor of your device by typing the following:
# A live monitoring of your home security system: ultrasync --watch
- You can generate a snapshot (in JSON format) that greatly details everything taking place through your security home setup. It provides MUCH greater detail than the
--watch
process and will eventually become the key that will make integration with Home Assistant possible eventually.# Print a JSON formated snapshot of all home security details ultrasync --details
- You can perform a dump of all of the web based files (that I've found to be useful so far) to disk. This makes troubleshooting incredibly easy to do when I can have a copy of the files being parsed/processed.
# Extracts information from your UltraSync Hub that can be # incredibly useful in debugging and/or adding enhancments ultrasync --debug-dump
The debug content gets written to a directory (residing in the same folder you ran this command from) in the form of:YYYYmmddHHMMSS.ultrasync-dump
.
Disclaimer
This software was created by reverse engineering my own personal security system. All of this code was generated through trial and error since there is no documentation that I could find that explains the registers or alterative programs on the internet I could reference. If you can help out by filling in some of the blanks throughout the code base, it would be greatly appreciative of it! Alternatively buying me a coffee greatly inspires me to continue improving the application.
Alternatively, please feel free to file bugs and use this at your sole discretion as I have no control over how your own security system might have been set up. But what has been written here should work for all owners.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ultrasync-0.8.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 654d70de0092b43ccdc1377598c587aeefb4fc1efb4cca383bcbd3bb5b1bbe87 |
|
MD5 | 97415d7b8407a1b9c6a681a50681205d |
|
BLAKE2b-256 | 645d034bc799fedc5de44b3922448caced99dd782225ddac76d7efefe5244aa4 |