/pysouliss

Python wrapper to communicate with Souliss home automation framework

Primary LanguagePythonMIT LicenseMIT

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.