Updated the driver, thanks for that. Windspeed/-gust is much better now.
However, I see some differences in the windgust, when it is within a
UDP-packet and when it's within a current-condition-packet. Some piece of
syslog, where I highlighted the difference in values. For what I
understand, windgust is the max speed that occured in the last 2 minutes.
So I expect it to be the same when it's getting reported by UDP and
current-conditions, at least within a timespan of two minutes...
Jul 5 01:10:23 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904223, 'usUnits': 17, 'outTemp': 18.11,
'outHumidity': 97.0, 'dewpoint': 17.61, 'heatindex': 19.06, 'windchill':
17.17, 'windSpeed': 3.58, 'windDir': 229, '*windGust': 6.71*,
'windGustDir': 224, 'barometer': 1009.89, 'pressure': 1009.49, 'rain': 0.0,
'rainRate': 0.0, 'inTemp': 21.5, 'inHumidity': 71.1, 'inDewpoint': 16.06}:
Jul 5 01:10:23 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:23 CEST (1593904223)
Jul 5 01:10:26 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:26 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:26 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904225, 'usUnits': 17, 'windSpeed': 4.02,
'windDir': 229,* 'windGust': 7.15,* 'windGustDir': 249, 'rain': 0.0,
'rainRate': 0.0}:
Jul 5 01:10:26 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:25 CEST (1593904225)
Jul 5 01:10:28 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:28 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:28 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904228, 'usUnits': 17, 'windSpeed': 5.36,
'windDir': 217, *'windGust': 7.15**,* 'windGustDir': 249, 'rain': 0.0,
'rainRate': 0.0}:
Jul 5 01:10:28 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:28 CEST (1593904228)
Jul 5 01:10:31 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:31 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:31 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904230, 'usUnits': 17, 'windSpeed': 5.81,
'windDir': 232, 'windGust': 7.15, 'windGustDir': 249, 'rain': 0.0,
'rainRate': 0.0}:
Jul 5 01:10:31 ubuntu weewx[4508] DEBUG urllib3.connectionpool: Starting
new HTTP connection (1): 192.168.2.33:80
Jul 5 01:10:31 ubuntu weewx[4508] DEBUG urllib3.connectionpool:
http://192.168.2.33:80 "GET /v1/current_conditions HTTP/1.1" 200 None
Jul 5 01:10:31 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:30 CEST (1593904230)
Jul 5 01:10:31 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:31 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:31 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904230, 'usUnits': 17, 'outTemp': 18.11,
'outHumidity': 97.0, 'dewpoint': 17.61, 'heatindex': 19.06, 'windchill':
17.17, 'windSpeed': 5.81, 'windDir': 232,* 'windGust': 6.71*,
'windGustDir': 224, 'barometer': 1009.89, 'pressure': 1009.49, 'rain': 0.0,
'rainRate': 0.0, 'inTemp': 21.5, 'inHumidity': 71.1, 'inDewpoint': 16.06}:
Jul 5 01:10:31 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:30 CEST (1593904230)
Jul 5 01:10:33 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:33 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:33 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904233, 'usUnits': 17, 'windSpeed': 5.36,
'windDir': 225, *'windGust': 7.15*, 'windGustDir': 249, 'rain': 0.0,
'rainRate': 0.0}:
Jul 5 01:10:33 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:33 CEST (1593904233)
Jul 5 01:10:36 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:36 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:36 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904235, 'usUnits': 17, 'windSpeed': 4.02,
'windDir': 225, *'windGust': 7.15*, 'windGustDir': 249, 'rain': 0.0,
'rainRate': 0.0}:
Jul 5 01:10:36 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:35 CEST (1593904235)
Jul 5 01:10:38 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:38 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:38 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904238, 'usUnits': 17, 'windSpeed': 3.58,
'windDir': 227, *'windGust': 7.15*, 'windGustDir': 249, 'rain': 0.0,
'rainRate': 0.0}:
Jul 5 01:10:38 ubuntu weewx[4508] DEBUG urllib3.connectionpool: Starting
new HTTP connection (1): 192.168.2.33:80
Jul 5 01:10:38 ubuntu weewx[4508] DEBUG urllib3.connectionpool:
http://192.168.2.33:80 "GET /v1/current_conditions HTTP/1.1" 200 None
Jul 5 01:10:38 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:38 CEST (1593904238)
Jul 5 01:10:38 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:38 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:38 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904238, 'usUnits': 17, 'outTemp': 18.11,
'outHumidity': 96.9, 'dewpoint': 17.61, 'heatindex': 19.06, 'windchill':
17.17, 'windSpeed': 3.58, 'windDir': 227, *'windGust': 6.71*,
'windGustDir': 224, 'barometer': 1009.89, 'pressure': 1009.49, 'rain': 0.0,
'rainRate': 0.0, 'inTemp': 21.5, 'inHumidity': 71.1, 'inDewpoint': 16.06}:
Jul 5 01:10:38 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:38 CEST (1593904238)
Jul 5 01:10:41 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:41 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:41 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904240, 'usUnits': 17, 'windSpeed': 3.58,
'windDir': 227,* 'windGust': 7.15*, 'windGustDir': 249, 'rain': 0.0,
'rainRate': 0.0}:
Jul 5 01:10:41 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:40 CEST (1593904240)
Jul 5 01:10:43 ubuntu weewx[4508] DEBUG user.WLLDriver: Rain this period:
0.0
Jul 5 01:10:43 ubuntu weewx[4508] DEBUG user.WLLDriver: Set Previous
period rain to: 3
Jul 5 01:10:43 ubuntu weewx[4508] DEBUG user.WLLDriver: Packet received
from WLL module {'dateTime': 1593904243, 'usUnits': 17, 'windSpeed': 3.58,
'windDir': 213,* 'windGust': 7.15*, 'windGustDir': 249, 'rain': 0.0,
'rainRate': 0.0}:
Jul 5 01:10:43 ubuntu weewx[4508] INFO weewx.restx: MQTT: Published record
2020-07-05 01:10:43 CEST (1593904243)
Op zaterdag 4 juli 2020 om 18:09:42 UTC+2 schreef [email protected]:
> Thank you !
>
> I'm very stupid ahah, this is an error that I put on code ! I push to my
> git a fix to windSpeed and windGust.
>
> For others sensors, I make this change this we.
>
> Le samedi 4 juillet 2020 à 17:41:33 UTC+2, [email protected] a écrit :
>
>> Jul 4 17:39:37 ubuntu weewx[20924] DEBUG user.WLLDriver: Packet received
>> from WLL module {'dateTime': 1593877175, 'usUnits': 17, 'windSpeed': 5.36,
>> 'windDir': 210, 'windGust': 8.05, 'windGustDir': 211, 'rain': 0.0,
>> 'rainRate': 0.0}:
>> Jul 4 17:39:37 ubuntu weewx[20924] INFO weewx.restx: MQTT: Published
>> record 2020-07-04 17:39:35 CEST (1593877175)
>> Jul 4 17:39:40 ubuntu weewx[20924] DEBUG user.WLLDriver: Rain this
>> period: 0.0
>> Jul 4 17:39:40 ubuntu weewx[20924] DEBUG user.WLLDriver: Set Previous
>> period rain to: 0
>> Jul 4 17:39:40 ubuntu weewx[20924] DEBUG user.WLLDriver: Packet received
>> from WLL module {'dateTime': 1593877178, 'usUnits': 17, 'windSpeed': 4.47,
>> 'windDir': 217, 'windGust': 8.05, 'windGustDir': 211, 'rain': 0.0,
>> 'rainRate': 0.0}:
>> Jul 4 17:39:40 ubuntu weewx[20924] DEBUG urllib3.connectionpool:
>> Starting new HTTP connection (1): 192.168.2.33:80
>> Jul 4 17:39:40 ubuntu weewx[20924] DEBUG urllib3.connectionpool:
>> http://192.168.2.33:80 "GET /v1/current_conditions HTTP/1.1" 200 None
>> Jul 4 17:39:40 ubuntu weewx[20924] INFO weewx.restx: MQTT: Published
>> record 2020-07-04 17:39:38 CEST (1593877178)
>> Jul 4 17:39:40 ubuntu weewx[20924] DEBUG user.WLLDriver: Rain this
>> period: 0.0
>> Jul 4 17:39:40 ubuntu weewx[20924] DEBUG user.WLLDriver: Set Previous
>> period rain to: 0
>> Jul 4 17:39:40 ubuntu weewx[20924] DEBUG user.WLLDriver: Packet received
>> from WLL module {'dateTime': 1593877178, 'usUnits': 17, 'outTemp': 17.33,
>> 'outHumidity': 93.3, 'dewpoint': 16.22, 'heatindex': 18.06, 'windchill':
>> 15.72, 'windSpeed': 10.0, 'windDir': 217, 'windGust': 14.0, 'windGustDir':
>> 213, 'barometer': 1012.67, 'pressure': 1012.26, 'rain': 0.0, 'rainRate':
>> 0.0, 'inTemp': 22.61, 'inHumidity': 63.2, 'inDewpoint': 15.28}:
>> Jul 4 17:39:40 ubuntu weewx[20924] INFO weewx.restx: MQTT: Published
>> record 2020-07-04 17:39:38 CEST (1593877178)
>> Jul 4 17:39:42 ubuntu weewx[20924] DEBUG user.WLLDriver: Rain this
>> period: 0.0
>> Jul 4 17:39:42 ubuntu weewx[20924] DEBUG user.WLLDriver: Set Previous
>> period rain to: 0
>> Jul 4 17:39:42 ubuntu weewx[20924] DEBUG user.WLLDriver: Packet received
>> from WLL module {'dateTime': 1593877180, 'usUnits': 17, 'windSpeed': 4.47,
>> 'windDir': 204, 'windGust': 8.05, 'windGustDir': 211, 'rain': 0.0,
>> 'rainRate': 0.0}:
>> Jul 4 17:39:42 ubuntu weewx[20924] INFO weewx.restx: MQTT: Published
>> record 2020-07-04 17:39:40 CEST (1593877180)
>> Jul 4 17:39:45 ubuntu weewx[20924] DEBUG user.WLLDriver: Rain this
>> period: 0.0
>> Jul 4 17:39:45 ubuntu weewx[20924] DEBUG user.WLLDriver: Set Previous
>> period rain to: 0
>> Jul 4 17:39:45 ubuntu weewx[20924] DEBUG user.WLLDriver: Packet received
>> from WLL module {'dateTime': 1593877183, 'usUnits': 17, 'windSpeed': 3.58,
>> 'windDir': 214, 'windGust': 8.05, 'windGustDir': 211, 'rain': 0.0,
>> 'rainRate': 0.0}:
>> Jul 4 17:39:45 ubuntu weewx[20924] INFO weewx.restx: MQTT: Published
>> record 2020-07-04 17:39:43 CEST (1593877183)
>>
>> MySQL-output latest 5 records
>> mysql> select
>> datetime,from_unixtime(datetime),outtemp,windspeed,windgust,radiation,uv,et,rain,extratemp1
>>
>> from archive order by datetime desc limit 5;
>>
>> +------------+-------------------------+-------------------+-------------------+----------+-----------+------+------+------+------------+
>>
>> | datetime | from_unixtime(datetime) | outtemp |
>> windspeed | windgust | radiation | uv | et | rain | extratemp1 |
>>
>> +------------+-------------------------+-------------------+-------------------+----------+-----------+------+------+------+------------+
>> | 1593877200 | 2020-07-04 17:40:00 | 17.33 |
>> 5.195454545454546 | 14 | NULL | NULL | NULL | 0 | NULL |
>> | 1593877140 | 2020-07-04 17:39:00 | 17.30857142857143 |
>> 4.514193548387096 | 15 | NULL | NULL | NULL | 0 | NULL |
>> | 1593877080 | 2020-07-04 17:38:00 | 17.33 |
>> 6.058125000000001 | 15 | NULL | NULL | NULL | 0 | NULL |
>> | 1593877020 | 2020-07-04 17:37:00 | 17.33 |
>> 6.1765625 | 17 | NULL | NULL | NULL | 0 | NULL |
>> | 1593876960 | 2020-07-04 17:36:00 | 17.33 |
>> 6.4096875 | 18 | NULL | NULL | NULL | 0 | NULL |
>>
>> +------------+-------------------------+-------------------+-------------------+----------+-----------+------+------+------+------------+
>>
>> 5 rows in set (0.00 sec)
>>
>>
>>
>> Op zaterdag 4 juli 2020 om 15:40:52 UTC+2 schreef [email protected]:
>>
>>> Hm it's strange because you show that the packet including value for
>>> Wind and Rain....
>>>
>>> On syslog, can you share packet where all sensor are display.
>>>
>>> Thank you
>>>
>>
--
You received this message because you are subscribed to the Google Groups
"weewx-development" 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-development/43e7b80a-3187-4605-9ea6-1fc374629858n%40googlegroups.com.