Cerbo GX Relay 2 flapping

Hi

We have a visual alarm connected to Relay 2 of a Cerbo GX. It is set on Manual and controlled by a simple flow in Node-Red that closes the relay once the battery SoC goes below 20%.

Our problem is that the relay is constantly flapping between Closed and Open all the time. We debug the output of the Node-Red flow controlling the Relay 2, and it is constantly 0 (open), so I don´t think Node-Red is the problem.

Any ideas?


Where is the flow? Can you paste the code into a text file and upload it?

1 Like

Got that with a feedback state once.
Also hysteresis matters.

So you will have to post your flow.

I noticed something similar over the last couple of weeks but it’s not related to any Node Red flow.

I using the relay 2 of the Cerbo to simple switch on a 48V charger to charge my battery once in a while.

The last 2 times I did this, switching the relay on was completely normal but when I switched the relay to off the contact started to flapping very quickly and all the time! I could stop the flapping only by rebooting the Cerbo.

No idea if this behavior is related to a firmware bug or something like that.

Where you switcing a voltage? These are the specs for the relay?

DC up to 30VDC: 6A

DC up to 70VDC: 1A

AC: 6A, 125VAC

Not in my case. Just a digital signal to ground from the charger control input.

Shouldn’t be a problem for a dry contact.

I would backup your flows and then delete everthing. Set the relay to manual and see if it works.

Get a clean node red sheet and inject a 1 and 0 to the realy node and see if it works.

Yep, I was doing that. As it turn out the Change node I was using in Node-Red had the output set as a string. I changed it to number and now everything works fine

Never payed attention to this. I think that when I was using the Change node in previous occasions it was set to have a number output by default. In any case now it is solved, and I know that I need to pay close attention to this small but important detail!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.