https://github.com/bachp/casacontrol.py
A small python library that allows to communicate with the Casa Control system http://www.casacontrol.info/
https://github.com/bachp/casacontrol.py
Last synced: 11 months ago
JSON representation
A small python library that allows to communicate with the Casa Control system http://www.casacontrol.info/
- Host: GitHub
- URL: https://github.com/bachp/casacontrol.py
- Owner: bachp
- License: mit
- Created: 2014-11-06T21:37:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-06T21:59:43.000Z (over 11 years ago)
- Last Synced: 2025-03-28T06:31:29.713Z (about 1 year ago)
- Language: Python
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
casacontrol.py
==============
A small python library that allows to communicate with the Casa Control system http://www.casacontrol.info/
usage
-----
```
from casacontrol import CasaControl
# sn is the serial number of the base station
c = CasaControl("192.168.0.123", sn="023456789000")
p = c.PowerPlug(0)
# Now press the button on the device until it starts to blink
p.pair()
p.on()
p.off()
```