FHEM - Hausautomations-Systeme > Home Connect

HomeConnect: Too Many Requests

(1/4) > >>

Dr. Boris Neubert:
Hallo,

ich bin (wieder/noch immer) von folgendem Problem geplagt:


--- Code: ---2017.10.31 05:55:06 2: WTYH7780 event channel received an http error: HTTP/1.1 429 Too Many Requests
2017.10.31 05:55:06 2: SMI88TS16D event channel received an http error: HTTP/1.1 429 Too Many Requests
2017.10.31 06:02:49 2: WAYH2890 event channel received an http error: HTTP/1.1 429 Too Many Requests

--- Ende Code ---

Was kann ich tun?

Dies ist meine Konfiguration:


--- Code: ---attr webserver1 csrfToken none
define hcconn HomeConnectConnection <token> <fhemserver>:8083/fhem?cmd.Test=set%20hcconn%20auth%20
attr hcconn room HomeConnect

define SMI88TS16D HomeConnect hcconn BOSCH-SMI88TS16D-xxxxxxxxxxxx
attr SMI88TS16D room HomeConnect,1/Küche
attr SMI88TS16D icon scene_dishwasher
attr SMI88TS16D alias Geschirrspüler
attr SMI88TS16D webCmd startProgram:stopProgram

define WAYH2890 HomeConnect hcconn BOSCH-WAYH2890-xxxxxxxxxxxx
attr WAYH2890 room HomeConnect,3/Dachgeschoss
attr WAYH2890 icon scene_washing_machine
attr WAYH2890 alias Waschmaschine
attr WAYH2890 webCmd startProgram:stopProgram

define WTYH7780 HomeConnect hcconn BOSCH-WTYH7780-xxxxxxxxxxxx
attr WTYH7780 room HomeConnect,3/Dachgeschoss
attr WTYH7780 icon scene_clothes_dryer
attr WTYH7780 alias Trockner
attr WTYH7780 webCmd startProgram:stopProgram
--- Ende Code ---

HomeConnect-Module sind aktuell.

Viele Grüße
Boris

swhome:
Hi Boris

Das Problem hatte ich auch schon mal. Ältere Versionen des Moduls hatten das Api wohl überbeansprucht und Home Connect hat die Applikation dann möglicherweise dauerhaft gesperrt.

Meine Lösung war, die Applikation im Home Connect Portal zu löschen und neu anzulegen. Dann den neuen api key im FHEM eintragen und dann geht es hoffentlich wieder.

Viele Grüße
Stefan

Dr. Boris Neubert:
Hallo Stefan,

vielen Dank für Deine Antwort. Ich habe getan wie mir geheißen und nun funktioniert es wunderbar.

Viele Grüße
Boris

Dr. Boris Neubert:
zu früh gefreut... hier das Log von gestern. Um kurz vor 11 Uhr hatte ich die Applikation im Developer-Portal gelöscht und neu angelegt, um einen neuen API-Key zu erzeugen. Um 18:46 beginnen event channel timeouts, und ab 19:48 dann Too Many Requests.


--- Code: ---fhem@has:/opt/fhem/log $ grep WTYH7780 fhem-20171105.log                                                                                                     
2017.11.05 02:15:27 2: WTYH7780 event channel received an http error: HTTP/1.1 429 Too Many Requests
2017.11.05 07:26:15 2: WTYH7780 event channel received an http error: HTTP/1.1 429 Too Many Requests
2017.11.05 10:54:09 2: WTYH7780 can't get https://api.home-connect.com/api/homeappliances/BOSCH-WTYH7780-HIDDEN/programs/available -- https://api.home-connect.com/api/homeappliances/BOSCH-WTYH7780-68A40E00EF9E/programs/available: Select timeout/error:
2017.11.05 10:54:12 2: WTYH7780 can't get https://api.home-connect.com/api/homeappliances/BOSCH-WTYH7780-HIDDEN/status -- https://api.home-connect.com/api/homeappliances/BOSCH-WTYH7780-68A40E00EF9E/status: Select timeout/error:
2017.11.05 10:54:18 2: WTYH7780 can't get https://api.home-connect.com/api/homeappliances/BOSCH-WTYH7780-HIDDEN/settings -- https://api.home-connect.com/api/homeappliances/BOSCH-WTYH7780-68A40E00EF9E/settings: Select timeout/error:
2017.11.05 18:46:48 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 18:46:48 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 18:50:17 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 18:50:17 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 19:47:39 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 19:47:39 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 19:48:02 2: WTYH7780 event channel received an http error: HTTP/1.1 429 Too Many Requests
2017.11.05 20:45:00 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 20:45:00 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 20:47:51 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 20:47:51 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 20:48:15 2: WTYH7780 event channel received an http error: HTTP/1.1 429 Too Many Requests
2017.11.05 20:51:39 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 21:16:10 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 21:16:10 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 21:16:20 2: WTYH7780 event channel received an http error: HTTP/1.1 429 Too Many Requests
2017.11.05 21:49:24 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 21:49:24 2: WTYH7780 event channel timeout, two keep alive messages missing
2017.11.05 21:49:34 2: WTYH7780 event channel received an http error: HTTP/1.1 429 Too Many Requests
--- Ende Code ---

Dr. Boris Neubert:
Lese gerade auf https://developer.home-connect.com/?q=docs/api/general/ratelimiting


--- Zitat ---Furthermore, only one monitoring channel per device per home appliance is allowed.
--- Ende Zitat ---

Möglicherweise stört es, dass ich die HomeConnect auf meinem Smartphone habe. Das wäre ja saublöd.

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln