I would like to control the relay of my MPPT charge controller with Node Red via Can, e.g. to allow my heat pump to charge the hot water tank in summer if the solar power is sufficient. Unfortunately, this is not possible at the moment.
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
I would like to control the relay of my MPPT charge controller with Node Red via Can, e.g. to allow my heat pump to charge the hot water tank in summer if the solar power is sufficient. Unfortunately, this is not possible at the moment.
Just now I tried to find a setting for the relay output to control the fans depending on the charger temperature, which are absolutely necessary to get the full power of the charge controllers even if the roomtemperature is not above 25°C. I noticed the following menu item:
I have no idea how it got there, I probably just overlooked it ;-)This problem is now solved!
In Node Red, the relays can be switched with the following blocks, whereby all controllers are connected via CAN and have firmware version 3.13:
Hi @Guy Stewart,
vielen Dank dass Sie dazu beigetragen haben, das dieses Feature implementiert wird.
Hi @Guy Stewart,
Thank you very much for helping to implement this feature.
At this moment I have only MultiPlus2Gx in use, but I have 7 MPPT Charge Controllers in my system;-(
Since i do not kow which MPPTs you have, I can tell you, that all 150/250 Volt versions can work independantly.
I have now one SmartSolar MPPT 150/70 (1,86kWp) and two SmartSolar MPPT 250/100 (each 2,05kWp) and I use all three relais to switch things.
1) Set to "High Voltage" and switch on, when the Voltage exceed 28,8V (my Batteries have an Absorbtion Voltage of 29,6V but I do not want to waist energy in the summer, and switch a 2kW heating element on, which pump heat into the ground)
2) Set to "High Voltage" 29,4V and switch on an additional 2kW Heating Element
3) Set to "Float" and show me currently only a light that I know I can wash clothes or bake a cake...
Have fun
I have 250/70, 250/85 and 150/70 at my system. If there is no other possibility, I would do that the same way. Bu to control e.g. my safety relais, I would need a much more complex algorithm, that I already programmed in Node Red.
Hi @Thomas Manthey ,
It is a known limitation that the MPPT relays cannot be controlled by Node Red yet.
I expect it will be added at some point, but there is no timeline (that I know of) yet.
Hi @Guy Stewart (Victron Community Manager) ,
thank you for your replay. Then I have to focus on my CerboGX with 2 relays. I want to use it anyway for having potential divided Ve.direct interfaces. With Multi2Gx and Ve.direct2usb adapters there are problems with a stable connection of the smart shunts.
Hi @Thomas Manthey,
There is also another potential path coming to enable more relay interfaces to control for Node Red users.
Please keep your eyes on the Victron blog and Victron Professional news, and I will try to remember to post back here when it's ready.
Hi @Guy Stewart (Victron Community Manager) ,
there may be another possibility: Since the software from Victron is open source, reading the current relay status already works and I also programme microcontroller control units for a living, I assume that only another Can service is required to write the relay status.
Where can I find the software for the MPPT solar chargers?
But if node red output node solarcharger relay control doesn't work, why victron build it into NodeRed?
Users try to use it and spend a long time trying to figure out why it doesn't work.
The MPPT's relay are the only ones that support 230V AC!
Why not simply use external relais where you can choose even 125A relais with 1 or 3 phases?
I case something went wrong, you do not kill the relais or even the board in the MPPTs.
I know. I switch another contactor with the cerbo (MPPT) relay. It is easier to use 230V for switching, than a relay that is switched with 48V DC.
All relays on the Cerbo do not support 230V and are implemented by Victron in NodRed (but do not work there).
There are certainly many options. It is best to work with the simple and available things.
The first thing I want to include is a safety relays in every generator connection box that makes a shortcut on every solar cluster (250V/25A max.), if there is no switching voltage supplied. If there is a problem with the solar generators or a fire, I only have to push the big red button. And no voltage and therefore power is forcing the fire anymore and the system is free from dangerous voltages. The shortcut current of my solar panels is about 11,5A and they even get no damage during a shortcut.
Additional resources still need to be added for this topic
60 People are following this question.