Can't read __init__.py for plugin "CM11A"
philg wrote:I have now tried the latest beta version (v0.3.6.1476) and have different results.
It still failed but I was able to fix it.
Bugs I have found so far:
Line 161: The open command passed too many arguments, the "8N1" seems to be the problem here. I remove it and it opened the port.
Line 333 (and others):
The second parameter to SendReceive , chr(header+cmd) gave an error because header+cmd = 256 in my case (command=brighter, brightness=95) which is not a valid character (chr). After looking at my C# code and the sendreceive function, I figured this return argument was not needed as such, so I changed ALL lines containing
Now it seems to work OK, but my X10 light switches don't send events, so there is actually no real benefit to me using this plug-in over my console app, which means I can also use the X10 device from other programs as the com port is not tied up all the time. So for now I will probably leave it as it was.
Thanks for the plug-in though - and I hope if anyone else has problems, this post may help sort it out.
73challenger wrote:I was wanting to try out your plugin but it says it does not exist anymore. I was wondering if you could upload it again. Thanks alot! I was to use this to dim my lights when movies are played I use a command line program currently. Thanks a bunch!
73challenger wrote:Thats weird...it works now! The link might have broke because i was using server 2008?
Users browsing this forum: No registered users and 3 guests