I would like to make a simple email alert in node red that will alert me when SOC of battery is at 10% but not email me again until it’s back above 30%.
Then it “restarts” and won’t email me again until it gets to 10% again and the cycle starts over.
I have the email node working. Just can’t figure out the code to make it stop emailing me non stop when it sits at 10, and not email me until it gets back to 30.
Not a direct answer, but your Cerbo is obviously connected to the internet, have you got a VRM account because if you have then it is easy to set up alarms in VRM to email you when an alarm is reached, i.e. <10% SOC and you get an email when it has recovered, which in your case you would specify as >30%.