Hi,
Thanks to both of you matthew and andrew for your help.
i agree with you about a problem of usb communication between the weather 
station and the rpi due to whatever unknown yet factor (probably dirty 
power?)
I'll try the following in order to track this problem:

1st. i will connect both the rpi and weather station to an ups
2nd (if problem remain) i'll connect a powered usb hub in between the rpi 
and the weather station even if using a 4 ports usb powered hub to connect 
only one low power usb device is little bit over rated.
3rd if problem still remain i will do an automatic reboot if the weewx 
doesn't store anything in the mysql database for more than 15 minute (3 
data acquisition cycle) either by a bash script or a python script (not 
sure yet)

Unfortunately i do not have any linux computer near by the weather station 
console to setup weewx on a different platform. my linux server is located 
in an other building to fare away from the weather station sensor to have 
enough radio signal for the weather station console

About my experience with UPS. when connecting on the power line UPS does 
not really clean the power and when working off line have a tendency to add 
more noise than the powered line. I experienced that as musician doing 
audio recording in dirty environment. it's depend of course of the quality 
of the UPS but i'm using a rpi3 and a cheap weather station to keep the 
cost of the installation low it will not make any sens to have an expensive 
UPS on this setup.  

Thanks again for all the help you already have provided

Marc



On Wednesday, January 18, 2017 at 11:53:17 AM UTC+7, mwall wrote:
>
> marc,
>
> the old fine offset stations are very sensitive to usb voltage, whether or 
> not the station is powered by the usb.  perhaps the wh23xx consoles are 
> sensitive as well.  in my short (1 year) experience with the wh23xx 
> hardware, i find it to be considerably more robust than the 1080/2080 fine 
> offset consoles.  the only time i have seen the wh23xx lock up is when i 
> was doing nasty things to it over usb - never when it was just running 
> along normally.
>
> my guess is that you have dirty power.
>
> most important: put the weather station, usb hub, and pi on a ups.
>
> if you still have failures, then check the hardware (always running on a 
> ups):
>
> try connecting the station directly to the pi instead of via a hub.
>
> try using a different usb hub.
>
> try using the weather station with some other computer (not a pi).
>
> 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