Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teramesh-hardware-tester-0.6.0.tar.gz (43.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teramesh_hardware_tester-0.6.0-py2.py3-none-any.whl (48.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file teramesh-hardware-tester-0.6.0.tar.gz.

File metadata

  • Download URL: teramesh-hardware-tester-0.6.0.tar.gz
  • Upload date:
  • Size: 43.1 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

Hashes for teramesh-hardware-tester-0.6.0.tar.gz
Algorithm Hash digest
SHA256 824fcb242702c2715bb0383f453ca0ceb4cc4ea74e6060992d34c3913bd4db1b
MD5 69ecf1484d30a4a406b33b690901f2cb
BLAKE2b-256 d560d5a4a3532d222a793a88a7213aa5c9c2e12112a902629052e94e3fde9c07

See more details on using hashes here.

File details

Details for the file teramesh_hardware_tester-0.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: teramesh_hardware_tester-0.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 48.7 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

Hashes for teramesh_hardware_tester-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 43dbfe31adb1b4bfb68ca8ae2474373c2c661003911f0e1b59472cbb6cb48285
MD5 495685bfd50f98129ccac893715eca61
BLAKE2b-256 6d19f0effd354be59d18139998636aa65a28e25c0b8c9ca4d8490a3fd7437a38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page