|
Post by truefinn on Apr 5, 2021 6:18:53 GMT -8
You can neatly add external links on your SW2 Dash pages. For example replacing in the 'status_page.py' file the following code (which isn't n in the standard 'status_page.py' file) " piLabelLayout.append(
html.H6("Pi CPU Throttled Status (Green=Good, Red=Bad)" )
,
)
" with the following code " piLabelLayout.append(
html.H6(["Pi CPU Throttled Status (Green=Good, Red=Bad) ", html.A("Info-link", href="https://pypi.org/project/vcgencmd")])
,
)
" you will have in the status page a hyperlink named "Info-link", that will lead you to "https://pypi.org/project/vcgencmd" page. Things aren't after that so easily forgotten.
|
|
|
Post by SDL on Apr 5, 2021 10:04:45 GMT -8
I love it. I just read through the vcgencmd and we will have to add this new status line. Great information.
BP
|
|
|
Post by truefinn on Apr 5, 2021 23:34:41 GMT -8
OK, thanks. Here you have the code, in case you have some use for it. status-vcgencmd.py (4.91 KB)
|
|
|
Post by SDL on Apr 6, 2021 8:02:28 GMT -8
Thanks truefinn,
We will add it into the baseline code.
BP
|
|
herve
Junior Member
Posts: 54
|
Post by herve on Apr 28, 2021 4:02:58 GMT -8
Hello My status page shows 2 red "LEDs" in the "Pi CPU Throttled Status"-bar. What could be the reason for this? Is there somewhere a problem? Thanks Hervé
|
|
|
Post by SDL on Apr 28, 2021 7:17:30 GMT -8
Herve,
Boy are you making progress!
The Raspberry Pi often will report an under voltage condition (when it is not) and then will trigger those two events (hence the red dots). Nothing to worry about. Someday they will fix it, but it probably requires a hardware change so it will be a while.
BP
|
|
herve
Junior Member
Posts: 54
|
Post by herve on Apr 28, 2021 13:49:36 GMT -8
Hello BP
Okay, now I am reassured!
Thanks!
Hervé
|
|
dow4hurst
Full Member
SkyWeather2 Newbie
Posts: 117
|
Post by dow4hurst on Apr 28, 2021 16:41:21 GMT -8
Herve, I just got the same undervolt and throttled indicators today too! It is nice to know I can ignore it. Dow
|
|