Code: Select all
eg.plugins.TellStickDuo.plugin.device_state_memory = {'':''}Code: Select all
eg.plugins.TellStickDuo.plugin.device_state_memory = {'':''}First of all I have to thank Walter again for this excellent feature!Telorast wrote:I figured out how to hack it, I added this script to every command:Looks ugly but at least it works.Code: Select all
eg.plugins.TellStickDuo.plugin.device_state_memory = {'':''}
Thanks for the quick response!krambriw wrote:You can try the attached version. Please replace and also put the new file in the TellStickDuo plugin folder. Give a feedback asap if it works ok and I will make a public release.
# 2013-03-11 You can now specify the devices you like to remember states for.
# Just put in the Telldus Center name of the device in the list in
# the separate python file 'devices_in_state_memory.py' and the
# state will be captured to avoid multiple duplicated events.
# State changes will be captured only for devices listed in this
# file.
# This is useful especially with devices that sends many events
# for each state change (like magnetic contacts, infra red
# detectors, pushbuttons and others).
All other devices remain the same with the delay-filter instead.
12:34:18 ---> Welcome to EventGhost <---
12:34:18 Error compiling script.
12:34:18 Traceback (most recent call last) (1640):
12:34:18 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 121, in SetArguments
12:34:18 self.compiled = self.executable.Compile(*args)
12:34:18 File "C:\Program Files (x86)\EventGhost\plugins\EventGhost\PythonScript.py", line 71, in __init__
12:34:18 self.PrintTraceback()
12:34:18 File "C:\Program Files (x86)\EventGhost\plugins\EventGhost\PythonScript.py", line 97, in PrintTraceback
12:34:18 treeItem.PrintError("Traceback (most recent call last):")
12:34:18 AttributeError: 'NoneType' object has no attribute 'PrintError'
12:34:18 Autostart
12:34:18 Plugin: Android
12:34:18 Plugin: Broadcaster
12:34:18 Plugin: E-mail
12:34:18 Plugin: iTunes
12:34:18 iTunes is not running
12:34:18 Plugin: Keyboard
12:34:18 Plugin: MediaPortal
12:34:18 Plugin: Multitap
12:34:18 Plugin: Process Watcher
12:34:21 Plugin: Screamer Radio
12:34:21 Plugin: Snarl
12:34:21 Plugin: Spotify
12:34:21 Plugin: SunTracker
12:34:21 Plugin started
12:34:21 Plugin: TellStickDuo
12:34:21 Error starting plugin: TellStickDuo
12:34:21 Traceback (most recent call last) (1640):
12:34:21 File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 177, in Start
12:34:21 self.instance.__start__(*self.args)
12:34:21 TypeError: __start__() takes exactly 8 arguments (7 given)
Upgrade from earlier versions...