Getting ZOE battery status into Node-RED
For those of you deep into home automation, using documentation compiled by Terrence Eden, me and Harm Otten wrote some Node-RED code to retrieve battery status from the same API that the the Renault Z.E. app uses. I’ve posted it on gitlab.
It outputs an MQTT message every 15 minutes. If there is more than one car associated with the login, more than one message is sent. A message looks like this
In my setup the message finds it’s way to a dashboard on my Android phone using MQTT dash, a Node-RED dashboard and like all other MQTT messages a MariaDb database on my Synology NAS for logging.
where can I find the mentioned github code?
I’m very interested about this functionality.
Class called “Fields”
Thank you for the reply.
But I’m looking for the “Node-RED” code, which is behind the screenshot above.
Can you tell me, where can I find it?
Ups … I didn’t catch you request in the right way. I don’t have that code myself. I’ll see if I can get someone else to answer 😉
thank you very much in advance
There you go!
Thank you very much.
I tried it, modified to my ZE and mqtt credetials, but at the deployment I get this message:
“SyntaxError: Unexpected identifier”
And the “ZE services – battery” item is highlighted.
I’m new to Node-RED and Node.js, and at the first sight I could not find the error in the code…
Can you please check it?
Meanwhile I managed to make it work.
Thank you very much for sharing!
Unfortunately, Renault has rolled out a new API. It uses certificate pinning so for the moment, there is nobody who has pried it open yet.
With the help of SpeakEV user jamesremuscat who did all the hard reverse engineering, I have a new Node-RED flow now, working as a charm. Thank you James!
Hi this is not working any more. But I have fixe the node-red-contrib (https://github.com/node-red-contrib/node-red-contrib-renault-ze)
This is perfect working.