2011-01-15, 14:45
I have been looking at this for the last few days, with the aim to control an Arduino (which in turn will control my lights).
But I am currently struggling to get the pyserial library to install correctly. I have tried the current version of pyserial (2.5) and a few older versions hoping they are more comparable with XBMCs python (2.4).
pyserial seems ok, but it always needs extra modules that XBMC does have and those don't want to install properly (ctype for the newer versions of pyserial and win32 for the older versions).
It is frustrating as I can send/receive serial commands from my computers installation of python (python 2.7 and pyserial 2.5) but can't get it to work within XBMC.
So I am sure it is possible, but at the moment I can't quite figure out how to get it all working.
http://forum.xbmc.org/showthread.php?tid=90540
But I am currently struggling to get the pyserial library to install correctly. I have tried the current version of pyserial (2.5) and a few older versions hoping they are more comparable with XBMCs python (2.4).
pyserial seems ok, but it always needs extra modules that XBMC does have and those don't want to install properly (ctype for the newer versions of pyserial and win32 for the older versions).
It is frustrating as I can send/receive serial commands from my computers installation of python (python 2.7 and pyserial 2.5) but can't get it to work within XBMC.
So I am sure it is possible, but at the moment I can't quite figure out how to get it all working.
http://forum.xbmc.org/showthread.php?tid=90540