Toon app: Afvalwijzer

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

default icons work because these are included in the resourcefile. The custom icons are not and therefor are not shown currently.. that is what I need to fix.
member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Hi all,

here is the solution to get the custom icons to show up again.
As I said earlier, the issue came with firmware 5 where images are handled differently then before.

The current version of the afvalwijzer app (4.40) can handle this properly but you need to make some changes in the configuration settings and move some files around.
The solution is to move the icons and the file iconLabels.txt to the internal webserver of Toon.

1. create a new folder in /qmf/www called images
2. move your existing icon images plus the file iconLabels.txt to /qmf/www/images
3. go to the afvalwijzer configuration screen and change the contents of the setting 'Lokatie extra icons' to http://localhost/images

restart the gui and you're done.

Kind regards,

Toonz
member of the Toon Software Collective
Dare
Starting Member
Starting Member
Posts: 5
Joined: Sun Mar 17, 2019 1:53 pm

Re: Toon app: Afvalwijzer

Post by Dare »

Hi Toonz, after every update of wastecollection the calender is messed up for Mijnafvalwijzer , place Doetinchem (7003CX).
If I run this query online : http://json.mijnafvalwijzer.nl/?method= ... snummer=56 , I'll get output of pbd which means "papier"
so I fix it to add an extra line in the code:

function wasteTypeMijnafvalwijzer(shortName) {
switch (shortName) {
case "pmd": return 1;
case "pbd": return 1;
default: break;
}

Is it possible to add it in the next release?

Regards

Remko
Dare
Starting Member
Starting Member
Posts: 5
Joined: Sun Mar 17, 2019 1:53 pm

Re: Toon app: Afvalwijzer

Post by Dare »

Hi Toonz, after every update of wastecollection the calender is messed up for Mijnafvalwijzer , place Doetinchem (7003CX).
If I run this query online : http://json.mijnafvalwijzer.nl/?method= ... snummer=56 , I'll get output of pbd which means "papier"
so I fix it to add an extra line in the code:

function wasteTypeMijnafvalwijzer(shortName) {
switch (shortName) {
case "pmd": return 1;
case "pbd": return 1;
default: break;
}

Is it possible to add it in the next release?

Regards

Remko
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

sure, no problem
member of the Toon Software Collective
Migaddo
Starting Member
Starting Member
Posts: 6
Joined: Sun May 31, 2020 10:06 am

Re: Toon app: Afvalwijzer

Post by Migaddo »

Hi,

Currently for Almere (38) let links seems to be:
Almere.nl
If i use this option, nothing is available.
Can the link be replaced by the correct link
https://afvalportaal.2go-mobile.com/mod ... /kalender/

With this link there is an option to fill the postal code and house number to get the calendar for the Almere region.

Thanks
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon app: Afvalwijzer

Post by PeJeWe »

How can I get an ical number from HVC
I had to recover my Toon due to stupidity.
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

go with your browser to the hvc website and login with your zipcode /housenr.
Display the calendar and search for a button like 'zet kalender on agenda' or something similar.
You will then get links with the ical number at the end of the links
member of the Toon Software Collective
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon app: Afvalwijzer

Post by PeJeWe »

Toonz wrote:go with your browser to the hvc website and login with your zipcode /housenr.
Display the calendar and search for a button like 'zet kalender on agenda' or something similar.
You will then get links with the ical number at the end of the links
Yep that did the trick, thanks.
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
Migaddo
Starting Member
Starting Member
Posts: 6
Joined: Sun May 31, 2020 10:06 am

Re: Toon app: Afvalwijzer

Post by Migaddo »

Migaddo wrote:Hi,

Currently for Almere (38) let links seems to be:
Almere.nl
If i use this option, nothing is available.
Can the link be replaced by the correct link
https://afvalportaal.2go-mobile.com/mod ... /kalender/

With this link there is an option to fill the postal code and house number to get the calendar for the Almere region.

Thanks

Hi,
Can you please have a look at this request?
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

sure, will have a look this evening
member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Migaddo wrote:
Migaddo wrote:Hi,

Currently for Almere (38) let links seems to be:
Almere.nl
If i use this option, nothing is available.
Can the link be replaced by the correct link
https://afvalportaal.2go-mobile.com/mod ... /kalender/

With this link there is an option to fill the postal code and house number to get the calendar for the Almere region.

Thanks

Hi,
Can you please have a look at this request?
it is already implemented in the current release 4.41. Please update if you are on an old release.
If it is still not working after updating, can you PM me a valid zipcode/housenr so I can dig into this further?
member of the Toon Software Collective
Migaddo
Starting Member
Starting Member
Posts: 6
Joined: Sun May 31, 2020 10:06 am

Re: Toon app: Afvalwijzer

Post by Migaddo »

HI,

Ik have deleted the Afval Kalender App, as it said is was version 4.40. Now it shows the 4.41 available in the store, however I can install it, but after the reboot it shows that it hasn´t been installed. So i am not able to test it.

My too runs on FW 5.28.9

Can you have a look please?
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Migaddo wrote:HI,

Ik have deleted the Afval Kalender App, as it said is was version 4.40. Now it shows the 4.41 available in the store, however I can install it, but after the reboot it shows that it hasn´t been installed. So i am not able to test it.

My too runs on FW 5.28.9

Can you have a look please?
I advise to manually delete all wastecollection folders and symlinks from /qmf/qml/apps.
Then restart the gui and install the app again from the ToonStore.

Normally this should work, if not please check the file /var/log/tsc for installation errors.

EDIT: I just tested with your zipcode/housenr. Works fine over here (select wastecollector 38 and enter your zipcode and housenr in the settings screen of the app).

Kind regardz,

Toonz
member of the Toon Software Collective
Migaddo
Starting Member
Starting Member
Posts: 6
Joined: Sun May 31, 2020 10:06 am

Re: Toon app: Afvalwijzer

Post by Migaddo »

I advise to manually delete all wastecollection folders and symlinks from /qmf/qml/apps.
Then restart the gui and install the app again from the ToonStore.


HI , I have not fount any waste collectors folders within /qmf/qml/apps
So there was nothing to delete.

Normally this should work, if not please check the file /var/log/tsc for installation errors.
Checked the LOG, and the following error was found:

Checking for updates
Running 5.28.9 on a qb2
Command received: toonstore
Toonstore instructed me to install or remove software
Installing: wastecollection-4.41
Can not find wastecollection 4.41 in github!

Thanks for your help, regards.
Post Reply

Return to “Toon Apps”