Le vendredi 6 décembre 2019 15:42:07 UTC+1, mwall a écrit :
>
> did you have root permissions when you invoked wee_device?
>
> you can try connecting directly with the driver:
>
> sudo PYTHONPATH=/usr/share/weewx python 
> /usr/share/weewx/weewx/drivers/ws23xx.py --readings
>
> to see all the options:
>
> sudo PYTHONPATH=/usr/share/weewx python 
> /usr/share/weewx/weewx/drivers/ws23xx.py --help
>
> typical problems with this weather station include:
>
> * permissions - be sure to use sudo when connecting to the port, or create 
> a udev rule that grants permissions to non-root users
>
> * poor signal strength (only when using wireless mode)
>
> * buggy libusb/serial in the operating system (typically in older rpi 
> systems)
>
> m
>

To be sur i did it again :
#sudo PYTHONPATH=/usr/share/weewx python 
/usr/share/weewx/weewx/drivers/ws23xx.py --readings
Traceback (most recent call last):
  File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 2120, in <module>
    data = s.get_raw_data(SENSOR_IDS)
  File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 797, in get_raw_data
    raw_data = read_measurements(self.ws, measures)
  File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 2037, in 
read_measurements
    nybbles = ws2300.read_batch(batches)
  File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 1201, in read_batch
    self.reset_06()
  File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 1070, in reset_06
    raise self.Ws2300Exception(msg)
__main__.Ws2300Exception: Reset failed, 100 retries, no response


The station is wired connected.


Solution : buggy libusb/serial in the operating system (typically in older 
rpi systems) ???
#uname -a
Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 
armv7l GNU/Linux


-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e7771ddb-2711-4890-bad4-2a8e9fad4af6%40googlegroups.com.

Reply via email to