Page 1 of 1

What, if any, are the MB templates for "standard" services.

Posted: Wed Aug 23, 2017 8:58 am
by dolfs
I'd like to know what template MB effectively uses when I activate a standard (included) weather service, such as wunderground.com. I know that for newer services you can call http://content.meteobridge.com/template ... n.template or http://content.meteobridge.com/template ... e.template. Is there something equivalent for wunderground, CWOP etc.?

If not, can you publish what these templates effectively are?

Re: What, if any, are the MB templates for "standard" services.

Posted: Wed Aug 23, 2017 11:41 am
by Mattk
You may find these types of uploads are not in a "template" format (as such) as opposed to more bland data type strings

Re: What, if any, are the MB templates for "standard" services.

Posted: Wed Sep 06, 2017 1:35 am
by dolfs
I am not so much interested in the exact format of the strings, but rather what MeteoBridge variables and with what defaults and formatting are being sent for each service. Even if the actual sending is not done using a template, it should be possible for Boris to tell us in the language of the templates what is being sent.

For example, using the URL for homeweatherstation:

Code: Select all

%s/mb.php?d=[DD]/[MM]/[YYYY] [hh]:[mm]:[ss] [th0temp-act:--] [th0hum-act:--] [th0dew-act:--] [wind0avgwind-act:--] [wind0wind-act:--] [wind0dir-act:--] [rain0rate-act:--] [rain0total-daysum:--] [thb0seapress-act:--] [wind0dir-act:--] [wind0wind-act=bft.0:--] m/s C hPa mm -- [thb0seapress-val60:--] [rain0total-monthsum:--] [rain0total-yearsum:--] [rain0total-ydaysum:--] [thb0temp-act:--] [thb0hum-act:--] [wind0chill-act:--] [th0temp-val60:--] [th0temp-dmax:--] [th0temp-dmaxtime:--] [th0temp-dmin:--] [th0temp-dmintime:--] [wind0avgwind-dmax:--] [wind0avgwind-dmaxtime:--] [wind0wind-dmax:--] [wind0wind-dmaxtime:--] [thb0seapress-dmax:--] [thb0seapress-dmaxtime:--] [thb0seapress-dmin:--] [thb0seapress-dmintime:--] [mbsystem-swversion:--] [mbsystem-buildnum:--] [wind0wind-max10:--] -- -- [uv0index-act:--] -- [sol0rad-act:--] [wind0dir-avg10:--] [rain0total-sum60:--] -- [mbsystem-daynightflag:--] -- [wind0dir-avg10:--] -- m -- [mbsystem-daylength:--] -- -- [uv0index-dmax:--] [th0hum-dmax:--] [th0hum-dmaxtime:--] [th0hum-dmin:--] [th0hum-dmintime:--] [th0dew-dmax:--] [th0dew-dmaxtime:--] [th0dew-dmin:--] [th0dew-dmintime:--]

Re: What, if any, are the MB templates for "standard" services.

Posted: Wed Sep 06, 2017 11:04 pm
by admin
Apart from a very few examples it is not realized by internal templates.
In order to work clever with missing values or repetitive data lists (clientraw files i.e.) it is mostly manually programmed and I will not post code here ;-)