
Toon app: Afvalwijzer
Moderators: marcelr, TheHogNL, Toonz
Re: Toon app: Afvalwijzer
Bestand in /var/volatile/tmp gezet en nu werkt het 

Re: Toon app: Afvalwijzer
die locatie heeft wel als nadeel dat je het bestand opnieuw moet kopieren na een volledige herstart van Toon (na een stroomstoring bijvoorbeeld)
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Dat snap ik. Alleen is dat nu de enige manier dat hij het wel oppakt. Geen idee waarom, maar het werkt.
Re: Toon app: Afvalwijzer
Hi,
I've been using this app for quite some time without any problems. But today I noticed that it shows additional dates, "Onbekend".
This is provider '33'. Looks like the expected pick-up dates are shown as well.
Wastedates.txt shows a question mark for these.
The .ics has Summary "Onbekend".
Edit: Thanks to the comments in the wasteCollectionProvider.js I could try the API manually and it seems I now get "Kca" and "Textiel¨
BAR-afvalbeheer shows:
"Mobiel afvalaanbiedstation (zie afvalwijzer)"
for these dates.
It's a bit difficult to show what it is, because it allows you to bring several types of waste at severa locations throughout the town.
With this change, it shows Textiel or KGA
I've been using this app for quite some time without any problems. But today I noticed that it shows additional dates, "Onbekend".
This is provider '33'. Looks like the expected pick-up dates are shown as well.
Wastedates.txt shows a question mark for these.
The .ics has Summary "Onbekend".
Code: Select all
EGIN:VEVENT^M
DTSTART;VALUE=DATE:20250311^M
SUMMARY:Onbekend^M
BEGIN:VEVENT^M
BEGIN:VEVENT^M
DTSTART;VALUE=DATE:20250311^M
SUMMARY:Onbekend^M
BEGIN:VEVENT^M
BEGIN:VEVENT^M
DTSTART;VALUE=DATE:20250312^M
SUMMARY:GFT^M
BEGIN:VEVENT^M
BEGIN:VEVENT^M
DTSTART;VALUE=DATE:20250314^M
SUMMARY:Onbekend^M
BEGIN:VEVENT^M
BEGIN:VEVENT^M
DTSTART;VALUE=DATE:20250314^M
SUMMARY:Onbekend^M
BEGIN:VEVENT^M
BEGIN:VEVENT^M
DTSTART;VALUE=DATE:20250319^M
SUMMARY:Rest^M
BEGIN:VEVENT^M
BEGIN:VEVENT^M
DTSTART;VALUE=DATE:20250324^M
SUMMARY:Papier^M
BEGIN:VEVENT^M
BEGIN:VEVENT^M
DTSTART;VALUE=DATE:20250326^M
Edit: Thanks to the comments in the wasteCollectionProvider.js I could try the API manually and it seems I now get "Kca" and "Textiel¨
Code: Select all
[{"date":"2025-03-11T00:00:00","name":"Kca","daysTillDate":5,"totalThisYear":null},{"date":"2025-03-11T00:00:00","name":"Textiel","daysTillDate":5,"totalThisYear":null},{"date":"2025-03-12T00:00:00","name":"Gft","daysTillDate":6,"totalThisYear":null},{"date":"2025-03-14T00:00:00","name":"Kca","daysTillDate":8,"totalThisYear":null},{"date":"2025-03-14T00:00:00","name":"Textiel","daysTillDate":8,"totalThisYear":null},{"date":"2025-03-19T00:00:00","name":"Pbd","daysTillDate":13,"totalThisYear":null},{"date":"2025-03-19T00:00:00","name":"Restafval","daysTillDate":13,"totalThisYear":null},{"date":"2025-03-21T00:00:00","name":"Papier","daysTillDate":15,"totalThisYear":null},{"date":"2025-03-26T00:00:00","name":"Gft","daysTillDate":20,"totalThisYear":null},{"date":"2025-03-28T00:00:00","name":"Kca","daysTillDate":22,"totalThisYear":null},{"date":"2025-03-28T00:00:00","name":"Textiel","daysTillDate":22,"totalThisYear":null},{"date":"2025-04-02T00:00:00","name":"Pbd","daysTillDate":27,"totalThisYear":null},{"date":"2025-04-02T00:00:00","name":"Restafval","daysTillDate":27,"totalThisYear":null},{"date":"2025-04-08T00:00:00","name":"Kca","daysTillDate":33,"totalThisYear":null},{"date":"2025-04-08T00:00:00","name":"Textiel","daysTillDate":33,"totalThisYear":null},{"date":"2025-04-09T00:00:00","name":"Gft","daysTillDate":34,"totalThisYear":null},{"date":"2025-04-11T00:00:00","name":"Kca","daysTillDate":36,"totalThisYear":null},{"date":"2025-04-11T00:00:00","name":"Textiel","daysTillDate":36,"totalThisYear":null},{"date":"2025-04-16T00:00:00","name":"Pbd","daysTillDate":41,"totalThisYear":null},{"date":"2025-04-16T00:00:00","name":"Restafval","daysTillDate":41,"totalThisYear":null},{"date":"2025-04-18T00:00:00","name":"Papier","daysTillDate":43,"totalThisYear":null},{"date":"2025-04-23T00:00:00","name":"Gft","daysTillDate":48,"totalThisYear":null},{"date":"2025-04-25T00:00:00","name":"Kca","daysTillDate":50,"totalThisYear":null},{"date":"2025-04-25T00:00:00","name":"Textiel","daysTillDate":50,"totalThisYear":null},{"date":"2025-04-30T00:00:00","name":"Pbd","daysTillDate":55,"totalThisYear":null},{"date":"2025-04-30T00:00:00","name":"Restafval","daysTillDate":55,"totalThisYear":null},{"date":"2025-05-
"Mobiel afvalaanbiedstation (zie afvalwijzer)"
for these dates.
It's a bit difficult to show what it is, because it allows you to bring several types of waste at severa locations throughout the town.
Code: Select all
Kleine elektrische apparaten zoals een kapotte föhn, tandenborstel, laptop, scheerapparaat, lamp, boormachine of telefoon.
Klein Chemisch Afval (KCA) zoals een verfblik, olie, medicatie, spaarlampen of batterijen.
Harde kunststoffen zoals speelgoed, plantenbakje, opbergkrat of een emmer.
Hout zoals een krukje, fotolijstje, onderzetters, vogelhuisje of plankje.
Metalen zoals een koekenpan, keukengerei, gereedschap, rekje, prullenbak of ijzerdraad.
Karton zoals een doos.
Frituurvet - en oliën
Piepschuim
Textiel
Code: Select all
function wasteTypeCode(shortName) {
switch (shortName) {
case "Restafval": return 0;
case "Gft": return 3;
case "Papier": return 2;
case "Pbd": return 1;
case "Kca": return 7;
case "Textiel": return 5;
default: break;
}
return "?";
}
Re: Toon app: Afvalwijzer
Thanks Rudolf,
I have updated the plugin '33', additionally also added the 'Snoeiafval' waste code used in some other cities (rwm.nl provider)
Please go to the 'Instellingen' screen of the app to automatically update the plugin.
Kind regardz,
Toonz
I have updated the plugin '33', additionally also added the 'Snoeiafval' waste code used in some other cities (rwm.nl provider)
Please go to the 'Instellingen' screen of the app to automatically update the plugin.
Kind regardz,
Toonz
member of the Toon Software Collective
- madpatrick
- Member
- Posts: 106
- Joined: Wed Dec 06, 2017 9:52 pm
- Location: Zuid-Holland
Re: Toon app: Afvalwijzer
Hi,
Fow sometime i don't see the wastebin icon any more on the homescreen.
Only the aeeow is visible when the wastebin has to return
Fow sometime i don't see the wastebin icon any more on the homescreen.
Only the aeeow is visible when the wastebin has to return
Re: Toon app: Afvalwijzer
I assume you are referring to the waste icon in the thermostat panel (above the room temperature) and not the systray icon.madpatrick wrote: ↑Sat Mar 22, 2025 8:41 pm Hi,
Fow sometime i don't see the wastebin icon any more on the homescreen.
Only the aeeow is visible when the wastebin has to return
Can you go to the settings screen of the app to review your settings:
'Display icon vanaf uur:" 18 (if you want to show icons from 18:00 the day before the waste is collected
"Afvalicons in thermostaat" : enabled (green)
If all is set ok and the future waste collection dates shown are ok, then I would advise to restart the gui.
Note that the wastecollection app is starting retrieving data about 5 minutes after the gui restart
member of the Toon Software Collective