srcfl / srcful-gateway

Sourceful Energy Gateway: Connect your solar inverter or Utility meters to earn tokens.
https://sourceful.energy/
MIT License
5 stars 2 forks source link

Develop strategy for monitoring gateways #63

Closed h0bb3 closed 8 months ago

h0bb3 commented 10 months ago

We need a strategy/tool to monitor the gateway statuses - atm all of them are offline according to the explorer.

We have no idea why and we are not monitoring this at all. Even manual checking is better than nothing eg checking every day what devices are online -> automatic would of course be better and could probably be done via bash and the balena cli.

It would also be awesome with push notifications from the gw client app e.g. to phone so the owner will know if the device is offline. It is very easy to forget things when you e.g. do some network maintenance.

Anyways it is time to start thinking about things like this...

davmoz commented 9 months ago

Started working on a simple dashbaord for us to use internally for now. Planning on hosting this as a web-app on Azure in the upcoming days...

The app is using open-balena API

image
h0bb3 commented 9 months ago

With some easy sorting options I think that would be a great start! I guess one could build some script that tunnels into the gateways and then use the gw api to check for status.

h0bb3 commented 8 months ago

I guess this has become a new repo at: https://github.com/srcfl/gateway-dashboard

So I'm closing this here.