Driver for reading data from modern WITRN meters
Project description
WITRN driver
Driver for reading data from modern WITRN USB-meters such as U3, U3L, A2, and C4 (tested). A2L and C4L can also be supported theoretically but I don't have hardware for testing.
Supported hardware
- Tested by community:
- Not tested bot probably should works:
Installation
Available on PyPI:
pip install witrn-driver
Driver can be installed as python package
using pip install -e for local development.
Related projects
Examples
Sample output of exmaples/read_data.py:
Connect your device and press Enter
No kernel driver attached
Claimed device
Press Enter to stop reading
packets | rectime | uptime | V A | D+ D-
23755 | 0:03:57.074 | 3:10:55.199 | 5.158 0.004 | 2.717 2.706
Good bye!
Limitations
Note! For Windows users, if you see message Device not found! when device is
actually connected, try use zadig
utility and replace the default driver for your WITRN device to libusb-*.
Note! For Linux users, to run this script under non-root user install udev rules:
$ sudo install --mode=0644 --target-directory=/etc/udev/rules.d/ udev/90-usbmeter.rules
$ sudo udevadm trigger
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 witrn_driver-0.1.2.tar.gz.
File metadata
- Download URL: witrn_driver-0.1.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ab3caefbd213653501a0c4784b866b42c899d0698b858d671fa7de264ce6296
|
|
| MD5 |
6b98d90ec08337533e1012c93a0fcfa5
|
|
| BLAKE2b-256 |
713cff4e1933bbd54577003eab4df4647ab39c68ad9a9f9a4bb7f9f3c4bbb001
|
File details
Details for the file witrn_driver-0.1.2-py3-none-any.whl.
File metadata
- Download URL: witrn_driver-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec1790e2e41971f26fdafed03809f641d3b1045efdba9083ec3e200bed546eaf
|
|
| MD5 |
115b2e57056814d9d7a9821c10284495
|
|
| BLAKE2b-256 |
ff06fe8a743bc1bf059142373f4136abf9a048cedd3900757971ae3564fa382a
|