Toon app: Afvalwijzer
Moderators: marcelr, TheHogNL, Toonz
Re: Toon app: Afvalwijzer
Haven't looked into it yet due to other priorities. Will do soon
member of the Toon Software Collective
-
- Advanced Member
- Posts: 636
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon app: Afvalwijzer
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..
Last edited by oepi-loepi on Fri Sep 11, 2020 10:31 pm, edited 1 time in total.
Re: Toon app: Afvalwijzer
Thanks the app is working great.
For Hvc Lelystad is iCal/0995200000800456
For Hvc Lelystad is iCal/0995200000800456
Re: Toon app: Afvalwijzer
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
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
member of the Toon Software Collective
-
- Advanced Member
- Posts: 636
- Joined: Sat Feb 09, 2019 7:18 pm
Re: Toon app: Afvalwijzer
Thank you very much for these changes.
Re: Toon app: Afvalwijzer
Finally made time to fix this very old bug/feature. The 'aan straat' status will not be reset anymore at midnight.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?
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...
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Nice, thnx! Also on behalf of my girlfriend
Re: Toon app: Afvalwijzer
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
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
member of the Toon Software Collective
-
- Starting Member
- Posts: 8
- Joined: Wed Apr 10, 2019 10:00 pm
Re: Toon app: Afvalwijzer
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
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
In the WastecollectionApp.qml i changed a line because ther waste changedToonz 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
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 "?";
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
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
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
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
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.
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
what company is collecting waste in Oostvoorne?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.
I am planning to release the next version of the app after the weekend so can include this as well
member of the Toon Software Collective