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 »

can you send me a PM with your zipcode?
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 »

looks like a potential bug indeed. Will have a look later this week...(and will try to fetch the data online, removing the need to download the html page,no promises)
Just checking: did you refresh recently the download of the omrin html page to Toon?
member of the Toon Software Collective
kurniawan77
Starting Member
Starting Member
Posts: 9
Joined: Wed Oct 04, 2017 8:23 pm

Re: Toon app: Afvalwijzer

Post by kurniawan77 »

Toonz wrote:looks like a potential bug indeed. Will have a look later this week...(and will try to fetch the data online, removing the need to download the html page,no promises)
Just checking: did you refresh recently the download of the omrin html page to Toon?
I just started with a fresh install of the Afvalwijzer app and added the first omrin html page to Toon a few days ago.
ovdleun
Starting Member
Starting Member
Posts: 19
Joined: Thu Apr 21, 2016 8:28 pm

Re: Toon app: Afvalwijzer

Post by ovdleun »

Jasper wrote: I've read somewhere you can make a file yourself and import it, though I can't find it any more.

Do you have a example file somewhere and how to upload it to the Toon?
Hi Jasper,

I've created a script for it. It's formatted for waste collector 30 (Meppel).
The thing you need to change in the script are the start/end dates for each type:
####### Set start and End dates
REST_START=20200102
REST_END=20201231
GFT_START=20200109
GFT_END=20201224
OPK_START=20200110
OPK_END=20201211
###############################

The script outputs the ical file, just redirect it to a file like: $ ./generateICAL.sh ical > waste_calendar.ics

That file you upload to Toon:
$ scp waste_calendar.ics root@<toonIp>:waste/
or with things like winSCP. However the script is to be run on linux.

I added a sample ical generated by the script in the gzip file.

Hope you (and others) find it useful. It's not a pretty script but is does it's job.

Cheers,
Onno.
Attachments
generateICAL.sh.gz
ical generator script
(882 Bytes) Downloaded 306 times
waste_calendar.ics.gz
sample ical file
(2.33 KiB) Downloaded 300 times
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

kurniawan77 wrote:I just started with a fresh install of the Afvalwijzer app and added the first omrin html page to Toon a few days ago.
I just tested omrin.nl and it seems to be working fine if you save the webpage showing your 'Afvalkalender' with the Chrome browser.
Right click somewhere at the blank left side of the page, select 'Save as' and save the page as 'omrin.htm' as type 'Webpage, complete, *htm, *html'.
Copy the file omrin.htm to Toon at /root/waste/omrin.htm

That should do the trick.

P.S. doing the same with Internet explorer gives rubbish output.

Kind regards,

Toonz
member of the Toon Software Collective
Jasper
Member
Member
Posts: 85
Joined: Wed Jun 05, 2019 11:29 pm

Re: Toon app: Afvalwijzer

Post by Jasper »

ovdleun wrote:
Jasper wrote: I've read somewhere you can make a file yourself and import it, though I can't find it any more.

Do you have a example file somewhere and how to upload it to the Toon?
Hi Jasper,

I've created a script for it. It's formatted for waste collector 30 (Meppel).
The thing you need to change in the script are the start/end dates for each type:
####### Set start and End dates
REST_START=20200102
REST_END=20201231
GFT_START=20200109
GFT_END=20201224
OPK_START=20200110
OPK_END=20201211
###############################

The script outputs the ical file, just redirect it to a file like: $ ./generateICAL.sh ical > waste_calendar.ics

That file you upload to Toon:
$ scp waste_calendar.ics root@<toonIp>:waste/
or with things like winSCP. However the script is to be run on linux.

I added a sample ical generated by the script in the gzip file.

Hope you (and others) find it useful. It's not a pretty script but is does it's job.

Cheers,
Onno.
This creates a ical file for every 2 weeks? Ours are collected at monday so we have at least 2 holidays a year that have a different date.
kurniawan77
Starting Member
Starting Member
Posts: 9
Joined: Wed Oct 04, 2017 8:23 pm

Re: Toon app: Afvalwijzer

Post by kurniawan77 »

Toonz wrote:
kurniawan77 wrote:I just started with a fresh install of the Afvalwijzer app and added the first omrin html page to Toon a few days ago.
I just tested omrin.nl and it seems to be working fine if you save the webpage showing your 'Afvalkalender' with the Chrome browser.
Right click somewhere at the blank left side of the page, select 'Save as' and save the page as 'omrin.htm' as type 'Webpage, complete, *htm, *html'.
Copy the file omrin.htm to Toon at /root/waste/omrin.htm

That should do the trick.

P.S. doing the same with Internet explorer gives rubbish output.

Kind regards,

Toonz

That was exactly what I did too. Hmmm, I'll try download it again, maybe with better results
ovdleun
Starting Member
Starting Member
Posts: 19
Joined: Thu Apr 21, 2016 8:28 pm

Re: Toon app: Afvalwijzer

Post by ovdleun »

Jasper wrote: This creates a ical file for every 2 weeks? Ours are collected at monday so we have at least 2 holidays a year that have a different date.
Hi Jasper,

That's correct. During posting my message once got deleted due to error and had to retype it. During that I see I forgot to mention you manually need to update some of those dates.
I had luck this year and only had to shift two dates by one day. The ical file is nothing more than a large text file so guess it shouldn't be of much trouble to update those rare days. ;o)

Regards,
Onno.
Mark035
Starting Member
Starting Member
Posts: 3
Joined: Thu Jul 09, 2020 9:14 am

Re: Toon app: Afvalwijzer

Post by Mark035 »

Hi,

First place, i am very happy with the app afvalwijzer. Thanks!
I have only one question. For me it will be working even better if the app says one day before, the kliko has to go outside.
I know is says it in the ''Tegel'' but I would love to see it at the front page as well. Maybe with a red arrow the same way it is now displayed in the tegel?

I am very curious if it's posible. Thank you for your anwser.
jumperone
Starting Member
Starting Member
Posts: 17
Joined: Mon Apr 02, 2018 3:23 pm

Re: Toon app: Afvalwijzer

Post by jumperone »

Wanneer toon bij (2) deafvalapp.nl gegevens ophaald. bv. 5431BP8

komt er in /var/volatile/tmp/wasteDates.txt data van 2019 dus het ophalen van de calender gaat fout

Wat kan ik er aan doen
I have the toon with Version: 2.0 - ThehogNL - 24-3-2018 upgrade from version 2.9.26 upgrade to 4.10.6. Update failled / Bus error

OPKG Do Not Work / Bus error / orange screen with 2 points.
What can I do
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

deafvalapp.nl changed the waste categorie descriptions, will publish a new wastecollection app version in the next few days
On top of that they now also include data for 2 years which the app doesn't handle well ;-)
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,

version 4.42 is available in the ToonStore.
Changelog:
- fix for deafvalapp.nl (provider 2)

Kind regardz,

Toonz
member of the Toon Software Collective
jumperone
Starting Member
Starting Member
Posts: 17
Joined: Mon Apr 02, 2018 3:23 pm

Re: Toon app: Afvalwijzer

Post by jumperone »

Bedankt voor het aanpassen.
Het werkt voor 100%
I have the toon with Version: 2.0 - ThehogNL - 24-3-2018 upgrade from version 2.9.26 upgrade to 4.10.6. Update failled / Bus error

OPKG Do Not Work / Bus error / orange screen with 2 points.
What can I do
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Hi all,

version 4.43 is available in the ToonStore with fixes for Oosterhout due to changed waste description category names.
No need to update for others.

Kind regardz,

Toonz
member of the Toon Software Collective
memo1996
Starting Member
Starting Member
Posts: 21
Joined: Mon Feb 24, 2020 12:34 am

Re: Toon app: Afvalwijzer

Post by memo1996 »

Ik wil afval kalender instellen op mijn Toon alleen ik zie niks

Wat moet ik invullen bij afvalverwerker in Amsterdam?
Mijn postcode is 1072SH Amsterdam.
Post Reply

Return to “Toon Apps”