Post
by pd3lkn » Wed Sep 15, 2021 6:45 pm
thanks davidefa
the config is oke now
when i run the updat manual is say succes
but when i look at my template site at live and than currend dat everything is stil 0,00
this is the apilog.txt
Handling data from cumulus
update 'SW' = cumulus
update 'U' = 1631723076 (2021-09-15 18:24:36)
update 'T' = 18.6
update 'H' = 75
update 'W' = 14.4
update 'G' = 23.4
update 'B' = 270
update 'P' = 1006.0
update 'R' = 0.0
update 'RR' = 0.0
update 'TIN' = 19.2
update 'HIN' = 72
update 'UV' = 0
update 'S' = 0
update 'SS' = 0.0
Begin of common part of api script
Start handling live data
Checking if extra sensors should be logged
Extra sensor settings file not found.
Extra sensors data to save in db:
Variable too old, remove from meteotemplateLive.txt: SWTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: UTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: TTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: HTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: WTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: GTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: BTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: PTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: RTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: RRTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: TINTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: HINTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: UVTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: STime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: SSTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: DTime: 2021-09-15 06:44:55
Variable too old, remove from meteotemplateLive.txt: ATime: 2021-09-15 06:44:55
calculated D: 14.1
calculated A: 17.1
Save meteotemplateLive.txt: {"SW":"cumulus","U":1631723076,"T":18.6,"H":75,"W":14.4,"G":23.4,"B":270,"P":1006,"R":0,"RR":0,"TIN":19.2,"HIN":72,"UV":0,"S":0,"SS":0,"SWTime":1631730739,"UTime":1631730739,"TTime":1631730739,"HTime":1631730739,"WTime":1631730739,"GTime":1631730739,"BTime":1631730739,"PTime":1631730739,"RTime":1631730739,"RRTime":1631730739,"TINTime":1631730739,"HINTime":1631730739,"UVTime":1631730739,"STime":1631730739,"SSTime":1631730739,"D":14.1,"DTime":1631730739,"A":17.1,"ATime":1631730739}
Start data parsing
Parsing date; Server time: 2021-09-15 20:32:19
Validating date: 1631723076 (2021-09-15 18:24:36)
Date is valid; difference with server time is -7663 s
Parsing temperature
Temperature: 18.6 C
Database units: C
Checking temperature is between limits specified in template Main settings.
Minimum temperature limit: -100 C
Maximum temperature limit: 100 C
Temperature is OK and within the allowed limits
Parsing maximum temperature
Parsing minimum temperature
Parsing humidity
Humidity: 75 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: 14.4 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: 200 kmh
Wind speed is OK and within the allowed limits
Parsing wind gust
Wind gust: 23.4 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: 200 kmh
Wind gust is OK and within the allowed limits
Parsing wind direction
Wind direction: 270 degrees
Wind direction is OK and within the allowed limits
Parsing daily cumulative precipitation
Precipitation: 0.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.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
Parsing solar radiation
Solar radiation: 0 w/m2
Checking solar radiation is between limits specified in template Main settings.
Minimum solar radiation limit: 0 W/m2
Maximum solar radiation limit: 2000 W/m2
Solar radiation is OK and within the allowed limits
No extra sensors set to log to extra alldata table.
Cache file is over 30 minutes old, deleting it.
No cache file found, create empty file.
Parsing pressure
Pressure: 1006.0 hpa
Database pressure units: hpa
Checking pressure is between limits specified in template Main settings.
Minimum pressure limit: 950 hpa
Maximum pressure limit: 1100 hpa
Pressure is OK and within the allowed limits
Pressure is valid.
Calculated dew point: 14.1 C
Dew point ok.
Calculated apparent temperature: 17.1 C
Apparent temperature ok.
End time for database update based on timestamp of current data: 2021-09-15 18:24:36
Rounded end time for database update: 2021-09-15 18:25: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.