API file not find
-
Plaat
- Newbie

- Posts: 5
- Joined: Sun Sep 17, 2023 1:00 pm
- Location: Oosterzee (Friesland) - The Netherlands
- Station model: Davis Vantage Vue
- Software: Meteotemplate
- Contact:
API file not find
I have a problem with the API file in my template. The same code in Papaya works months good. My hardware configuratie is Davis Vantage Vue to house console and Meteobridge Pro Red. This last one gives well the data buth no update to my extene website (Meteotemplate Canberry). I have the the new tempate Canberry after the php problems complete new installed. Now i get in "errorChekker.php" this notice "API file not found. This means your template is not being updated." and nothing is seen in my template (no blocks and no plugins). What is the problem? Have any else this problem? Thanks for help.
-
FSC830
- Forecaster

- Posts: 195
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: API file not find
No, in all of my installations I did not see this problem.
Are you sure, the API file is created and in correct place/folder?
Regards
Are you sure, the API file is created and in correct place/folder?
Regards
-
Plaat
- Newbie

- Posts: 5
- Joined: Sun Sep 17, 2023 1:00 pm
- Location: Oosterzee (Friesland) - The Netherlands
- Station model: Davis Vantage Vue
- Software: Meteotemplate
- Contact:
Re: API file not find
Hi FSC830, i think that the locations are O.K. , the "api.php" file is standard in the ( /......./template/ ) place and the "googleMapsKey.txt" in the install map. Its strange that the key works under the Papaya version and not now under the Cranberry version. Also my MeteoBridge Pro red will not update this "Event".
-
FSC830
- Forecaster

- Posts: 195
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: API file not find
Which "event"' are you talking about?
Me too using a Meteobridge red and do not have any issues with the v19 template.
Can you check, if the file meteotemplateLive.txt is created?
If the file is created (check timestamp) every minute, check next, if the data is transferred into database. Usually every 5min an entry is added.
Regards
Me too using a Meteobridge red and do not have any issues with the v19 template.
Can you check, if the file meteotemplateLive.txt is created?
If the file is created (check timestamp) every minute, check next, if the data is transferred into database. Usually every 5min an entry is added.
Regards
-
davidefa
- Expert

- Posts: 905
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: API file not find
If you check you cache/apiLog.txt ( https://www.plaatinfo.nl/MeteoTemplate/ ... apiLog.txt ) you can see that meteobridge is sending data to your meteotemplate site.
The url of your site is https://www.plaatinfo.nl/MeteoTemplate/ ... esktop.php
Check in the meteotemplate main setup that:
- pageURL = https://www.plaatinfo.nl
- path = /MeteoTemplate/meteotemplate/template/
It should be already so ( as the site main page is loading correctly ).
In cache/apiLog.txt It reports always that no data is saved to the database, but the database contains data starting from 22:45 of today ( https://www.plaatinfo.nl/MeteoTemplate/ ... /graph.php ), which is strange in my opinion
P.S.
I see your meteobridge update rate is set to 5 mins, you could set to 1 min to see if that helps
P.P.S.
I see you set you pressure database unit to mmHg but your minimum/maximum pressure limit are set to 950/1040 ( which are ok for hPa ), so you should change or the min/max value limit or the database pressure unit ( to hPa, which should be the be ok too ), otherwise you pressure data is not saved in database
The url of your site is https://www.plaatinfo.nl/MeteoTemplate/ ... esktop.php
Check in the meteotemplate main setup that:
- pageURL = https://www.plaatinfo.nl
- path = /MeteoTemplate/meteotemplate/template/
It should be already so ( as the site main page is loading correctly ).
In cache/apiLog.txt It reports always that no data is saved to the database, but the database contains data starting from 22:45 of today ( https://www.plaatinfo.nl/MeteoTemplate/ ... /graph.php ), which is strange in my opinion
P.S.
I see your meteobridge update rate is set to 5 mins, you could set to 1 min to see if that helps
P.P.S.
I see you set you pressure database unit to mmHg but your minimum/maximum pressure limit are set to 950/1040 ( which are ok for hPa ), so you should change or the min/max value limit or the database pressure unit ( to hPa, which should be the be ok too ), otherwise you pressure data is not saved in database
-
Plaat
- Newbie

- Posts: 5
- Joined: Sun Sep 17, 2023 1:00 pm
- Location: Oosterzee (Friesland) - The Netherlands
- Station model: Davis Vantage Vue
- Software: Meteotemplate
- Contact:
Re: API file not find
Answer for FSC830: Yes the file meteotemplateLive.txt works see results.
{"U":1700131381,"SW":"meteobridge","T":8.1,"TMX":8.1,"TMN":8.1,"H":40,"P":1012.6,"W":0,"G":0,"B":207,"R":0,"RR":0,"TIN":4.8,"HIN":96,"UTime":1700131535,"SWTime":1700131535,"TTime":1700131535,"TMXTime":1700131535,"TMNTime":1700131535,"HTime":1700131535,"PTime":1700131535,"WTime":1700131535,"GTime":1700131535,"BTime":1700131535,"RTime":1700131535,"RRTime":1700131535,"TINTime":1700131535,"HINTime":1700131535,"D":-4.8,"DTime":1700131535,"A":5.5,"ATime":1700131535}
Now i see in the Meteobridge under "Networks" the 2 vinks are green. Strange. Online signal on website is green but no blocks or plugins to see.
{"U":1700131381,"SW":"meteobridge","T":8.1,"TMX":8.1,"TMN":8.1,"H":40,"P":1012.6,"W":0,"G":0,"B":207,"R":0,"RR":0,"TIN":4.8,"HIN":96,"UTime":1700131535,"SWTime":1700131535,"TTime":1700131535,"TMXTime":1700131535,"TMNTime":1700131535,"HTime":1700131535,"PTime":1700131535,"WTime":1700131535,"GTime":1700131535,"BTime":1700131535,"RTime":1700131535,"RRTime":1700131535,"TINTime":1700131535,"HINTime":1700131535,"D":-4.8,"DTime":1700131535,"A":5.5,"ATime":1700131535}
Now i see in the Meteobridge under "Networks" the 2 vinks are green. Strange. Online signal on website is green but no blocks or plugins to see.
-
Plaat
- Newbie

- Posts: 5
- Joined: Sun Sep 17, 2023 1:00 pm
- Location: Oosterzee (Friesland) - The Netherlands
- Station model: Davis Vantage Vue
- Software: Meteotemplate
- Contact:
Re: API file not find
answer for davideta: The URL is checked and the path is also good. This is the result from "latestApiCache.txt"
{"timestamp":["1700132581"],"date":["2023-11-16 12:03:01"],"T":["8.2"],"Tmax":["8.2"],"Tmin":["8.2"],"H":["40"],"P":["1012.5"],"W":["0.0"],"G":["0.0"],"B":["207"],"R":["0.0"],"RR":["0.0"],"D":[-4.7],"A":[5.6]}
The pressure database corrected from mmHg to hPa (thanks). This all looks allright but i see no results on my Meteotemplate website (maybe another Problem) Thans for this problem.
{"timestamp":["1700132581"],"date":["2023-11-16 12:03:01"],"T":["8.2"],"Tmax":["8.2"],"Tmin":["8.2"],"H":["40"],"P":["1012.5"],"W":["0.0"],"G":["0.0"],"B":["207"],"R":["0.0"],"RR":["0.0"],"D":[-4.7],"A":[5.6]}
The pressure database corrected from mmHg to hPa (thanks). This all looks allright but i see no results on my Meteotemplate website (maybe another Problem) Thans for this problem.