Page 1 of 1

Bug in local access on Tellstick Net

Posted: Fri Mar 17, 2023 9:45 am
by eiaro
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.

Re: Bug in local access on Tellstick Net

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
I see no issue in the above example. There is a ':' between the '5' and model in all three examples.

Re: Bug in local access on Tellstick Net

Posted: Fri Mar 17, 2023 9:45 am
by dna
for local access to Tellstick Net - does this require the "unofficial" firmware update?

Re: Bug in local access on Tellstick Net

Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
No, version 17 is enough.

Re: Bug in local access on Tellstick Net

Posted: Fri Mar 17, 2023 9:45 am
by dna
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?

Re: Bug in local access on Tellstick Net

Posted: Fri Mar 17, 2023 9:45 am
by Yomet
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.

Re: Bug in local access on Tellstick Net

Posted: Fri Mar 17, 2023 9:45 am
by dna
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!

Re: Bug in local access on Tellstick Net

Posted: Fri Mar 17, 2023 9:45 am
by Yomet
Thanks dna, I'll look into it ASAP! :)