Toon app: Buienradar

Forum about forum-provided applications on Toon

Moderator: marcelr

Re: Toon app: Buienradar

Postby Rudolf » Tue Dec 19, 2017 5:25 pm

Nevermind; QML's httpRequest and wget-ssl are probably entirely unrelated.
Rudolf
Member
Member
 
Posts: 106
Joined: December 2017

Re: Toon app: Buienradar

Postby Toonz » Tue Dec 19, 2017 8:44 pm

Rudolf wrote:The app uses an http-url that is auto-forwarded to https by buienradar.


Ho ho ho, they started redirecting to https yesterday afternoon, which makes the buienradar app non-functional at the moment.
All existing users probably noticed that the temperatures aren't updated anymore since yesterday afternoon

Workaround will be to retrieve the https page via wget every 10 minutes and store it locally.
And I need to change the app to read the data from the local file instead.

@basvandesande: this also explains why you get no weatherstations, the file simply cannot be retrieved anymore.

Will post here when done..... (I was planning to watch a movie this evening....sigh...)

Regardz,

Toonz
Toonz
Advanced Member
Advanced Member
 
Posts: 745
Joined: December 2016

Re: Toon app: Buienradar

Postby Toonz » Tue Dec 19, 2017 9:56 pm

Hi all,

It will require some significant changes (under the hood) in the buienradar app to make it work again via https.
I have the proof of concept working, it just takes some time to complete and finish repackaging for the ToonStore.

The goal is to make this update seamless for you. No need to fiddle around with wget (which isn't working in this case by the way).
I finish with the famous quote from Schwarzenegger: "We'll be back"

Kind regardz,

Toonz
Toonz
Advanced Member
Advanced Member
 
Posts: 745
Joined: December 2016

Re: Toon app: Buienradar

Postby michel30 » Tue Dec 19, 2017 10:39 pm

Hey Toonz no hurry

Rome is also not built in one night :-)
michel30
Member
Member
 
Posts: 174
Joined: August 2017

Re: Toon app: Buienradar

Postby Toonz » Tue Dec 19, 2017 11:06 pm

michel30 wrote:Hey Toonz no hurry

Rome is also not built in one night :-)

So true..... but I need to keep some momentum to satisfy local management over here :D
Core functionality is working again: big radar screen, detailed weatherforecast screen, rain tile.... progressing nicely but a lot more to do.....
Toonz
Advanced Member
Advanced Member
 
Posts: 745
Joined: December 2016

Re: Toon app: Buienradar

Postby lxz » Wed Dec 20, 2017 1:45 pm

wouldn't it be possible to run some kind of https-to-http proxy?

If it is only https://xml.buienradar.nl being used, we can try to run something like this:

Code: Select all
<?php
    $xml = simplexml_load_file(rawurlencode("https://xml.buienradar.nl/"));
    print_r($xml);
?>


on a private server.
lxz
Starting Member
Starting Member
 
Posts: 13
Joined: November 2017

Re: Toon app: Buienradar

Postby Toonz » Wed Dec 20, 2017 4:08 pm

Could probably work if you find someone willing to host it long term....
By the way much more is retrieved from the buienradar website (radarimages, other maps etc)

But I prefer a 'Toon' only solution to be independent of other infrastructure.
Current solution is using curl and crontab jobs on Toon.
I am almost done with the gui part, it just needs further work to install everything nicely via the ToonStore.
Toonz
Advanced Member
Advanced Member
 
Posts: 745
Joined: December 2016

Re: Toon app: Buienradar

Postby Toonz » Wed Dec 20, 2017 10:34 pm

small update: final version now running on my Toon.
Will test it a few days. Will need some further work to repackage it for ToonStore.
Stay tuned (no ETA because of Xmas activities)
Toonz
Advanced Member
Advanced Member
 
Posts: 745
Joined: December 2016

Re: Toon app: Buienradar

Postby Henk-JanS » Thu Dec 21, 2017 9:31 am

I am pleasantly surprised by the speed that the community picks this up and works towards a solution! I noticed the problem only on tuesday, rebooted Toon and checked internet connection. When that didn't resolve the issue the forum quickly provided and answer!

I am aware my skills are somewhat limited, but I am quit good at supporting and cheering, so 'go go team!' :D
Henk-JanS
Starting Member
Starting Member
 
Posts: 10
Joined: November 2017

Re: Toon app: Buienradar

Postby basvandesande » Thu Dec 21, 2017 11:50 am

Toonz wrote:small update: final version now running on my Toon.
Will test it a few days. Will need some further work to repackage it for ToonStore.
Stay tuned (no ETA because of Xmas activities)


Fantastic job! looking forward to see the update in the store :)
basvandesande
Starting Member
Starting Member
 
Posts: 5
Joined: December 2017

Re: Toon app: Buienradar

Postby marcelr » Thu Dec 21, 2017 11:58 am

basvandesande wrote:Fantastic job! looking forward to see the update in the store :)


It will have to wait a little while; the packaging department has their annual christmas reception tonight :-).
marcelr
Advanced Member
Advanced Member
 
Posts: 934
Joined: May 2012
Location: Ehv

Re: Toon app: Buienradar

Postby marcelr » Fri Dec 22, 2017 11:30 pm

buienradar-8.2.1 is available from the toonstore.
Enjoy.
marcelr
Advanced Member
Advanced Member
 
Posts: 934
Joined: May 2012
Location: Ehv

Re: Toon app: Buienradar

Postby mennom » Sat Dec 23, 2017 10:25 am

I know i am new to this rooted Toon, but i tried to update / remove / reinstall it but it would not install trought the store. removed is fine. al other apps i can uninstall and reinstall. Is this only with me?
mennom
Starting Member
Starting Member
 
Posts: 1
Joined: December 2017

Re: Toon app: Buienradar

Postby jenske » Sat Dec 23, 2017 11:21 am

update / remove / reinstall it but it would not install trought the store. removed is fine.
have the same problem.I think we must wait for another uodate

jenske
jenske
Starting Member
Starting Member
 
Posts: 1
Joined: December 2017

Re: Toon app: Buienradar

Postby Henk-JanS » Sat Dec 23, 2017 11:26 am

I have the same issue: the Toonstore lists the new Buienradar app as available. Installation starts, Toon restarts, but there is no new Buienradar app.

I removed the old version and restarted the installation, but no joy: somehow the installation fails. No 'buienradar' directory for instance in /qml/qmf/apps/. If anyone can point me to potentially useful logfiles of the installation I can post them here.
Henk-JanS
Starting Member
Starting Member
 
Posts: 10
Joined: November 2017

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest

cron