node-red-contrib / node-red-contrib-renault-ze Goto Github PK
View Code? Open in Web Editor NEWnode-red extension to fetch the status from your renault connected car
License: Apache License 2.0
node-red extension to fetch the status from your renault connected car
License: Apache License 2.0
Hello,
First of all thank you for this work. :)
Everything has been going well for a few days.
Since yesterday I have this error: [renault-ze: Zoé] TypeError: accounts.accounts is not iterable
I have not been able to find the solution.
Maybe the API keys have changed or the authentication system is not the same.
Do you have an idea ?
Thank you in advance
Description
Requesting location info ends up in error 501: This feature is not technically supported by this gateway.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect correct location information.
Sample
{
"_msgid":"25e13355.7f1f5c",
"payload":{
"type":"TECHNICAL",
"messages":[
{
"code":"err.tech.501",
"message":"{"errors":[{"status":"501","code":"error.internal","detail":"This feature is not technically supported by this gateway"}]}"
}
],
"errors":[
{
"errorCode":"err.tech.501",
"errorMessage":"{"errors":[{"status":"501","code":"error.internal","detail":"This feature is not technically supported by this gateway"}]}"
}
],
"error_reference":"TECHNICAL"
},
"topic":"location"
}
Describe the bug
this is not a bug report regarding this node, but rather asking if someone knows whats going on? The node is not receiving values any more (message: "{"errors":[{"status":"403","code":"security.access","detail":"Access is denied for this resource"}]}") and the smartphone app is not showing values either.
To Reproduce
please open your phone app or look into the node values and check if you can see anything.
Expected behavior
Of course I am looking for a solution to get this going again.
Version (please complete the following information):
Additional context
the website https://www.services.renault-ze.com/#/user/login seems to be gone, also.
since 12:00 today mileage is not retrieving anymore. (/cockpit endpoint)
It gives me this message back:
message: "you should not be there but well done for the effort"
Any ideas?
Describe the bug
A clear and concise description of what the bug is.
FetchError: invalid json response body at https://renault-wrd-prod-1-euw1-myrapp-one.s3-eu-west-1.amazonaws.com/configuration/android/config_en_GB.json reason: Unexpected token < in JSON at position 0
To Reproduce
Steps to reproduce the behavior:
Inject node with timestamp
Node configured with username and password
Expected behavior
A clear and concise description of what you expected to happen.
JSON payload with attributes
Screenshots
If applicable, add screenshots to help explain your problem.
Version (please complete the following information):
1.3.1
Additional context
Add any other context about the problem here.
add example flows like
examples\foo.json
examples\bar.json
for:
Since 01.02.2020 the node is not working anymore due API key change. The new kamareon key is "Ae9FDWugRxZQAGm3Sxgk7uJn6Q4CGEA2" as discussed here:
https://gist.github.com/mountbatt/772e4512089802a2aa2622058dd1ded7
Is your feature request related to a problem? Please describe.
Apart from the information about current data (i.e. charge state) it would be great if charging could also be started/stopped via node-red.
Describe the solution you'd like
Make POST requests towards the API to also control the car rather than just monitoring it.
Describe alternatives you've considered
pyze already has write requests, but it doesn't integrate into node-red
Hi you already wrote that you have no access and can not implement the needed changes.
I can now make a new repo and a new npm but this pollute the packages.
Can you please answer on my request:
@watchforstock would it be okay for you if you transfer the repo and the npm package to me so that I can make the rework and take care of publishing new releases.
Is the temperature always 20C?
I am running the node (Version 1.4.1) on a node-red Version v3.0.2.
Since some time an uncaught exception of the this node causes node-red to crash.
In the syslog I find the following entries (account entry behind /accounts/ I replaced with xxx:
Jan 25 08:44:08 Node-Red Node-RED[400378]: 25 Jan 08:44:08 - [red] Uncaught Exception:
Jan 25 08:44:08 Node-Red Node-RED[400378]: 25 Jan 08:44:08 - [error] FetchError: invalid json response body at https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/xxxxxxxxxxxxxxxx/kamereon/kca/car-adapter/v2/cars/VF1AG000568538007/battery-status?country=DE reason: Unexpected token < in JSON at position 0
Jan 25 08:44:08 Node-Red Node-RED[400378]: at /root/.node-red/node_modules/node-fetch/lib/index.js:273:32
Jan 25 08:44:08 Node-Red Node-RED[400378]: at runMicrotasks ()
Jan 25 08:44:08 Node-Red Node-RED[400378]: at processTicksAndRejections (node:internal/process/task_queues:96:5)
Jan 25 08:44:08 Node-Red systemd[1]: nodered.service: Main process exited, code=exited, status=1/FAILURE
Jan 25 08:44:08 Node-Red systemd[1]: nodered.service: Failed with result 'exit-code'.
After the restart data is provided again without any problems. I did not recognized any cause of the invalid json response (e.g. loss of internet connection).
If you need further information, I will try to collect them.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
data from API
Version (please complete the following information):
Additional context
If I go to "http://services.renault-ze.com/user/login" page not found!
Hi this Flow works also with Dacia Spring electric car.
_[
{
"id": "696fb772f2705743",
"type": "inject",
"z": "e5b8e02b7ea79337",
"name": "",
"props": [
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "location",
"x": 100,
"y": 100,
"wires": [
[
"ab22e82ef6c1197c"
]
]
},
{
"id": "311a09c233eacc10",
"type": "inject",
"z": "e5b8e02b7ea79337",
"name": "",
"props": [
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "battery-status",
"x": 120,
"y": 140,
"wires": [
[
"ab22e82ef6c1197c"
]
]
},
{
"id": "e57815ec55a19bd2",
"type": "inject",
"z": "e5b8e02b7ea79337",
"name": "",
"props": [
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "hvac-status",
"x": 110,
"y": 180,
"wires": [
[
"ab22e82ef6c1197c"
]
]
},
{
"id": "dba3aeb3a2dd7668",
"type": "inject",
"z": "e5b8e02b7ea79337",
"name": "",
"props": [
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "cockpit",
"x": 90,
"y": 220,
"wires": [
[
"ab22e82ef6c1197c"
]
]
}
]_
Hi,
it is possible to send commands like Pause charging or turn on the heater?
Node Red:
"TypeError: Cannot read property 'cookieValue' of undefined"
if I click on one of th efour input nodes
Windows 10
Chrome
Hi,
Thanks for this great node.
I often see the error "TypeError: accounts.accounts is not iterable" in the console"
I think it's caused by Renault API being unavailable.
Could it be possible to catch this error and return a specific payload (to be used in the flow for notification for exemple) ?
Have a nice day !
Rudy
Describe the bug
Trying with hvac-schedule to start warming of the car.
To Reproduce
use inject node with msg.topic set to "hvac-schedule"
Expected behavior
Warmer car :)
Version (please complete the following information):
1.4.2
docker container nodered/node-red:latest-16
Additional context
message: "{"errors":[{"status":"Not Implemented","code":"501","title":"Not supported Feature","detail":"This feature is not technically supported by this gateway"}]}"
Hy, first of all, thank you for your work in this node!
Can you please help me, clarify if its possible to get data from a DB, or other nodes, and fill the username and password fields in the node?
Best regards
msg : error
"TypeError: accounts.accounts is not iterable"
Since midday I get the following error:
TypeError: Cannot read property 'split' of undefined
Up until that time everything worked fine.
Any halp? Many thanks in advance.
Hello,
First of all thank you for this work. Since yesterday I have this error: TypeError: accounts.accounts is not iterable
I have not been able to find the solution.
Do you have an idea ? Thank you in advance
Get the response "TypeError: Cannot read properties of undefined (reading 'cookieValue')"
back when info is requested on the server
Press the trigger or let the timer do it
Debug on output of renault-ze module
Output gives: "TypeError: Cannot read properties of undefined (reading 'cookieValue')"
Expected behavior
Expect car info instead
Screenshots
none
Version (please complete the following information):
node-red-contrib-renault-ze 1.4.2
node red 3.0.2
Additional context
hvac-status
charge-mode
charges?start ...
charge-history
hvac-sessions
hvac-history
charge-schedule
hvac-schedule
notification-settings
PUSH -> actions
Should also this package be bumped somehow?
https://flows.nodered.org/node/node-red-contrib-renault-ze
My NodeRed instance can't see the 1.4.0 version of the package for some reason.
Thanks!
As of September 2020 the NODE-Red node doesn't work anymore, it throws an error:
"TypeError: Cannot read property 'vehicle_details' of undefined"
Any chance this project will be updated? Or is it discontinued?
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.
Describe the bug
When a unexpected token occurs, node-red reboots.
error log nodered:
26 Jan 11:50:01 - [red] Uncaught Exception:
26 Jan 11:50:01 - [error] FetchError: invalid json response body at https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/"LONG CODE"/kamereon/kca/car-adapter/v2/cars/"MYVIN"/battery-status?country=DE reason: Unexpected token < in JSON at position 0
at /data/node_modules/node-fetch/lib/index.js:273:32
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
26 Jan 11:50:04 - [info]
Welcome to Node-RED
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.