missing mydata.http template **solved**

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
fotogw
Senior Boarder
Senior Boarder
Posts: 45
Joined: Sun Jan 28, 2018 3:06 pm
Location: Vaassen - Netherlands
Contact:

missing mydata.http template **solved**

Post by fotogw »

Hi all,

There should be a template file called: mydata.http in the templates-folder. This is not present in my Meteobridge Pro.
I can't find a download location on the Meteobrodge.com site. Who can help?

thanks!
Gerhard
weeropdeveluwe.nl Davis VP2+, MBpro 2, Instromet sunshine duration sensor, 2 Blitzortung stations, luftdaten airquality sensor.fotogw.nl
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: missing mydata.http template

Post by admin »

Never heard of this template. Why do you think it should be there and what should it be good for?
fotogw
Senior Boarder
Senior Boarder
Posts: 45
Joined: Sun Jan 28, 2018 3:06 pm
Location: Vaassen - Netherlands
Contact:

Re: missing mydata.http template

Post by fotogw »

Hi,

https://www.meteobridge.com/wiki/index. ... n_Services Near the end of this document.
Additional Features of Meteobridge PRO
Meteobridge PRO allows to store templates in the PC network share "/data/templates/". By calling "http://ip-of-meteobridge/cgi-bin/templa ... ydata.http" the file "mydata.http" from share "/data/templates" is filled with data and returned to the requestor.

Example: There is a template file "mydata.http" defined in the templates folder:

[DD].[MM].[YY] [HH]:[mm][APM]
[th0temp-act]°C
[th0hum-act]%
Request "http://ip-of-meteobridge/cgi-bin/templa ... rset=utf-8" returns this:

08.01.16 11:00AM
3.5°C
94.0%
weeropdeveluwe.nl Davis VP2+, MBpro 2, Instromet sunshine duration sensor, 2 Blitzortung stations, luftdaten airquality sensor.fotogw.nl
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: missing mydata.http template

Post by admin »

That is an example how to define a template file, where to store it and how to call it. It is not expected to be physically there.
fotogw
Senior Boarder
Senior Boarder
Posts: 45
Joined: Sun Jan 28, 2018 3:06 pm
Location: Vaassen - Netherlands
Contact:

Re: missing mydata.http template

Post by fotogw »

Ah, ok. It is to be defined there! Thanks for the info!
weeropdeveluwe.nl Davis VP2+, MBpro 2, Instromet sunshine duration sensor, 2 Blitzortung stations, luftdaten airquality sensor.fotogw.nl
Post Reply