Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 491 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 491 Bytes

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