Page 1 of 1
Weather Station on Android. Different data showing.
Posted: Mon 09 Dec 2013 7:50 am
by stimas
Hi,
I'm having problem wit
Weather Station. The widget show correct information, but the program itselv, when I start it, shows wrong info. Please see at these picture links:
Widget:
http://screencast.com/t/x8q42WGZpWe
Program:
http://screencast.com/t/ZTHnYgxnTYP
I have tried to emty all data in this program and I have tried to insert the location. I alos have tried to reinstall it, bit nothing helps.
Any idea what causes this? Thanks for your help!
Kr
stimas
Re: Weather Station on Android. Different data showing.
Posted: Mon 09 Dec 2013 9:29 am
by stimas
It seems like I was missing the Realtime.xml and have now copied one to C:\Cumulus folder.
The problem now is that this file won't update in this folder.
Chould this file be edited in any way by me?
Any idea?
stimas
Re: Weather Station on Android. Different data showing.
Posted: Mon 09 Dec 2013 10:27 am
by steve
The realtime.xml file is not a file that Cumulus knows anything about unless you tell it. If you want Cumulus to process it and upload it to your web site, you need to add it to the files tab on the internet settings in Cumulus. Do the instructions for the app not explain this?
Re: Weather Station on Android. Different data showing.
Posted: Mon 09 Dec 2013 10:54 am
by stimas
Hi Steve,
Thanks for your reply.
Yes, I know that now...
I found another XML file and it seems like it is working now.
stimas
Re: Weather Station on Android. Different data showing.
Posted: Sat 14 Dec 2013 8:31 pm
by tul9033
Where are the instructions for the app? I'm happy you found the solution to your problem, but your response left anyone who reads this in the dark. Perhaps what you did to resolve your problem.
The information I have gathered tells me an xml file must be used from a 3rd party. The wiki isn't shedding much light on it. I'm ftp'ing my info to a webserver and can access the webpage. However, getting the xml file, having it updated, and then uploaded to the web server are unclear.
Thanks for any help
Re: Weather Station on Android. Different data showing.
Posted: Sat 14 Dec 2013 10:48 pm
by Karv
I had to add a realtime.xml, not sure where I got this one or if I wrote or amended it as it was so long ago, sorry to any original owner ..)
you have to create this in your cumulus directory (or location that cumulus can process it) and then add it to the "files" section under Configuration-> internet Settings.
Check both "Process" and "Ftp" boxes and set the location for it to reside on your ftp server and set the weather station app to read this file from your website.
Code: Select all
<?xml version="1.0" encoding="ISO-8859-15" ?>
<maintag>
<misc>
<data misc="refresh_time"><#year>.<#month>.<#day>. <#timehhmmss></data>
</misc>
<misc>
<data misc="forecast_nr"><#forecastnumber></data>
</misc>
<realtime>
<data misc="winddir"><#wdir></data>
</realtime>
<realtime>
<data misc="location"><#location></data>
</realtime>
<realtime>
<data realtime="forecast_text"><#forecast></data>
</realtime>
<realtime>
<data realtime="temp"><#temp>°</data>
</realtime>
<realtime>
<data realtime="intemp"><#intemp>°</data>
</realtime>
<realtime>
<data realtime="hum"><#hum>%</data>
</realtime>
<realtime>
<data realtime="inhum"><#inhum>%</data>
</realtime>
<realtime>
<data realtime="press"><#press> <#pressunit></data>
</realtime>
<realtime>
<data realtime="presstrendval"><#presstrendval> <#pressunit></data>
</realtime>
<realtime>
<data realtime="dew"><#dew>°</data>
</realtime>
<realtime>
<data realtime="current_rainfall"><#rfall> <#rainunit></data>
</realtime>
<realtime>
<data realtime="last_hour_rainfall"><#rhour> <#rainunit></data>
</realtime>
<realtime>
<data realtime="avg_windspeed"><#wspeed></data>
</realtime>
<realtime>
<data realtime="high_windgust"><#wgust></data>
</realtime>
<realtime>
<data realtime="windunit"><#windunit></data>
</realtime>
<realtime>
<data realtime="wchill"><#wchill>°</data>
</realtime>
<realtime>
<data realtime="avg_dir"><#wdir></data>
</realtime>
<realtime>
<data today="today_temp_high"><#tempTH>°</data>
</realtime>
<realtime>
<data today="today_temp_low"><#tempTL>°</data>
</realtime>
<realtime>
<data today="today_press_high"><#pressTH> <#pressunit></data>
</realtime>
<realtime>
<data today="today_press_low"><#pressTL> <#pressunit></data>
</realtime>
<realtime>
<data today="today_hour_rainfall"><#rrate> <#rainunit></data>
</realtime>
<realtime>
<data today="today_rainfall"><#rhour> <#rainunit></data>
</realtime>
<realtime>
<data today="today_max_windspeed"><#windTM> <#windunit></data>
</realtime>
<realtime>
<data today="today_max_windgust"><#wgustTM> <#windunit></data>
</realtime>
<realtime>
<data yesterday="yesterday_temp_high"><#tempYH>°</data>
</realtime>
<realtime>
<data yesterday="yesterday_temp_low"><#tempYL>°</data>
</realtime>
<realtime>
<data yesterday="yesterday_press_high"><#pressYH> <#pressunit></data>
</realtime>
<realtime>
<data yesterday="yesterday_press_low"><#pressYL> <#pressunit></data>
</realtime>
<realtime>
<data yesterday="yesterday_rainfall"><#rfallY> <#rainunit></data>
</realtime>
<realtime>
<data yesterday="yesterday_max_windspeed"><#windYM> <#windunit></data>
</realtime>
<realtime>
<data yesterday="yesterday_max_windgust"><#wgustYM> <#windunit></data>
</realtime>
<realtime>
<data record="rec_high_temp"><#tempH>°</data>
</realtime>
<realtime>
<data record="rec_low_temp"><#tempL>°</data>
</realtime>
<realtime>
<data record="rec_high_press"><#pressH> <#pressunit></data>
</realtime>
<realtime>
<data record="rec_low_press"><#pressL> <#pressunit></data>
</realtime>
<realtime>
<data record="rec_day_rainfall"><#rfallH> <#rainunit></data>
</realtime>
<realtime>
<data record="rec_hour_rainfall"><#rfallhH> <#rainunit></data>
</realtime>
<realtime>
<data record="rec_max_windspeed"><#wspeedH> <#windunit></data>
</realtime>
<realtime>
<data record="rec_max_windgust"><#gustM> <#windunit></data>
</realtime>
</maintag>
Re: Weather Station on Android. Different data showing.
Posted: Sat 14 Dec 2013 10:56 pm
by tul9033
Thank you very much!
Re: Weather Station on Android. Different data showing.
Posted: Mon 17 Feb 2014 5:21 pm
by rufus
Yes, Karv, thank you very much from another user!