setup mbtags

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

Moderator: Mattk

Post Reply
legi
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Thu Mar 09, 2017 1:18 pm

setup mbtags

Post by legi »

Sorry for that question but I'm new to meteobridge and not a programmer. I'd like to setup my meteobridge to send data to my website and use the Saratoga templates.
But already the start is difficult.
In the Saratoga description it is mentioned that one have to "Configure Meteobridge Push Services FTP to upload MBtags.php". I can't find this in my Meteobridge setup.
would be great if one could help.
Peter
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 604
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: setup mbtags

Post by wvdkuil »

legi wrote:Sorry for that question but I'm new to meteobridge and not a programmer. I'd like to setup my meteobridge to send data to my website and use the Saratoga templates.
But already the start is difficult.
In the Saratoga description it is mentioned that one have to "Configure Meteobridge Push Services FTP to upload MBtags.php". I can't find this in my Meteobridge setup.
would be great if one could help.
Peter
It is for a different template, but it describes how to set uploads for a Meteobridge(-pro).
http://leuven-template.eu/dokuwiki28/do ... n:uploadmb

And this link is for the Meteobridge WiKi http://www.meteobridge.com/wiki/index.php/Push_Services
Wim
User avatar
Ian.
Junior Boarder
Junior Boarder
Posts: 36
Joined: Tue Dec 20, 2016 12:01 am
Location: Chatteris, Cambridgeshire, UK
Contact:

Re: setup mbtags

Post by Ian. »

Legi,

I have very recently done this, so if you can't follow Wims instructions I will be able to help.

Ian
CWOP - DW3371
PWS - ICAMBRID16
https://www.chatteris.biz
Image
legi
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Thu Mar 09, 2017 1:18 pm

Re: setup mbtags

Post by legi »

Thank you both for help. I'm a bit further. I've done:
copied the files of the MB Plugin in the templates directory of my meteobridge (maybe too many).
setup the ftp things, here the Meteobridge is coping the MBtags, realtime and gauges.txt files.
set up the http request but get the following message:
2017-03-10 09:20:48 Error: <?php /* File: MBtags.php Purpose: load Meteobridge variables into a $WX[] array for use with the Canada/World/USA template sets NOTE: this file must be processed by Meteobridge as a template file and uploaded to the website as MBtags.php using the Meteobridge extended Push Services configuration. Author: Ken True - webmaster@saratoga-weather.org (created by gen-MBtags.php - V1.03 - 18-Aug-2013) These tags generated on 2017-03-10 08:03:49 GMT From MBtags-template.txt updated 2017-03-09 11:03:52 GMT */ // -------------------------------------------------------------------------- // allow viewing of generated source if (isset($_REQUEST["sce"]) and strtolower($_REQUEST["sce"]) == "view" ) { //--self downloader -- $filenameReal = __FILE__; $download_size = filesize($filenameReal); header("Pragma: public"); header("Cache-Control: private"); header("Cache-Control: no-cache, must-revalidate"); header("Conte

I don't have a "extended push servicese section" on my Meteobridge UI. I have an option HTTP Request here I gave the MBtags.php Infos, tried both, the http://xxx.com/xxx/meteobridge/gen-MBtags.php ant the http://xxx.com/xxx/meteobridge/MBtags.php.

this might help you find my faults...
thanks
Peter
User avatar
Ian.
Junior Boarder
Junior Boarder
Posts: 36
Joined: Tue Dec 20, 2016 12:01 am
Location: Chatteris, Cambridgeshire, UK
Contact:

Re: setup mbtags

Post by Ian. »

Hi,

Download and install MB Plugin files in your root directory as per Kens websites instruction.

In the MB Pro Services for the MBtags, I have:

FTP
Every 5 mins upload
Template: http://www.chatteris.biz/gen-MBtags.php
Path (File):/MBtags.php

See how that goes.
CWOP - DW3371
PWS - ICAMBRID16
https://www.chatteris.biz
Image
Post Reply