Page 1 of 1

Android app with Cumulus MX

Posted: Sun 07 Nov 2021 8:01 pm
by picca
Hello everyone :)

In the past month i've been busy developing an hybrid android app using VueJS + Ionic framework for my pws wich use Cumulus MX + DavisVP2.

The app use MQTT for the "Nowcasting" view and php-crud-api interfacing to mysql db for the "Graph" and records pages.
What do you think about that? Wich feature that is important for you is missing? Any suggestions for more improvements?
Thank you.


For now the app is available in 2 langs: italian and, at 90% for now in english too (based on device locale) if you wanna test it on your device.

Someone interested if i go to release the code in the future?


P.s. I'm definitely not a web designer, so not very well-designed user interface/experience. Suggestions are welcome here too.

Andorid store for more screenshots (not released yet for iOS due to high developer licensing cost):
https://play.google.com/store/apps/deta ... noni.meteo

Image Image Image Image Image Image

Re: Android app with Cumulus MX

Posted: Tue 09 Nov 2021 12:39 am
by jlmr731
is there a way to change the station? would rather see my own info, do like the charts function and nice clean design

Re: Android app with Cumulus MX

Posted: Thu 11 Nov 2021 8:54 pm
by picca
jlmr731 wrote: Tue 09 Nov 2021 12:39 am is there a way to change the station? would rather see my own info, do like the charts function and nice clean design
At the moment this function is not yet planned. The main reason is that the Cumulus MX must be configured in a specific way with regard to the MQTT settings and for the graphs it is also necessary to have php-api-crud working https://github.com/mevdschee/php-crud-api (nothing difficult, only 1 php file, but you need to have it to access the database used by Cumulus).

After that you need to recompile everything through Android Studio to generate the apk file.

If you are interested I can make the apk file for you once you configure MQTT in this** way and you have php-crud-api configured for your database.
(Or when I release the source code on github you can do it yourself if you have Android Studio running on your PC.)

Unfortunately, these things are needed to make it work. Sorry.

Write me if you need any help.


**MQTT config:

Code: Select all

{
    "topics": [
        {
            "topic": "CumulusMX/DataUpdate",
            "data": "{\"time\":\"<#timehhmmss>\",\"temp\":<#temp rc=y>,\"humidity\":<#hum>,\"wspeed\":<#wspeed>,\"wgust\":<#wgust rc=y>,\"windir\":\"<#currentwdir>\",\"percepiti\":<#apptemp>,\"press\":<#press>,\"rainrate\":<#rrate>,\"moonstate\":<#MoonPercentAbs>,\"moonphase\":\"<#moonphase>\",\"daylight\":\"<#daylightlength format=%H>\",\"dawn\":\"<#dawn>\"}",
            "retain": true
        }
    ]
}