Tnx for the tip !!
I think i have a problem in saving the meteotemplatelive.txt
Rain and wind is coming in from weewx but is not written in meteotemplatelive.txt.
Any help, log is attached.
Authorized access.
Current date/time: 2021-05-23 16:03:27
api called by http
update U: 1621778580
update SW: weewx-4.4.0
update T: 8.00
update H: 90.0
update W: 2.20
update G: 2.80
update B: 246
update RR: 0.000
update R: 12.900
update UV: 4
update T2: 10.70
Begin of common part of api script
Start handling live data
Checking if extra sensors should be logged
Extra sensors data to save in db: TIN, HIN, UV, T1, T2
add live data: P: 1016.069
add live data: UGP: 913
add live data: TIN: 22
add live data: HIN: 34
add live data: PTime: 1621778550
add live data: UGPTime: 1621778550
add live data: TINTime: 1621778550
add live data: HINTime: 1621778550
add live data: T1: 13.9
add live data: T1Time: 1621778126
add live data: D: 6.4
add live data: DTime: 1621778550
add live data: A: 7.2
add live data: ATime: 1621778550
calculated D: 6.4
calculated A: 7.2
Save meteotemplateLive.txt: {"U":1621778580,"SW":"weewx-4.4.0","T":8,"H":90,"W":0,"G":0,"B":246,"RR":0,"R":0,"UV":4,"T2":10.7,"UTime":1621778607,"SWTime":1621778607,"TTime":1621778607,"HTime":1621778607,"WTime":1621778607,"GTime":1621778607,"BTime":1621778607,"RRTime":1621778607,"RTime":1621778607,"UVTime":1621778607,"T2Time":1621778607,"P":1016.069,"UGP":913,"TIN":22,"HIN":34,"PTime":1621778550,"UGPTime":1621778550,"TINTime":1621778550,"HINTime":1621778550,"T1":13.9,"T1Time":1621778126,"D":6.4,"DTime":1621778607,"A":7.2,"ATime":1621778607}
Start data parsing
Parsing date; Server time: 2021-05-23 16:03:27
Validating date: 1621778580 (2021-05-23 16:03:00)
Date is valid; difference with server time is -27 s
Parsing temperature
Temperature: 8.00 C
Database units: C
Checking temperature is between limits specified in template Main settings.
Minimum temperature limit: -50 C
Maximum temperature limit: 50 C
Temperature is OK and within the allowed limits
Parsing maximum temperature
Parsing minimum temperature
Parsing humidity
Humidity: 90.0 percent
Checking humidity is between limits specified in template Main settings.
Minimum humidity limit: 0 %
Maximum humidity limit: 100 %
Humidity is OK and within the allowed limits
Parsing wind speed
Wind speed: 0 kmh
Database wind speed units: kmh
Checking wind speed is between limits specified in template Main settings.
Minimum wind speed limit: 0 kmh
Maximum wind speed limit: 120 kmh
Wind speed is OK and within the allowed limits
Parsing wind gust
Wind gust: 0 kmh
Database wind units: kmh
Checking wind gust is between limits specified in template Main settings.
Minimum wind gust limit: 0 kmh
Maximum wind gust limit: 120 kmh
Wind gust is OK and within the allowed limits
Parsing wind direction
Wind direction: 246 degrees
Wind direction is OK and within the allowed limits
Parsing daily cumulative precipitation
Precipitation: 0 mm
Database precipitation units: mm
Checking precipitation is between limits specified in template Main settings.
Minimum precipitation limit: 0 mm
Maximum precipitation limit: 200 mm
Precipitation is OK and within the allowed limits
Parsing rain rate
Rain rate: 0 mm/h
Database rain units: mm/h
Checking rain rate is between limits specified in template Main settings.
Minimum rain rate limit: 0 mm/h
Maximum rain rate limit: 500 mm/h
Rain rate is OK and within the allowed limits
Solar radiation sensor disabled in Main settings - skipping.
Now parsing extra sensors.
Sensor indoor temperature raw value: 22 deg C
Limits for this sensor: 1 to 50
Sensor data within acceptable limits.
Sensor indoor humidity raw value: 34 %
Limits for this sensor: 0.01 to 100
Sensor data within acceptable limits.
Sensor UV raw value: 4
Limits for this sensor: 0 to 20
Sensor data within acceptable limits.
Sensor extra temperature sensor 1 raw value: 13.9 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Sensor extra temperature sensor 2 raw value: 10.70 deg C
Limits for this sensor: -60 to 60
Sensor data within acceptable limits.
Cached data loaded from cache/apiCache.txt.
Parsing pressure
Pressure: 1016.069 hpa
Database pressure units: hpa
Checking pressure is between limits specified in template Main settings.
Minimum pressure limit: 800 hpa
Maximum pressure limit: 1200 hpa
Pressure is OK and within the allowed limits
Pressure is valid.
Calculated dew point: 6.4 C
Dew point ok.
Calculated apparent temperature: 7.2 C
Apparent temperature ok.
End time for database update based on timestamp of first cache data: 2021-05-23 16:01:00
Rounded end time for database update: 2021-05-23 16:05:00
Not yet time to update the db, saving new data to cache/apiCache.txt
Generating log file cache/apiLog.txt
ERRORS:
No max temperature data provided.
No min temperature data provided.
Tnx
Martin