Page 60 of 84

Re: Toon app: Afvalwijzer

Posted: Tue Jun 16, 2020 7:15 pm
by Toonz
can you send me a PM with your zipcode?

Re: Toon app: Afvalwijzer

Posted: Wed Jun 17, 2020 1:59 pm
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?

Re: Toon app: Afvalwijzer

Posted: Wed Jun 17, 2020 3:01 pm
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.

Re: Toon app: Afvalwijzer

Posted: Fri Jun 19, 2020 12:09 am
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.

Re: Toon app: Afvalwijzer

Posted: Sun Jun 21, 2020 12:35 pm
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

Re: Toon app: Afvalwijzer

Posted: Mon Jun 22, 2020 5:50 pm
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.

Re: Toon app: Afvalwijzer

Posted: Wed Jun 24, 2020 1:12 pm
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

Re: Toon app: Afvalwijzer

Posted: Wed Jul 01, 2020 7:52 pm
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.

Re: Toon app: Afvalwijzer

Posted: Tue Aug 04, 2020 7:07 pm
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.

Re: Toon app: Afvalwijzer

Posted: Wed Aug 05, 2020 2:51 pm
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

Re: Toon app: Afvalwijzer

Posted: Thu Aug 06, 2020 11:20 am
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 ;-)

Re: Toon app: Afvalwijzer

Posted: Thu Aug 06, 2020 12:52 pm
by Toonz
Hi all,

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

Kind regardz,

Toonz

Re: Toon app: Afvalwijzer

Posted: Thu Aug 06, 2020 4:18 pm
by jumperone
Bedankt voor het aanpassen.
Het werkt voor 100%

Re: Toon app: Afvalwijzer

Posted: Wed Aug 19, 2020 12:22 am
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

Re: Toon app: Afvalwijzer

Posted: Sat Aug 22, 2020 7:33 pm
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.