TellStick ZNet local API questions

Moderator: Telldus

Post Reply
pintapoff
Posts: 5
Joined: Fri Mar 17, 2023 9:45 am

TellStick ZNet local API questions

Post by pintapoff »

I've been working on a node.js module for the local server ZNet API and find the documentation quite lacking :)

First of all, can I see/manage the applications that my ZNet lite v2 has "granted" access-tokens for?

Secondly, is it safe to say that I can use the live API documentation(https://api.telldus.com/explore/) for the api-calls found locally, at http://192.168.x.x/api/ ? I've tried a few and it seems to accept the same parameters etc. Is that list up to date with supported calls?

Hmm... I think thats it for now :P Feel free to link any other useful documentation etc :)
pintapoff
Posts: 5
Joined: Fri Mar 17, 2023 9:45 am

Re: TellStick ZNet local API questions

Post by pintapoff »

Here's my javascript node.js wrapper for the ZNet local server API so far. Thoughts and ideas? I like calling it a wrapper since its really just a layer to make it easier to interact with the API... :)

https://www.npmjs.com/package/tellstick-local-server
mifi
Posts: 2
Joined: Fri Mar 17, 2023 9:45 am

Re: TellStick ZNet local API questions

Post by mifi »

Actually I also just made a npm module for this. Mine supports both local and live, and is now being used as a backend in homebridge-telldus for supporting both local/live. It seems that in practice, the API's of local/live are very similar, so the core functionality can be used interchangeably.

https://github.com/mifi/telldus-api

Also I made a tool for easing the process of getting the local access token from the device:

https://github.com/mifi/telldus-local-auth
pintapoff
Posts: 5
Joined: Fri Mar 17, 2023 9:45 am

Re: TellStick ZNet local API questions

Post by pintapoff »

Great work. :)
PetriK
Posts: 33
Joined: Fri Mar 17, 2023 9:45 am

Re: TellStick ZNet local API questions

Post by PetriK »

Utmärkt, just började med din api att utväckla styrning baserad på elpris. Tillsvidare har använt ifttt men tyvärr det värkas att telldus live är "överbokad" särskilt i körjan av varje stund.
Post Reply