FTP Push Services - how it works

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
Colin
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Mon Aug 17, 2015 12:30 pm

FTP Push Services - how it works

Post 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
Colin
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Mon Aug 17, 2015 12:30 pm

Re: FTP Push Services - how it works

Post by Colin »

Sorry, I must have posted in the wrong forum :(

Regards
Colin
User avatar
wsnoordbergum
Expert Boarder
Expert Boarder
Posts: 156
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: FTP Push Services - how it works

Post 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
Colin
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Mon Aug 17, 2015 12:30 pm

Re: FTP Push Services - how it works

Post by Colin »

Hello wsNoordbergum,

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

Regards
Colin
Post Reply