I'm working (again) on a HTML Template with many Meteobridge Var's. It is the easiest way for me, to create a cool Dashboard. The HTML Template upload intervall via FTP will be 1 minute.
One element on the dashboard will be the gauge from "amchart" for wind data. But I need some help to realize a "live" wind chart. The goal is, to autoupdate the chart in a certain time (about 15sec.) without reloading the whole page.
There are some exmaples on the amchart site, but they are using JSON files or PHP for loading external Data. I think there should be a way with all those many upload Services from meteobridge to achieve the goal. Problem is that I do not understand everything in detail, about all those upload possibilities from meteobridge. (noob here)
Or will the only solution be, pushing the wind Data into a Mysql Database and pull them out via PHP? An if yes, can someone of you help me with that?
any help is greatly appreciated.
for test purpose I'm uploaded the whole wind chart via ftp service from meteobridge to the web, for playing and testing arround.
https://wetter.xtra1.ch/demo/amchart.html
one example for external Data: (amchart)
Code: Select all
chart.dataSource.url = "/data/myData.php";
chart.dataSource.updateCurrentData = true;
chart.dataSource.reloadFrequency = 5000;