It is a GPL open-sourced project and welcome anyone's contributions and help. Just drop me an email.
Find the source code and library file here: https://github.com/zonyl/pyinsteon
Example:
import pyinsteon def x10_received(houseCode, unitCode, commandCode): print 'X10 Received: %s%s->%s' % (houseCode, unitCode, commandCode) def insteon_received(*params): print 'Insteon REceived:', params pyI = PyInsteon(TCP('192.168.0.1', 9671)) pyI.getVersion() pyI.sendX10('m', '2', 'on') pyI.onReceivedX10(x10_received) pyI.onReceivedInsteon(insteon_received) select.select([],[],[])
Hey Jason, I saw in the source code that you started to include some sort of XPL support.
ReplyDeleteHow were you planning to use your code ? Domogik maybe ?
The PyInsteon library has been deprecated since mid-2012. Use the PYTOMATION library instead, found at https://github.com/zonyl/pytomation.
ReplyDelete