Skip to main content

Hay Hoist Config Tool

Project description

Hay Hoist Configuration Tool

screenshot

Usage

Launch hhconfig utility, enter device console pin if applicable, attach console cable if applicable, then select hoist from devices list.

Current status is displayed on the top line. Use "Down" and "Up" buttons to trigger the hoist. "Load" and "Save" buttons read or write configuration from/to a JSON text file.

Windows

Before launching the config tool in Windows, Bluetooth settings and pairing will need to be complete.

Use the following procedure:

  • Open Bluetooth devices, scroll down to "More Bluetooth options"
  • Select the option "Allow Bluetooth devices to find this PC", and OK
  • Select "Add Bluetooth or other device", and "Bluetooth"
  • for each of the hoists with a Bluetooth serial adapter, select the device and pair, enter passphrase and select done
  • Run hhconfig util

Batch Programming

RS232 connection

  • Open hhconfig utility, enter pin and attach a serial adapter
  • Read desired settings from a saved configuration file
  • For each unit to be updated:
    • Plug serial cable onto console port
    • Wait until status line reports "Device updated"
    • Disconnect serial cable
    • Wait until status line reports "Device disconnected"

Bluetooth connection

  • Open hhconfig utility, enter pin and wait for Bluetooth devices to be discovered
  • Read desired settings from a saved configuration file
  • For each unit to be updated:
    • Select the Hoist device
    • Wait until status line reports "Device updated"

Note: Bluetooth connections may take up to 30 seconds to complete. If an update fails, re-select the hoist device.

Installation

Run python script directly:

$ python hhconfig.py

Install into a venv with pip:

$ python -m venv hh
$ ./hh/bin/pip install hhconfig
$ ./hh/bin/hhconfig

Windows systems without Python already installed, download the self-contained binary (~9MB) and signature:

Check signature with gpg (or equivalent) then unzip and run exe.

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

hhconfig-1.1.2.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

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

hhconfig-1.1.2-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file hhconfig-1.1.2.tar.gz.

File metadata

  • Download URL: hhconfig-1.1.2.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for hhconfig-1.1.2.tar.gz
Algorithm Hash digest
SHA256 85097272ffdfcd454f90abb840a44a2037d12efdc7d12c8e3553bcb0287c5bb6
MD5 50f9c2a7a1fa91b67d6a87b7644513ce
BLAKE2b-256 048175e364749b348f56a4c64fef022808db2c9feda5a808d9199d4ea85555f1

See more details on using hashes here.

File details

Details for the file hhconfig-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: hhconfig-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for hhconfig-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a2f99039cf06c66239bb3a992cf972bca882a638f7444f9f49aa0676dd9441f
MD5 ae80ccc398032adfe917738fe9f62666
BLAKE2b-256 873d596ac7d810fe2c8aecf8a3b80fac937e6a9f597bff1b2340d34f4c29895a

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