http://genmon.local:8000 not working #1149
-
Checklist
VersionV1.19.02 Have you submitted your log files from the About page? Note that outbound email must be working for logs to be submitted.I have submitted logs What is/are your question(s)?Why isn't the web interface working? Additional informationFor the life of me I cannot get this working. I have and older generac evolution. I ordered a new pi zero w, and the hat from: https://pintsize.me/store/ols/products/generator-hats-and-phat/v/PGI-PHAT I followed the instructions or genmon setup. The hat has constant blue light and it would appear the py scripts cannot communicate with it. In genmon.conf I tried both serial0 and serial1. /var/log/genmon.log: mark@genmon:/var/log $ cat genmon.log Granted, I do not have it plugged into the generator yet, I expected to see a UI before taking it outside. At least the videos linked from the wiki indicate it should have the web interface available. Any guidance, before I return everything and give up? I've tried two micro SD cards, reinstalled several times...same results every time. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 15 replies
-
There isn't a wrong HAT, the hardware is the same for all supported controllers. Did you try the serial loopback test while setting up? |
Beta Was this translation helpful? Give feedback.
-
Juding only by the log output you show above it looks like you either have the wrong serial port selected, your serial port is not properly setup or your serial device is not responding. You mentioned that you have not connected this to a generator yet. In that case it may take a few minutes to load the UI as the web interface will not load until an attempt has been made to read the generator registers. If you are not connected to the generator then this will result in numerious timeout errrors so if you you are not connected to the generator it may take a couple of minutes to bring up the UI with this many timeout errors. I have not receveid any logs, I am guessing because you have not configured outbound email and can not pull up the web interface. In your message above you indicated that you did send logs so I am assuming that was unintentional. What is the output of this command on the pi?
You wrote "I followed the instructions or genmon setup." Did you run the instructions here: https://github.com/jgyates/genmon/wiki/3.3--Setup-genmon-software The script ./genmonmaint.sh asks questions and setups the serial port based on your response. |
Beta Was this translation helpful? Give feedback.
-
is there a way to try the loopback test without buying anything? |
Beta Was this translation helpful? Give feedback.
-
There might be an error in the install. It is installed to /home/mark/genmon as there was no /home/pi directory. |
Beta Was this translation helpful? Give feedback.
-
It would appear there is no web server running: |
Beta Was this translation helpful? Give feedback.
-
ok got it. in requirements.txt change |
Beta Was this translation helpful? Give feedback.
-
I did the 32 but image. Just kind of followed along the best I could with the YouTube video.
I’m excited to get it in the generator now.
Live, love, pick and strum,
-MrK
On Jul 23, 2024, at 7:03 PM, jgyates ***@***.***> wrote:
I am glad it is working. Out of curiosity are you running a 32 or 64 bit version of the OS?
I have a 64 bit that runs flask 3.0.0 and a test 32 bit system that is running Flask 2.0.3 with no issues. I know sometimes I have seen packages break for relatively short periods of time (before the maintiners can fix them) but usually switching from 32 to 64 or vice versa will correct the issue.
The fix you provided will work just, just trying to get data incase this turns out to be an issue for others.
—
Reply to this email directly, view it on GitHub<#1149 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALMURDOOUBE2PU3EM24ZVVLZN3VNNAVCNFSM6AAAAABLKIUGFKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJTGE4DSMI>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
ok got it. in requirements.txt change
Flask -> Flask>=2.2.2
and then everything started as normal