Author Topic: HOMEWEATHERSTATION Dashboard template & Meteobridge?  (Read 4414 times)

0 Members and 1 Guest are viewing this topic.

Offline gvmelbrty

  • Senior Member
  • **
  • Posts: 94
    • Sandia Knolls, NM Weather
HOMEWEATHERSTATION Dashboard template & Meteobridge?
« on: February 09, 2017, 05:10:53 PM »
Does anyone know how to get the Homeweatherstation template to work with Meteobridge? What are the necessary push service settings in Meteobridge, where is the MBrealtime.txt file, etc.? Any help would be appreciated.

The template author does not own a Meteobridge and other individuals implemented Meteobridge support. He suggested I ask my question here.

PS: This question was previously asked on the main Homeweatherstation thread in December, but that topic is now locked.

Thxs.

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #1 on: February 09, 2017, 05:34:58 PM »
hi i did explain to you the template doesnt require anything other than a path to the MB realtime.txt it is a simple as that to use . however what you need to work out is how does meteobridge generate that file .thats the bit I dont know simply i have never owned one .

in the setup screen you would just simply add the path to the MBrealtime.txt  like http://yourdomain.com/MBrealtime.txt.

im sure there are many users here who can explain how to do that or in the actual meteobridge section of this forum is another good source of info.

as I said if you have no joy i can pass on your request to some users if needed  this guy has always been helpful and friendly http://ws.nyweather.net/

hope you can get it working ok...brian

i should add once you have resolved that your not restricted to just this template there are others that offer a wider range of information that can use the MBrealtime.txt and possibly other files generated by meteobridge . probably open up a lot of options..

« Last Edit: February 09, 2017, 05:43:46 PM by weatherist34 »

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #2 on: February 09, 2017, 05:43:57 PM »
It can be done using a simple PHP script and GET parameters, using this:

http://www.meteobridge.com/wiki/index.php/Templates

Offline gvmelbrty

  • Senior Member
  • **
  • Posts: 94
    • Sandia Knolls, NM Weather
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #3 on: February 09, 2017, 05:44:39 PM »
Hi Brian,

Thxs for your response and for your work on this template.

I will ask "nyweather" to join the conversation. I noticed that "StatenIslandWeather" is successfully using your template with Meteobridge. I've asked him to join in too. I'm sure the solution is quite simple and we'll quickly figure it out.

Tom
« Last Edit: February 09, 2017, 05:46:35 PM by gvmelbrty »

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #4 on: February 09, 2017, 05:48:42 PM »
Hi Brian,

Thxs for your response and for your work on this template.

I will ask "nyweather" to join the conversation. I noticed that "StatenIslandWeather" is successfully using your template with Meteobridge. I've asked him to join in too. I'm sure this the solution is quite simple and we'll quickly figure it out.

Tom

no problem just drop me an email if you are unsuccessful but im sure it will work out fine .. remember you just need to generate the MBrealtime.txt the template will recognise that without any additional code unless you want expand the options it all lies in the file livedata.php unlikely you will have to edit

// Cumulus and Meteobridge are virtually identical, so handle them together
if (($livedataFormat == 'cumulus' || $livedataFormat == 'meteobridge') && $livedata) {
   $file_live = file_get_contents($livedata);
   $cumulus = explode(" ", $file_live);

brian


Offline gvmelbrty

  • Senior Member
  • **
  • Posts: 94
    • Sandia Knolls, NM Weather
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #5 on: February 09, 2017, 05:58:30 PM »
It can be done using a simple PHP script and GET parameters, using this:

http://www.meteobridge.com/wiki/index.php/Templates

Hi Jachym... I've studied the Meteobridge Template wiki for use with other sections of my website, but I was going to use simple FTP transfers for that. .. Unfortunately, I have no experience coding a PHP script or using the Get parameter. I would like to know how, as I'm sure it's a better method than sending four or five FTP transfers every five minutes in order to populate the several weather data areas I have planned for my site (separate from the Homeweatherstation template we're discussing here).

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #6 on: February 09, 2017, 06:13:09 PM »
i did a quick google and it took me straight to Ken True page about meteobridge if you scroll down you start to see reference about the MBrealtime.txt

http://saratoga-weather.org/wxtemplates/setup-Meteobridge.php


Offline gvmelbrty

  • Senior Member
  • **
  • Posts: 94
    • Sandia Knolls, NM Weather
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #7 on: February 09, 2017, 06:13:49 PM »

no problem just drop me an email if you are unsuccessful but im sure it will work out fine .. remember you just need to generate the MBrealtime.txt the template will recognise that without any additional code unless you want expand the options it all lies in the file livedata.php unlikely you will have to edit

