/ics2000-python

KlikAanKlikUit ICS-2000 Python library

Primary LanguagePythonMIT LicenseMIT

Trust ICS-2000 Python library

Forked from https://github.com/Stijn-Jacobs/ICS2000-Python

Example usage:

from ics2000.Core import get_hub
import logging

logging.basicConfig(level=logging.DEBUG)

hub = get_hub(
    'Mac address of ics2000',
    'email',
    'password'
)

This will also list the devices connected

hub.turnon(id of device to turn on)
  
hub.turnoff(id of device to turn off)

print(hub.getlampstatus(id of device))

Heavily WIP