Comments (8)
Das habe ich auch, die WebSocket Verbindung ist hinreichend instabil. Die Frage ist, ob das am Adapter oder an der API von Gardena liegt.
from iobroker.smartgarden.
Bei mir das gleiche. Dachte es liegt am API Key, aber nach ein paar Tagen ging es bei mir erstmal wieder. Vielleicht das Rate Limit?
from iobroker.smartgarden.
Ich habe gerade massiv Probleme Ventile über die API zu steuern. Ein bis zwei Ventile gehen noch, dann kommen 429er und bad request... wollte eigentlich auf die Steuerung mit iobroker umsteigen und alles da erledigen, ... aber so ist das nicht stabil nutzbar. Fraglich ob's auf Gardena Seite liegt (API) oder die etwas geändert haben in Sachen WebSocket und limits.
from iobroker.smartgarden.
Version: 2.0.0
Node.js 16.16.0
NPM 8.11.0
JS Cont: 4.0.23
Bekomme auch 429. Log wie folgt:
smartgarden.0 | 2022-07-28 09:47:44.255 | error | Error: request returned 429 |
---|---|---|---|
smartgarden.0 | 2022-07-28 09:47:44.255 | info | 3/ Mower command failure.response.statusCode/Message=429/ |
smartgarden.0 | 2022-07-28 09:47:44.255 | info | 3/ Mower command failure, options.url=https://api.smart.gardena.dev/v1/command/29cdb6c5-25b4-491a-9b8a-1739ac8b558f:cbtg |
smartgarden.0 | 2022-07-28 09:47:44.254 | info | 3/ request Mower ... |
smartgarden.0 | 2022-07-28 09:47:44.215 | error | Error: request returned 429 |
smartgarden.0 | 2022-07-28 09:47:44.215 | info | 3/ Mower command failure.response.statusCode/Message=429/ |
smartgarden.0 | 2022-07-28 09:47:44.215 | info | 3/ Mower command failure, options.url=https://api.smart.gardena.dev/v1/command/29cdb6c5-25b4-491a-9b8a-1739ac8b558f:cbtg |
smartgarden.0 | 2022-07-28 09:47:44.214 | info | 3/ request Mower ... |
smartgarden.0 | 2022-07-28 09:47:44.169 | info | 3/ ---> State change by device: state sg.0.info.RateLimitCounter changed, (ack = true) |
smartgarden.0 | 2022-07-28 09:47:44.156 | info | 3/ incrementLimitCounter: new counters : y2022 / m2022-07: 170 / d2022-07-28: 65 / hr07: 17 / last30days: 170 / last31days: 170 |
smartgarden.0 | 2022-07-28 09:47:44.113 | info | 3/ ---> Command should be sent to device: state sg.0.L_0478.D_558f.S_MOWER_cbtg.activity_control_i changed, PARK_UNTIL_FURTHER_NOTICE (ack = false) |
smartgarden.0 | 2022-07-28 09:47:44.108 | info | 3/ ---> State change by device: state sg.0.info.RateLimitCounter changed, (ack = true) |
javascript.0 | 2022-07-28 09:47:44.053 | info | script.js.common.Garten.Robert: Robert 20 |
from iobroker.smartgarden.
Ich bekomme auch ständig den fehler 429
Ich habe NODEJS v12.20.0 ist das ein Problem?
from iobroker.smartgarden.
Rate Limits
Rate limits are in place to prevent malicious use of the API that would impact other users.
Applications share a pool of keys that each are assigned certain quota. An application that behaves as a good citizen of the Gardena eco system should not exceed the following limits:
On average one call every fifteen minutes.
3'000 requests per month.
These limits should not pose a problem if you use REST calls only to update the state of your location once and then use the real time API to stay in sync (see sections below for more information). If you feel your application absolutely cannot adhere to these limits and your use case is interesting for Gardena, please get in touch to see whether we can grant you higher rate limits.
from iobroker.smartgarden.
this is no bug of the adapter, it's related to the Gardena Cloud Server API
from iobroker.smartgarden.
But could be handled via error handling and trying to repeat commands...?! If a device is responding with error 429 it should be possible to try re-sending, let's say three times and throw error after this try-loop.
just saying ;o)
from iobroker.smartgarden.
Related Issues (20)
- Winterschlaf für Mähroboter HOT 1
- Error: request returned 403 Forbidden HOT 12
- Error: request returned 403 Forbidden
- Fehler 403 HOT 4
- Error 403 with node 18.16.0 HOT 1
- data types string, not number HOT 1
- Fehler 403 tritt erneut auf (nach Appl. Neuerstellung) HOT 2
- GPS-Position is missing in the data points HOT 3
- Writing a string via Blockly in "duration_value" with ctrl+enter HOT 1
- Connection == true, wenn Adapter gestoppt HOT 1
- not possible to add application secret HOT 3
- Mower command failure.response.statusCode/Message=400/Bad Request HOT 2
- "Bad Request" on Mower command HOT 6
- Keine Konnektivität mit Dienst, benötige Hilfe bei Einrichtung
- 403 Forbidden >> 400 Bad Request >> 403 Forbidded - after 1,5 Yyears of service HOT 4
- Installation failed
- smartgarden has an invalid jsonConfig HOT 3
- Mower drives into the charging station and starts again immediately until the battery is empty HOT 1
- Update stable version in repo from 2.0.0 to 2.0.1 HOT 4
- Adapter startet nicht mehr nach JS-Controller Update 6.x HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.smartgarden.