Page 1 of 1

FTP Push Services - how it works

Posted: Mon Aug 17, 2015 12:35 pm
by Colin
Hello,

I am just learning and I think I have grasped the concept explained in the wiki about Push Services. I have tried FTP Dashboard Example and it works fine.

Excuse my ignorance if I am wrong but this is how I see it.

1. You can make a template with all the fancy table formatting as long as it has the variables like the example.
2. Meteobridge loads this template from wherever it is stored, maybe my own server space rather than the location in the example.
3 Meteobridge reads the template and populates the variables with the data it gets from the weather station.
4. Once populated, Metobridge makes a copy and calls it dashboard.html or whatever name you choose, then uploads the file via ftp to the server.

Am I close to the mark or way off target?

Regards
Colin

Re: FTP Push Services - how it works

Posted: Tue Aug 18, 2015 12:44 pm
by Colin
Sorry, I must have posted in the wrong forum :(

Regards
Colin

Re: FTP Push Services - how it works

Posted: Tue Aug 18, 2015 4:47 pm
by wsnoordbergum
Hi Colin.

In my opinion you're quite right.
Ftp reads a template file and uploads a populated version of the template to the designated destination at a specified interval.
In Leuventemplate (and others) it works by putting the tags in a file and the template reads this file so the data is updated on the template/website.
Realtime upload is done by http upload, where the desired tags are filled in and uploaded at a specific interval.

Gr. wsNoordbergum

Re: FTP Push Services - how it works

Posted: Wed Aug 19, 2015 12:35 pm
by Colin
Hello wsNoordbergum,

Thanks for the reply. I can experiment making my own template now.

Regards
Colin