-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telldus API #99
Comments
do we need to change anything in this repo? |
What I mean is the point:
because they warn if you repeat the request more than 10 times/minute you will be blocked. Maybe a limiter is needed in the plugin to prevent this. |
This may also lead to blocking: "Check and double-check that your scripts are not retrying to contact the Telldus API without waiting at least 10 seconds. Retrying without a delay will result in blocking." |
Oh so they will temporary ban the ip for a while? I dont have time to work on this now (and i dont have any hardware rn) but PR is welcome. |
How can I change the telldus plugin to point to https;//pa-api.telldus.com ? |
just delete your yarn.lock/package-lock.json and node_modules |
@mifi 12/10/2023, 1:14:00 PM] Loaded plugin: homebridge-telldus@1.1.0 [12/10/2023, 1:14:01 PM] FetchError: request to https://pa-api.telldus.com/json/sensors/list failed, reason: write EPROTO 200084A8FFFF0000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1586:SSL alert number 40
[12/10/2023, 1:14:01 PM] Got SIGTERM, shutting down Homebridge... |
I have the same issue as @Mats82Sweden have. |
The API is down, read this (It's in Swedish): |
@tellustheguru |
I got it working by installing beta firmware on my Telldus Znet vnet v2 and then configured it via homeassistant. Then uninstalled homebridge to not brick anything hehe. |
Looks like the API does something strange still with my setup. I uninstalled and reinstalled your plugin and put in the api-tokens. It seems Telldus gives some errors as follows, and I wonder if this has to do with the fact that I have more than 10 devices/sensors connected and the telldus api system possibly can't handle more than 10 requests per minute anymore? Also my hoobs setup will show that this Telldus Bridge is not fully running yet, but it supposedly has found 9 devices and 4 sensors. 18/12/2023, 08:41:27Telldus BridgeTelldus Liv!e429 == 200 |
429 probably means rate limited. so probably it's sending too many commands too fast |
Is there any way to add a delay between those commands, or check if more than 10 commands are sent? If i switch the whole setup to use “local”, will all the requests then run over the local tellstick instead of via the telldus server api? |
Yes. If you switch to local, you can make unlimited requests because homebridge speak directly to Telldus Stick. The only time homebridge will speak with Telldus API is ones a year to renew local token. |
Hm, looks like installing local also doesnt work at the moment :( . maybe also something related to the api changes? got this when trying to access the Tellstick after the command telldus-local-auth [IP of Tellstick] homebridge-telldus: 404 Not Found Traceback (most recent call last): |
Are you sure you run the correct command? The error message is not related to the linked command from the Readme file. Otherwise you can get the token manually as described here: |
I actually found another thread with the same issue described, and it seemed there was a cache issue with the browser, so using an incognito browser using google chrome did the trick. |
I still haven't got my Tellstick Net device to work with homebridge since they changed the APIs. I get the 429 error. I do although also have a USB Tellstick (https://www.clasohlson.com/se/TellStick-USB-fjarrstyrning/p/36-3969) and wonder if it is possible to use that with a raspberry pi and this API? I think that would be the best solution to run everything local on the pi, but do not know how to setup and configure it in unix. Any help is appreciated |
Hi there, could someone please explain in more detail what that means or how to do this? Thanks so much!! |
Telldus has change term of use regarding Telldus API, I have translated it from Swedish:
Information for those of you who use the Telldus API (not Google Home users):
For Telldus users who use our API services for free, we will need to review the scope and capacity of these services in light of the costs associated with providing certain services with the requirement of server capacity, redundancy and security.
pa-api.telldus.com will remain down for now while we implement additional features to limit the frequency of incoming traffic caused by certain users. We will reopen it as soon as possible once implementation and testing have been done.
If you use our API services, please note the following:
Retrying without delay will result in blocking.
The text was updated successfully, but these errors were encountered: