Toon app: Afvalwijzer

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Joskep wrote: Sat Jun 10, 2023 9:34 pm Is it easy to make an .txt file for the RMN dates? I was wondering if it gives the same result as ical? (I mean visually on the Toon with the (correct) icons or a standard icon with the name of the correct wastebin)
All dates found are stored in a txt file on Toon: /var/tmp/wasteDates.txt
(description of that file in the first post).

Is that what you are looking for?

Kind regardz,

Toonz
member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

a3vd wrote: Tue Jun 06, 2023 11:04 pm Hebben ze iets gewijzigd bij meerlanden gemeente noordwijk ?

Deze link https://wasteapi2.ximmio.com/api/CallIc ... ln=nl&nt=7

en gemeente 16 werken niet meer , er staan geen ophaaldatums meer sinds een week of zo, hiervoor heeft het altijd gewoon gewerkt.
Werkt hier prima met bovenstaande link.
member of the Toon Software Collective
hmostard
Starting Member
Starting Member
Posts: 13
Joined: Wed Feb 06, 2019 10:15 pm

Re: Toon app: Afvalwijzer

Post by hmostard »

Ja dacht ik al. Bedankt voor de snelle reactie.
Heb een bericht gestuurd naar Avalex.
Mocht andere er last van hebben is de oorzaak in ieder geval bekend.
Joskep
Member
Member
Posts: 141
Joined: Sat Mar 09, 2019 11:07 pm

Re: Toon app: Afvalwijzer

Post by Joskep »

Toonz wrote: Sat Jun 10, 2023 9:40 pm
Joskep wrote: Sat Jun 10, 2023 9:34 pm Is it easy to make an .txt file for the RMN dates? I was wondering if it gives the same result as ical? (I mean visually on the Toon with the (correct) icons or a standard icon with the name of the correct wastebin)
All dates found are stored in a txt file on Toon: /var/tmp/wasteDates.txt
(description of that file in the first post).

Is that what you are looking for?



Kind regardz,

Toonz
EDIT: is it just editing the .txt file with an editor like NANO/VIM? (Then i first have to install it via the command line. It looks like its not yet installed on the Toon) If so...i know how to, but just to be sure.
When i CAT a random file it gives the output on screen, but not when i try "cat wasteDates.txt"
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Joskep wrote: Sat Jun 10, 2023 10:00 pm EDIT: is it just editing the .txt file with an editor like NANO/VIM? (Then i first have to install it via the command line. It looks like its not yet installed on the Toon) If so...i know how to, but just to be sure.
When i CAT a random file it gives the output on screen, but not when i try "cat wasteDates.txt"
Ah, you want to edit the dates yourself.
That's easy: In the settings screen of the app choose provider 0.
At the bottom you can specify the location of file with your waste dates, for example file:///root/myDates.txt
With the editor of your choice you can create that file in the root folder.

What happens is that the app will collect all dates from myDates.txt and write the output to /var/tmp/wasteDates.txt every update cycle.
Editing /var/tmp/wasteDates.txt is useless as it will be overwritten daily.
member of the Toon Software Collective
Joskep
Member
Member
Posts: 141
Joined: Sat Mar 09, 2019 11:07 pm

Re: Toon app: Afvalwijzer

Post by Joskep »

Thanks! I will try this soon
cokleiden
Starting Member
Starting Member
Posts: 4
Joined: Thu Jun 22, 2023 2:47 pm

Re: Toon app: Afvalwijzer

Post by cokleiden »

hmostard wrote: Sat Jun 10, 2023 9:52 pm Ja dacht ik al. Bedankt voor de snelle reactie.
Heb een bericht gestuurd naar Avalex.
Mocht andere er last van hebben is de oorzaak in ieder geval bekend.
wat is de oorzaak? ik heb hetselfde porbleem met avalex . :cry:
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

cokleiden wrote: Thu Jun 22, 2023 2:54 pm
hmostard wrote: Sat Jun 10, 2023 9:52 pm Ja dacht ik al. Bedankt voor de snelle reactie.
Heb een bericht gestuurd naar Avalex.
Mocht andere er last van hebben is de oorzaak in ieder geval bekend.
wat is de oorzaak? ik heb hetselfde porbleem met avalex . :cry:
staat 1 bladzijde terug: https://www.domoticaforum.eu/viewtopic. ... 20#p101920
member of the Toon Software Collective
Rudolf
Member
Member
Posts: 136
Joined: Mon Dec 04, 2017 8:50 pm

Re: Toon app: Afvalwijzer

Post by Rudolf »

Goed nieuw voor de inwoners van BAR (en de de gebruikers van Home Assistant):

De maker van afvalinfo heeft het voor elkaar om de data in te lezen.
https://github.com/heyajohnny/afvalinfo

HIer kun je de data inzien en een .ics (en een config voor HA) genereren.
https://4fv4l.nl/

Achtergrondinformatie: https://github.com/heyajohnny/afvalinfo/issues/357
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

nice, will look into this

EDIT: heyajohnny kindly shared his homeassistant solution, will implement in the coming days in my app
member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Hi all,

good News for users of bar-afvalbeheer.nl and rmn.nl :-)

Thanks to our friends from the homeassistant community (heyajohnny) you can use the Afvalwijzer app again on Toon.
Select provider 33 in the settings screen and fill in your zipcode/housenr.

Toon will reboot once to load the new plugin.

Kind regardz,

Toonz

P.S. Rudolf, thanks for the hint
member of the Toon Software Collective
localhost
Starting Member
Starting Member
Posts: 2
Joined: Mon Feb 20, 2023 12:20 pm

Re: Toon app: Afvalwijzer

Post by localhost »

HELD!
Rudolf
Member
Member
Posts: 136
Joined: Mon Dec 04, 2017 8:50 pm

Re: Toon app: Afvalwijzer

Post by Rudolf »

This is amazing! And so fast too.

Does the app require an update, 33 isnt a valid/documented choice anymore, is it?
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Rudolf wrote: Tue Jun 27, 2023 8:36 pm This is amazing! And so fast too.

Does the app require an update, 33 isnt a valid/documented choice anymore, is it?
Option 33 is available again, but it doesn't require an app update anymore to add / change providers since the implementation of the plugin mechanism in version 5.5.
In the github repository I can simply edit the 'index' json file with all available providers.
The app is reading that file each time you enter the settings screen and at startup to check if there are updates of your plugin available.

So, just go the settings screen and select option 33 again (if you already had option 33 it will tell you that there is an update I believe).

P.S. if you had already 33 and it is not updating, then I didn't increase the version number correctly.
In that case select another option first and after reboot switch back to 33 as a workaround.
P.P.S and you need to enter your zipcode/housenr now....
member of the Toon Software Collective
hmostard
Starting Member
Starting Member
Posts: 13
Joined: Wed Feb 06, 2019 10:15 pm

Re: Toon app: Afvalwijzer

Post by hmostard »

Avalex heeft zijn interface weer online.
Afvalwijzer werkt weer.😁
Post Reply

Return to “Toon Apps”