I'm not sure what happened, but my meteobridge install that was working fine stopped feeding data to my home automation system.
I've restarted meteobridge and it comes up just fine through the normal UI, and it's reporting data to multiple weather services. It seems to have gotten the latest update and is running Meteobridge 3.2 (Dec 25 2016, build 10783), FW 1.3
When I try to go to port 5556 or 5557, I get an Invalid HTTP Response error.
If I try to go to livedata.cgi, I just get en empty an empty set of logger tags <logger></logger>
If I try to go to tempalte.cgi, it just spits the template back out - it doesn't replace variables with actual values.
Does anyone have any ideas what I could try to get these add-on services working again?
plain text feeds, template.cgi, livedata broken **solved**
Moderator: Mattk
Re: plain text feeds, template.cgi and livedata.cgi broken
Do you see live data coming in on "live data" tab. If not, that would be a perfect explanation.
Re: plain text feeds, template.cgi and livedata.cgi broken
Yes, I do see live data coming in. I even did an "Erase All" on the data to see it clear out and then start coming back in again.
Re: plain text feeds, template.cgi and livedata.cgi broken
When I ask my Meteobridge to report data via ports 5556 and 5557 they report fine:
Browsing to http://192.168.123.239/cgi-bin/livedata.cgi also reports data fine:
You might notice that ports 5556/5557 return pure data without HTTP content header. Therefore, your browser cannot display that. When you want to read data with the browser you need the livedata.cgi URL and you have to add username and password into the URL. May be that is your root problem here.
Code: Select all
# nc 192.168.123.239 5557
<logger>
<TH date="20170112132820" id="th0" temp="4.4" hum="88" dew="2.6" lowbat="0" />
<WIND date="20170112132828" id="wind0" dir="275" gust="0.5" wind="0.7" chill="4.4" lowbat="0" />
<RAIN date="20170112132823" id="rain0" rate="1.6" total="7.6" delta="0.0" lowbat="0" />
<SOL date="20170112132828" id="sol0" rad="70" lowbat="0" />
<UV date="20170112132745" id="uv0" index="0.3" lowbat="0" />
<THB date="20170112132733" id="thb0" temp="32.0" hum="30" dew="12.3" press="999.8" seapress="999.8" fc="-1" lowbat="0" />
</logger>
# nc 192.168.123.239 5556
20170112132841 th0 4.4 88 2.6 0
20170112132841 wind0 278 0.9 0.7 4.2 0
20170112132833 rain0 1.6 7.6 0.0 0
20170112132828 sol0 70 0
20170112132839 uv0 0.2 0
20170112132833 thb0 32.0 30 12.3 999.8 999.8 -1 0
mars:/home/boris/mh #
Code: Select all
20170112132737 th0 4.4 88 2.6 0
20170112132742 wind0 226 0.9 1.0 4.2 0
20170112132740 rain0 1.6 7.6 0.0 0
20170112132734 sol0 65 0
20170112132651 uv0 0.0 0
20170112132733 thb0 32.0 30 12.3 999.8 999.8 -1 0
Re: plain text feeds, template.cgi and livedata.cgi broken
Found the problem. The live data tab looked like it was showing current data, but it turned out that it wasn't updating it. I had to restart the network bridge for my weather station to reset it.