Temperature with DUO?

Moderator: Telldus

Post Reply
straficchio
Posts: 2
Joined: Fri Mar 17, 2023 9:45 am

Temperature with DUO?

Post by straficchio »

Hi,

I've been a long time tellstick user and I recently received a DUO. My intention is to read temperature off a remote sensor along other things. I've been reading the forum as well as the compatibility list and it should be possible to do it. There's plenty of posts talking about reading temperatures and even one about a "sensor class". I just installed the latest version of the Telldus Center but I couldn't find anything like this. Apparently, all I can do with the DUO is what I could do already with the simplest one.

Can anybody point me in the right direction?

Thank you,
Marco.
bibi21000
Posts: 8
Joined: Fri Mar 17, 2023 9:45 am

Re: Temperature with DUO?

Post by bibi21000 »

Hi
Don't know what is your favorite language but there is some examples in the developpers tools :
http://developer.telldus.se/browser/trunk/examples
HTH
straficchio
Posts: 2
Joined: Fri Mar 17, 2023 9:45 am

Re: Temperature with DUO?

Post by straficchio »

Thank you for the hint. It proved quite useful as I've been able to implement a quick and dirty raw codes sniffer. My language of choice is actually c/objective c under mac os x but anyway raw events seem to work fine.
The problem I'm seeing is that I can successfully gather events from the switches (actually the remotes of) but not from temperature sensors. I have tried using both tdRegisterRawDeviceEvent and tdRegisterSensorEvent but I can't get anything from the latter. Does the temperature sensor need to be registered before getting anything from it? If so, how would I do that?

Thank you in advance,
Marco
bjornta
Posts: 5
Joined: Fri Mar 17, 2023 9:45 am

Re: Temperature with DUO?

Post by bjornta »

I found the easiest way to log temperature is to use EventGhost.
The attached Eventghost addon for Homeseer will read temperature from these puppies:
http://www.clasohlson.no/Product/Produc ... =164635172
...into HomeSeer.

Just add a "SetTempCommand"-action with the following parameter:
Z52 0x4C
where 0x4C is the sensorID. You can find this ID when reading the TellStickDuo.RawEvent (enabled through the plugin config itself)
Z52 is the deviceId in HomeSeer.
Note that the reported temperature in Celsius is in English number format (dot as decimal instead of comma -> 5.2 instead of 5,2)

/Bjorn
Attachments
__init__.zip
Python plugin script for EventGhost
(2.75 KiB) Downloaded 438 times
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: Temperature with DUO?

Post by micke.prag »

straficchio wrote: I have tried using both tdRegisterRawDeviceEvent and tdRegisterSensorEvent but I can't get anything from the latter. Does the temperature sensor need to be registered before getting anything from it?
No, the temperature sensor does not need to be registered.
Micke Prag
Software
Telldus Technologies
Post Reply