Advertisement
KrystianD

Turn any output on/off by a command

Jan 13th, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. # Automation script for KDhome (Home automation system) - http://krystiand.net/projekt/12/kdhome
  2.  
  3. import kdhome
  4.  
  5. home = kdhome.KDHome()
  6. home.connect("localhost", 9999)
  7. home.setOutput("MAIN-LIGHT", True)
  8. home.setOutput("HEATER", False)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement