node-red-contrib / node-red-contrib-renault-ze

node-red extension to fetch the status from your renault connected car
Apache License 2.0
19 stars 6 forks source link

Node-RED integration no longer working #85

Closed GwelforBodad closed 1 year ago

GwelforBodad commented 1 year ago

Describe the bug It looks like there's been a change on the Renault website since neither this Node-RED contrib nor the Home Assistant integration is working.

To Reproduce Inject charge mode (or any previously working parameter) into the contrib node with correct credentials fails

Expected behavior Doing the above would result in valid data in the subsequent debug node

Screenshots Debug message "TypeError: accounts.accounts is not iterable"

Version (please complete the following information):

Additional context Add any other context about the problem here.

JapieG commented 1 year ago

same problem. What is going on.

lksp1 commented 1 year ago

Renault has changed it's api key. I've create a pull request for the new API key. Should work again when it's accepted and released.

RoulstoneR commented 1 year ago

Also having the same issue.

lksp1 commented 1 year ago

As workaround (until pull request is accepted and published) you can update the api key on your local machine yourself. As exaple the required steps for a Linux environment:

  1. open file /home/[user]/.node-red/node_modules/node-red-contrib-renault-ze/nodes/ZEServices.js
  2. replace 2 occurences of VAX7XYKGfa92yMvXculCkEFyfZbuM7Ss with YjkKtHmGfaceeuExUDKGxrLZGGvtVS0J and save the file
  3. restart NodeRed using command "node-red-restart"
RoulstoneR commented 1 year ago

As workaround (until pull request is accepted and published) you can update the api key on your local machine yourself. As exaple the required steps for a Linux environment:

  1. open file /home/[user]/.node-red/node_modules/node-red-contrib-renault-ze/nodes/ZEServices.js
  2. replace 2 occurences of VAX7XYKGfa92yMvXculCkEFyfZbuM7Ss with YjkKtHmGfaceeuExUDKGxrLZGGvtVS0J and save the file
  3. restart NodeRed using command "node-red-restart"

That works a treat. big thanks.

JapieG commented 1 year ago

thanks @lksp1 ! This is indeed the solution.

konne commented 1 year ago

Updated, should work now image