Hi,
has anyone an experience with integrating
BCP Series EV Charger into home assistant?
It has application Z-BOX for Android and iOS and it is able to be connected via Bluetooth or Wifi.
Thanks
Hi,
has anyone an experience with integrating
BCP Series EV Charger into home assistant?
It has application Z-BOX for Android and iOS and it is able to be connected via Bluetooth or Wifi.
Thanks
Hi,
Did you found a way to integrate the charger in HA?
Thank you
Unfortunately not
Today I have met this node package.
I will give it a try soon to integrace it and let you know.
It looks promising
Nice finding!
Let me know if it works, I could try it also and help you if needed.
How do you integrate a node red plug-in in HA?
Thank you
Hi!
I have tried to execute the node. Js module.
I am getting all the time “timeout” errors.
I tried to put the app ID of the charger, and the password in the js source files.
No way…
Have you been lucky with it?
Thank you!
Yes, the code works for me. I am able to read charger info.
import { ChargerController } from "@danielgindi/bcp-charger-api";
async function run() {
let charger = new ChargerController("password");
// Take the code from the QR on the charger or the Z-Box app, and let's resolve the IP address for the charger.
await charger.sendGetIpAddress("id");
// Let's fetch basic info about the charger so that state commands could work.
const model = await charger.sendGetChargerModel();
console.log("Model:", model);
const realTimeData = await charger.sendGetRealTimeData();
console.log("Real-time data:", realTimeData);
const controllerState = await charger.sendGetControlsState();
console.log("Controls state:", controllerState);
charger.disconnect();
}
run();
But I still didn’t have time to create solution. Just this proof of concept. I have three possible ways what to do
OK, working know.
I get output.
I will look for options to integrate it in home assistant just for monitoring and casual control. Node-red addon is the best approach quite sure. I don’t want to work too much.
We could keep this thread running for blocking points and ideas.
Have a nice day!
Hi Keeema,
I have tried to integrate the node js package in HA Node RED without success.
Did you try to make it work somehow?
Any clue on this?
Thanks!
OK, I was able to make it working from time to time in HA Node Red, when other processes are using the same sockets.
Most of the time I get:
function : (error)
“Error: bind EADDRINUSE 0.0.0.0:3333”
Other times I get the info of the api functions used.
I will try to guess how to setup the node js module to avoid colissions.
Xmas edit:
Nice!
Continuous monitoring using getrealtimedata is working now!
Looking forward to be able to get DLB data from the charger, adapt max current depending on power company contract and date and time and so on.
I am able to have concurrent access using the app and the Node RED monitoring, solid socket management.
The original implementation of the Node js module is not too reliable.
Happy Xmas
Sorry for late response, I have a time pressure in these times and this has lower priority.
Could you share more info about how did you manage the Error: bind EADDRINUSE 0.0.0.0:3333 issue?
OK, I also have it… for others creating Node-RED flow, it is necessary to open the port:
ports:
3333/tcp: 3333
3333/udp: 3333
UPDATE: I have alse working Node-RED flow based on UDP In/OUT and basic functions to compile/parse message.
I will update info about further progress
Could you describe how did you perform concurrent access using the app and the Node RED monitoring, solid socket management?