ethereum-node icon indicating copy to clipboard operation
ethereum-node copied to clipboard

Stereum Mobile App integration

Open stefa2k opened this issue 3 years ago • 1 comments

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:

  • [ ] Integration in Stereum node ansible backend + molecule test
  • [ ] Integration in Stereum Launcher (after #498 is done)
  • [ ] add to update metadata

stefa2k avatar Jul 20 '22 10:07 stefa2k

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.

  • SMS
  • Discord
  • Telegram


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.

daGscheid avatar Nov 06 '22 19:11 daGscheid