Page 1 of 1

Meteobridge Get Custom XML? **solved**

Posted: Tue Sep 30, 2014 1:18 pm
by chicagoskiguy
Is it possible to customize the XML format for the sensor data which could be accessed directly on the meteobridge?

Has anyone been able to create a customized version of:
http://[meteobridgeip]/cgi-bin/livedataxml.cgi

and create:
http://[meteobridgeip]/cgi-bin/customlivedataxml.cgi

I use a home automation system called Control4, and it can incorporate weather data uploaded via Sandaysoft Cumulus. Since I use a meteobridge instead of Cumulus I was hoping there was an easy way to get the data into the XML format I need.

XML format required: (live weather data from someone else showing the correct XML format)
http://garychapman.weather.inspire-av.com/control4.xml

It seems that the meteobridge can upload data somewhere which could then transform the data into the correct format, but from my reading, it seems as if there should be an easier way to get the sensor data in the above XML format directly from the meteobridge.

Can anyone point me in a direction to make this happen?

Re: Meteobridge Get Custom XML?

Posted: Thu Oct 02, 2014 12:45 am
by chicagoskiguy
I ended up creating a custom template which works. It seem a bit heavy handed for what is needed, but I thank the devs for adding in the features to make this possible.

I have the template attached here:
http://www.c4forums.com/topic/15656-ev- ... teobridge/

This forum isn't allowing me to upload the template.

Re: Meteobridge Get Custom XML?

Posted: Thu Oct 02, 2014 2:09 am
by admin
When the template is final and of generic use for others, I can host it at "templates.meteobridge.com".
Just let me know, when I should make it available there.

Re: Meteobridge Get Custom XML?

Posted: Thu Oct 02, 2014 3:25 am
by chicagoskiguy
I'll give it a few weeks, and let you know. Thank you!