OpenShock Auto-Tester 
Automatically test already-flashed OpenShock hubs as they are plugged in: verify their WiFi AP and RF transmitter, optionally factory-reset them, and record every result in one HTML session report. Terminal colors show progress and pass/fail results.
This tool does not flash firmware. To flash hubs (with or without testing), use OpenShock Auto-Flasher.
Install
Requires Python 3.12+, pipx, and a USB connection to your hub. Runs on Linux, macOS, and Windows.
pipx install --force 'git+https://github.com/NanashiTheNameless/OpenShock-AutoTester@main'
For PyPI or source installation, see the advanced guide.
Tests
- WiFi: the host computer scans for the hub's exact
OpenShock-XX:XX:XX:XX:XX:XXAP using its WiFi adapter. Scanning supports Linux, Windows, and macOS. See platform requirements for WiFi services and permissions. - RF: prepare a separate USB tester with a 433 MHz receiver running CaiXianlinRemoteIDMonitor. Follow the tester setup guide.
At least one test is required. Enable either alone by omitting the other flag.
Test hubs
Start the command with hubs disconnected. Plug the RF tester in first, wait for
RF tester detected ...; reserved for testing., then connect hubs one at a time.
Close other serial monitors before testing.
OPSH-AutoTest --test-wifi --test-rf --factory-reset-after-test --alert
The tester checks each newly connected hub and waits for the next one, continuing after a pass or failure. Press Ctrl+C to stop. RF testing checks Beep, Vibrate, and Stop with different IDs; Light and Shock are not transmitted.
Factory reset clears saved hub settings after testing, whether tests pass or fail.
Omit --factory-reset-after-test to keep the settings. Add --board NAME to label
the run in the logs and report.
To test one already-connected hub and exit, add --port /dev/ttyUSB1 (or a
Windows port such as COM3). For an explicit tester port, use
--test-rf-port /dev/ttyUSB0 instead of --test-rf; the hub and tester must use
separate ports.
Session report
One dark-mode HTML file records every hub attempt in the session, including MAC address,
USB serial number when available, and detailed test results.
The file is updated throughout the run, and its path is printed at startup.
Use --report batch.html to choose a filename, or --no-report to disable it.
See report details.
More information
See README-advanced.md for all flags, WiFi scanning, RF validation, Linux permissions, troubleshooting, and development instructions.
For contributions, see CONTRIBUTING.md. Report vulnerabilities using SECURITY.md.
License
Licensed under GNU AGPL-3.0.
Disclaimer
This tool is provided as-is. Use at your own risk. Factory reset erases saved hub settings.
Support My Work
If this project is useful to you, you can support it here:
Metadata
Release files for OpenShock-AutoTester 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openshock_autotester-0.0.1.tar.gz | 49.4 kB | With provenance | Details for openshock_autotester-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openshock_autotester-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for openshock_autotester-0.0.1-py3-none-any.whl |
Total release size: 87.4 kB
Release files / openshock_autotester-0.0.1.tar.gz
| Download URL | openshock_autotester-0.0.1.tar.gz |
|---|---|
| Size | 49.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
676973d72a10f404795ff5d61b76c51426a3f56128e154af518fedcd8e56d358
|
|
BLAKE2b-256 checksum How to use checksums |
be48a187ac875794baa26b062e03bc576518fc4a40096a0aa8846afb9b29ecf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / openshock_autotester-0.0.1-py3-none-any.whl
| Download URL | openshock_autotester-0.0.1-py3-none-any.whl |
|---|---|
| Size | 38.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3d2b5224b163d48058b7f7933c0f9b7773214fb73c843d2cd9d57becd080abd
|
|
BLAKE2b-256 checksum How to use checksums |
c3a1ae17166e367c65ddfe0e1bc79df4d334b106a2ebdb299d7bc0995bf54d21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for OpenShock-AutoTester 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for openshock_autotester-0.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.