RE: Provoke a Notification via NodeRED

Hi All,
This topic is actually more or less a response/bug report to the “Provoke a Notification or Alarm via NodeRED” topic found here: Provoke a Notification or Alarm via NodeRED

I was working on a similar matter where I have my digital inputs (DI) available for custom alarms coming from a LOGO! PLC. I tried following steps provided by @djade and @VikingBlod within NodeRED. I am able to change the text displayed on the device list, but to achieve that, I need to remove the custom name I provided. Even though I change the name of the DI in NodeRED, the actual name field doesn’t change. I tried writing the new value to both:

  • com.victronenergy.settings
  • /Settings/DigitalInput/3/CustomName
    and
  • Er is een alarm opgetreden bij: Differentieelmeter (3)
  • /ProductName
    however I cannot get this value to set properly. The Cerbo GX displays the right alarm, but VRM does not.

Should anyone have any suggestions about what to try next or whether this is a recent bug, please let me know!

Kind regards,
Luc

2 Likes

As reported elsewhere, you can use a custom node in Nodered to set an alarm on an unused digital input channel, eg. on the GX Ekrano or Extender. This will display a local alarm on the screen and also push the alarm message to the VRM. Write to the DI attribute /CustomName with a text message to describe the alarm and this will be displayed on the alarm notification. You cant change the state of the DI channel using the custom node (writing to attribute /State has no affect) as unlike a virtual switch the physical input state of the channel cant be changed programatically. So make sure there’s no wire is connected to the DI connector! Instead to trigger an alarm you need to toggle the ‘alarm invert’ attribute using /InvertAlarm.