Telldus live integration - can't authenticate to local Tellstick ZNet API

I am trying to integrate with my TellStick ZNet Lite v2 (fw 1.3.2) using the Telldus Live integration (integrations/tellduslive)

I have modified my configuration.yaml to provide the LAN address of my tellstick, and it shows up in my config/integrations/dashboard as a discovered integration.

I chose to direct connect to the local device, specifying its’ ip address (rather than fully integrating with telldus live)
Then I get a modal box asking me to authenticate against telldus live
This modal box has a hyperlink to ‘link to tellduslive account’ - this sends me to:
https://login.telldus.com/openid/server?openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.sreg=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1&openid.realm=http%3A%2F%2F192.168.1.138&openid.return_to=http%3A%2F%2F192.168.1.138%2Ftellduslive%2Fauthorize%3Fjanrain_nonce%3D2024-03-27T12%253A14%253A15ZiE99dV&openid.sreg.required=fullname%2Cemail
I login, and get redirected to
http://192.168.1.138/tellduslive/authorize?janrain_nonce=2024-03-27T12%3A14%3A15ZiE99dV&openid.assoc_handle={HMAC-SHA1}{66040de7}{vH1qtQ%3D%3D}&openid.claimed_id=http%3A%2F%2Flogin.telldus.com%2Fid%3Fi%3D71642%26h%3D4d1d484ec8b4e696a6ca07441a453c9f1a255701&openid.identity=http%3A%2F%2Flogin.telldus.com%2Fid%3Fi%3D71642%26h%3D4d1d484ec8b4e696a6ca07441a453c9f1a255701&openid.mode=id_res&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.sreg=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1&openid.op_endpoint=https%3A%2F%2Flogin.telldus.com%2Fopenid%2Fserver&openid.response_nonce=2024-03-27T12%3A15%3A35ZJfDTtb&openid.return_to=http%3A%2F%2F192.168.1.138%2Ftellduslive%2Fauthorize%3Fjanrain_nonce%3D2024-03-27T12%253A14%253A15ZiE99dV&openid.sig=AluOKlSryX7F5YJSH145i%2FC2rN0%3D&openid.signed=assoc_handle%2Cclaimed_id%2Cidentity%2Cmode%2Cns%2Cns.sreg%2Cop_endpoint%2Cresponse_nonce%2Creturn_to%2Csigned%2Csreg.email%2Csreg.fullname&openid.sreg.email=XXXXXXXX%40gmail.com&openid.sreg.fullname=XXX+XXXXXXXX
And it is here that I get a 404 error with the following body:

The path ‘/tellduslive/authorize’ was not found.

Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py”, line 670, in respond
File “/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py”, line 217, in call
File “/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py”, line 61, in call
File “/usr/lib/python2.7/site-packages/web/base/Server.py”, line 230, in call
File “/usr/lib/python2.7/site-packages/web/base/Server.py”, line 202, in handle
NotFound: (404, “The path ‘/tellduslive/authorize’ was not found.”)

Powered by CherryPy 3.7.0

I have read that some users on here have been able to get past this using incognito / inprivate - I have tried this using chrome/firefox/edge but always end up with the same 404 error.

I really don’t understand how to resolve this, I wonder if the openid.return_to url incorrect? And if so, what should it be?

Btw I am able to integrate if I use the Telldus cloud offering instead, but I would greatly prefer to be able to interact directly with my local device.

same issue here. Still looking for a fix

I know this isn’t an ideal answer for you, but I just got it working now. Using safari on my wife’s mac. I think it followed the same url flow, I couldn’t work out how to get developer tools on that thing unfortunately, and I don’t have access to it right now. Even after I got HA working, I was still unable to browse the local API anywhere else, not even on the mac in windows bootcamp and chrome.

So it seems the http 404 error is very subjective. As I said before, I’d already tried on different browsers on different windows pcs without success, and had even used Safari on my mobile. Maybe trying a browser in Linux might give better results.

Just before I had my little success, I was considering using this nodejs client to try to get an auth token - GitHub - mifi/telldus-local-auth: Node CLI for assisting set up of local auth for Telldus Live local devices - don’t know whether it would have worked, or exactly what I’d have done with the token if successful, but it may be useful.

I hope this helps somewhat, btw I had contacted Telldus support a week ago, if I get anything useful in a reply, I’ll share it here.

I had the same issue, did not work with Chrome but i just tried with Pale Moon and there it worked! :slight_smile:

Telldus live integration stopped working for me today. Error:
Log details (ERROR)
Logger: tellduslive
Source: /usr/local/lib/python3.13/site-packages/tellduslive.py:194
First occurred: 4:05:58 PM (3 occurrences)
Last logged: 4:07:53 PM
Failed to refresh access token: 401 Client Error: Unauthorized for url: http://192.168.50.122/api/refreshToken

To be able to access the Telldus locally, I also had to use Pale Moon browser. When entering Telldus Technologies, I get the message " 429 Too Many Requests".

Hi! Same happened to me. I need to get HA to fetch the new token from telldus through my integration, but i can’t get to the login screen. Anybody knows the answer?

The same happened to me yesterday. I have tried solving it today but with no luck. Where can I register a new key in for Telldus in HA?

It is probably a lot of people experiencing this now. It’s about a year ago this was an issue last time and I reckon a lot of people did the same as me. Bought one month of Premium to get the token/key and since then it has been ok.

I have been trying to get this to work for a long time now and my last try is to unplug the power of the Tellstick for a while. I believe it tries to get a key all the time and that makes your account run out of requests. As long as I had it plugged in I get this: "429 Too Many Requests

You have sent too many requests in a given amount of time."

in my browser if I try to go to (“https://pa-api.telldus.com/keys/index”)

When the tellstick is unplugged i can access the site.

So I will prepare everything in HA and plug in the tellstick and try again, I might be lucky.

Will get back once I’ve tried.

Have done this over and over and suddenly it worked, now all is back for me. Used Pale moon browser in private mode. Can’t really says what helped. Now I have some time to think about an RfxTrx and how to replace my Tellstick with that.