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.
Tellstick
-
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Tellstick
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
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")
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: Tellstick
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
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
-
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Tellstick
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
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
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM