Meteobridge Weather XML
Posted: Tue Mar 12, 2019 12:16 pm
Hey Dave!!
I am trying to pull the XML data out of my Meteobridge weather hub.
example here:
https://www.meteobridge.com/wiki/index. ... n_Services
This is the code that is returned in my browser:
http://192.168.0.227/cgi-bin/livedataxml.cgi
Ghost connects, I get a Parse Error and a weird deviceTimestamp.
Suggestions on how I can parse this data?
Thanks!
I am trying to pull the XML data out of my Meteobridge weather hub.
example here:
https://www.meteobridge.com/wiki/index. ... n_Services
This is the code that is returned in my browser:
http://192.168.0.227/cgi-bin/livedataxml.cgi
- Code: Select all
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<logger>
<TH date="20190312175152" id="th0" temp="12.7" hum="80" dew="9.3" lowbat="0"/>
<THB date="20190312175152" id="thb0" temp="12.7" hum="80" dew="9.3" press="935.7" seapress="1008.8" fc="-1" lowbat="0"/>
<WIND date="20190312175238" id="wind0" dir="45" gust="0.6" wind="0.7" chill="12.7" lowbat="0"/>
<UV date="20190312175158" id="uv0" index="2.9" lowbat="0"/>
<SOL date="20190312175158" id="sol0" rad="292" lowbat="0"/>
<RAIN date="20190312175158" id="rain0" rate="0.0" total="5.2" delta="0.0" lowbat="0"/>
</logger>
Ghost connects, I get a Parse Error and a weird deviceTimestamp.
Suggestions on how I can parse this data?
Thanks!