Pipeline is executed for measurement: medicine_battery: Medicine dispenser battery low. TODO - convert to generic device battery messages
Pipeline processing steps:
- Create notification DEVICE_LOW_BATTERY: Low battery. Notification is created as level: alarm. Levels: ‘alarm’=red, ‘warning’=yellow, info=‘grey’ Notification is valid 1209600 seconds. After that notification is automatically acknowledged.
- Stop pipeline if there is already same notification created within 3600 seconds.
- Save notification to database.