// Cumulus and Meteobridge are virtually identical, so handle them together
if (($livedataFormat == 'cumulus' || $livedataFormat == 'meteobridge') && $livedata) {
   $file_live = file_get_contents($livedata);
   $cumulus = explode(" ", $file_live);

brian

Ok, I'll contact you if necessary. .. And yes, while I was looking around your template files to see if "MBreatime.txt" was hiding somewhere, I was studying the livedata.php file after I noticed that "meteobridge" was mentioned in it.

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #8 on: February 09, 2017, 06:15:32 PM »
ok no problem but have a good read of Ken True's page http://saratoga-weather.org/wxtemplates/setup-Meteobridge.php

Offline gvmelbrty

  • Senior Member
  • **
  • Posts: 94
    • Sandia Knolls, NM Weather
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #9 on: February 09, 2017, 06:15:38 PM »
i did a quick google and it took me straight to Ken True page about meteobridge if you scroll down you start to see reference about the MBrealtime.txt

http://saratoga-weather.org/wxtemplates/setup-Meteobridge.php

Great. I'll take a look at that too.

Offline gvmelbrty

  • Senior Member
  • **
  • Posts: 94
    • Sandia Knolls, NM Weather
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #10 on: February 09, 2017, 07:07:07 PM »
Just for reference...

I also found this, contributed to Github by Irosenman: https://github.com/lrosenman/MBrealtime/blob/master/MBrealtime.txt .. But it appears to be the OUTPUT results of the processed file, not the original template itself that contains the variables by which Meteobridge then substitutes the actual weather data? ... But, perhaps I don't understand how the MBrealtime.txt file works?

Also, Metebridge integration was originally discussed here: "template dashboard release for Meteobridge MBrealtime.txt", but that seems to be an out-of-date or no longer used implementation.

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #11 on: February 09, 2017, 07:13:09 PM »
Just for reference...

I also found this, contributed to Github by Irosenman: https://github.com/lrosenman/MBrealtime/blob/master/MBrealtime.txt .. But it appears to be the OUTPUT results of the processed file, not the original template itself that contains the variables by which Meteobridge then substitutes the actual weather data? ... But, perhaps I don't understand how the MBrealtime.txt file works?

Also, Metebridge integration was originally discussed here: "template dashboard release for Meteobridge MBrealtime.txt", but that seems to be an out-of-date or no longer used implementation.

hello 

what you need to work out is how does the actual hardware generate that file , somewhere in the hardware meteobridge there must be a setup screen I see references on kens page and the wiki pages . i would forget about the template for now because all that does is reads that MBrealtime.txt it does not interact or connect directly to meteobridge. im sure if i owned one i would just say do this and do that etc and voila but sadly i dont so i can only say focus on how the hardware generates that file once you worked that then move on to the next step ...sorry not much help to get you off the ground..brian

Offline SpringHillWeather

  • Weather Hobbyist
  • Forecaster
  • *****
  • Posts: 533
  • Spring Hill, Florida
    • Spring Hill
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #12 on: February 11, 2017, 09:32:07 PM »
i did a quick google and it took me straight to Ken True page about meteobridge if you scroll down you start to see reference about the MBrealtime.txt

http://saratoga-weather.org/wxtemplates/setup-Meteobridge.php

Great. I'll take a look at that too.

Hello, sorry I didn't reply sooner.

I'm using the Saratoga template which uses gen-MBtags.php and creates MBrealtime.txt for me.

I then point the configuration of the other weather templates to use this file and location:

http://statenislandweather.net/MBrealtime.txt

I hope that helps.

Here is my setup in MB

 [ You are not allowed to view attachments ]

 [ You are not allowed to view attachments ]

« Last Edit: February 11, 2017, 09:43:20 PM by StatenIslandWeather »
Saratoga
HomeWeatherStation
Meteotemplate
Homebrew
Ambient 1001 | ObserverIP | Meteobridge | MeteoPlug

Offline gvmelbrty

  • Senior Member
  • **
  • Posts: 94
    • Sandia Knolls, NM Weather
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #13 on: February 16, 2017, 03:14:10 PM »
Great! .. When I get more time, I'll try to set mine up using your Saratoga template method.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #14 on: February 23, 2017, 06:01:21 AM »
Hi Brian,
sorry for OT post.

I was very pleasantly surprised by your recent PM. I wanted to reply, unfortunately, when I try sending you a PM I get a message "user blocked receiving messages from you"

Given you sent me a PM yourself I assume you are ok with me replying, but you have to "unblock" me somewhere....

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #15 on: February 23, 2017, 06:41:47 AM »
Hi Brian,
sorry for OT post.

I was very pleasantly surprised by your recent PM. I wanted to reply, unfortunately, when I try sending you a PM I get a message "user blocked receiving messages from you"

Given you sent me a PM yourself I assume you are ok with me replying, but you have to "unblock" me somewhere....

not sure about the block need to have a dig around here , but you shouldn't be surprised ,not sure why? it would be rather somewhat ignorant and arrogant not to acknowledge the input/help when given.. I offered to help you resolve some iOS/safari issues with your template, i have just this morning setup your template on a local server Xampp based and have been looking at why the gauges don't work on IOS etc bit of learning curve going on how everything works with the template but Ill get there sooner or later and if i get any results ill forward them on. two blocks i was looking at was gauges and conditions the meteoblue thingy which i think is new from yesterday goes all over the place on the iPad .. i understand how difficult it can be to resolve issues without actually seeing and having the resources to resolve . let you know if I stumble across anything . no guarantees ..brian


Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #16 on: February 23, 2017, 06:56:09 AM »
Thanks a lot Brian. I wrote a relatively long PM to you this morning, but Im unable to send it to you. See if you can find how to unblock me. I also tried emailing you, but I dont know if I have the right email address. I still have the message saved so once Im able to get it across to you I will send it.

Edit - never mind, seems like you fixed it :D

Offline stewart45

  • Contributor
  • ***
  • Posts: 123
    • Newlands Weather Station
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #17 on: April 09, 2017, 11:06:55 AM »
having a bit of a problem with this I have managed to get the file MBrealtimeupload.txt generated every minute  but the website main page is still blank http://www.weatherwatcher.co
This is the file that's being generated does it make any sense,have I missed something in the setup

09/04/2017%2016:00:41%2017.2%2062.0%209.9%206.3%205.8%20271.0%200.0%200.0%201013.6%20271.0%204%20m/s%20C%20hPa%20mm%20--%201013.6%208.6%2020.8%200.0%2022.3%2055.0%2016.4%2019.1%2020.6%2020170409125110%2011.1%2020170409063408%207.2%2020170409153507%2012.5%2020170409152713%201019.0%2020170409001109%201013.3%2020170409144311%203.2%2011070%2010.7%20--%20--%202.5%20--%20473.0%20274.0%200.0%20--%20D%20--%20274.0%20--%20m%20--%2013:40%20--%20--%205.0%2075.0%2020170409063819%2047.0%2020170409111232%2011.6%2020170409141156%204.7%2020170409012818

Offline bchwdlks

  • Senior Contributor
  • ****
  • Posts: 196
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #18 on: April 09, 2017, 02:17:50 PM »
having a bit of a problem with this I have managed to get the file MBrealtimeupload.txt generated every minute  but the website main page is still blank http://www.weatherwatcher.co
This is the file that's being generated does it make any sense,have I missed something in the setup


Are you saying that the web page shows up but it has not weather data ? Or are you saying that the page shows nothing? The link that you included gives this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
500 Internal Server Error


This is a not a problem with the MBrealtimeupload.txt file or the HOMEWEATHERSTATION setup. Even without the MBrealtimeupload.txt file,  you should get a page that looks similar to this picture.

 [ You are not allowed to view attachments ]

Offline stewart45

  • Contributor
  • ***
  • Posts: 123
    • Newlands Weather Station
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #19 on: April 10, 2017, 07:26:57 AM »
sorted that have it pointing to the demo data at the moment but nothing shows

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #20 on: April 10, 2017, 08:39:18 AM »
sorted that have it pointing to the demo data at the moment but nothing shows

Hello

See screenshot something at server level.. send me your ftp details via pm I will take a look tonight if that's any help..brian

« Last Edit: April 10, 2017, 08:43:53 AM by weatherist34 »

Offline weather34

  • Forecaster
  • *****
  • Posts: 1068
    • https://weather34.com/homeweatherstation
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #21 on: April 10, 2017, 04:55:03 PM »
sorted that have it pointing to the demo data at the moment but nothing shows

please check now http://www.weatherwatcher.co/pws/ but need to configure your meteobridge to send data to http://www.weatherwatcher.co/pws/mb.php?blablabla

if you wish as you have nothing in the root directory you can use template directly from the root if you wish , just drop us an email..

brian

Offline stewart45

  • Contributor
  • ***
  • Posts: 123
    • Newlands Weather Station
Re: HOMEWEATHERSTATION Dashboard template & Meteobridge?
« Reply #22 on: April 11, 2017, 05:10:30 AM »
thanks for your help Brian, I have Meteobridge generating the MBrealtimeupload.txt but the format is different to the demo, (hence no display),one you have, so will have a look at where I got the code from I have , instead of blanks. will report back

 

anything