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:
rebootwill cause kernel panics unless power is physically disconnected
Metadata
Release files for sj201-interface 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sj201-interface-0.1.0.tar.gz | 16.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sj201_interface-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.5 kB
Release files / sj201-interface-0.1.0.tar.gz
| Download URL | sj201-interface-0.1.0.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b9984ae462c457351791fd1303fb23eea4c9ee8a9e8dd95fb33f49aafdfd6d8
|
|
BLAKE2b-256 checksum How to use checksums |
376ec54d2e10b99c0da533d09fc0a4ec5b08437991609b15195d881069efa496
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / sj201_interface-0.1.0-py3-none-any.whl
| Download URL | sj201_interface-0.1.0-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f7dd2dd936bddeebb82222f88de698c539b93d97d701c029a63aba90266b4c9
|
|
BLAKE2b-256 checksum How to use checksums |
9b9d864a7df62917dbded71d5c100c0aa38ad59abc7ad2813661c829671b88af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|