Automating Setting Exercise Day and Time #1217
Unanswered
RubyBailey
asked this question in
Questions
Replies: 1 comment 1 reply
-
Genmon is built with a web front end that communicates with APIs that you could call directly. That specific one calls |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
Version
V1.19.04
Have you submitted your log files from the About page? Note that outbound email must be working for logs to be submitted.
I have not submitted logs
What is/are your question(s)?
Hello,
We have a challenge in that we need to change our generator's exercise weekday regularly, The schedule is available weeks in advance. We could walk to the generator and change it manually but I was thinking about making this more automated.
I have read through the https://github.com/jgyates/genmon/wiki pages as well as any discussions pertaining to generator exercising. It appears there are the following methods available within genmon to change the generator's exercise schedule:
Options 1. and 3. would necessitate a user initiated change, whereas option 2. would allow something like scheduled emails to initiate a more automated change sequence. The challenge with option 2. is that it requires reliable communication to an IMAP email folder. Most of the time that is the case, though it's not always reliable. Cell service also has reliability challenges.
After looking through the genmon program as well as the above-mentioned options I was thinking about a more "local" software system. Something that could run on the Pi that's running genmon and connected to the generator which would be able to modify the generator exercise schedule based on a locally accessible schedule that is stored on the Pi.
I was not able to find anything in the existing genmon software library.
The solution I was thinking about was to copy ClientInterface.py, rename the copy, and add a 3rd command line argument (for example -e) that would accept "generator:setexercise=day, time". That new program would then be able send a new exercise weekday and time to genmon.py. (Keeping in mind the limitations of our existing Nexus controller). That python file could be run by a local script, cron timer or other scheduled jobs to modify the generator's exercise schedule.
Independent of genmon the generator exercise schedule would be updated and stored on the Pi and would not necessitate access to an IMAP email folder.
Some questions:
Thanks.
Additional information
From Genmon Maintenance page:
Maintenance :
Model : Generic Air Cooled
Generator Serial Number : 0007168870
Controller Detected : Nexus, Air Cooled
Nominal RPM : 3600
Rated kW : 20 kW
Nominal Frequency : 60 Hz
Fuel Type : Propane
Generator Phase : 1
Engine Displacement : 999 cc
Controller Settings :
Calibrate Volts : 1009
Nominal Line Voltage : 240 V
Rated Max Power : 20 kW
Exercise :
Exercise Time : Weekly Wednesday 13:02 Quiet Mode On
Beta Was this translation helpful? Give feedback.
All reactions