Closed kuzjka closed 1 week ago
Provide an implementation for NotificationManager. See app design at https://github.com/kuzjka/lighthouse-community/wiki/Server-app-design-v0.1
NotificationManager
In v0.1 the manager has a predefined set of Notifiers. It listens for PowerEvents and sends notifications using all registered notifiers.
Notifier
PowerEvent
For initial setup and testing, LoggingNotifier may be added, which will just write notifications to the log.
LoggingNotifier
In future versions it will resolve a subset of notifiers depending on the sensor which has produced the event.
Provide an implementation for
NotificationManager
. See app design at https://github.com/kuzjka/lighthouse-community/wiki/Server-app-design-v0.1In v0.1 the manager has a predefined set of
Notifier
s. It listens forPowerEvent
s and sends notifications using all registered notifiers.For initial setup and testing,
LoggingNotifier
may be added, which will just write notifications to the log.In future versions it will resolve a subset of notifiers depending on the sensor which has produced the event.