Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 730 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 730 Bytes

pysouliss

Python API for talking to a Souliss gateway (http://souliss.net/). This is a very early stage of the project. Python 3.6.2 is required

Demo

After cloning the repository you can test it with your actual configuration with:

python main.py -v -g <ip-gateway>

Install

Install with

pip install -e /path/to/your/cloned/folder

Usage

import souliss.souliss as souliss
SOULISS = souliss.Souliss('192.168.1.77')
SOULISS.database_structure_request()

while True:
    SOULISS.get_response()

In the above example PySouliss will get the nodes and typicals on the gateway and start listening to events, keeping an internal state of each typical and showing a messagge if something changes.