Toon app: Afvalwijzer

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Toon app: Afvalwijzer

Postby Toonz » Wed Apr 03, 2019 5:58 am

Haven't looked into it yet due to other priorities. Will do soon
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1081
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby MyZ » Wed Apr 03, 2019 8:48 am

Thnx 8)
MyZ
Member
Member
 
Posts: 53
Joined: June 2018

Re: Toon app: Afvalwijzer

Postby oepi-loepi » Fri Apr 05, 2019 8:04 pm


Bedankt voor deze geweldige APP!


Na wat puzzelen heb ik het aan de praat.

Voor Oostvoorne (3233SP / 12 / 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..
oepi-loepi
Starting Member
Starting Member
 
Posts: 8
Joined: February 2019

Re: Toon app: Afvalwijzer

Postby Daniel » Sat Apr 06, 2019 8:05 pm

Thanks the app is working great.


For Hvc Lelystad is iCal/0995200000800456
Daniel
Starting Member
Starting Member
 
Posts: 12
Joined: March 2019

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Apr 08, 2019 7:47 pm

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
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1081
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby oepi-loepi » Sat Apr 13, 2019 8:07 am

Thank you very much for these changes.
oepi-loepi
Starting Member
Starting Member
 
Posts: 8
Joined: February 2019

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Apr 15, 2019 7:03 pm

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...
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1081
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby MyZ » Mon Apr 15, 2019 11:11 pm

Nice, thnx! Also on behalf of my girlfriend :-D
MyZ
Member
Member
 
Posts: 53
Joined: June 2018

Re: Toon app: Afvalwijzer

Postby Toonz » Wed Apr 17, 2019 7:42 pm

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
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1081
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby MyZ » Thu Apr 18, 2019 2:41 pm

Nice!!
MyZ
Member
Member
 
Posts: 53
Joined: June 2018

Re: Toon app: Afvalwijzer

Postby Ricardo026 » Thu May 02, 2019 8:29 pm

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
Ricardo026
Starting Member
Starting Member
 
Posts: 5
Joined: April 2019

Re: Toon app: Afvalwijzer

Postby spits » Fri May 03, 2019 12:11 am

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 "?";
spits
Starting Member
Starting Member
 
Posts: 1
Joined: May 2019

Re: Toon app: Afvalwijzer

Postby Toonz » Sat May 11, 2019 5:17 pm

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
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1081
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Fietspomp » Wed May 15, 2019 12:53 pm

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.
Fietspomp
Starting Member
Starting Member
 
Posts: 22
Joined: January 2018

Re: Toon app: Afvalwijzer

Postby Toonz » Wed May 15, 2019 2:04 pm

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
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1081
Joined: December 2016

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest