Provides additional information about your Pi in the UI
Project description
Pi Support
The Pi Support plugin provides additional information about your Pi in the UI and also alerts you about undervoltage or overheating issues observed on your Pi or if your Pi is unsupported. If you are running OctoPi, the Pi Support plugin will also provide additional information about that.
OctoPrint will only load this plugin when it detects that it is being run on a Raspberry Pi.
This plugin was bundled right with OctoPrint's sources until version 1.6.0. It has been extracted into a standalone project to allow for a different release cycle, but is still considered a bundled plugin.
Setup
The plugin is part of the core dependencies of OctoPrint 1.6.0+ and will be installed automatically alongside it.
In case you want to manually install it into an older version for whatever reason, install via the bundled Plugin Manager or manually using this URL:
https://github.com/OctoPrint/OctoPrint-PiSupport/archive/main.zip
To install and/or rollback to a specific version <version>
, either use this URL in the plugin manager:
https://github.com/OctoPrint/OctoPrint-PiSupport/archive/<version>.zip
or run
pip install OctoPrint-PiSupport==<version>
in your OctoPrint virtual environment, substituting <version>
accordingly.
Events
plugin_pi_support_throttle_state
(as Events.PLUGIN_PI_SUPPORT_THROTTLE_STATE
)
A change in throttle state was detected.
Payload:
raw_value
: The raw throttle state value as received fromvcgencmd get_throttled
current_undervolate
: Whether there is currently an undervoltage conditionpast_undervoltage
: Whether there has been an undervoltage condition since last bootcurrent_overheat
: Whether there is currently an overheat conditionpast_overheat
: Whether there has been an overheat condition since last bootcurrent_issue
: Whether there is currently an undervoltage or overheat conditionpast_issue
: Whether there has been either an undervoltage or overheat condition since last boot
Helpers
get_throttled
Access to get_throttle_state
, to retrieve the current throttle state. Returns a dict
with the same fields as the PLUGIN_PI_SUPPORT_THROTTLE_STATE
event payload. By setting
the keyword argument run_now
set to True
, the throttle state will be refreshed before
returning.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file OctoPrint-PiSupport-2023.10.10.tar.gz
.
File metadata
- Download URL: OctoPrint-PiSupport-2023.10.10.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb4ac0f70bcf612d95d85debf6716d6bc6708db13d5e5883e04abbe5b1d67eeb |
|
MD5 | 246ef0f0ca3d79abf758c023a4962af2 |
|
BLAKE2b-256 | e98005186711d918220ae3496e08a63c6136d5b6eebc1ae5ac2a389f23549444 |
File details
Details for the file OctoPrint_PiSupport-2023.10.10-py2.py3-none-any.whl
.
File metadata
- Download URL: OctoPrint_PiSupport-2023.10.10-py2.py3-none-any.whl
- Upload date:
- Size: 35.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb54d81334252d2fa9dd59bb7caaa4b641345656f9e8fd8937846af5b2cd1061 |
|
MD5 | b370d0e1cec55f152fd82766e8cd5cf5 |
|
BLAKE2b-256 | 8e0e225914d502a7fff027fe127f78b65f62fe6cb2e9febf81f8471ac4b19dd2 |