Reputation: 11
I am trying to set up alarms in our cloud professional edition of ThingsBoard. Under our tenant user, we have a number of customers, and they in turn have customers, all set up in the customer hierarchy. I think I've got this right.
Alarms are then set up in the Alarm Rules of Device Profiles. I've not got any of the 'Propogate alarm...' tick boxes ticked (although doing this didn't seem to make a difference.
In the Rule Chain root rule, I've added a link to a separate Alarms rule. .
In the Alarms rule
I first change the originator to the owner of the device, then look for related customers to get those higher up the hierarchy -
. I then (i) send emails, (ii) send notifications.
I've had to add relations between customers for this to work also, mirroring the hierarchy.
It is mostly working as I'd like, but I've got a couple of problems:
Ideally I just want the following:
I think I've probably made it more complicated than it needs to be. Any advice would be appreciated. Many thanks, Steve
Upvotes: 0
Views: 53