Hi all,
Wanted to know what you all use thats the most accurate / reliable to build a flow to notify me when the grid is lost and the inverter starts inverting.
Just wanted to make sure I was using the correct, most accurate one.
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Hi all,
Wanted to know what you all use thats the most accurate / reliable to build a flow to notify me when the grid is lost and the inverter starts inverting.
Just wanted to make sure I was using the correct, most accurate one.
Why don't you just use the native "monitor for grid failure" under GX system setup?
Will trigger a push notification for failure and recovery using the phone app and related email.
So I just pull the AC-input state from the system node. If grid is lost it will be in the NA/invert state.
And a function for displaying the state more meaningfully:
var status;
if ( msg.payload == '1' ) {
msg.payload = 'Grid is On'; }
if ( msg.payload == '0' ) {
msg.payload = 'Grid is Off'; }
if ( msg.payload == '240' ) {
msg.payload = 'Inverting'; }
return msg;
41 People are following this question.