Page 36 of 86

Re: Toon app: Afvalwijzer

Posted: Sat Nov 24, 2018 7:47 pm
by hdok

Code: Select all

tsc-certificates - 1.0.2-r0
wget - 1.12-r8.3
Maybe you can share the contents of your /etc/ssl/certs ? (So I can replace mine with that)

Re: Toon app: Afvalwijzer

Posted: Sat Nov 24, 2018 11:53 pm
by Toonz
Toon 2: wget - 1.16.1-r0
Toon 1: wget - 1.12-r8.3

seems fine on your end. My certs folder from toon 2:
certs.zip
(34.77 KiB) Downloaded 374 times

Re: Toon app: Afvalwijzer

Posted: Sun Nov 25, 2018 12:30 am
by hdok
Unfortunately replacing my certs by the one in your zip file does not make any difference: stuff keeps working but afval kalender does still not work :-(

Re: Toon app: Afvalwijzer

Posted: Sat Dec 08, 2018 12:10 pm
by hdok
I forgot to put the paper boxes outside as the app no longer provides the information :-( So would like to get this working..

Anything else I could try? Look at?
If I understand correctly: it does work on another Toon1?

Even some pointers of where to look at are appreciated :-)

Re: Toon app: Afvalwijzer

Posted: Sat Dec 08, 2018 2:35 pm
by Smiggel
I have an issue with the app. I noticed that the app display plastic, etc as paper. I use mijnafvalwijzer.nl. Anyone else have the same issue?

Re: Toon app: Afvalwijzer

Posted: Sat Dec 08, 2018 2:59 pm
by Toonz
hdok wrote:I forgot to put the paper boxes outside as the app no longer provides the information :-( So would like to get this working..

Anything else I could try? Look at?
If I understand correctly: it does work on another Toon1?

Even some pointers of where to look at are appreciated :-)
can you send me a PM with the contents of :/qmf/qml/apps/wastecollection-4.8/userSettings.json ?

Re: Toon app: Afvalwijzer

Posted: Sat Dec 08, 2018 3:00 pm
by Toonz
Smiggel wrote:I have an issue with the app. I noticed that the app display plastic, etc as paper. I use mijnafvalwijzer.nl. Anyone else have the same issue?
Each city can have its own descriptions for waste categories, no standardisation in waste land unfortunately.
Can you send me a PM with a valid zipcode/housenr so I can have a check?

Re: Toon app: Afvalwijzer

Posted: Sat Dec 08, 2018 3:12 pm
by Smiggel
Toonz wrote:
Smiggel wrote:I have an issue with the app. I noticed that the app display plastic, etc as paper. I use mijnafvalwijzer.nl. Anyone else have the same issue?
Each city can have its own descriptions for waste categories, no standardisation in waste land unfortunately.
Can you send me a PM with a valid zipcode/housenr so I can have a check?

Done. :-) Thanks for looking into it.

Re: Toon app: Afvalwijzer

Posted: Sat Dec 08, 2018 5:11 pm
by Toonz
Smiggel wrote:Done. :-) Thanks for looking into it.
Right, your local waste guy maybe made a typo, I don't know.
If you change the following line in WastecollectionApp.qml in the function wasteTypeMijnafvalwijzer(shortName) from

Code: Select all

                        case "pbd": return 2;
into

Code: Select all

                       case "pbd": return 1;
You should be fine. This is however conflicting with another city's data setting.
Will see if I can make the app more resilient against this.
For now you should be fine I think.

Re: Toon app: Afvalwijzer

Posted: Sat Dec 08, 2018 5:18 pm
by Smiggel
Toonz wrote:
Smiggel wrote:Done. :-) Thanks for looking into it.
Right, your local waste guy maybe made a typo, I don't know.
If you change the following line in WastecollectionApp.qml in the function wasteTypeMijnafvalwijzer(shortName) from

Code: Select all

                        case "pbd": return 2;
into

Code: Select all

                       case "pbd": return 1;
You should be fine. This is however conflicting with another city's data setting.
Will see if I can make the app more resilient against this.
For now you should be fine I think.
Yep! Updated it and now it works fine. :-) Thanks!

Re: Toon app: Afvalwijzer

Posted: Mon Dec 17, 2018 7:33 pm
by atlantica
Hi Toonz,

I've updateds th wastecalendar version with a TrayIcon.

Is it posible to add this to the toon store?

The .zip file contains only the changed or added files....

Re: Toon app: Afvalwijzer

Posted: Mon Dec 17, 2018 8:24 pm
by Toonz
atlantica wrote:Is it posible to add this to the toon store?
Yes, I will include this in the next release which is then also fw 5 compatible.

Systray icons are treated differently in fw 4 and 5.
And all custom icons used by apps will need to be included in the resource files due to heavy changes in the firmware upgrade.
And I will make the display of the icon configurable in the settings as well to avoid overcrowded systrays ;-)

Thanks for the contribution by the way, much appreciated.

Kind regards,

Toonz

Re: Toon app: Afvalwijzer

Posted: Tue Dec 18, 2018 7:46 pm
by hubble
Hi,

I also have issue with some of the providers (http://www.venlo.nl and http://www.drimmelen.nl). (Like issue mentioned by hdok)

Code: Select all

eneco-XXXXXX:/var/volatile/tmp# wget https://www.venlo.nl
--2018-12-18 17:32:56--  https://www.venlo.nl/
Resolving www.venlo.nl... 83.217.76.213, 2a00:1c98:10:25::213
Connecting to www.venlo.nl|83.217.76.213|:443... connected.
Unable to establish SSL connection.
I think those sites only support TLSv1.2 Seems that the current version of wget I'm running, is not supporting this.

Code: Select all

opkg list wget
wget - 1.12-r8.2

Code: Select all

HTTPS (SSL/TLS) options:
       --secure-protocol=PR     choose secure protocol, one of auto, SSLv2, SSLv3, and TLSv1.

Changelog (http://savannah.gnu.org/forum/forum.php?forum_id=8159)
Add --secure-protocol=TLSv1_1|TLSv1_2

Code: Select all

openssl:
								
 -tls1_2       - just use TLSv1.2
 -tls1_1       - just use TLSv1.1
 -tls1         - just use TLSv1

Code: Select all

openssl s_client -connect www.venlo.nl:443 -tls1_2			<== works fine
openssl s_client -connect www.venlo.nl:443 -tls1_1			
openssl s_client -connect www.venlo.nl:443 -tls1

eneco-XXXXXX:wget https://www.venlo.nl --secure-protocol=TLSv1.1
wget: --secure-protocol: Invalid value `TLSv1.1'.
Can somebody please upload a new wget version (at least 1.16.1) for Toon ?

Update: Currently running on 4.9.23 (will update asap to check if a new version of wget is introduced...)

Re: Toon app: Afvalwijzer

Posted: Wed Dec 19, 2018 10:20 am
by Toonz
hubble wrote:Hi,
I also have issue with some of the providers (http://www.venlo.nl and http://www.drimmelen.nl). (Like issue mentioned by hdok)
aha, the TLS version can be the culprit indeed. Need to look into this (is not my direct area of expertise).

Re: Toon app: Afvalwijzer

Posted: Wed Dec 19, 2018 4:36 pm
by TheHogNL

Code: Select all

curl -Nks https://www.venlo.nl
works fine...
also openssl itself, so the libssl's are ok.
No need to update wget for this, you can use curl if you want.
From the GUI, if it is not working we can't do anything about it because the GUI http request are compiled into the binary.
However from 5.0 there is new QT included so probably also support for TLS1.2