Open foorschtbar opened 2 years ago
Me too, same problem
Same issue here. Tried with automatic restart of the docker container, but that didn't help. I really need to re-deploy to get it working again.
I am facing the 401 too at the moment. App is working - I thought, it might happen, when the app does not show some information from the car, because the car has no connection, but that's not the case as it seems now.
Credentials should be correct... I'm not aware that I have changed anything... It has worked until a few days ago.
BUT: Somehow, it seems one of my sensors in homeassistant which will get information from the skoda nodeRed was updated tonight... don't know, if the flow was working then or not.
Normally the 401 shouldn't be a problem. It means the session to skoda connect and thus the token is expired. A reconnect is initialized in this situation.
The 401 shouldn't be displayed in the node red debug log. I will fix this soon.
Please check the output of the skoda get node by adding a debug node
hm... I just had a nother try. Again, the skodaconnect - get showed an 401 error. There was no other output.
I've replaced the get node with a new one - put my login data into it and tried it again.
It seems to work, at least - it did not show any 401 error, but it was not able to fetch some data - and only showed "requesting data" - without any further change.
Is there a limit on how often the API should be called? I had the setup set to "every 10 minutes" - but maybe this was too often?
Till now I have not encountered any limits. I'm requesting the API every 2 minutes! Can you please tell me your skoda model name? Please check the node red logs by calling "node-red-log" on the console. There should be some messages while requesting the data like this: getVehicles getHomeRegion getVehicleData getVehicleStatus: status getVehicleStatus: position getVehicleStatus: climater getVehicleStatus: charger getVehicleStatus: timer
Hi :) It is an Enyaq...
at the moment, there's not much in the log:
20 Jul 08:29:01 - [info] Stopping modified flows
20 Jul 08:29:01 - [info] Stopped modified flows
20 Jul 08:29:01 - [info] Updated flows
20 Jul 08:29:01 - [info] Starting modified flows
20 Jul 08:29:01 - [info] Started modified flows
getVehicles
20 Jul 08:29:07 - [error] [skoda-get:Christoph Caina] 401
20 Jul 08:29:18 - [info] Stopping modified flows
20 Jul 08:29:18 - [info] Stopped modified flows
20 Jul 08:29:18 - [info] Updated flows
20 Jul 08:29:18 - [info] Starting modified flows
20 Jul 08:29:18 - [info] Started modified flows
getVehicles
20 Jul 08:29:18 - [error] [skoda-get:Christoph Caina] 401
20 Jul 08:35:48 - [info] Stopping modified flows
20 Jul 08:35:48 - [info] Stopped modified flows
20 Jul 08:35:48 - [info] Updated flows
20 Jul 08:35:48 - [info] Starting modified flows
20 Jul 08:35:48 - [info] Started modified flows
getVehicles
20 Jul 08:35:48 - [error] [skoda-get:Christoph Caina] 401
getVehicles
20 Jul 08:37:55 - [error] [skoda-get:Christoph Caina] 401
Before renewing the node, it was showing the 401 directly on the node itself. After replacing it, it's only showing the "requesting data" - So I think - the main issue I had is still the same.
I've checked the credentials and logged in into the app without any issues. I am also using skoda-connect as an integration in my HomeAssistant - and even this is working without any issues at the moment. So it's only the node-red which seems to has issues...
Are you using the newest version of the node and have you selected the enyaq in the configuration of the node?
I have selected the Enyaq. Yes. How can I confirm the version of the node? - It should update itself ... while the previous node has shown "error" - it is now just showing the "request data" after replacing the node in the flow.
Does anyone else get one of these error messages sometimes? I'm not sure if it's a problem with the plugin or from the Skoda API. 401 is clear, but the credentials are correct and the app (incl. logout & login) works. After re-deploy of the flow, it works sometimes for a while.