zwartevogel / Panasonic-Aquarea-NodeRed

GNU General Public License v3.0
5 stars 7 forks source link

Can't get user information since cloud maintenance on 23.05.2022 #7

Open Froesoen opened 2 years ago

Froesoen commented 2 years ago

I'm using the NodeRed part of this project for more than a year now and everything worked very well. Since the last Panasonic maintenance on 23.05.2022 the curl command to fetch the user informations fails.

The command "'https://aquarea-service.panasonic.com/installer/api/endusers' -b /tmp/cookie.txt -c /tmp/cookie.txt -H 'Origin: https://aquarea-service.panasonic.com' --data 'var.name=&var.deviceId=&var.idu=&var.odu=&var.sortItem=userName&var.sortOrder=0&var.offset=0&var.limit=25&var.mapSizeX=438&var.mapSizeY=864&var.readNew=1&shiesuahruefutohkun=e4eaa36b-c880-4b7c-8aa4-35e61ea05cc8' --compressed" has the following result: "{"errorCode":33554432,"message":[{"errorMessage":"System error occurred","errorCode":"9999-9999"}]}"

Getting the cookie and token and the login seem to work properly.

Is anyone else still using this code? Do you have the same problem?

zuputrus commented 2 years ago

Hi, i'm using same code, and since 23.05 also same problem. When nodered start, and restart flows, next message in debug is obtained:

26/5/2022, 8:32:04 [node: Prepare select gwid] function : (error) "TypeError: Cannot read property '0' of undefined"

Also this message is displayed:

26/5/2022, 8:36:03[node: Get data fields] function : (error) "TypeError: Cannot read property 'function-status-text-005' of undefined"

Any clue of failure?. Thx¡

AirKingBG commented 2 years ago

It's the same with me. Аny solution to the problem?

zuputrus commented 2 years ago

It could be possible to extract data from aquarea from this repository?

https://github.com/sdamasoc/domoticz_panasonic_CZ-TACG1

I'm not sure it suits with aquarea pumps.

Have you find somenthing alternative, @Froesoen ?

Froesoen commented 2 years ago

The cloud is still working and when I debug every step in chrome the commands look pretty much the same as before. It seems to me, that there has been just a small change, but I couldn't find out, what it is, yet. @zwartevogel could you have a look at it again?

zwartevogel commented 2 years ago

Sorry to hear it's not working. Unfortunatly I'm not using this cloud service anymore so I'm not able to help you out. I switched to heishamon. https://github.com/Egyras/HeishaMon A cheap and non-cloud solution. Hope you find a solution.

You can also check this fork: https://github.com/timovd/Panasonic-Aquarea-NodeRed maybe this developer is still using it and has an solution.

zuputrus commented 2 years ago

This past days randomly Nodered could contact with aquarea-service and retrieved data from dwh temperature, but not from outside temperature. After some hours, it stopped working. I was searching also through chrome and coding in nodered, but unfortunatly my few knowledge couldn't find anything to solve it. Thinking in migrate to home assistant (since domoticz I'm using now) and try other method, like:

https://github.com/lsochanowski/Aquarea2mqtt

Thks @zwartevogel for your work and your time.