A Servie to connect to Active911 and export alert messages to a predefined directory
This project is deprecated. While there is no direct replacement, similar functionality can be implemented using A911Client, which provides a modern, async-first Python client library for interacting with Active911's API and XMPP interface.
This module is designed to work with Python 3.4+ on a Windows system. Python 2 may work, your milage may very. The requirements.txt file contains the required libraries except for a911client and optionally sleekmonkey.
python 3.4+
$ pip install -r requirements.txt
$ mkdir a911-build
$ cd a911-build
$ git clone https://github.com/porcej/a911client
$ cd a911client
$ python setup.py install
# The following is optional, to install sleekmonkey
$ cd ..
$ git clonge https://github.com/porcej/sleekmonkey
$ cd sleekmonkey
$ python setup.py install
# The following is optional to remove a911client's build directory
$ cd ..\..
$ cd rm -rf a911-build
We will use pyinstaller to build an executable. This will export the executable to the dist folder within the project directory
pyinstaller -F --hidden-import=win32timezone ww_bridge.py
pyinstaller -F --hidden-import=win32timezone config.py
Use config to generate json config file
Usage: 'ww_bridge.exe [options] install|update|remove|start [...]|stop|restart [...]|debug [...]'
Options for 'install' and 'update' commands only:
--username domain\username : The Username the service is to run under
--password password : The password for the username
--startup [manual|auto|disabled|delayed] : How the service starts, default = manual
--interactive : Allow the service to interact with the desktop.
--perfmonini file: .ini file to use for registering performance monitor data
--perfmondll file: .dll file to use when querying the service for
performance data, default = perfmondata.dll
Options for 'start' and 'stop' commands only:
--wait seconds: Wait for the service to actually start or stop.
If you specify --wait with the 'stop' option, the service
and all dependent services will be stopped, each waiting
the specified period.
$dist\ww_bridge.exe install
Installing service TestService
Service installed
$dist\ww_bridge.exe start
Starting service TestService
$dist\ww_bridge.exe stop
$dist\ww_bridge.exe remove
- Anaconda Python - The python framework
- SleekXMPP - XMPP Library
- A911Client - Active 911 Alert Client
- SleekMonkey - Patch for SleekXMPP 1.3.3 to better handle TLS Certificate dates
- Requests - Request and session handling
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Joseph Porcelli - Initial work - porcej
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details