Skip to main content

SJ201 Interface

Project description

SJ-201 Interface

Contains Python bindings for released versions of the SJ201 using Mycroft testing code for reference.

CLI Usage

sj201 get-revision

Get a string representation of the detected SJ201 board (6 or 10) or 0

sj201 reset-led <color>

Chase the specified color and then chase off LED ring. Valid colors are:

  • white
  • yellow
  • red
  • green
  • blue
  • magenta
  • burnt_orange
  • mycroft_red
  • mycroft_green
  • mycroft_blue

NOTE: On the SJ201R10, this command must be run as root

sj201 set-fan-speed <percent>

Set the fan speed to the specified speed as a percentage.

NOTE: On the SJ201R10, changing the fan speed is currently not persistent and the fan will default to 100% after momentarily setting the requested speed. Setting speed to 0 will turn off the fan until the Raspberry Pi is shut down, at which point the fan will resume 100%.

sj201 init-ti-amp

Perform boot time initialization of the TAS5806 Audio Amplifier

sj201 patch-config-txt

Perform one-time update of config.txt for detected SJ201 hardware.

NOTE: Applying this could cause damage or unexpected behavior for connected HATs/GPIO components.

NOTE: reboot will cause kernel panics unless power is physically disconnected

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

sj201-interface-0.0.3a6.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

sj201_interface-0.0.3a6-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file sj201-interface-0.0.3a6.tar.gz.

File metadata

  • Download URL: sj201-interface-0.0.3a6.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sj201-interface-0.0.3a6.tar.gz
Algorithm Hash digest
SHA256 b2060f700d1774557dd0c2f8489d72f1cb4ab6e6675e9c2e1950023c5668d4fe
MD5 411d6fd9ada65d1a6b0d7bf82781b5b4
BLAKE2b-256 07116f0fc4293cda33c1f7b8ccc8abf58f2dde84a1a94932efd51e050df72850

See more details on using hashes here.

File details

Details for the file sj201_interface-0.0.3a6-py3-none-any.whl.

File metadata

File hashes

Hashes for sj201_interface-0.0.3a6-py3-none-any.whl
Algorithm Hash digest
SHA256 ebb96b28afe6d2b3fe25e4a4c0a74c0ce435b0bb9df9acaf316ec5edf4973e78
MD5 ee9561d7feb889cddd056d5977b56780
BLAKE2b-256 640f4f4f9dca24ea09130443a4a4aa13ada850dcb63943012d51daae87aeec08

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