Add CPU temp to overlay list #2067
Replies: 14 comments 31 replies
-
@BobW55 you have to write a script to get the temp and save it to the overlay variable file. It should be documented how to do that. |
Beta Was this translation helpful? Give feedback.
-
@BobW55 I have a module that does this but its not part of the core system and are not supported but you are welcome to try it. do the following cd ~ A menu will appear with a list of module, select the pistatus one and let it install. This creates a whole series of overlay variables with data about the pi. The one you want for cpu temp is CPUTEMP Cheers Alex |
Beta Was this translation helpful? Give feedback.
-
@Alex-developer, what do you mean no one uses F anymore??? Us crazy, international-ignorant Americans use it. I added the WebUI setting to display temp in C, F, or both for people like me. Ideally the module would use that setting. |
Beta Was this translation helpful? Give feedback.
-
The pistatus module now looks at the main allsky settings for its temperature unit. If its set to C or F then a single value is created CPUTEMP if its set to both then two values are created CPUTEMP_C |
Beta Was this translation helpful? Give feedback.
-
Yes running the latest.
…On Tue, Jan 3, 2023 at 3:20 PM Alex ***@***.***> wrote:
Have it set to both. but still only seeing CPUTEMP ? Do I have to reload
the module again?
Have you installed the latest version?
—
Reply to this email directly, view it on GitHub
<#2067 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4JBJ266VVEWRKJQBYFPBXLWQSCY7ANCNFSM6AAAAAATK5U7TE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Bob Waterfield
K8POS
|
Beta Was this translation helpful? Give feedback.
-
per your instructions: @BobW55 I have a module that does this but its not part of the core system and are not supported but you are welcome to try it. do the following cd ~ A menu will appear with a list of module, select the pistatus one and let it install. This creates a whole series of overlay variables with data about the pi. The one you want for cpu temp is CPUTEMP Cheers Alex |
Beta Was this translation helpful? Give feedback.
-
Alex thanks, |
Beta Was this translation helpful? Give feedback.
-
Sorry to hijack the conversation, but I've tried to install the allsky-modules as I'm keen to have a play and help test if I can. I've just cloned the dev branch and allsky-modules. Running the install script, I get the selection menu - choosing pistatus I get the following error:
Is this me or a system issue? I've also tried sudoing the install script, same result. Edit - I've got a dev branch installation issue, which may be the cause of this I don't know - I've posted a separate question on that. |
Beta Was this translation helpful? Give feedback.
-
I use rdp as both pis are headless... the results for your commands are: pi@allsky:~ $ env | grep TTY I have to say, this is a 64bit system: pi@allsky:~ $ uname -m ...and I'm rapidly moving towards a fresh 32bit installation, even though I don't really want to. As we speak, I'm trying to at least recover my original working master branch allsky and I'm jumping through some hoops, but getting there. No big deal as my main allsky is untouched, I use this one for testing before throwing things at the main one. However, these arrors may help you to debug for 64bit systems. |
Beta Was this translation helpful? Give feedback.
-
Ok, I will still probably wipe this and start again with a 32bit OS - it's caused issues before and not much on the pi is going to make use of >3Gb of RAM in a single program so it's kinda pointless for me. Thanks for the quick response. This is a job for tomorrow.... |
Beta Was this translation helpful? Give feedback.
-
Ok one more try gives this: Bedtime sorry! |
Beta Was this translation helpful? Give feedback.
-
Hi All!
Any help would be appreciated. :) |
Beta Was this translation helpful? Give feedback.
-
Please put all future comments in Issue #2893 which is to implement this request. |
Beta Was this translation helpful? Give feedback.
-
Module is now written. I need to test it with multiple drives but am awaiting another USB to SATA convertor that support SMART. Module Options You can set colours for temp limits if you wish As soon as I have a second convertor and tested it I will add it to the extra modules repo. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to have the Pi CPU temp as an overlay?
Still trying to finalise my enclosure not sure if I want a fan in it or not. Pain to keep hitting the system tab to see the CPU temp.
Beta Was this translation helpful? Give feedback.
All reactions