-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux System Info #68
Comments
it looks like psutil doesn't return anything. What happens if you try the following from a terminal:
|
Hello !
|
Ok. Then it should work as it is (maybe except for the cpu temp). I have no idea why it doesn't return anything for you but you can take a look at Issue #20 where a user had problems when running an older version of Octoprint. He solved it by upgrading. Can that be the issue for you? What version of Octoprint are you on? |
My octoprint is up to date :( |
Please do. It would take me some time to set up a linux container for debugging this. Can you see something related to this in your octoprint.log? You will find the relevant function (octoprint_dashboard) in init.py in the octoprint_dashboard folder. |
I think I see the issue.
May be include an exception and try other names for CPU sensors |
That explains it. I had a hunch when i wrote "The CPU-temp will likely only work on a Raspberry Pi." in the Known Limitations section in the README.md and this confirms it. The problem is that I have no idea what these sensors can be named on other systems. But I agree that It should at least fail gracefully. You should be able to see your sensors using: psutil.sensors_temperatures() What is the one for the CPU named in your case? |
CPU label is "coretemp". |
Sure:
|
Can you try this ?
|
Sure.
|
Looks good. You can try it out by installing from this url since it isn't in a release yet: https://github.com/StefanCohen/OctoPrint-Dashboard/archive/master.zip |
Fixed in v 1.9.0 |
It's ok on my side with 1.9, thank's ! |
Hi !
Is it possible to add linux ressources (CPU, RAM, temperature) like Raspberry ?
All sensors are zero...
Thank's
The text was updated successfully, but these errors were encountered: