A cross-platform Python API and daemon for the Envisalink TPI (DSC) module.
Requirements: Python >= 3.11 and poetry.
- Clone the repository:
git clone https://github.com/Tokenize/evl-daemon-python.git
- Install the requirements using poetry:
poetry install
. If you don't want the development dependencies:poetry install --no-dev
.
- Create a config.json file and save it to the directory of your choosing. You can use the config.json file as a template. Ensure that the EVL IP, port number and password are specified.
- Run evldaemon:
poetry run python3 evldaemon.py --config=<config file path>
See config.json for configuration for details.
To run all unit tests, run the following:
poetry run python -m unittest discover test