Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

TellStick Duo

Questions and comments specific to a particular plugin should go here.
jenno2001
Posts: 8
Joined: Wed Mar 04, 2015 12:32 pm

Re: TellStick Duo

Post by jenno2001 »

Hi,
I've had some great success using Eventghost and appreciate all the help I've had from Forum Posts.
I'm not a developer so apologies for my newbie query.
I get all events listed for my Oregan Sensor, I now want to be more selective and have configured for Monitor Change only events. However I still get all events.
By adding some "print" I have followed the plugin code to this section at Line 519.

Code: Select all

    def SaveOregonTHSensor(self, msg, m_key):
        #Make status data persistent if it has changed
        m = msg
        #print 'm: ', m
        tr_e = False
        try:
            if msg != self.sensor_state_memory[m_key]:
                self.sensor_state_memory[m_key] = msg
            tr_e = True
Am I correct in thinking that "tr_e = True" should be within the "if" indent of the "try:"?

Code: Select all

        except KeyError:
            if self.bDebug:
                print self.text.keyAdded
            self.sensor_state_memory[m_key] = msg
            tr_e = True
From my testing it seems to work but I'm not sure if this is just a coincidence and that I may be impacting other logic.
Many thanks for looking at this
PJ
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: TellStick Duo

Post by krambriw »

Dear PJ,

Thank you for your report!

The code was actually intentionally written like that because I had in mind that every event from the sensor should create an EG event. However, you can have the modification in your version if you prefer. What will happen is that there will only be an event created in EG when it is different to the previous one.

Thank you for your testing,
Walter
jenno2001
Posts: 8
Joined: Wed Mar 04, 2015 12:32 pm

Re: TellStick Duo

Post by jenno2001 »

Many thanks for confirming your "by design" Walter.
I have crudely added some timers to both the TellstickDuo and ClimateDataCalculation plugins to reduce the amount of Log, but at the same time allow me to write some rules for managing my Home Heating. All of this from reading your helpful responses to others and your code.
I still have to work out how to store status values for restart/failover as I read eg.globals should be steered clear of, started to look at managing persistent data - I'll get there.

Don't know if there is a process for closing out queries or posts, if there is could you please oblige.

Thanks again.
PJ
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: TellStick Duo

Post by tjabas »

Hi!

this is my first question in this forum.

im using a tellstick duo and eventghost, i use the toggle on/off function on one of the switches, but it switches back so off to fast, is it possible to delay the on/off toggle for about 3 seconds?
so when i push on och the button, it will switch to off after 3 seconds, not emideately as it does now.

thank you
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: TellStick Duo

Post by krambriw »

Hello,
The use case is relevant. I have added a new action (ToggleOnOffWithTimer) to keep the compatibilty with existing user configurations.
Skärmklipp.JPG
Updated version uploaded & available
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: TellStick Duo

Post by tjabas »

Thank you very much, really apreciate it.
But how do i install it?
bongolf
Experienced User
Posts: 58
Joined: Tue Jan 19, 2010 12:37 pm

Re: TellStick Duo

Post by bongolf »

When building an arduino-sensor I saw that the Oregon-Protocol has a flag for battery status.
I can see that the "packet" the sensor sends out looks different when the flag is set, but in Eventghost the event looks the same.
Would it be possible the get support for the battery-flag in this plugin?
Or is it something that is not supported in the Tellstick?
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: TellStick Duo

Post by krambriw »

When the plugin first was written, battery status flag was not supported by the Telldus firmware, it was added in later version and I have not yet bothered to consider it. I will check and see if it can be detected & presented

BR
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: TellStick Duo

Post by krambriw »

Battery status is unfortunately not possible to indicate, it is not supported by the library used (TelldusCore.dll)
bongolf
Experienced User
Posts: 58
Joined: Tue Jan 19, 2010 12:37 pm

Re: TellStick Duo

Post by bongolf »

Ok, thanks for looking.
I had my hopes up after reading this blogpost (but it was only for Tellstick Live):
http://developer.telldus.com/blog/2015/2

Perhaps its time to get the RFXtrx...
Henrik4223
Posts: 47
Joined: Fri Mar 04, 2016 10:18 am

Re: TellStick Duo

Post by Henrik4223 »

I just bought two Proove temperaturesensors that show up perfectly in Telldus live but they dont show up in eventghost.

Are they not supported by the plugin?

Best regards
A very happyuser of the Tellstick Duo Plugin :mrgreen:
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: TellStick Duo

Post by krambriw »

Might be they are not supported.

Telldus is unfortunately not keeping the development of Live and Telldus Center synchronized in respect to supported devices. The plugin for Eventghost (EG) is depending on drivers & library files installed when you install Telldus Center. Only thing you can do is to verify that you are running the latest version of Telldus Center (I have version 2.1.2 I believe is the latest).

Once you have Telldus Center installed, you can check if the sensors are recognized there by entering the following screen:
Skärmklipp.JPG
If the sensors are shown there, we have a chance to show them in EG as well, might also be I have missed something in the coding of the plugin
Henrik4223
Posts: 47
Joined: Fri Mar 04, 2016 10:18 am

Re: TellStick Duo

Post by Henrik4223 »

Dear Krambriw

I have version 2.1.2.

And the sensors are showing up in Telldus center - see the screenshot (sensor number 167/168 and 151).

Does this help? 8)
Attachments
Unavngivet.jpg
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: TellStick Duo

Post by krambriw »

Do you receive any events in EG for the sensors if you enable raw events?
Henrik4223
Posts: 47
Joined: Fri Mar 04, 2016 10:18 am

Re: TellStick Duo

Post by Henrik4223 »

YES - I get data like thins:

TellStickDuo.RawEvent: class:sensor;protocol:fineoffset;id:167;model:temperaturehumidity;humidity:44;temp:20.8;Duo_ID:3
Post Reply