question

houser avatar image
houser asked

Node Red - "current active alarms" via API?

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

VRMNode-REDapidashboard
2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Fideri avatar image Fideri commented ·

Also interested in your question. Using grafana, I couldn't find all the system alarms. I have to specify a particular alarm.

F.

0 Likes 0 ·
houser avatar image houser Fideri commented ·

Ok, thanks for that also. I assume one might be able to build something in node red that does this. I want basically something similar to what VRM does when it says " 2 active alarms" but in Node Red.

0 Likes 0 ·
4 Answers
Fideri avatar image
Fideri answered ·

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.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

houser avatar image
houser answered ·

Thanks @Fideri

I would be interested in your script if it is not too much work, as I don't know what it does..

I ended up creating a dashboard with a number of text fields to get started and get a grasp.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Fideri avatar image
Fideri answered ·

@houser

Not sure what happened there. I was responding to a totally different question which has now disappeared! Anyhow, I will just share the script.

F.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

houser avatar image
houser answered ·

Thanks again @Fideri

I figured out my other question so was trying to be quick and clever and deleted it, as there was no answer yet. Sorry about that, Appreciate you sharing your script!

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.