Excodibur / ioBroker.tahoma

ioBroker adapter for Somfy Tahoma
MIT License
12 stars 9 forks source link

core:ClosureState of shutters is not updated when controlled via the app #344

Closed sunnyecki1 closed 3 weeks ago

sunnyecki1 commented 3 months ago

NodeJS: v18.20.1 NPM: v10.5.0 JS-Controller: v5.0.19 tahoma : V0.10.4
Tahoma Box Premium: 2024.2.4-10

Hello and good day, i've had the following error message for a few days:

` 2024-06-09 17:34:07.642 warn refresh device state failed: Error - true data: {"statusCode":400,"body":"{\"errorCode\":\"TOO_MANY_OPERATIONS_IN_PROGRESS\",\"error\":\"Too many asynchronous jobs, try again later (job was Full refresh all states)\"}","headers":{"vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers","cache-control":"no-cache, no-store, max-age=0, must-revalidate","pragma":"no-cache","expires":"0","strict-transport-security":"max-age=31536000 ; includeSubDomains","x-xss-protection":"1; mode=block","x-frame-options":"DENY","x-content-type-options":"nosniff","content-type":"application/json;charset=UTF-8","transfer-encoding":"chunked","date":"Sun, 09 Jun 2024 15:34:07 GMT","connection":"close","server":"overkiz"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"www.tahomalink.com","port":443,"hostname":"www.tahomalink.com","hash":null,"search":null,"query":null,"pathname":"/enduser-mobile-web/enduserAPI/setup/devices/states/refresh","path":"/enduser-mobile-web/enduserAPI/setup/devices/states/refresh","href":"https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/devices/states/refresh"},"method":"POST","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","cookie":"JSESSIONID=E1~5C04A82448C4B25D0C8754FEAFB73CBB","content-length":0}}}
tahoma.0 2024-06-09 17:34:07.641 warn Body: "{\"errorCode\":\"TOO_MANY_OPERATIONS_IN_PROGRESS\",\"error\":\"Too many asynchronous jobs, try again later (job was Full refresh all states)\"}"
tahoma.0 2024-06-09 17:34:07.641 warn Response: {"statusCode":400,"body":"{\"errorCode\":\"TOO_MANY_OPERATIONS_IN_PROGRESS\",\"error\":\"Too many asynchronous jobs, try again later (job was Full refresh all states)\"}","headers":{"vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers","cache-control":"no-cache, no-store, max-age=0, must-revalidate","pragma":"no-cache","expires":"0","strict-transport-security":"max-age=31536000 ; includeSubDomains","x-xss-protection":"1; mode=block","x-frame-options":"DENY","x-content-type-options":"nosniff","content-type":"application/json;charset=UTF-8","transfer-encoding":"chunked","date":"Sun, 09 Jun 2024 15:34:07 GMT","connection":"close","server":"overkiz"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"www.tahomalink.com","port":443,"hostname":"www.tahomalink.com","hash":null,"search":null,"query":null,"pathname":"/enduser-mobile-web/enduserAPI/setup/devices/states/refresh","path":"/enduser-mobile-web/enduserAPI/setup/devices/states/refresh","href":"https://www.tahomalink.com/enduser-mobile-web/enduserAPI/setup/devices/states/refresh"},"method":"POST","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0","cookie":"JSESSIONID=E1~5C04A82448C4B25D0C8754FEAFB73CBB","content-length":0}}}
tahoma.0 2024-06-09 17:34:07.639 warn error during request: null, request path: setup/devices/states/refresh with payload:null

`

I've been using the adapter for a little over a month. Initially it ran reliably. I can now control all Tahoma IO devices and the groups, but I don't get any feedback about the status. The polling interval is set to 20000, but only runs every 30000ms. There it also says “SyncinProgress”=false. If I control the roller shutters using the Tahoma app, the status is updated in the Alexa app, for example. There appears to be no error in the Somdy Cloud. The error message always occurs when I restart the adapter. What is also noticeable is that the devices and their names are in the log after restarting the adapter. After a short time the log is updated and only device IDs are left in the log. Reinstalled the adapter several times, deleted groups in the Somfy Cloud, stopped ioBroker scripts, etc. to reduce the queries. Unfortunately all without success. Even downgrading to 0.10.3 didn't help.

Thank you Jörg

heikowe commented 3 months ago

Same problem for me, ClosureState is no longer updated

sunnyecki1 commented 3 months ago

Good morning, i can report that the adapter has been working again without any problems for about 24 hours. I didn't change anything and don't know what the problem was. Can you confirm that "heikowe"? Jörg

heikowe commented 3 months ago

Good morning, i can report that the adapter has been working again without any problems for about 24 hours. I didn't change anything and don't know what the problem was. Can you confirm that "heikowe"? Jörg

I can confirm this, works again

hohmannc85 commented 3 months ago

I cannot confirm it.

state is updated when adapter is restarted

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 3 weeks ago

This issue was closed because it has been stalled for 7 days with no activity.