On Saturday, August 27, 2016 at 6:42:53 AM UTC-4, Ulrik wrote: > > Hi again > It seems that I answered my question mysefl > When running the command with sudo it works and displays all data >
ulrik, you should download the latest driver for te923 and replace your local copy with it: https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/drivers/te923.py as of 27 august, the latest te923 driver is version 0.18. see this thread for details: https://groups.google.com/forum/#!topic/weewx-user/sj4lP5Q5OEo However still the question, how do set permissions for the usb? > either run the weewx commands as root, or make a udev rule that sets the permissions on the usb. for udev rule, put something like this in a file /etc/udev/rules.d/te923.rules ATTRS{idVendor}=="1130", ATTRS{idProduct}=="6801", MODE="0664", GROUP="wxuser" then run weewx commands as someone in the wxuser group. on some operating systems you might have to add a RUN option that unbinds the weatherstation as a HID usb device: ATTRS{idVendor}=="1130", ATTRS{idProduct}=="6801", MODE="0664", GROUP="wxuser", RUN="/bin/sh -c 'echo -n $id:1.0 > /sys/bus/usb/drivers/usbhid/unbind'" dennis figured out this bit, but it is still not clear exactly which systems need the unbind. https://www.aroundmyroom.com/2016/07/17/weatherstation-and-te923-usb-issues-on-a-raspberry-pi/ > How to turn off the historical download see tread about that? > weewx will read the historical records only if they are more recent than the latest archive record in the weewx database. be sure that the station clock is set to the correct time, and be sure that your computer clock is set to the correct time. m -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
