Page 4 of 22

Re: Toon app: Buienradar

Posted: Tue Dec 19, 2017 6:25 pm
by Rudolf
Nevermind; QML's httpRequest and wget-ssl are probably entirely unrelated.

Re: Toon app: Buienradar

Posted: Tue Dec 19, 2017 9:44 pm
by Toonz
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

Re: Toon app: Buienradar

Posted: Tue Dec 19, 2017 10:56 pm
by Toonz
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

Re: Toon app: Buienradar

Posted: Tue Dec 19, 2017 11:39 pm
by michel30
Hey Toonz no hurry

Rome is also not built in one night :-)

Re: Toon app: Buienradar

Posted: Wed Dec 20, 2017 12:06 am
by Toonz
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.....

Re: Toon app: Buienradar

Posted: Wed Dec 20, 2017 2:45 pm
by lxz
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.

Re: Toon app: Buienradar

Posted: Wed Dec 20, 2017 5:08 pm
by Toonz
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.

Re: Toon app: Buienradar

Posted: Wed Dec 20, 2017 11:34 pm
by Toonz
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)

Re: Toon app: Buienradar

Posted: Thu Dec 21, 2017 10:31 am
by Henk-JanS
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

Re: Toon app: Buienradar

Posted: Thu Dec 21, 2017 12:50 pm
by basvandesande
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 :)

Re: Toon app: Buienradar

Posted: Thu Dec 21, 2017 12:58 pm
by marcelr
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 :-).

Re: Toon app: Buienradar

Posted: Sat Dec 23, 2017 12:30 am
by marcelr
buienradar-8.2.1 is available from the toonstore.
Enjoy.

Re: Toon app: Buienradar

Posted: Sat Dec 23, 2017 11:25 am
by mennom
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?

Re: Toon app: Buienradar

Posted: Sat Dec 23, 2017 12:21 pm
by jenske
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

Re: Toon app: Buienradar

Posted: Sat Dec 23, 2017 12:26 pm
by Henk-JanS
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.