# SJ-201 Interface
Contains Python bindings for released versions of the SJ201 using
[Mycroft testing code](https://github.com/MycroftAI/mark-ii-hardware-testing)
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
Raw data
{
"_id": null,
"home_page": "https://github.com/NeonGeckoCom/sj201-interface",
"name": "sj201-interface",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Neongecko",
"author_email": "developers@neon.ai",
"download_url": "",
"platform": null,
"description": "# SJ-201 Interface\nContains Python bindings for released versions of the SJ201 using \n[Mycroft testing code](https://github.com/MycroftAI/mark-ii-hardware-testing)\nfor reference.\n\n# CLI Usage\n\n## `sj201 get-revision`\nGet a string representation of the detected SJ201 board (`6` or `10`) or `0`\n\n## `sj201 reset-led <color>`\nChase the specified color and then chase off LED ring. Valid colors are:\n- white\n- yellow\n- red\n- green\n- blue\n- magenta\n- burnt_orange\n- mycroft_red\n- mycroft_green\n- mycroft_blue\n>*NOTE*: On the SJ201R10, this command must be run as root\n\n## `sj201 set-fan-speed <percent>`\nSet the fan speed to the specified speed as a percentage.\n>*NOTE*: On the SJ201R10, changing the fan speed is currently not persistent and\n> the fan will default to 100% after momentarily setting the requested speed.\n> Setting speed to 0 will turn off the fan until the Raspberry Pi is shut down,\n> at which point the fan will resume 100%.\n\n## `sj201 init-ti-amp`\nPerform boot time initialization of the TAS5806 Audio Amplifier\n\n## `sj201 patch-config-txt`\nPerform one-time update of config.txt for detected SJ201 hardware.\n>*NOTE*: Applying this could cause damage or unexpected behavior for connected\n> HATs/GPIO components.\n\n>*NOTE*: `reboot` will cause kernel panics unless power is physically disconnected\n\n\n",
"bugtrack_url": null,
"license": "BSD-3",
"summary": "SJ201 Interface",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/NeonGeckoCom/sj201-interface"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "470bf53a863d170b99d54833119c5098e5865c26324583baf9a4db1c852ebab7",
"md5": "5f90515fd7f0d42a01bc2453325053c2",
"sha256": "e44cc40ce4cc4172d941afc915e19f980bc88abb5ab82d94618697bb886fd014"
},
"downloads": -1,
"filename": "sj201_interface-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5f90515fd7f0d42a01bc2453325053c2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 26781,
"upload_time": "2022-11-09T19:57:29",
"upload_time_iso_8601": "2022-11-09T19:57:29.023493Z",
"url": "https://files.pythonhosted.org/packages/47/0b/f53a863d170b99d54833119c5098e5865c26324583baf9a4db1c852ebab7/sj201_interface-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-11-09 19:57:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NeonGeckoCom",
"github_project": "sj201-interface",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "sj201-interface"
}