kuzjka / lighthouse-community

Power line status reporting service
0 stars 0 forks source link

Implement NotificationManager #15

Closed kuzjka closed 1 week ago

kuzjka commented 3 weeks ago

Provide an implementation for NotificationManager. See app design at https://github.com/kuzjka/lighthouse-community/wiki/Server-app-design-v0.1

In v0.1 the manager has a predefined set of Notifiers. It listens for PowerEvents 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.