Page 1 of 1
Tellstick
Posted: Mon May 24, 2010 3:14 pm
by jaaahaaa
I'm trying to dim my lights using a python script. I found this one:
eg.plugins.TellStick.Dim(, )
and tried just putting in some numbers but I'm getting errors, how do I use it? Can't really find any documentation on this.
Re: Tellstick
Posted: Tue May 25, 2010 6:21 am
by krambriw
eg.plugins.TellStick.Dim(a,b)
a = device number as configured with Telldus Center
b = 1....254 (dim level)
I can also provoke an error message when executing the script too fast. Must be that the device is not ready from previous transmit
Code: Select all
08:19:54 raise eg.Exception("An error occurred while trying to transmit")
Re: Tellstick
Posted: Tue May 25, 2010 9:39 am
by jaaahaaa
I'm getting:
Traceback (most recent call last):
Python script "0", line 1, in <module>
eg.plugins.TellStick.Dim(1, 90)
File "C:\PROGRA~1\EVENTG~1\plugins\TellStick\__init__.py", line 148, in __call__
Exception: An error occurred while trying to transmit
Re: Tellstick
Posted: Wed May 26, 2010 6:48 am
by krambriw
If you are using Telldus Center, you should try my updated Tellstick plugin here:
http://www.eventghost.org/forum/viewtop ... f=9&t=2081
It might be that you still get some error messages if you send too many commands with short delay in between but this has nothing to do with EG. It might be that this can be improved in the plugin, please report back in the plugin thread for TS your feedback