Page 46 of 84

Re: Toon app: Afvalwijzer

Posted: Wed Apr 03, 2019 6:58 am
by Toonz
Haven't looked into it yet due to other priorities. Will do soon

Re: Toon app: Afvalwijzer

Posted: Wed Apr 03, 2019 9:48 am
by MyZ
Thnx 8)

Re: Toon app: Afvalwijzer

Posted: Fri Apr 05, 2019 9:04 pm
by oepi-loepi

Bedankt voor deze geweldige APP!


Na wat puzzelen heb ik het aan de praat.

Voor Oostvoorne (xxxxxxx. Mijnafvalwijzer, optie 1) gaat de json helaas in de fout

Dit heb ik opgelost door een oude HTML functie uit 3.8 te plakken in function readMijnafvalwijzer() :

Echter in het stukje zit voor mijn postcode een extra spatie na de 'afvalcode' in de HTML. Dit heb ik opgelost door hetvolgende:

in het stukje uit de HTML code:

if ( i < endList) {
while (i < endList) {
j = aNode.indexOf('"', i);
wasteCodeHTML = aNode.substring(i + 7,j);
j = aNode.indexOf('"' + wasteCodeHTML + '"', i);
k = aNode.indexOf('>', j);

vervang de regel:

j = aNode.indexOf('"' + wasteCodeHTML + '"', i);

door:

j = aNode.indexOf('"' + wasteCodeHTML , i);


Is het ook mogelijk om een keuze te maken in het configuratiescherm voor bijvoorbeeld 31: "mijnafvalwijzer.nl (HTML)" ?
Wellicht zijn er meer gemeenten waar de JSON optie niet werkt..

Re: Toon app: Afvalwijzer

Posted: Sat Apr 06, 2019 9:05 pm
by Daniel
Thanks the app is working great.


For Hvc Lelystad is iCal/0995200000800456

Re: Toon app: Afvalwijzer

Posted: Mon Apr 08, 2019 8:47 pm
by Toonz
Hi all,

Version 4.21 is released in the ToonStore.
Changelog:
- new provider 31: mijnafvalwijzer.nl using HTML for mijnafvalwijzer cities (e.g. Oostvoorne) which do not support json (provider 1)
- added waste description for cyclusnv.nl (chemical waste)
- fixed the code which didn't show any dates on firmware 5 only if a waste description didn't exist

No need to update if it works fine for you at the moment.

Kind regardz,

Toonz

Re: Toon app: Afvalwijzer

Posted: Sat Apr 13, 2019 9:07 am
by oepi-loepi
Thank you very much for these changes.

Re: Toon app: Afvalwijzer

Posted: Mon Apr 15, 2019 8:03 pm
by Toonz
MyZ wrote:Hi Toonz,
Since I'm running on the latest firmware I have a problem with the status icon. When, for example, I put it "aan straat", the next morning the status has been reset. Any idea?
Finally made time to fix this very old bug/feature. The 'aan straat' status will not be reset anymore at midnight.
Will do some more testing tonight to be sure and release 4.22 when ok later this week.
EDIT: same logic need to be applied in the Thermostat panel in the resource files. Will be released separately.
EDIT2: testing successful, ready for release but first watching football tonight...

Re: Toon app: Afvalwijzer

Posted: Tue Apr 16, 2019 12:11 am
by MyZ
Nice, thnx! Also on behalf of my girlfriend :-D

Re: Toon app: Afvalwijzer

Posted: Wed Apr 17, 2019 8:42 pm
by Toonz
Hi all,

Version 4.22 is released in the ToonStore.
Changelog:
- The 'aan straat' status will not be reset anymore at midnight. This is fixed on the tile itself.

The same functionality has been applied to icons on the thermostat panel but that will be released separately via a new TCS resource file in the near future.

Kind regardz,

Toonz

Re: Toon app: Afvalwijzer

Posted: Thu Apr 18, 2019 3:41 pm
by MyZ
Nice!!

Re: Toon app: Afvalwijzer

Posted: Thu May 02, 2019 9:29 pm
by Ricardo026
Hi, Is it possible to set the date of the waste ? Like my situation
Tomorrow is the Gtf day, and i always put the container on the street the evening before the pickup day.

But my toon is not showing a icon to warn me

Re: Toon app: Afvalwijzer

Posted: Fri May 03, 2019 1:11 am
by spits
Toonz wrote:Hi all,

Version 4.22 is released in the ToonStore.
Changelog:
- The 'aan straat' status will not be reset anymore at midnight. This is fixed on the tile itself.

The same functionality has been applied to icons on the thermostat panel but that will be released separately via a new TCS resource file in the near future.

Kind regardz,

Toonz
In the WastecollectionApp.qml i changed a line because ther waste changed

from

Code: Select all

	function wasteTypeRova(shortName) {
		switch (shortName) {
			case "GFT": return 3;		//groente/fruit	
			case "REST": return 0;		//huisvuil
                        case "PAPIER": return 2;	//papier en karton
			default: break;
		}
		return "?";
to

Code: Select all

	function wasteTypeRova(shortName) {
		switch (shortName) {
			case "GFT": return 3;		//groente/fruit	
			case "REST": return 0;		//huisvuil
			case "PAPIER": return 2;	//papier en karton
                        case "PLASTICPLUS": return 1;   //plastic, drankpakken, metaal
			default: break;
		}
		return "?";

Re: Toon app: Afvalwijzer

Posted: Sat May 11, 2019 6:17 pm
by Toonz
hi all,

for users in the rmn.nl area: I think I can now retrieve the calendars online (no need for cron and wget anymore to download the calendar to Toon).
Will do some testing in the coming days.....

If it works, I will not release this immediately.
I am in the midst of rewriting the app to be able to download the code for a specific provider.
Currently the app contains the code for all providers.
In the new setup the app will be much smaller and no need for new releases when new providers are added

Kind regardz,

Toonz

Re: Toon app: Afvalwijzer

Posted: Wed May 15, 2019 1:53 pm
by Fietspomp
I haven't use this because it didn't work in my town (Oostvoorne as well).
But now the JSON also works in Oostvoorne! (Using a custom component for Home Assistant, so I'm guessing this one will work as well).

Great job on using the HTML scraper though for areas where JSON doesn't work.

Re: Toon app: Afvalwijzer

Posted: Wed May 15, 2019 3:04 pm
by Toonz
Fietspomp wrote:I haven't use this because it didn't work in my town (Oostvoorne as well).
But now the JSON also works in Oostvoorne! (Using a custom component for Home Assistant, so I'm guessing this one will work as well).

Great job on using the HTML scraper though for areas where JSON doesn't work.
what company is collecting waste in Oostvoorne?
I am planning to release the next version of the app after the weekend so can include this as well