add rule to grant USB access rights
parent
ea65456065
commit
2e9cf70688
|
@ -0,0 +1,2 @@
|
|||
# WEB/WIRN/QWay U2 USB power meter
|
||||
SUBSYSTEM=="usb|hidraw", ATTR{idVendor}=="0716", ATTR{idProduct}=="5030", MODE="666"
|
|
@ -13,6 +13,13 @@ then just run `make` and it will output the `u2_usb` binary.
|
|||
run `u2_usb` to get the output in CSV format.
|
||||
run `u2_usb -d` to get the raw and decoded output (useful for reversing and debugging).
|
||||
|
||||
if you get the message "could not open WEB-U2 (make sure it is connected and you have access rights)", then provide access rights to this USB device the following way:
|
||||
~~~
|
||||
sudo cp 99-web-u2.rules /etc/udev/rules.d/
|
||||
sudo udevadm control --reload-rules
|
||||
sudo udevadm trigger
|
||||
~~~
|
||||
and re-plug the device.
|
||||
|
||||
additionally `u2_bt` can send the voltage/current measurements to an InfluxDB time series database over UDP.
|
||||
provide the InfluxDB hostname/IP and UDP port as arguments.
|
||||
|
|
Loading…
Reference in New Issue