Hello
due to the frequent regular requests of using meteobridge with the HOMEWEATHERSTATION template I am looking for some beta testers to test out a script . one file called meteobridgeupload.php
the template does support MBrealtime.txt generated by Ken True Saratoga template however I have had many requests to generate a PHP script for those not using the template but use meteobridge based hardware.
I have created a simple variant of Ken True's script using the GET method and being able to implement it into the existing template without much additional coding . it basically looks this and creates a file called MBrealtimeupload.txt
$data = array(
"timestamp" => $date->format('U'),
"updated" => date("G:i:s"),
"outsideTemp" => $_GET['th0temp-act'],
"outsideHumidity" => $_GET['th0hum-act'],
"dewpoint" => $_GET['th0dew-act'],
"windDir" => $_GET['wind0dir-act'],
"windSpeed" => $_GET['wind0wind-act=kn'],
"windGust" => $_GET['wind0wind-act=kn'],
"windSpeedAvg" => $_GET['wind0avgwind-act=kn'],
"rainrate" => $_GET['rain0rate-act'],
"raintoday" => $_GET['rain0total-daysum'],
"rainmonth" => $_GET['rain0total-monthsum'],
"rainyear" => $_GET['rain0total-yearsum'],
"radiation" => $_GET['sol0rad-act:0'],
"UV" => $_GET['uv0index-act'],
"indoorTemp" => $_GET['thb0temp-act'],
"indoorHumidity" => $_GET['thb0hum-act'],
"barometer" => $_GET['thb0seapress-act'],
"month"=> date("F"),
"year"=> date("Y"),
"day"=> date("l"),
"heatindex" => $_GET['th0heatindex-act'],
"windchill" => $_GET['wind0chill-act'],
);
etc........
the downside for me is I do not own a meteobridge product and the chances of obtaining one here in turkey is nigh on impossible due to import regulations, tax,administration fees and so on , if ordered one i would pay almost 50% more on top and no guarantee it would be approved .importing stuff like this and any unfamiliar electronic products is very bureaucratic and time consuming to resolve.
so if you are interested in helping me test out this script please get in touch via pm or email it is a simple script and from my basic tests it generates the file but where I need help is getting the meteobridge to send the data to a web server using the procedure based on Kens pages and the wiki but with help i think i could understand better if these options works .
all I would need is a file generated one time to test with . please get in touch via pm or email i can send along the file. brian
yoururl.com/path/meteobridgeupload.php?outsideTemp=[th0temp-act]&dewpoint=[th0dew-act]&outsideHumidity=[th0hum-act]&indoorTemp=[thb0temp-act]&indoorHumidity=[thb0hum-act]&pressure=[thb0seapress-act]wind=[wind0avgwind-act=kn]&gust=[wind0wind-act=kn]&winddidrection=[wind0dir-act]&solarradiation=[sol0rad-act:0]&raintoday=[rain0total-daysum]&monthrain=[rain0total-monthsum]&yearrain=[rain0total-yearsum]&rainrate=[rain0rate-act]&UV=[uv0index-act]&heatindex=[th0heatindex-act]&windchill=[wind0chill-act]