an other test:
def genPackets(self):
""" Generate measurement packets. """
global temp_probe
while True:
start_time = time.time()
while time.time() - start_time <= self.interval:
wind_start_time = time.time()
* print(self.wind_count)*
self.reset_wind()
while time.time()
at the first passage le count is "1" after the second passage in the LOOP
,the counter is "0", and the anemometer runs all time.
pi@raspberrypi:/usr/share/weewx/user $ sudo /usr/share/weewx/weewxd
/etc/weewx/weewx.conf
1
Measuring wind direction for 5 seconds...
0
Measuring wind direction for 5 seconds...
0
Measuring wind direction for 5 seconds...
0
Measuring wind direction for 5 seconds...
0
Measuring wind direction for 5 seconds...
unknown value 0.0
0
Measuring wind direction for 5 seconds...
unknown value 0.0
0
Measuring wind direction for 5 seconds...
0
Measuring wind direction for 5 seconds...
0
Measuring wind direction for 5 seconds...
0
Measuring wind direction for 5 seconds...
0
Measuring wind direction for 5 seconds...
0
Measuring wind direction for 5 seconds...
LOOP: 2019-01-20 16:16:33 CET (1547997393) altimeter: 30.0196782586,
appTemp: 67.2102454284, barometer: 30.0180956338, cloudbase: 6041.88216946,
dateTime: 1547997393, dewpoint: 44.1964855365, heatindex: 68.5576644438,
humidex: 68.5576644438, maxSolarRad: None, outHumidity: 41.445301381,
outTemp: 68.5576644438, pressure: 29.4845788474, rain: 0.011, rainRate:
0.044, soilTemp1: 62.4866, usUnits: 1, windchill: 68.5576644438, windDir:
315.0, windGust: 0.0, windSpeed: 0.0
0
Patrick
On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote:
>
> hello I am a newbie from France ( sorry for my english )
>
> I want to use weewx on a raspberry with a weather station built by myself
> (view on Magpi)
> I don't see my station on your website to configure :
>
> Weather Station Hardware Comparison: I don't found my weather station.
> Do you have a solution or how to configure Weewx
>
> thank you for your help
>
> Patrick
>
--
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.