Skip to content

CloudInfrastructureApp

Sebastien Robitaille edited this page Jan 4, 2024 · 2 revisions

Notifications

Allows the user to be notified of alarm event from nodes.

Phase 1

Each base station will monitor incoming messages from the node for an alarm flag. When an alarm flag is detected, an email with details of the alarm will be sent to a preprogrammed email address(s).

Implementation

These email will be sent directly from the base station using the esp32's WiFi connection. Possible library to use: ESP-Mail-Client This would require a connection gmail(or equivalent) account to send the emails. The dedicated account should be used for security reasons. This library can sent emails with attachments from the esp32's SD card so log files etc. could be sent with this method.

Phase 2

Each base station will monitor incoming messages from the node for an alarm flag. When an alarm flag is detected, the base station will sent a API request to pushover.net. Used will install the pushover app on their mobile device(IOS, Android) that will receive these notifications.

Implementation

API request will be sent directly from the base station using the esp32 WiFi connection. HTTPS request will need to be sent using a method like this

Phase 3

Each base station will monitor incoming messages from the node for an alarm flag. When an alarm flag is detected, the base station will sent a API request to a push notification cloud service(such as Firebase).\

Implementation

TBD but will likely involve creating native apps for android and IOS(using blazor hybrid?)

Clone this wiki locally