Page 86 of 86

Re: Toon app: Afvalwijzer

Posted: Mon Jan 06, 2025 6:42 pm
by jnieuw
Bestand in /var/volatile/tmp gezet en nu werkt het :)

Re: Toon app: Afvalwijzer

Posted: Tue Jan 07, 2025 9:43 am
by Toonz
die locatie heeft wel als nadeel dat je het bestand opnieuw moet kopieren na een volledige herstart van Toon (na een stroomstoring bijvoorbeeld)

Re: Toon app: Afvalwijzer

Posted: Tue Jan 07, 2025 10:03 am
by jnieuw
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

Posted: Thu Mar 06, 2025 9:17 pm
by Rudolf
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".

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-
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.

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
With this change, it shows Textiel or KGA

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

Posted: Wed Mar 12, 2025 11:41 am
by Toonz
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

Re: Toon app: Afvalwijzer

Posted: Sat Mar 22, 2025 8:41 pm
by madpatrick
Hi,

Fow sometime i don't see the wastebin icon any more on the homescreen.
Only the arrow is visible when the wastebin has to return

Re: Toon app: Afvalwijzer

Posted: Sat Mar 22, 2025 11:13 pm
by Toonz
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
I assume you are referring to the waste icon in the thermostat panel (above the room temperature) and not the systray icon.
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

Re: Toon app: Afvalwijzer

Posted: Sun Mar 23, 2025 5:26 pm
by madpatrick
I think it is an issue with the custom icons.
My webserver was change a few months ago and the icons were not resored to the new webserver.
Apperntly it was reloading the icons and could not find them (of course)

Only i can get them back for some reason.
The default icon apperaed when switch of the setting custom icons

Can it be and can use https websites?