From 2b24c6f311915ddc175ccbf9e688948e7b6295d9 Mon Sep 17 00:00:00 2001 From: Emil Tin Date: Wed, 23 Oct 2024 13:24:03 +0200 Subject: [PATCH] Update alarm.md --- docs/pages/alarm.md | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/docs/pages/alarm.md b/docs/pages/alarm.md index 7780558..efe3084 100644 --- a/docs/pages/alarm.md +++ b/docs/pages/alarm.md @@ -17,18 +17,8 @@ alarm/tlc/1/45fe # A0001 serious hardware error (for main component) on node 4 alarm/tlc/301/45fe/dl.7 # A0301 serious deteector error for component dl.7 on node 45fe ``` -## Publishing -Devices publish to: - -`alarm////` - -id: unique id of the device -component: component delivering the data -module: the module containing the alarm type -alarm: the type of alarm - -For example, a traffic light `bb35` that has a hardware error might publish to: -`alarm/bb35/tlc/hardware` +For example, a traffic light `bb35` that has a hardware error in detector logic 4 might publish to: +`alarm/tlc/1/bb35/dl/4` ## Subscribing @@ -36,5 +26,5 @@ Supervisors can subscribe to all alarm from all devices using: `alarm/#` Or if you only want alarms from a certain module: -`alarm/+/sensor/#` +`alarm/sensor/#`