Scripts to test Teramesh hardware.
Project description
Hardware Tester v.0.3-beta
Prerequisites
If on RPi, pip install teramesh-hardware-tester[rpi], otherwise pip install teramesh-hardware-tester.
If NOT on RPi, skip -x test_relays.
List tests
teramesh-hardware-test --no-tests-execute
Run all tests on USB1
teramesh-hardware-test -p /dev/ttyUSB1
Run ONLY test_comms on USB1
teramesh-hardware-test -p /dev/ttyUSB1 -i test_comms
Run everything EXCEPT test_buzz on USB1
teramesh-hardware-test -p /dev/ttyUSB1 -x test_buzz
Hardware Configurer
Used to set mesh config via CLI:
$ teramesh-configure --help
Usage: teramesh-configure [OPTIONS]
Options:
-p, --port TEXT USB port to open serial to. [required]
-b, --baudrate INTEGER Port baudrate.
--router-ssid TEXT [required]
--router-password TEXT [required]
--router-bssid TEXT
--mesh-id TEXT [required]
--mesh-password TEXT [required]
--mesh-type TEXT One of: idle, root, node, leaf, sta.
--channel INTEGER 0 for auto or 1-13 for set channel.
--channel-switch-disable / --no-channel-switch-disable
--router-switch-disable / --no-router-switch-disable
--mqtt-uri TEXT [required]
--help Show this message and exit.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file teramesh-hardware-tester-0.9.0.tar.gz.
File metadata
- Download URL: teramesh-hardware-tester-0.9.0.tar.gz
- Upload date:
- Size: 46.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
861397659b42284260e6b5b58a8269acd9cf1cc056baae61ff072892d6a4ce43
|
|
| MD5 |
7421039267befad763815e2dc642484d
|
|
| BLAKE2b-256 |
9473f5a3b643103fe52a4e3edb22dadcc635111f28f0852aec4d0fb05c632ebd
|
File details
Details for the file teramesh_hardware_tester-0.9.0-py2.py3-none-any.whl.
File metadata
- Download URL: teramesh_hardware_tester-0.9.0-py2.py3-none-any.whl
- Upload date:
- Size: 52.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc49a4e72af5f85e9411b5aa73733a1de64cd1b4a44387aa52236afbc98e1cf6
|
|
| MD5 |
2b797f581d4ad016dfdce0d6a0f1acf7
|
|
| BLAKE2b-256 |
849d7f2555d110d396091b4e98943f3c47ebb29c422aa48eb60478a558f6db69
|