Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Pocket PWS - Android

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
Post Reply
Doncaster
Posts: 61
Joined: Tue 21 Oct 2014 10:51 am
Weather Station: WH1080
Operating System: Raspberry PI
Location: Doncaster

Pocket PWS - Android

Post by Doncaster »

After a bit of a break due to moving house, the weather station is back in action.

I've tried to get it working with Pocket PWS on Android but it's unable to read the cumulus.xml file that's created (pasted below) - I've a funny feeling it's due to the 'Cᅵ' at the end.

Any thoughts?


-------------------
cumulus.xml

Old Hexthorpe 2020.04.05. 20:35:09 06:27 19:48 15:58 06:00 16.7 21.2 4.3 16.7 21.2 40 93 29 WSW 0.0 2.4 16.7 4.3 3.0 5.8 2.1 1004.0 -0.2 1014.9 1003.8 0.0 0.0 0.0 0.0 m/s mm mm mb Cᅵ %
rich27gc
Posts: 75
Joined: Thu 08 Jul 2010 3:15 pm
Weather Station: WeatherDuino Pro2
Operating System: Raspbian
Location: Shap, Cumbria
Contact:

Re: Pocket PWS - Android

Post by rich27gc »

I'm sorry but I don't know about pocket PWS but there is a great Android app available called PWS Watcher.
It has been updated regularly and uses the realtime.txt file.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Pocket PWS - Android

Post by beteljuice »

Well it looks like some corruption toward the end of the file - is it been handled as UTF ?
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Pocket PWS - Android

Post by laulau »

Hi here's my xml source file :

Code: Select all

<?xml version="1.0" encoding="ISO-8859-15" ?>
<maintag>
<!--MISC-->
<misc><misc data="station_location"><#location></misc></misc>
<!--STATION DATA-->
<realtime><data realtime="station_date"><#year>.<#month>.<#day>.</data></realtime>
<realtime><data realtime="station_time"><#timehhmmss></data></realtime>
<realtime><data realtime="sunrise"><#sunrise></data></realtime>
<realtime><data realtime="sunset"><#sunset></data></realtime>
<realtime><data realtime="moonrise"><#moonrise></data></realtime>
<realtime><data realtime="moonset"><#moonset></data></realtime>
<!--TEMPERATURE-->
<realtime><data realtime="temp"><#temp></data></realtime>
<realtime><data realtime="high_temp"><#tempTH></data></realtime>
<realtime><data realtime="low_temp"><#tempTL></data></realtime>
<realtime><data realtime="heatindex"><#heatindex></data></realtime>
<realtime><data realtime="high_heatindex"><#heatindexTH></data></realtime>
<!--HUMIDITY-->
<realtime><data realtime="hum"><#hum></data></realtime>
<realtime><data realtime="high_hum"><#humTH></data></realtime>
<realtime><data realtime="low_hum"><#humTL></data></realtime>
<!--WIND-->
<realtime><data realtime="winddir" misc="imgwinddir"><#wdir></data></realtime>
<realtime><data realtime="windspeed"><#wspeed></data></realtime>
<realtime><data realtime="high_windspeed"><#windTM></data></realtime>
<realtime><data realtime="windchill"><#wchill></data></realtime>
<realtime><data realtime="low_windchill"><#wchillTL></data></realtime>
<!--DEWPOINT-->
<realtime><data realtime="dew"><#dew></data></realtime>
<realtime><data realtime="high_dew"><#dewpointTH></data></realtime>
<realtime><data realtime="low_dew"><#dewpointTL></data></realtime>
<!--BAROMETER-->
<realtime><data realtime="barometer"><#press></data></realtime>
<realtime><data realtime="changebarometer"><#presstrendval></data></realtime>
<realtime><data realtime="high_barometer"><#pressTH></data></realtime>
<realtime><data realtime="low_barometer"><#pressTL></data></realtime>
<!--RAIN-->
<realtime><data realtime="todaysrain"><#rfall></data></realtime>
<realtime><data realtime="rain_rate"><#rrate></data></realtime>
<realtime><data realtime="high_rain_rate"><#rrateTM></data></realtime>
<realtime><data realtime="storm_rate"><#hourlyrainTH></data></realtime>
<!--UNITS-->
<realtime><data units="windunit"><#windunit></data></realtime>
<realtime><data units="rainunit"><#rainunit></data></realtime>
<realtime><data units="rateunit"><#rainunit></data></realtime>
<realtime><data units="barunit"><#pressunit></data></realtime>
<realtime><data units="tempunit"><#tempunitnodeg>°</data></realtime>
<realtime><data units="humunit">%</data></realtime>
</maintag>
I think it's the '°" degre symbol that cause the problem !
Laurent

Image
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Pocket PWS - Android

Post by HansR »

No it correctly says 'C' and the tag is tempunitnodeg (no degree symbol) so I assume it is the percent symbol for the humidity.
Must be the encoding?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Pocket PWS - Android

Post by mcrossley »

