phone notifications when folding fails?

This forum contains information about 3rd party applications which may be of use to those who run the FAH client and one place where you might be able to get help when using one of those apps.

Moderator: Site Moderators

Post Reply
hamshanky
Posts: 3
Joined: Thu Jun 11, 2020 1:11 am

phone notifications when folding fails?

Post by hamshanky »

Hi all

How can I set up my android 8 phone to receive a notification when:
  • Failed 5 attempts to upload a work unit
  • Failed 5 attempts to download a work unit
  • Uploading creates an error, dumps work
  • Error is encountered and progress is lost
  • etc
If it is not possible to send notifications to my android 8 phone, how about to my gmail?
ChristianVirtual
Posts: 1576
Joined: Tue May 28, 2013 12:14 pm
Location: Tokyo

Re: phone notifications when folding fails?

Post by ChristianVirtual »

You could write your own script, analyze the log file or remote API and react in a way you need. To my knowledge there is no standard way of doing it. Raising an enhancement might be a good idea to trigger a system shell script in case of specific events. Not much scientific value out of it so don’t hold your breath. But try to enter in GitHub and enhancement request. https://github.com/FoldingAtHome/fah-issues/issues
ImageImage
Please contribute your logs to http://ppd.fahmm.net
hamshanky
Posts: 3
Joined: Thu Jun 11, 2020 1:11 am

Re: phone notifications when folding fails?

Post by hamshanky »

I see

This is something I will put on my to-do list for the far future then.

Thanks
MeeLee
Posts: 1339
Joined: Tue Feb 19, 2019 10:16 pm

Re: phone notifications when folding fails?

Post by MeeLee »

There is a way you can see remotely from the FAH servers, if your last WU uploaded successfully.
You can also view your log file.

As far as WU's not uploading due to network issues, that'll be a hard one.
Especially if the network issues are on your end.
You'd have to run a script that will poll the log file for certain patterns.
Not something an average person can do, unless he persistently spends weeks (or months) over the issue.
It may be a simple thing to do, but there are a lot of complications to successfully get something like that to work.
ChristianVirtual
Posts: 1576
Joined: Tue May 28, 2013 12:14 pm
Location: Tokyo

Re: phone notifications when folding fails?

Post by ChristianVirtual »

In my early years I used Zabbix to monitor my FAH systems. It included also the GPU and Disk temps; it could also send email/notifications; but a bit of a learning curve to get it done.
ImageImage
Please contribute your logs to http://ppd.fahmm.net
Post Reply