stereum-dev / ethereum-node

Run an Ethereum node, solo stake ETH and connect dApps to your server with Stereum Ethereum Node Setup & Manager!
https://www.stereum.com/?utm_source=github&utm_medium=stereum-repo&utm_id=0
MIT License
112 stars 43 forks source link

Stereum Mobile App integration #563

Closed stefa2k closed 1 year ago

stefa2k commented 2 years ago

The mobile app "Stereum Node Monitor" is already available for iOS and Android and used in Stereum 1.

Stereum node needs to support one additional service: https://hub.docker.com/r/stereum/notifications A configuration example of the service in docker-compose: https://github.com/stereum-dev/ethereum2-docker-compose/blob/prater/compose-examples/lighthouse-only/override-examples/docker-compose.notifications.override.yaml#L20

Also Grafana needs additional configuration: https://github.com/stereum-dev/ethereum2-docker-compose/blob/prater/config/grafana/provisioning-lh/notifiers/notifier.yaml

The service generates a qr code which includes the push notification id as well as the encryption key. The Stereum Launcher needs to show this qr code in the settings/config.

Tasks:

daGscheid commented 1 year ago

Should follow the work for #571 to maybe offer some pre configured alerts

Color ALERT CONDITION
🟡 STORAGE GETTING LOW! Less than 200 GB available
🟠 STORAGE LOW! Less than 150 GB available
🔴 STORAGE VERY LOW! Less than 100 GB available
🟡 HIGH RAM USAGE More than 85% RAM in use
🟠 VERY HIGH RAM USAGE More than 95% RAM in use

We can offer multiple sources for alerts, this should be considered.


Current Version:

image image




Having taken more time, I edited the design to more fitting:

On the first open the user will be lead through the set up process. Including all information necessary.

  1. Choose Source

ADD A NOTIFICATION CHANNEL

  1. Set up

CHANNEL

  1. Notification Center Module

NOTIFICATION CHANNEL

After having set up one source the user will then be able to set up additional in the feature or delink the MOBILE NOTIFCATIONS. I don't know if there is a possibility to have access to the alert configuration in Stereum itself, if so I would like to make it possible to at least activate / deactivate a list of pre configured alerts. Adding them could be done in Grafana and they can kept in a alert folder. If the user desires more alerts, he always able to set up additional via Grafana. We will just provide a link via a button.