Looking for "current active alarms" if that data is in there?
Is it in the VRM API node : Installations / Get alarms?
I am getting a "0" as payload now. Will it give me a number of active alarms when they are active? Many thanks
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Looking for "current active alarms" if that data is in there?
Is it in the VRM API node : Installations / Get alarms?
I am getting a "0" as payload now. Will it give me a number of active alarms when they are active? Many thanks
Also interested in your question. Using grafana, I couldn't find all the system alarms. I have to specify a particular alarm.
F.
I use diagnostic data from the API. Because the "positions" of the data changes randomly, I use certain phrases (those have never changed) to filter the data. If you need that, let me know. I have to clean up the script first as it's written specifically for my install.
F.
Hey @Fideri After having looked at this a bit, I now totally get what you are saying about the data changing randomly and hence the need for your search script. A bit confusing. Also the dedicated nodes with hard paths to set from a popup menu do not have all the same data. Yet?Will have to think about this, if this is the way this is set up long term. Again, would appreciate an example heads up if you figure this out. Many thanks.
No worries. Here's the script. I think the comments are self-explanatory but I am happy to clarify.
Apart from the VRM API (not included) and the function nodes, everything else is not needed. It's contained in the screenshot only to show what is possible.
If you would prefer to copy and paste the script rather than importing the function node, I have included both files.
One thing I forgot to mention in the comments in the script is that it will stop once a match is found. So use unique keywords. Personally, I use the Victron descriptions.
F.
Hey all, to get this on the GX device itself, so to not have to rely on VRM and this an internet connection, use the notifications database provided on com.victronenergy.platform.
Documented here: https://github.com/victronenergy/venus/wiki/dbus#platform
Its relatively new, available since v3.30 or v3.40.
This is very useful. I can see the relevant paths in grafana. But for "Notifications/NumberOfNotifications" I always get "No Data". I don't have any notification at the moment but I was expecting "0" or a historical figure.
F.
Hey @Fideri
Are you using that path via d-bus > mqtt?
"Notifications/NumberOfNotifications"
If so, when you have a moment, would you mind sharing the path that works for you and what mqtt reader-node?
If you are on Venus OS 3.20 or higher, are you using the standard NR MQTT node?
That's the path, but I have the same issue as you in Node Red. The path "Notifications/NumberOfActiveNotifications" doesn't show on the custom node. I'm using Venus 3.40.
Grafana is a different platform. I suspect it uses MQTT under the hood. In my case, it just says "no data". I don't know if that is by design.
Curiously, using MQTT Explorer, I can see the path in MQTT with the value "null".
F.
With nodered there really isn't much need to use MQTT to talk to the GX, as all these paths are available via the custom node, which is just simpler to use and has less overhead.
I might be missing something obvious, ( I often do ;) but which one is
"the custom node" you refer to? If you mean "victron-input-custom" I do not see the active alarms there? Many thanks.
100% agreed. I will post back here if I find or come up with a solution. Please feel free to do so also?
@houser rather post back on the new modifications site, as this one is likely to be read-only by then.
How to change the Owner of a VRM installation
Webinar Part 1 - Intro to Node-Red
Webinar Part 2- Basic Palettes
Webinar Part 3 - Advanced example
Victron Node-RED for dummies guide by Fideri
Node Red Community Space (normally hidden)
Venus OS Large (Node-RED) manual
Victron Node-RED github readme
Victron Node-RED custom nodes docs
Additional resources still need to be added for this topic
84 People are following this question.