null-none / dymo-scale

Reading information from Dymo USB scale.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reading information from Dymo USB scale.

Install

# sudo apt-get install python libusb-1.0-0
# touch /etc/udev/rules.d/99-garmin.rules
# echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0922", ATTR{idProduct}=="8003", MODE="666"' > /etc/udev/rules.d/99-garmin.rules
pip install dymo-scale

Example

from dymo import scale

usb = scale.USB(vendor_id=0x0922, product_id=0x8003)
print(usb.get_weight())
Donation

image

About

Reading information from Dymo USB scale.

License:MIT License


Languages

Language:Python 100.0%