Bug in local access on Tellstick Net

Moderator: Telldus

Post Reply
eiaro
Posts: 5
Joined: Thu Jan 18, 2018 11:08 am

Bug in local access on Tellstick Net

Post by eiaro » Thu Jan 18, 2018 11:08 am

The message format is buggy I think. Here is 3 messages I receive from the TSN:

Code: Select all

7:RawDatah8:protocol7:arctech5:modelC:selflearning4:dataiA109FF9Fss
7:RawDatah5:class6:sensor8:protocol6:oregon5:modeli2914s4:datai0D00000088141143ss
7:RawDatah5:class6:sensor8:protocol6:oregon5:modeliF824s4:datai19F0760019C957ss
Notice how the last 2 is missing the ':' between model and it has no length for the received model data.
---
Jack of all trades
Telldus Net v17
Telldus Znet Lite v1.0.6
Telldus Duo

micke.prag
Site Admin
Posts: 2240
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: Bug in local access on Tellstick Net

Post by micke.prag » Thu Jan 18, 2018 11:08 am

I see no issue in the above example. There is a ':' between the '5' and model in all three examples.
Micke Prag
Software
Telldus Technologies

dna
Posts: 19
Joined: Thu Jan 18, 2018 11:08 am

Re: Bug in local access on Tellstick Net

Post by dna » Thu Jan 18, 2018 11:08 am

for local access to Tellstick Net - does this require the "unofficial" firmware update?

micke.prag
Site Admin
Posts: 2240
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: Bug in local access on Tellstick Net

Post by micke.prag » Thu Jan 18, 2018 11:08 am

No, version 17 is enough.
Micke Prag
Software
Telldus Technologies

dna
Posts: 19
Joined: Thu Jan 18, 2018 11:08 am

Re: Bug in local access on Tellstick Net

Post by dna » Thu Jan 18, 2018 11:08 am

Ah, excellent!

Wish/feature request: what about exposing the protocol.cpp:Protocol:decodeData static method as a function in the telldus-core library so that it can be used by scripts/applications communicating with the Tellstick Net device locally?

Yomet
Posts: 2
Joined: Thu Jan 18, 2018 11:08 am

Re: Bug in local access on Tellstick Net

Post by Yomet » Thu Jan 18, 2018 11:08 am

I did not know that V.17 gave you local access to a Tellstick NET - I have been waiting for this for a long time.

I have searched the Forums for threads regarding how to use V.17 and have found one reference to GIT hub send.py
https://github.com/telldus/tellstick-ne ... nt/send.py
but nothing regarding how to receive signals from sensors.

Could someone point me to documentation for programming the Tellstick NET for local access? Or give me some samples that I can use to build on.

dna
Posts: 19
Joined: Thu Jan 18, 2018 11:08 am

Re: Bug in local access on Tellstick Net

Post by dna » Thu Jan 18, 2018 11:08 am

I believe this is all the available documentation: https://developer.telldus.com/doxygen/h ... ckNet.html (in addition to the firmware sources on github).

Also take a look here https://github.com/molobrakos/tellsticknet
So far only some sensor types, but feel free to contribute!

Yomet
Posts: 2
Joined: Thu Jan 18, 2018 11:08 am

Re: Bug in local access on Tellstick Net

Post by Yomet » Thu Jan 18, 2018 11:08 am

Thanks dna, I'll look into it ASAP! :)

Post Reply