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
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 Distributions
Built Distribution
File details
Details for the file sj201_interface-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: sj201_interface-0.0.2-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e44cc40ce4cc4172d941afc915e19f980bc88abb5ab82d94618697bb886fd014 |
|
MD5 | 5f90515fd7f0d42a01bc2453325053c2 |
|
BLAKE2b-256 | 470bf53a863d170b99d54833119c5098e5865c26324583baf9a4db1c852ebab7 |