how to get cumulus realtime.txt to work
Posted: Tue Sep 14, 2021 7:55 pm
by pd3lkn
hi all any one that can help how tot use the cumulus realtime.txt
in cumulus setup i have setup te realtime.txt to be copy't to the template path
and made a cron job at my provider site :
http://pd3lkn.nl/public_thml/update.php?password=****** to be run every minute
but nothing happening when i log in to my site and look for the live data everything is standing om 0.0 temp wind ect.
when i want to run te update.php manualy i get this from my browser : The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
And when i test the cumulus updat on de admin setup from he template i get this message: Update Test
Update type tested: Cumulus
Loading realtime.txt from /public_html/template...
Unable to load conditions from the path specified. Make sure the file has 'read' permissions and also check the URL directly from the browser. If you cannot get this to work you will need to use alternative URL - use relative path if you specified URL or use URL if you tried relative path. If even this does not help, contact me (Jachym).
who can help me to solve this i'm stuck at the moment

Re: how to get cumulus realtime.txt to work
Posted: Tue Sep 14, 2021 9:22 pm
by davidefa
If you receive that message ( when pressing the Test Cumulus button ) it means that the path to the realtime.txt file is not correct.
In 'Path to realtime' you should set
http://pd3lkn.nl/realtime.txt ( or ../../../realtime.txt )
And rerunning manually the update.php script should work ( you should see that cache/apiLog.txt is updated with the realtime.txt data ).
Once this is ok recheck your cron job and you should be done.
Re: how to get cumulus realtime.txt to work
Posted: Wed Sep 15, 2021 6:45 pm
by pd3lkn
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.