TellStick Duo

Questions and comments specific to a particular plugin should go here.

Re: Plugin: TellStick Duo

Postby swevictor » Wed Nov 23, 2011 9:13 pm

Hi and thanks for a GREAT plugin! Fantastic to have this functionality in EG!

I have been playing around a bit with EG and Tellstick using mostly Nexa remotes as senders. I my plan is to try and implement some long press / multi press functionality, however as you probably know each Nexa unit sends a LOAD of events (basically codes for 1: archtech, 2: sartano and 3: everflourish repeated multiple times (1, 2, 3, 1, 2, 3, 1, 2, 3, ...) with some missing due to interference). Have anyone tried long/multi press or even succeeded? I've tried the two built-in actions with no success.

Thanks again!
/Victor
swevictor
 
Posts: 1
Joined: Wed Nov 23, 2011 9:05 pm

Re: Plugin: TellStick Duo

Postby noen » Thu Nov 24, 2011 12:52 am

I'm having a problem with Tellstick in EG.

I had to format my pc and install everything again, and that included thellstick.
When I opened EG and loaded my old config, the tellstick plugin text was red, and nothing worked.
I installed the latest driver in this thread from Walter and altered all the macros correctly, restarted EG but still a red text.
The log shows on startup:

Plugin: TellStickDuo
Error starting plugin: TellStickDuo
Traceback (most recent call last) (1544):
File "C:\Program Files\EventGhost\eg\Classes\PluginInstanceInfo.py", line 177, in Start
self.instance.__start__(*self.args)
TypeError: __start__() takes exactly 7 arguments (6 given)

And when I run a macro it says that tellstick duo is not activated.

How can I fix it?
noen
 
Posts: 1
Joined: Wed Jul 20, 2011 10:01 pm

Re: Plugin: TellStick Duo

Postby krambriw » Thu Nov 24, 2011 9:33 am

Hi, your previous configuration is not compatible with the latest version of the plugin, that is why you see this error message. To fix it, try to open the plugin configuration, then press ok, save and restart EG

Best regards, Walter
krambriw
Plugin Developer
 
Posts: 1146
Joined: Sat Jun 30, 2007 2:51 pm

Re: Plugin: TellStick Duo

Postby krambriw » Wed Nov 30, 2011 10:49 am

I made the test version official, see the first post

New features:
# 2011-11-14 Using device names as keys instead of device id's.
# Changed the slider for dim to show 0-100% dim level.
# Improved the blocking of repeated events, blocking all repeated
# events within the defined time frame except change events.

To upgrade from previous version:
You have to open the configuration of the plugin, do your changes or accept, click OK and save.
Then you have to open the configuration for each action and select the device (name) that is to be controlled. The name of the macro should help to pick the correct name from the drop-down list. Once you have re-configured the actions, they should work.After this, save your complete configuration and make a clean restart of EG

Best regards, Walter
krambriw
Plugin Developer
 
Posts: 1146
Joined: Sat Jun 30, 2007 2:51 pm

Re: Plugin: TellStick Duo

Postby Ganapoes » Mon Dec 05, 2011 7:53 am

Do you have a TellStick Duo or the old TellSTick? What version of Telldus Center are you using? I am using 2.1.0
Ganapoes
 
Posts: 2
Joined: Mon Dec 05, 2011 7:51 am

Re: Plugin: TellStick Duo

Postby krambriw » Thu Dec 08, 2011 12:25 pm

I do have both. This thread and plugin is about and intended for the Duo. It works however also with the old TellSTick but then only for transmissions (of course). There is also a plugin that I made for the TellStick, search for TS2 in this forum. I am also using Telldus Center version 2.1.0

BestR Walter
krambriw
Plugin Developer
 
Posts: 1146
Joined: Sat Jun 30, 2007 2:51 pm

Re: Plugin: TellStick Duo

Postby Scope » Tue Dec 27, 2011 10:15 pm

Great work with the Telldus Tellstick Duo plugin!

However I am experiencing alot of bugs. Previously I used the regular tellstick with an antenna, and the Tellstick Plugin.
I never had any problems with that setup. Now I have changed to the Tellstick Duo and I can't get it to work properly.
What happens is that if I send several commands in a row I get this error :
22:59:21 TellStickDuo: Turn on Bedroom.Nightstand.Light
22:59:22 Retry nbr: 1
22:59:22 Retry nbr: 2
22:59:22 Retry nbr: 3
22:59:22 Retry nbr: 4
22:59:22 An error occurred while trying to transmit


The error returned from tdTurnOn is -3 which is TELLSTICK_ERROR_DEVICE_NOT_FOUND. If I continue to send commands to other devices they may succeed and they may fail, so it is intermittent.
I believe this is either a bug in the Telldus-service or the Eg-plugin uses the API incorrect somehow.
I am able to reproduce the bug in Telldus Center if I am running Evenghost. If I keep pressing ON for a device in TelldusCenter several times and then OFF and then ON on some other device it will show : "Could not connect to the Telldus Service". If I close EventGhost I am not able to reproduce this.
The Telldus-service seems to be using pipes to communicate with it's client-dll and I can see that the Telldus Center creates a new pipe for each command. I am guessing that the service will deny the creation of a new pipe and therefor the telldus-dll will return TELLSTICK_ERROR_DEVICE_NOT_FOUND.

