Moderators: marcelr, TerrorSource, Toonz, TheHogNL
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?
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?
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.
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.
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
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.
Users browsing this forum: No registered users and 1 guest