On Saturday, September 10, 2016 at 12:53:50 PM UTC-4, Andy Harrold wrote:
>
> Directly into the Pi USB port
>>
>>
>>
andy, 

please try with the station plugged in to a powered usb hub.  the usb on 
rpi is notoriously flaky.

it is possible that the timeout is due to the usb not being ready, but to 
determine whether that is the case, you must try the steps below.

this is the procedure for diagnosing te923 problems.  there is no reason to 
try step 2 unless step 1 works, and so on.  they should be repeatable - you 
should be able to do step 1 five times in a row, and it should work every 
time.

as you run the commands, monitor the log, e.g., 

sudo tail -f /var/log/syslog

0) be sure the device is attached

lsusb
Bus 002 Device 005: ID 1130:6801 Tenx Technology, Inc.

1) run the driver directly to get current readings, as root:

cd /home/weewx
PYTHONPATH=bin python bin/weewx/drivers/te923.py --readings

2) run the driver directly to get historical records, as root:

cd /home/weewx
PYTHONPATH=bin python bin/weewx/drivers/te923.py --records=5

3) run weewx directly

cd /home/weewx
sudo bin/weewxd weewx.conf

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.

Reply via email to