Any ideas? I will gladly try to help out with this :)
Scope
 
Posts: 28
Joined: Tue Feb 22, 2011 5:19 pm

Re: Plugin: TellStick Duo

Postby krambriw » Wed Dec 28, 2011 6:29 am

Hello Scope,

Your observations are correct. The plugin is dependent on the Telldus Center installation and the related api with dll's etc. Any misbehavior in that part and the plugin will show the same symptoms.
I have noticed this with various versions of the Telldus Service, sometimes it was better. The version I have installed right now works pretty ok, at least in my setup ( 2.1.0), but you cannot send too quickly, you need a delay between commands (like 1 second or so).

The Telldus-service seems to be using pipes

Interesting, I thought nobody uses pipes anymore. Maybe this is because the platform independence requirement they have.

I believe I use the api correctly, the source code has also been checked by Telldus, at least partly. I make just one connection when the plugin starts but I am not sure how this is cleaned up by Telldus Center when I disconnect.

Great if you would like to help. To start, I think we have to wait for next version of Telldus Center and see how it comes out.

Best regards, Walter
krambriw
Plugin Developer
 
Posts: 1146
Joined: Sat Jun 30, 2007 2:51 pm

Re: Plugin: TellStick Duo

Postby jamesst » Fri Jan 20, 2012 12:53 pm

Hi Walter,

Will Tellstick Duo EG Plugin work if I update to TelldusCenter 2.1.1 Beta ( http://www.telldus.com/forum/viewtopic.php?f=16&t=1800 ) and also with updated firmware 5?
Do you recomend update at this time? For me it is esential to use this device with EG.

Thanks
James
jamesst
 
Posts: 18
Joined: Thu Dec 22, 2011 7:13 pm

Re: Plugin: TellStick Duo

Postby krambriw » Fri Jan 20, 2012 1:08 pm

Hi James,

Well, I sure hope it does but if you hold on a few days, I might have a chance to test. I have one of the first Duo ever made, it is a pre-production unit and it was not possible to upgrade the FW using the flash tool. So I have sent it via mail to Telldus for upgrade or replacement.

Before I did that, I did however install theTelldusCenter 2.1.1 Beta and it worked fine with the Duo and EG. I even felt it was acting much faster than the old version.

I think it is worth at least to install the new TelldusCenter and for new features I think you need the new FW. But as I said, if you wait, I will try it asap.

Or someone with a newer Duo might report here how it works!

Best regards, Walter
krambriw
Plugin Developer
 
Posts: 1146
Joined: Sat Jun 30, 2007 2:51 pm

Re: Plugin: TellStick Duo

Postby jamesst » Fri Jan 20, 2012 2:15 pm

Ok, I couldn't wait. :oops:

I have updated the firmware to version 5, and installed new beta software.
I am happy to report that everithing works good. Your plugin woks fine. :D

Thanks and regards,
James
jamesst
 
Posts: 18
Joined: Thu Dec 22, 2011 7:13 pm

Re: Plugin: TellStick Duo

Postby krambriw » Fri Jan 20, 2012 4:07 pm

Thats good news,
Thanks for giving feedback,

Walter
krambriw
Plugin Developer
 
Posts: 1146
Joined: Sat Jun 30, 2007 2:51 pm

Re: Plugin: TellStick Duo

Postby jamesst » Mon Jan 23, 2012 1:00 pm

jamesst wrote:Ok, I couldn't wait. :oops:

I have updated the firmware to version 5, and installed new beta software.
I am happy to report that everithing works good. Your plugin woks fine. :D

Thanks and regards,
James


It seams I was little to quick, the Telldus center doesn't work if you resume system from hybernation. I order to get it work (also in EG) system must be restarted.
jamesst
 
Posts: 18
Joined: Thu Dec 22, 2011 7:13 pm

Re: Plugin: TellStick Duo

Postby krambriw » Mon Jan 23, 2012 6:23 pm

This is a problem of Telldus Center itself I assume.

A work-around you could try is what I have illustrated below. I am not sure if the event "System.Resume" or "System.ResumeAutomatic" works best for you (disable the one that doesn't work the way you want).

You can create a macro like this:
Image3.png
Image3.png (7.27 KiB) Viewed 1195 times

Image5.png

Image4.png
krambriw
Plugin Developer
 
Posts: 1146
Joined: Sat Jun 30, 2007 2:51 pm

Re: Plugin: TellStick Duo

Postby MrNilsson » Mon Jan 23, 2012 9:04 pm

I've got an issue.

Just a minor one... ;)

I have bought a roxcore projector screen that works just great with Telldus center, but the command stop, wich is going to be useful for me (as I just use the projector screens motor to my blind), isn't configurable in EG.

It is there, in telldus center, but is not optional in EG.

Is this something you can show me where to put in the init.py file for EG to understand this STOP command?
MrNilsson
 
Posts: 5
Joined: Thu Nov 17, 2011 7:26 am

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: rdgerken and 6 guests