good day
I am a first time node user i am trying to write a code for a Victron gx to restart a gen set that has not started the first time
so under the conditions set in the Cerbo the gx starts the gen but gen fails to run once this happens i would want the gx device to restart the gen up to 5 x max or until it sees the ac input from the gen once the start signal is sent at needs to wait for 65 sec before re attempting if the ac is not seen from gen but if ac is seen from gen for example on attempt 3 the program must reset until the gx gives a start signal again under set conditions
at the moment i have gen set to start at 45% and stop at 95% but lately my gen cranks the first time only and then i have to manually start it the second time and this s annoying the shit out of me
and if possible after 5 failed attempt's send a vrm alarm is her some one thats willing to help with the code and email it or something please
Hay all I am running node red on the cerbo no other interface in between
Some one just told me about node red. And how to activate it via vrm portal. So have done all the foot work. I am now at the stage of creating a flow chart or something like that
At the moment the gen is. Controlled via cerbo gx Gen standard settings
The problem i am facing is there's not a restart option if the first time fails. To repeat the starting signal.
It only closes the relay 1. And thats it it will only react if conditions are met.
Start at 45% and shut down on 95 %
I whant to use node red in back round if. Gen dose not start the first time. The relay needs to close and open again. Repeat the start sequence in intervals of 65 sec. Or until. Ac input is found ann battery are being charged
Once inverter reads ac input.
The sequence must resset its start system until the next conditions as asked for.
Gen start at 45 charge battery stop at 95
If Gen not start first time. After 65 sec try to send a start signal again. And monitor ac input 1.
If ac is found on second start. Happy shut down on 95
If. NOt a total of 5 start signals. And if all 5 fails send alarm via email to vrm accounts. Stop start signal until manually start signal has been done. And then reaet start sequence to wait for next conditions
So, the Cerbo has some kind of link to the Generator and NR is running on the Cerbo.
You still haven't told us what physical signals are required to control the Generator. I would assume that there is some kind of program running on the Cerbo to control this, or is it all monitored and controlled by the generator.
A Mechanical and Electrical Schematic would help us, a sketch would do. There has to be some kind of interface operating between the Cerbo and the Generator other than just a one shot ON.
With regards to node red itself, I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.