Skip to content

andrewevansmith/usb-scale-to-keystrokes-fairbanks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

USB Scale to Keystrokes Utility

When ran in the background, this utility will read the data transmitted by a USB scale (tested on a Fairbanks Ultegra) into keystrokes. This was built to help automate a weight-based audit system.

Credit

Features

  • Instantly outputs (as keystrokes) weight of items from a USB scale
  • Currently, only tested on a Fairbanks Ultegra scale.

Requirements

Installation Notes (MacOS)

MacOS (High Sierra) PyUserInput required Quartz

pip install pyusb
pip install PyUserInput
pip install pyobjc-framework-Quartz

Usage

Issue following command in console. This will run the scale script in the background.

    # switch to the directory containing the script
    (sudo) python scale.py &

Further notes and constants can be found in the the script (scale.py)

Support

Please open an issue on GitHub

License

This software is released under the MIT License. See the bundled LICENSE file for details.

About

Reads weight from a USB scale and outputs as keystrokes (tested on Fairbanks Ultegra)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages