Apollon77 / ioBroker.daikin-cloud

ioBroker Adapter for Daikin-Cloud devices
MIT License
14 stars 6 forks source link

Error on device update: Missing required parameter auth parameters #200

Closed Dar4ide closed 1 year ago

Dar4ide commented 1 year ago

Since a couple of days i am getting an auth? error. I updatet last week from 0.2.3 to 0.3.0 and erything was fine. Then i updatet to the newest github version and the error appears suddendly after a couple of hours. After restarting the adapter everything works fine for about 1-2 hours. Then the same error occurs. After the error first occurs, it doesn't work any more. (until restart)

2023-09-08 22:16:14.292 - warn: daikin-cloud.0 (16778) 626f03cb-92f6-43e0-bdbe-2cec50d4e77f: Error on device update (175): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:16:14.306 - warn: daikin-cloud.0 (16778) d1d2a426-3db7-4838-96f6-275361fd6d56: Error on device update (175): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:16:14.322 - warn: daikin-cloud.0 (16778) 8a98847c-1f61-402c-8a22-c1c246c70df8: Error on device update (175): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:16:14.333 - warn: daikin-cloud.0 (16778) 648a3fbf-d6a5-439b-bb24-d48e3565c5ce: Error on device update (175): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:16:14.386 - warn: daikin-cloud.0 (16778) e5d50241-a44d-4c35-97fe-44bae436737c: Error on device update (175): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:16:16.203 - silly: daikin-cloud.0 (16778) States user redis pmessage daikin-cloud.0.*/daikin-cloud.0.648a3fbf-d6a5-439b-bb24-d48e3565c5ce.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode:{"val":2,"ack":false,"ts":1694204176197,"q":0,"c":"script.js.Klima.Bewegung_Settings","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1694204176197} 2023-09-08 22:16:16.204 - debug: daikin-cloud.0 (16778) state daikin-cloud.0.648a3fbf-d6a5-439b-bb24-d48e3565c5ce.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode changed: 2 (ack = false) 2023-09-08 22:16:16.227 - info: daikin-cloud.0 (16778) Send state change for 648a3fbf-d6a5-439b-bb24-d48e3565c5ce.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice to climateControl : fanControl : /operationModes/cooling/fanDirection/vertical/currentMode 2023-09-08 22:16:16.234 - silly: daikin-cloud.0 (16778) States user redis pmessage daikin-cloud.0.*/daikin-cloud.0.626f03cb-92f6-43e0-bdbe-2cec50d4e77f.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode:{"val":2,"ack":false,"ts":1694204176197,"q":0,"c":"script.js.Klima.Bewegung_Settings","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1694204176197} 2023-09-08 22:16:16.235 - silly: daikin-cloud.0 (16778) States user redis pmessage daikin-cloud.0.*/daikin-cloud.0.8a98847c-1f61-402c-8a22-c1c246c70df8.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode:{"val":2,"ack":false,"ts":1694204176199,"q":0,"c":"script.js.Klima.Bewegung_Settings","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1694204176199} 2023-09-08 22:16:16.235 - silly: daikin-cloud.0 (16778) States user redis pmessage daikin-cloud.0.*/daikin-cloud.0.d1d2a426-3db7-4838-96f6-275361fd6d56.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode:{"val":2,"ack":false,"ts":1694204176199,"q":0,"c":"script.js.Klima.Bewegung_Settings","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1694204176199} 2023-09-08 22:16:16.236 - debug: daikin-cloud.0 (16778) state daikin-cloud.0.626f03cb-92f6-43e0-bdbe-2cec50d4e77f.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode changed: 2 (ack = false) 2023-09-08 22:16:16.237 - info: daikin-cloud.0 (16778) Send state change for 626f03cb-92f6-43e0-bdbe-2cec50d4e77f.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice to climateControl : fanControl : /operationModes/cooling/fanDirection/vertical/currentMode 2023-09-08 22:16:16.242 - debug: daikin-cloud.0 (16778) state daikin-cloud.0.8a98847c-1f61-402c-8a22-c1c246c70df8.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode changed: 2 (ack = false) 2023-09-08 22:16:16.242 - info: daikin-cloud.0 (16778) Send state change for 8a98847c-1f61-402c-8a22-c1c246c70df8.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice to climateControl : fanControl : /operationModes/cooling/fanDirection/vertical/currentMode 2023-09-08 22:16:16.247 - debug: daikin-cloud.0 (16778) state daikin-cloud.0.d1d2a426-3db7-4838-96f6-275361fd6d56.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode changed: 2 (ack = false) 2023-09-08 22:16:16.248 - info: daikin-cloud.0 (16778) Send state change for d1d2a426-3db7-4838-96f6-275361fd6d56.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice to climateControl : fanControl : /operationModes/cooling/fanDirection/vertical/currentMode 2023-09-08 22:16:16.255 - silly: daikin-cloud.0 (16778) States user redis pmessage daikin-cloud.0.*/daikin-cloud.0.e5d50241-a44d-4c35-97fe-44bae436737c.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode:{"val":2,"ack":false,"ts":1694204176201,"q":0,"c":"script.js.Klima.Bewegung_Settings","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1694204176201} 2023-09-08 22:16:16.256 - debug: daikin-cloud.0 (16778) state daikin-cloud.0.e5d50241-a44d-4c35-97fe-44bae436737c.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode changed: 2 (ack = false) 2023-09-08 22:16:16.256 - info: daikin-cloud.0 (16778) Send state change for e5d50241-a44d-4c35-97fe-44bae436737c.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice to climateControl : fanControl : /operationModes/cooling/fanDirection/vertical/currentMode 2023-09-08 22:16:16.555 - warn: daikin-cloud.0 (16778) Error on State update for 626f03cb-92f6-43e0-bdbe-2cec50d4e77f.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice: Response code 400 (Bad Request) 2023-09-08 22:16:16.577 - warn: daikin-cloud.0 (16778) Error on State update for 648a3fbf-d6a5-439b-bb24-d48e3565c5ce.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice: Response code 400 (Bad Request) 2023-09-08 22:16:16.591 - warn: daikin-cloud.0 (16778) Error on State update for 8a98847c-1f61-402c-8a22-c1c246c70df8.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice: Response code 400 (Bad Request) 2023-09-08 22:16:16.600 - warn: daikin-cloud.0 (16778) Error on State update for e5d50241-a44d-4c35-97fe-44bae436737c.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice: Response code 400 (Bad Request) 2023-09-08 22:16:16.609 - warn: daikin-cloud.0 (16778) Error on State update for d1d2a426-3db7-4838-96f6-275361fd6d56.climateControl.fanControl.operationModes.cooling.fanDirection.vertical.currentMode with value=windNice: Response code 400 (Bad Request) 2023-09-08 22:16:26.818 - warn: daikin-cloud.0 (16778) 626f03cb-92f6-43e0-bdbe-2cec50d4e77f: Error on device update (176): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:16:26.860 - warn: daikin-cloud.0 (16778) 648a3fbf-d6a5-439b-bb24-d48e3565c5ce: Error on device update (176): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:16:26.892 - warn: daikin-cloud.0 (16778) 8a98847c-1f61-402c-8a22-c1c246c70df8: Error on device update (176): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:16:26.918 - warn: daikin-cloud.0 (16778) d1d2a426-3db7-4838-96f6-275361fd6d56: Error on device update (176): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:16:26.923 - warn: daikin-cloud.0 (16778) e5d50241-a44d-4c35-97fe-44bae436737c: Error on device update (176): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:17:27.175 - warn: daikin-cloud.0 (16778) 626f03cb-92f6-43e0-bdbe-2cec50d4e77f: Error on device update (177): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:17:27.181 - warn: daikin-cloud.0 (16778) 648a3fbf-d6a5-439b-bb24-d48e3565c5ce: Error on device update (177): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:17:27.190 - warn: daikin-cloud.0 (16778) 8a98847c-1f61-402c-8a22-c1c246c70df8: Error on device update (177): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:17:27.264 - warn: daikin-cloud.0 (16778) d1d2a426-3db7-4838-96f6-275361fd6d56: Error on device update (177): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:17:27.278 - warn: daikin-cloud.0 (16778) e5d50241-a44d-4c35-97fe-44bae436737c: Error on device update (177): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:18:27.535 - warn: daikin-cloud.0 (16778) 8a98847c-1f61-402c-8a22-c1c246c70df8: Error on device update (178): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:18:27.574 - warn: daikin-cloud.0 (16778) 626f03cb-92f6-43e0-bdbe-2cec50d4e77f: Error on device update (178): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:18:27.581 - warn: daikin-cloud.0 (16778) 648a3fbf-d6a5-439b-bb24-d48e3565c5ce: Error on device update (178): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:18:27.623 - warn: daikin-cloud.0 (16778) d1d2a426-3db7-4838-96f6-275361fd6d56: Error on device update (178): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:18:27.645 - warn: daikin-cloud.0 (16778) e5d50241-a44d-4c35-97fe-44bae436737c: Error on device update (178): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:19:27.953 - warn: daikin-cloud.0 (16778) d1d2a426-3db7-4838-96f6-275361fd6d56: Error on device update (179): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:19:27.958 - warn: daikin-cloud.0 (16778) 8a98847c-1f61-402c-8a22-c1c246c70df8: Error on device update (179): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:19:27.971 - warn: daikin-cloud.0 (16778) e5d50241-a44d-4c35-97fe-44bae436737c: Error on device update (179): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:19:27.976 - warn: daikin-cloud.0 (16778) 626f03cb-92f6-43e0-bdbe-2cec50d4e77f: Error on device update (179): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:19:27.988 - warn: daikin-cloud.0 (16778) 648a3fbf-d6a5-439b-bb24-d48e3565c5ce: Error on device update (179): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:20:28.293 - warn: daikin-cloud.0 (16778) d1d2a426-3db7-4838-96f6-275361fd6d56: Error on device update (180): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:20:28.299 - warn: daikin-cloud.0 (16778) 626f03cb-92f6-43e0-bdbe-2cec50d4e77f: Error on device update (180): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:20:28.311 - warn: daikin-cloud.0 (16778) 8a98847c-1f61-402c-8a22-c1c246c70df8: Error on device update (180): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:20:28.315 - warn: daikin-cloud.0 (16778) e5d50241-a44d-4c35-97fe-44bae436737c: Error on device update (180): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:20:28.320 - warn: daikin-cloud.0 (16778) 648a3fbf-d6a5-439b-bb24-d48e3565c5ce: Error on device update (180): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:21:28.601 - warn: daikin-cloud.0 (16778) d1d2a426-3db7-4838-96f6-275361fd6d56: Error on device update (181): Response code 400 (Bad Request) (Missing required parameter auth parameters.) 2023-09-08 22:21:28.607 - warn: daikin-cloud.0 (16778) e5d50241-a44d-4c35-97fe-44bae436737c: Error on device update (181): Response code 400 (Bad Request) (Missing required parameter auth parameters.)

Apollon77 commented 1 year ago

Ok, I have an idea, but can not test that before tonight. but maybe you ca,

locate node_modules/daikin-controller-cloud/index.js in your /opt/iobroker directory and remite this one line from the file https://github.com/Apollon77/daikin-controller-cloud/blob/main/index.js#L207

After that restart and report if this fixes the problem

Dar4ide commented 1 year ago

Hi, thanks, i hope i can try this later today.

I got anoter Issue with the newest Git hub version.

If you install the new git hub version, without updating an excisting version you cant configure any instance Screenshot_20230909_104108_Samsung Internet

You have to delete the excisting adapter first and the do a fresh install of the newest gitHub version

Apollon77 commented 1 year ago

New issue new issue please. And also add logs from iobroker to it.

Apollon77 commented 1 year ago

Ps: also which admin version? Potentially update please. And errors in JavaScript console?

Dar4ide commented 1 year ago

Ps: also which admin version? Potentially update please. And errors in JavaScript console?

Latest Version, After restarting iobroker, fresh Installation the config issue is gone.

Apollon77 commented 1 year ago

Please install Github version again and check again please. SHould be 0.3.1 now

Dar4ide commented 1 year ago

Hi, Running on newest version since 6 hours without any issues. Seems good so far.

Volker88 commented 1 year ago

Running 0.3.1 since yesterday evening without any issue

Dar4ide commented 1 year ago

Same here, issue closed with 0.3.1