missing mydata.http template **solved**

This section covers the Meteobridge PRO units exclusively

Moderator: Mattk

Post Reply
fotogw
Junior Boarder
Junior Boarder
Posts: 21
Joined: Sun Jan 28, 2018 3:06 pm
Contact:

missing mydata.http template **solved**

Post by fotogw » Sat Aug 10, 2019 9:06 pm

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 red, Instromet sunshine duration sensor, Blitzortung stations, luftdaten airquality sensor.fotogw.nl

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5927
Joined: Mon Oct 01, 2007 10:51 pm

Re: missing mydata.http template

Post by admin » Sun Aug 11, 2019 2:55 am

Never heard of this template. Why do you think it should be there and what should it be good for?

fotogw
Junior Boarder
Junior Boarder
Posts: 21
Joined: Sun Jan 28, 2018 3:06 pm
Contact:

Re: missing mydata.http template

Post by fotogw » Sun Aug 11, 2019 8:24 am

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 red, Instromet sunshine duration sensor, Blitzortung stations, luftdaten airquality sensor.fotogw.nl

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5927
Joined: Mon Oct 01, 2007 10:51 pm

Re: missing mydata.http template

Post by admin » Sun Aug 11, 2019 10:13 am

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
Junior Boarder
Junior Boarder
Posts: 21
Joined: Sun Jan 28, 2018 3:06 pm
Contact:

Re: missing mydata.http template

Post by fotogw » Sun Aug 11, 2019 12:14 pm

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

Post Reply