Skip to main content

Provides additional information about your Pi in the UI

Reason this release was yanked:

Broken update configuration

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 from vcgencmd get_throttled
  • current_undervolate: Whether there is currently an undervoltage condition
  • past_undervoltage: Whether there has been an undervoltage condition since last boot
  • current_overheat: Whether there is currently an overheat condition
  • past_overheat: Whether there has been an overheat condition since last boot
  • current_issue: Whether there is currently an undervoltage or overheat condition
  • past_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

OctoPrint-PiSupport-2021.3.26.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

OctoPrint_PiSupport-2021.3.26-py2.py3-none-any.whl (29.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file OctoPrint-PiSupport-2021.3.26.tar.gz.

File metadata

  • Download URL: OctoPrint-PiSupport-2021.3.26.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.0

File hashes

Hashes for OctoPrint-PiSupport-2021.3.26.tar.gz
Algorithm Hash digest
SHA256 26f80ca996d6f9d93199c0f2254a60c97fbc498a8ce27e5b948a722a88bf8902
MD5 fc0e32dae249dcf80ea8566299e6327f
BLAKE2b-256 20a1948bcac57ae2eff0cf2a9701c0a771457ed644b8cfd84a341ecd52a2d2d1

See more details on using hashes here.

File details

Details for the file OctoPrint_PiSupport-2021.3.26-py2.py3-none-any.whl.

File metadata

  • Download URL: OctoPrint_PiSupport-2021.3.26-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.0

File hashes

Hashes for OctoPrint_PiSupport-2021.3.26-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e01980f1360372b2403197433de6f386d7034b599a249fe57949b0185d7a8fd
MD5 72a3ecbd6da5e1d99b91154c6476118a
BLAKE2b-256 05f404e92f45d6eb726440f542bc76ebd0a5cc6846e8cec6b67c6f9fe4f2cbda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page