Toon app: Afvalwijzer

Forum about forum-provided applications on Toon

Moderators: marcelr, TerrorSource, Toonz, TheHogNL

Re: Toon app: Afvalwijzer

Postby Toonz » Thu May 21, 2020 9:34 pm

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1480
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Toonz » Fri May 22, 2020 9:29 am

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1480
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Dare » Mon May 25, 2020 8:35 am

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: 4
Joined: March 2019

Re: Toon app: Afvalwijzer

Postby Dare » Mon May 25, 2020 8:35 am

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: 4
Joined: March 2019

Re: Toon app: Afvalwijzer

Postby Toonz » Mon May 25, 2020 11:10 am

sure, no problem
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1480
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Migaddo » Sun May 31, 2020 9:14 am

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
Migaddo
Starting Member
Starting Member
 
Posts: 6
Joined: May 2020

Re: Toon app: Afvalwijzer

Postby PeJeWe » Sun May 31, 2020 1:13 pm

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.
PeJeWe
Member
Member
 
Posts: 58
Joined: April 2019

Re: Toon app: Afvalwijzer

Postby Toonz » Sun May 31, 2020 8:22 pm

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1480
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby PeJeWe » Sun May 31, 2020 9:02 pm

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.
PeJeWe
Member
Member
 
Posts: 58
Joined: April 2019

Re: Toon app: Afvalwijzer

Postby Migaddo » Mon Jun 01, 2020 6:13 am

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?
Migaddo
Starting Member
Starting Member
 
Posts: 6
Joined: May 2020

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Jun 01, 2020 8:48 am

sure, will have a look this evening
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1480
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Jun 01, 2020 9:11 am

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1480
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Migaddo » Mon Jun 01, 2020 3:01 pm

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?
Migaddo
Starting Member
Starting Member
 
Posts: 6
Joined: May 2020

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Jun 01, 2020 7:31 pm

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1480
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Migaddo » Tue Jun 02, 2020 6:31 am

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.
Migaddo
Starting Member
Starting Member
 
Posts: 6
Joined: May 2020

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest