Jump to content

Recommended Posts

Posted

I was trying get sys-oled running on a new installation (upgrade, really) of bullseye.

 

If go with the original Kobol github version, https://github.com/kobol-io/sys-oled, it fails to build RPI.GPIO and something else.

 

I also found an alternate at https://github.com/rpardini/sys-oled-hc4, that builds, but when I run it, it complains about a thermal call in python:

# sys-oled --display sh1106
Traceback (most recent call last):
  File "/usr/local/bin/sys-oled", line 142, in <module>
    main()
  File "/usr/local/bin/sys-oled", line 132, in main
    display_info(device)
  File "/usr/local/bin/sys-oled", line 105, in display_info
    draw.text((0, 0), cpu_usage(), font=font, fill="white")
  File "/usr/local/bin/sys-oled", line 78, in cpu_usage
    temp = psutil.sensors_temperatures()['cpu_thermal']
KeyError: 'cpu_thermal'


I opened an issue with the Kobol github, but I don't anticipate much in the way of results there. `rpardini` doesn't appear to be able to accept issues.

 

Has anyone had any success with getting this running in bullseye?

 

Posted
Am 29.1.2022 um 16:46 schrieb jimbolaya:

I was trying get sys-oled running on a new installation (upgrade, really) of bullseye.

 

If go with the original Kobol github version, https://github.com/kobol-io/sys-oled, it fails to build RPI.GPIO and something else.

 

I also found an alternate at https://github.com/rpardini/sys-oled-hc4, that builds, but when I run it, it complains about a thermal call in python:

# sys-oled --display sh1106
Traceback (most recent call last):
  File "/usr/local/bin/sys-oled", line 142, in <module>
    main()
  File "/usr/local/bin/sys-oled", line 132, in main
    display_info(device)
  File "/usr/local/bin/sys-oled", line 105, in display_info
    draw.text((0, 0), cpu_usage(), font=font, fill="white")
  File "/usr/local/bin/sys-oled", line 78, in cpu_usage
    temp = psutil.sensors_temperatures()['cpu_thermal']
KeyError: 'cpu_thermal'


I opened an issue with the Kobol github, but I don't anticipate much in the way of results there. `rpardini` doesn't appear to be able to accept issues.

 

Has anyone had any success with getting this running in bullseye?

 

Yes, I succeeded in installing sys-oled during this week upgrading my installation to bullseye (and OMV6). I used the Kobol documentation at https://wiki.kobol.io/helios4/i2c/ without any issues.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines