Get alarms into a widget

I’m trying to expand on the current set of widgets to fit our needs with the alarm system.
For context, an insight page will be displayed on a screen so people in the room can see if all is well. This means that we’d like the alarms to be displayed on the insights page.
The current alarm page and the little icon in the top right doesn’t catch the eye enough + and doesn’t give any sort of overview if the alarm is low/med/high.
I tried getting the or-alarms-table into a custom widget, but frankly I don’t have the frontend experience to get it to work. Seems to be an importing issue?
We’d also like a sort of “traffic light” widget that takes the alarms and changes light depending on certain parameters. (Green is no alarms, yellow is 3+ low or 1+ medium, red is 1+ high).

I can probably work it out if someone can tell me how to get the sentAlarms from the manager and into the widget.