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
Metadata
Release files for witrn-driver 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| witrn_driver-0.1.2.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| witrn_driver-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.3 kB
Release files / witrn_driver-0.1.2.tar.gz
| Download URL | witrn_driver-0.1.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ab3caefbd213653501a0c4784b866b42c899d0698b858d671fa7de264ce6296
|
|
BLAKE2b-256 checksum How to use checksums |
713cff4e1933bbd54577003eab4df4647ab39c68ad9a9f9a4bb7f9f3c4bbb001
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|
Release files / witrn_driver-0.1.2-py3-none-any.whl
| Download URL | witrn_driver-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec1790e2e41971f26fdafed03809f641d3b1045efdba9083ec3e200bed546eaf
|
|
BLAKE2b-256 checksum How to use checksums |
ff06fe8a743bc1bf059142373f4136abf9a048cedd3900757971ae3564fa382a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|