Android App Brainstorming
- iatros
- Language Admin
- Posts: 145
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Android App Brainstorming
Hi Luc
So far, you can select one of the preset MT sites in the app menu on the top right
(see also this post: viewtopic.php?f=50&t=575#p3778).
Cheers, Martin
So far, you can select one of the preset MT sites in the app menu on the top right
(see also this post: viewtopic.php?f=50&t=575#p3778).
Cheers, Martin
- polbrieuc
- Advisor
- Posts: 98
- Joined: Wed Dec 06, 2017 10:58 pm
- Location: Vallirana
- Station model: WH1080
- Software: Cumulus
- Contact:
Re: Android App Brainstorming
Martin is right, list of available is managed centrally (currently by me during the development/testing phase).iatros wrote: ↑Wed Jan 17, 2018 2:06 pm Hi Luc
So far, you can select one of the preset MT sites in the app menu on the top right
(see also this post: viewtopic.php?f=50&t=575#p3778).
Cheers, Martin
So if you want your website included in the app, let me know.
If you are already registered on Meteotemplate user list, I just need to know who you are (your url).
If you are not registered yet, first you should, second I would need the following info :
- "lat": your station latitude
- "lon": your station longitude
- "url": your station url (including http/https prefix)
- "alt": your station altitude in meters
- "name": your name
- "pageName": your site name
- "country": your country
- "countryCode": your country code
- "type": your station model
- "place": your town/place/state
- "lat": "41.37890000",
- "lon": "1.94330000",
- "url": "https://www.elspinars.es/",
- "alt": 250,
- "name": "Pol-Brieuc",
- "pageName": "Meteo els Pinars",
- "country": "Spain",
- "countryCode": "es",
- "type": "WH-1080",
- "place": "Vallirana",
Pol-Brieuc
-
- Observer
- Posts: 32
- Joined: Mon Nov 06, 2017 10:37 am
- Location: Antwerp
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate/MeteoBridge
- Contact:
Re: Android App Brainstorming
thanks all for fast reply !
You my add me to the list will try to make as much time free as possible for testing
I'm a registered user so details should be there somewhere, the web url is in the signature below.
I can always send you the details in pm if needed
Luc
You my add me to the list will try to make as much time free as possible for testing
I'm a registered user so details should be there somewhere, the web url is in the signature below.
I can always send you the details in pm if needed
Luc
- polbrieuc
- Advisor
- Posts: 98
- Joined: Wed Dec 06, 2017 10:58 pm
- Location: Vallirana
- Station model: WH1080
- Software: Cumulus
- Contact:
Re: Android App Brainstorming
Your site has been added to the list.ON1GL wrote: ↑Wed Jan 17, 2018 2:40 pm thanks all for fast reply !
You my add me to the list will try to make as much time free as possible for testing
I'm a registered user so details should be there somewhere, the web url is in the signature below.
I can always send you the details in pm if needed
Luc
Do not forget to download and install the plugin and report me any bug/issue you may find.
Enjoy !
Pol-Brieuc
PS : I could not find you in the Meteotemplate user list. You may want to contact Jachym and provide him with the same data you gave me in PM to be registered.
- Pavel
- Observer
- Posts: 24
- Joined: Sun Aug 20, 2017 6:24 pm
- Location: Šenov, Czech Republic
- Station model: TFA 35.1075 NEXUS
- Software: Meteobridge
- Contact:
Re: Android App Brainstorming
Hello, installed app on mobile 0.4, installed plug-in, settings saved, mobile is showing OK page, but the left gray panel is only Site, About
-
- Observer
- Posts: 32
- Joined: Mon Nov 06, 2017 10:37 am
- Location: Antwerp
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate/MeteoBridge
- Contact:
Re: Android App Brainstorming
When refreshing the page (in desktop view) it reverts to mobile view, would be nice if it stays in desktop view.
Thanks for adding
Luc
Thanks for adding
Luc
- polbrieuc
- Advisor
- Posts: 98
- Joined: Wed Dec 06, 2017 10:58 pm
- Location: Vallirana
- Station model: WH1080
- Software: Cumulus
- Contact:
Re: Android App Brainstorming
Yep, that's definitely a bug. It should refresh the page you are viewing.
I will correct it for the next version.
I will also add the possibility in the plugin to set a specific page as default (ie either the indexMobile, indexDesktop, lite or default index)
- jay_hoehn
- Language Admin
- Posts: 135
- Joined: Sun Aug 20, 2017 1:45 pm
- Location: Las Cruces, NM USA
- Station model: Vantage Pro 2 Plus
- Software: WeeWx
- Contact:
Re: Android App Brainstorming
Pol-Brieuc,
When I use the left menu and choose Current Conditions I'm not getting the correct data. It is in celcius and seems to be off. Where is this data coming from?
Jay
When I use the left menu and choose Current Conditions I'm not getting the correct data. It is in celcius and seems to be off. Where is this data coming from?
Jay
- polbrieuc
- Advisor
- Posts: 98
- Joined: Wed Dec 06, 2017 10:58 pm
- Location: Vallirana
- Station model: WH1080
- Software: Cumulus
- Contact:
Re: Android App Brainstorming
Hi Jay,
The data is pulled from meteotemplateLive.txt and converted to the units defined by the user in the app settings (default unit for temp being Celsius)
It seems that there is a bug on conversion and potentially a different issue regarding the weatherTemplate cookie used to reflect the units chosen by the user directly on the site.
In addition, I would need to give the user the option to stick to the units defined by the site and not apply his own ones.
Still work to do then... I'll let you know when I have a fix.
- jay_hoehn
- Language Admin
- Posts: 135
- Joined: Sun Aug 20, 2017 1:45 pm
- Location: Las Cruces, NM USA
- Station model: Vantage Pro 2 Plus
- Software: WeeWx
- Contact:
Re: Android App Brainstorming
Pol-Brieuc,
Jay
Thanks for the explanation.The data is pulled from meteotemplateLive.txt and converted to the units defined by the user in the app settings (default unit for temp being Celsius)
It seems that there is a bug on conversion and potentially a different issue regarding the weatherTemplate cookie used to reflect the units chosen by the user directly on the site.
In addition, I would need to give the user the option to stick to the units defined by the site and not apply his own ones.
Still work to do then... I'll let you know when I have a fix.
Jay
-
- Observer
- Posts: 32
- Joined: Mon Nov 06, 2017 10:37 am
- Location: Antwerp
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate/MeteoBridge
- Contact:
Re: Android App Brainstorming
defined in de plugin(V0.4) the "current conditions" and 3 other blocks, but noting is showing up in the app ?
only Site and About is highlighted, the rest is greyed out, and the 3 block don't show up.
Did I forgot something in the plugin setup ?
Luc
only Site and About is highlighted, the rest is greyed out, and the 3 block don't show up.
Did I forgot something in the plugin setup ?
Luc
- iatros
- Language Admin
- Posts: 145
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Android App Brainstorming
Try:
in your device, go to settings -> apps -> Meteotemplate -> storage. Empty Cache (NOT DATA), then STOP (accept the warning) .
Restart Meteotemplate, and your changes from the plugin should appear.
cheers
Martin
in your device, go to settings -> apps -> Meteotemplate -> storage. Empty Cache (NOT DATA), then STOP (accept the warning) .
Restart Meteotemplate, and your changes from the plugin should appear.
cheers
Martin
-
- Observer
- Posts: 32
- Joined: Mon Nov 06, 2017 10:37 am
- Location: Antwerp
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate/MeteoBridge
- Contact:
Re: Android App Brainstorming
no joy Martin
Can see the left info bar from most other stations, not mine
Luc
Can see the left info bar from most other stations, not mine
Luc
- iatros
- Language Admin
- Posts: 145
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Android App Brainstorming
Is your station in the drop-down list of all sites? I can't find it!
-
- Observer
- Posts: 32
- Joined: Mon Nov 06, 2017 10:37 am
- Location: Antwerp
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate/MeteoBridge
- Contact:
Re: Android App Brainstorming
look for : Weatherstation Antwerp
- iatros
- Language Admin
- Posts: 145
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Android App Brainstorming
hmm, strange, I don't see your blocks either.
On your plugin setup page on the PC, are your blocks visible in the preview window to the right?
As in:
On your plugin setup page on the PC, are your blocks visible in the preview window to the right?
As in:
- iatros
- Language Admin
- Posts: 145
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Android App Brainstorming
I guess we'll have to wait for Pol-Brieucs advice, sorry
- polbrieuc
- Advisor
- Posts: 98
- Joined: Wed Dec 06, 2017 10:58 pm
- Location: Vallirana
- Station model: WH1080
- Software: Cumulus
- Contact:
Re: Android App Brainstorming
I will have a look but it is most probably related to the way the app connects to your site (a 301 redirection or that kind of stuff).
I'll check later today or tomorrow.
Bear with me...
-
- Observer
- Posts: 32
- Joined: Mon Nov 06, 2017 10:37 am
- Location: Antwerp
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate/MeteoBridge
- Contact:
Re: Android App Brainstorming
if it can help the ip adress of the site is 44.144.11.222:7378
- polbrieuc
- Advisor
- Posts: 98
- Joined: Wed Dec 06, 2017 10:58 pm
- Location: Vallirana
- Station model: WH1080
- Software: Cumulus
- Contact:
Re: Android App Brainstorming
It seems that your site has unsual settings.
Connecting to your url using the domain is answering with an embedded iframe :
Code: Select all
<!DOCTYPE html>
<html>
<head>
<title>weer.on1gl.be</title>
<style type="text/css">
body {
margin:0;
padding:0;
}
iframe {
display: block;
border: none;
height: 100vh;
width: 100vw;
}
</style>
</head>
<body>
<iframe src="http://44.144.11.222:7378/plugins/app/settings.txt"><p>Your user agent does not support iframes. However you may visit <a href="http://44.144.11.222:7378/plugins/app/settings.txt">the page that was supposed to be here</a></p></iframe>
</body>
</html>
So I tried to connect directly through the IP address 44.144.11.222:7378
Although I can access the file correctly through a browser, I get an http 405 error (Method not allowed) from the app :
Code: Select all
Intent to connect to http://44.144.11.222:7378/plugins/app/settings.txt result in code 405
I corrected the app and it now work correctly (with the IP, not using your domain):
The fix will be included in the next version of the app (as I have also other bugs to fix before releasing it) but you can download an intermediate version (made just for you) here.
You may wanto to check if your iframe-embedded stuff is absolutely needed and if not, get rid of it.
Same for your security settings that prevent POST calls
And please confirm that the IP 44.144.11.222:7378 is a static one (it not, your site will stop working in the app the next time the IP address changes).
Cheers,
Pol-Brieuc
[EDIT] : The fact that your page is embedded in an iframe is also what caused the default index page to be pulled when refreshing the site (the same would happen on a browser) :
Accessing through the IP gets rid of the issue.
-
- Observer
- Posts: 32
- Joined: Mon Nov 06, 2017 10:37 am
- Location: Antwerp
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate/MeteoBridge
- Contact:
Re: Android App Brainstorming
hello Pol-Brieuc,
the redirect i-frame was something new, but it has gone away (I hope). Something to do with a dns entry at the web provider (one.com) where the domain on1gl.be is hosted.
weer.on1gl.be now redirect to the home server at 44.144.11.222 (fixed ip).
wget gets a 302 redirect - 200 OK and reads the settings.txt file.
Also found a problem in the ip firewall, the server did not always reply with the correct ip adress (44.144.11.222) that could confuse some systems.
Hope this solves the problems.
Luc
the redirect i-frame was something new, but it has gone away (I hope). Something to do with a dns entry at the web provider (one.com) where the domain on1gl.be is hosted.
weer.on1gl.be now redirect to the home server at 44.144.11.222 (fixed ip).
wget gets a 302 redirect - 200 OK and reads the settings.txt file.
Also found a problem in the ip firewall, the server did not always reply with the correct ip adress (44.144.11.222) that could confuse some systems.
Hope this solves the problems.
Luc
-
- Observer
- Posts: 32
- Joined: Mon Nov 06, 2017 10:37 am
- Location: Antwerp
- Station model: Davis Vantage Pro 2
- Software: Meteotemplate/MeteoBridge
- Contact:
Re: Android App Brainstorming
installed the 0.4.1 app last night and when accessing the left panel and chosing "ssGauges" a window pops up. all ok !
But when I open then "trends", the size of the pop up remains the same as before it does not reset to the size of the new item.
Luc
But when I open then "trends", the size of the pop up remains the same as before it does not reset to the size of the new item.
Luc
- polbrieuc
- Advisor
- Posts: 98
- Joined: Wed Dec 06, 2017 10:58 pm
- Location: Vallirana
- Station model: WH1080
- Software: Cumulus
- Contact:
Re: Android App Brainstorming
Good catch. Thanks Luc. I fixed it and it will be available in the next release.
- Pavel
- Observer
- Posts: 24
- Joined: Sun Aug 20, 2017 6:24 pm
- Location: Šenov, Czech Republic
- Station model: TFA 35.1075 NEXUS
- Software: Meteobridge
- Contact:
Re: Android App Brainstorming
Hi, a problem with a mobile application Samsung S4 - no application can run version 0.4 or 0.4.1 version 0.3 worked, but the left menu was not displayed correctly, only site and about, otherwise all gray