Agree encoding issue. The file has a degree symbol in it and it has probably been saved as ANSI or similar.

You need to go back to the original file, and if you need to edit it use a decent editor like Notepad++ or similar.

OR

Where you are using the file is interpreting the file as ANSI when it is actually UTF-8.
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Pocket PWS - Android

Post by HansR »

:) I missed that degree symbol completely.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Doncaster
Posts: 61
Joined: Tue 21 Oct 2014 10:51 am
Weather Station: WH1080
Operating System: Raspberry PI
Location: Doncaster

Re: Pocket PWS - Android

Post by Doncaster »

beteljuice wrote: Mon 06 Apr 2020 7:17 am Well it looks like some corruption toward the end of the file - is it been handled as UTF ?
The UTF box on the Extra Web Files page isn't ticked.
Doncaster
Posts: 61
Joined: Tue 21 Oct 2014 10:51 am
Weather Station: WH1080
Operating System: Raspberry PI
Location: Doncaster

Re: Pocket PWS - Android

Post by Doncaster »

mcrossley wrote: Mon 06 Apr 2020 1:25 pm Agree encoding issue. The file has a degree symbol in it and it has probably been saved as ANSI or similar.

You need to go back to the original file, and if you need to edit it use a decent editor like Notepad++ or similar.

OR

Where you are using the file is interpreting the file as ANSI when it is actually UTF-8.
I've taken the degree symbol out of the original file and the resulting xml is as below. It's still not working though!

------------------

Old Hexthorpe 2020.04.06. 19:13:15 06:25 19:50 17:28 06:22 13.6 16.1 11.6 13.6 16.1 53 91 40 SW 0.0 6.5 13.6 11.6 4.2 11.9 2.3 1018.4 1.2 1018.4 1002.1 0.0 0.0 0.0 0.0 m/s mm mm mb C %
Doncaster
Posts: 61
Joined: Tue 21 Oct 2014 10:51 am
Weather Station: WH1080
Operating System: Raspberry PI
Location: Doncaster

Re: Pocket PWS - Android

Post by Doncaster »

rich27gc wrote: Mon 06 Apr 2020 5:44 am I'm sorry but I don't know about pocket PWS but there is a great Android app available called PWS Watcher.
It has been updated regularly and uses the realtime.txt file.
Tried the other suggestions folk and made and this was last in the list and this didn't work either - all the fields were filled with bits of message that when I tried to put them together gave some sort of error message.

As well as a resited weather station, I have a new web host and for some reason, neither app seems to like the forward from my own domain so when I use http://sxxxxxxxxx.websitehome.co.uk/cumulus.xml instead, both worked!

Thanks for the other ideas though :)
GiorgioZem
Posts: 12
Joined: Thu 23 May 2019 1:58 pm
Weather Station: -
Operating System: Windows 10
Contact:

Re: Pocket PWS - Android

Post by GiorgioZem »

Doncaster wrote: Mon 06 Apr 2020 6:18 pm
mcrossley wrote: Mon 06 Apr 2020 1:25 pm Agree encoding issue. The file has a degree symbol in it and it has probably been saved as ANSI or similar.

You need to go back to the original file, and if you need to edit it use a decent editor like Notepad++ or similar.

OR

Where you are using the file is interpreting the file as ANSI when it is actually UTF-8.
I've taken the degree symbol out of the original file and the resulting xml is as below. It's still not working though!

------------------

Old Hexthorpe 2020.04.06. 19:13:15 06:25 19:50 17:28 06:22 13.6 16.1 11.6 13.6 16.1 53 91 40 SW 0.0 6.5 13.6 11.6 4.2 11.9 2.3 1018.4 1.2 1018.4 1002.1 0.0 0.0 0.0 0.0 m/s mm mm mb C %
Hello Doncaster!
I'm Giorgio, the developer of PWS Watcher, and I'd like to help you solve your problem...

The first thing I'd like to point out is that in your answer what you're posting looks more like a txt than an XML, can I ask you to send me the URL of the file you're pointing to? (if you prefer not doing it here you could send it to me via email at giorgiobertol@gmail.com).

The second thing to point out is that PWS Watcher only parses default formatted files, like the one in the example given in the wiki page (https://cumuluswiki.org/a/Realtime.txt).

Hope it helps to solve your issues, let me know! :D
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Pocket PWS - Android

Post by Phil23 »

Don't recall whether I ever played with this one or not, but did scour many Android offerings.

What I did end up with was just called "Weather Station" by Ales Veluscek.
Not sure if it's still in the Play Store, but there's APK's about.

Primary requirement I had was wanting a Widget on my front screen.

Just tried Pocket PWS now & don't get inspired.
Screenshot_20200407-065705_One UI Home.jpg
You do not have the required permissions to view the files attached to this post.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Pocket PWS - Android

Post by Phil23 »

Apologies for the huge image above, should have resized it.

I do notice the bottom widget lags the top one.

It can be configured to refresh on tap is not updated rather than opening the app.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Post Reply