you were right... changed the binding...

cat realtime.txt
03.08.20 16:58:00 19.3 83 16.4 2.7 2.9 320 0.0 2.6 1011.2 NW 1 km/h C hPa 
mm 37.3 -1.0 10.6 216.3 8.0 26.1 56 19.3 2.3 19.2 16:56 16.4 04:44 7.2 
13:40 14.2 13:30 1013.2 00:02 1011.1 16:52 4.1.1 0 8.7 19.9 24.2 NULL NULL 
NULL 298 0.0 0 1 0 WNW 438 m 20.8 11.5 496.3 0

David Schulz schrieb am Montag, 3. August 2020 um 16:55:29 UTC+2:

> It's Davis Vantage Vue with Weatherlink Live and the  Weatherlink Live UDP 
> driver. 
>
> gjr80 schrieb am Montag, 3. August 2020 um 16:32:25 UTC+2:
>
>> Hi,
>>
>> No, likely you have not forgottten anything. You have bound crt to loop 
>> and chances are your station provides what are known as partial packets, ie 
>> each loop packet does not contain all observations, so when the crt service 
>> receives a loop packet it does not have values for all obs and those that 
>> are missing are None/NULL etc. If that is the case you essentially have 
>> three choices; change your binding from loop to archive but then crt will 
>> only generate files every archive interval, you can live with it or get 
>> another station that does not have partial packets. What station do you 
>> have ?
>>
>> Gary
>>
>> On Monday, 3 August 2020 23:03:05 UTC+10, David Schulz wrote:
>>>
>>> hi,
>>>
>>> i've installed the crt <https://github.com/weewx/weewx/wiki/crt> plugin. 
>>> works fine, looks good, but i didn't get the right data for some values.
>>>
>>> here an example.
>>>
>>> 03.08.20 13:52:49 NULL NULL NULL 4.0 4.1 278 0.0 2.6 NULL W 1 km/h C hPa 
>>> mm 26.6 NULL 10.6 216.3 8.0 NULL NULL NULL NULL 18.4 01:38 16.4 04:44 7.2 
>>> 13:40 14.2 13:30 1013.2 00:02 1012.0 05:40 4.1.1 0 9.4 NULL NULL NULL NULL 
>>> NULL 290 0.0 0 1 0 WNW NULL m NULL 8.4 825.2 0
>>> <?xml version="1.0" encoding="ISO-8859-15" ?> <maintag> <misc><data 
>>> misc="refresh_time">2020.08.03. 141659</data></misc> <misc><data 
>>> misc="forecast_nr">0</data></misc> <realtime><data 
>>> misc="winddir">357</data></realtime> <realtime><data 
>>> misc="location">Siewisch</data></realtime> <realtime><data 
>>> realtime="forecast_text">None</data></realtime> <realtime><data 
>>> realtime="sunrise">1596425366.0382288</data></realtime> <realtime><data 
>>> realtime="sunset">1596480492.8021495</data></realtime> <realtime><data 
>>> realtime="temp">None</data></realtime> <realtime><data 
>>> realtime="intemp">None</data></realtime> <realtime><data 
>>> realtime="hum">None</data></realtime> <realtime><data 
>>> realtime="inhum">None</data></realtime> <realtime><data 
>>> realtime="press">None</data></realtime> <realtime><data 
>>> realtime="presstrendval">None</data></realtime> <realtime><data 
>>> realtime="dew">None</data></realtime> <realtime><data 
>>> realtime="current_rainfall">0.0</data></realtime> <realtime><data 
>>> realtime="last_hour_rainfall">0.0</data></realtime> <realtime><data 
>>> realtime="avg_windspeed">3.0094732800000004</data></realtime> 
>>> <realtime><data realtime="high_windgust">11.55508992</data></realtime> 
>>> <realtime><data realtime="windunit">km/h</data></realtime> <realtime><data 
>>> realtime="wchill">None</data></realtime> <realtime><data 
>>> realtime="avg_dir">NNW</data></realtime> <realtime><data 
>>> today="today_temp_high">18.444444444444443</data></realtime> 
>>> <realtime><data today="today_temp_low">16.444444444444443</data></realtime> 
>>> <realtime><data 
>>> today="today_press_high">1013.1547394414431</data></realtime> 
>>> <realtime><data 
>>> today="today_press_low">1011.9741238332268</data></realtime> 
>>> <realtime><data today="today_hour_rainfall">0.0</data></realtime> 
>>> <realtime><data today="today_rainfall">2.5999999999999996</data></realtime> 
>>> <realtime><data today="today_max_windspeed">7.18572096</data></realtime> 
>>> <realtime><data 
>>> today="today_max_windgust">14.178320640000003</data></realtime> 
>>> <realtime><data 
>>> yesterday="yesterday_rainfall">7.999999999999992</data></realtime> 
>>> </maintag> Aug 3 14:12:20 pi2 weewx[1284] DEBUG weewx.engine: Finished 
>>> loading service user.crt.CumulusRealTime Aug 3 14:15:41 pi2 weewx[1700] 
>>> DEBUG weewx.engine: Loading service user.crt.CumulusRealTime Aug 3 14:15:41 
>>> pi2 weewx[1700] INFO user.crt: service version is 0.21 Aug 3 14:15:41 pi2 
>>> weewx[1700] INFO user.crt: realtime txt output goes to 
>>> /var/ram/realtime.txt Aug 3 14:15:41 pi2 weewx[1700] INFO user.crt: 
>>> realtime xml output goes to /var/ram/realtime.xml Aug 3 14:15:41 pi2 
>>> weewx[1700] INFO user.crt: 'None' values will be displayed as NULL Aug 3 
>>> 14:15:41 pi2 weewx[1700] INFO user.crt: units will be displayed as METRIC 
>>> Aug 3 14:15:41 pi2 weewx[1700] INFO user.crt: pressure units will be 
>>> displayed as hPa Aug 3 14:15:41 pi2 weewx[1700] INFO user.crt: temperature 
>>> units will be displayed as degree_C Aug 3 14:15:41 pi2 weewx[1700] INFO 
>>> user.crt: wind units will be displayed as km_per_hour Aug 3 14:15:41 pi2 
>>> weewx[1700] INFO user.crt: cloudbase units will be displayed as meter Aug 3 
>>> 14:15:41 pi2 weewx[1700] INFO user.crt: zambretti forecast: False Aug 3 
>>> 14:15:41 pi2 weewx[1700] INFO user.crt: binding is loop Aug 3 14:15:41 pi2 
>>> weewx[1700] DEBUG weewx.engine: Finished loading service 
>>> user.crt.CumulusRealTime 
>>>
>>> and here the part from the config. yes i forced metric values, a lot. ;-)
>>> # Options for extension 'crt' [CumulusRealTime] 
>>>  filename = /var/ram/realtime.txt 
>>>  unit_system = METRIC 
>>>  wind_units = km_per_hour 
>>>  pressure_units = hPa 
>>> cloudbase_units = meter 
>>>  date_separator = "." 
>>>  temperature_units = degree_C 
>>>
>>> # weewxd --version && lsb_release -a && uname -a 4.1.1 No LSB modules 
>>> are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 
>>> (buster) Release: 10 Codename: buster Linux pi2.fu110.de 5.4.51-v7+ 
>>> #1327 SMP Thu Jul 23 10:58:46 BST 2020 armv7l GNU/Linux
>>>
>>> Have I forgotten something?
>>>
>>

-- 
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/f2d30c2a-19f4-4747-9fd1-919b4073b341n%40googlegroups.com.

Reply via email to