Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Weather Station for Android

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
WoodburyMan
Posts: 143
Joined: Sun Sep 04, 2011 2:02 am
Weather Station: Ambient Weather WS-2095
Operating System: RaspberryPi Model B 3.0
Location: Woodbury, Connecticut, U.S.A.
Contact:

Re: Weather Station for Android

Postby WoodburyMan » Mon Jan 12, 2015 8:23 pm

WoodburyMan wrote:It's been so long since I set this up originally. I have been using it for a year or two now. I forgot where the original source for realtime.xml was located so I can download it again. Anyone have a link?

I am having an issue with it with CumulusMX. It may be a character encoding problem. The file is in encoded in ISO-8659-15 correctly. However when Cumulus proceses it, it has problems with the Degree symbol.(°).
Example the line:

Code: Select all

<data realtime="temp"><#temp>°</data>

Should be rendered and shown as

Code: Select all

<data realtime="temp">26.6°</data>

However, my realtime.xml file shows up as

Code: Select all

<data realtime="temp">26.6?</data>

Location of my XML file.
http://www.woodburyweather.com/realtime.xml

*EDIT*
I found a work around. In realtime.xml, I changed

Code: Select all

<data realtime="temp"><#temp>°</data>

to

Code: Select all

<data realtime="temp"><#temp><#tempunit></data>

and now get this for output.

Code: Select all

<data realtime="temp">27.0°F</data>

It seems to work correctly. The app now shows the unit which is nice. Might be worth changing in the default realtime.xml

This has been fixed in CumulusMX by Steve. It was non-UTF8 file processing issue.
Image
http://www.woodburyweather.com
Running CumuluxMX 3020 on a RaspberryPi Model B 2.0.

Phil23
Posts: 111
Joined: Sat Jul 16, 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Weather Station for Android

Postby Phil23 » Tue Nov 29, 2016 9:26 pm

Only just stumbled across this app & think it's great.

Have it's widget now replacing the WeatherZones 4x2, so have my own data on my opening screen.

Like others in the thread, I had trouble locating realtime.xml & sunbird.txt; they should be easily found in this thread.

Still not getting °C displayed in the app though, & I have tried replacing the ° symbol with <#tempunit> but didn't seem to make any difference.

Can anyone with a better knowledge of the issue help out?

Attached are the 2 templates I'm using, they should work for everyone else, except for the symbol issue.

Phil.
You do not have the required permissions to view the files attached to this post.

Phil23
Posts: 111
Joined: Sat Jul 16, 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Weather Station for Android

Postby Phil23 » Tue Nov 29, 2016 9:32 pm

Correction:-

<#tempunit> is working correctly, just a caching issue.

So the files previously attached below should be fine for anyone wanting to use them.

Cheers.


Return to “3rd Party Tools”

Who is online

Users browsing this forum: No registered users and 1 guest