Page 58 of 84

Re: Toon app: Afvalwijzer

Posted: Thu May 21, 2020 10:34 pm
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.

Re: Toon app: Afvalwijzer

Posted: Fri May 22, 2020 10:29 am
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

Re: Toon app: Afvalwijzer

Posted: Mon May 25, 2020 9:35 am
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

Re: Toon app: Afvalwijzer

Posted: Mon May 25, 2020 9:35 am
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

Re: Toon app: Afvalwijzer

Posted: Mon May 25, 2020 12:10 pm
by Toonz
sure, no problem

Re: Toon app: Afvalwijzer

Posted: Sun May 31, 2020 10:14 am
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

Re: Toon app: Afvalwijzer

Posted: Sun May 31, 2020 2:13 pm
by PeJeWe
How can I get an ical number from HVC
I had to recover my Toon due to stupidity.

Re: Toon app: Afvalwijzer

Posted: Sun May 31, 2020 9:22 pm
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

Re: Toon app: Afvalwijzer

Posted: Sun May 31, 2020 10:02 pm
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.

Re: Toon app: Afvalwijzer

Posted: Mon Jun 01, 2020 7:13 am
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?

Re: Toon app: Afvalwijzer

Posted: Mon Jun 01, 2020 9:48 am
by Toonz
sure, will have a look this evening

Re: Toon app: Afvalwijzer

Posted: Mon Jun 01, 2020 10:11 am
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?

Re: Toon app: Afvalwijzer

Posted: Mon Jun 01, 2020 4:01 pm
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?

Re: Toon app: Afvalwijzer

Posted: Mon Jun 01, 2020 8:31 pm
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

Re: Toon app: Afvalwijzer

Posted: Tue Jun 02, 2020 7:31 am
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.