Toon app: Afvalwijzer
Moderators: marcelr, TheHogNL, Toonz
Re: Toon app: waste collection (Afvalwijzer)
You probably need to download the .ics file from your municipality''s website. And then follow the instructions as stated in the Manuals thread.
(this is for an address in Valkenburg, that I picked ramdomly):
https://www.katwijk.nl/nc/wonen-verkeer ... 0f3097a349
It's an ics that is valid until the end of the year, so you only need to download it once a year (on january 1st ). Not sure if this particular .ics format will work out of the box.
Toonz?
(this is for an address in Valkenburg, that I picked ramdomly):
https://www.katwijk.nl/nc/wonen-verkeer ... 0f3097a349
It's an ics that is valid until the end of the year, so you only need to download it once a year (on january 1st ). Not sure if this particular .ics format will work out of the box.
Toonz?
-
- Administrator
- Posts: 494
- Joined: Thu May 04, 2017 9:28 pm
Re: Toon app: waste collection (Afvalwijzer)
Isnt this website the correct one?dennis071nl wrote:Hi guys,
Where can i find a list of waste collection providers?? I live in Katwijk, actually Valkenburg gemeente Katwijk, but i can't find my area on the given sites...
Can anyone confirm this??
Thanks, Dennis
https://www.katwijk.nl/nc/wonen-verkeer ... nzameling/
I used a zipcode from a house on Funda (2235 AR - 44) and i'm seeing a result. Can you can your own zipcode/housenumber?
Zipcode+housenumber is hashed so that will make it somewhat complicated i guess.
https://www.katwijk.nl/nc/wonen-verkeer ... bdf64b32d0
-
- Starting Member
- Posts: 35
- Joined: Sat Jun 03, 2017 9:13 pm
Re: Toon app: waste collection (Afvalwijzer)
isn't it possible to create an ICS myself, since the data in this one isn't correct......
i mean, it's not that hard to create a recurring appointment for my grijze bak and the next week for the GFT bak....
Should i take some formatting into account???
i mean, it's not that hard to create a recurring appointment for my grijze bak and the next week for the GFT bak....
Should i take some formatting into account???
Re: Toon app: waste collection (Afvalwijzer)
Hi Dennis,
you can take the 'manual' workaround once a year
Download the calendar .ics file from the katwijk website and copy it to Toon as "/root/waste/waste_calendar.ics".
I just need to change the app a bit to read the correct descriptions "Groene container" / "Grijze container".
Will do tomorrow (too late now)
Regardz,
Toonz
you can take the 'manual' workaround once a year
Download the calendar .ics file from the katwijk website and copy it to Toon as "/root/waste/waste_calendar.ics".
I just need to change the app a bit to read the correct descriptions "Groene container" / "Grijze container".
Will do tomorrow (too late now)
Regardz,
Toonz
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Hi all,
I enhanced the app with the waste provider 'katwijk.nl'.
As this provider is using 'https', a separate method of retrieving the data needs to be installed as posted by Marcelr earlier.
This version is reading the file '/root/waste/waste_calendar.ics' to get the waste collection dates for Katwijk.
Configuration:
You need to edit WastecollectionApp.qml at the top to select one of the five supported waste providers
And edit your zipcode/house nr (not needed for Cure Avalbeheer, Cyclus NV and Katwijk.nl).
This version is fully compatible with the thermostat_mod V1.2 posted earlier.
Currently supported:
"mijnafvalwijzer.nl"
"deafvalapp.nl"
"cure-afvalbeheer.nl"
"cyclusnv.nl"
"katwijk.nl"
Let me know if you want support for additional providers.
Regardsz,
Toonz
I enhanced the app with the waste provider 'katwijk.nl'.
As this provider is using 'https', a separate method of retrieving the data needs to be installed as posted by Marcelr earlier.
This version is reading the file '/root/waste/waste_calendar.ics' to get the waste collection dates for Katwijk.
Configuration:
You need to edit WastecollectionApp.qml at the top to select one of the five supported waste providers
And edit your zipcode/house nr (not needed for Cure Avalbeheer, Cyclus NV and Katwijk.nl).
This version is fully compatible with the thermostat_mod V1.2 posted earlier.
Currently supported:
"mijnafvalwijzer.nl"
"deafvalapp.nl"
"cure-afvalbeheer.nl"
"cyclusnv.nl"
"katwijk.nl"
Let me know if you want support for additional providers.
Regardsz,
Toonz
- Attachments
-
- wastecollection_V1.5.zip
- (13.57 KiB) Downloaded 536 times
member of the Toon Software Collective
-
- Member
- Posts: 151
- Joined: Thu Oct 03, 2013 7:53 pm
Re: Toon app: waste collection (Afvalwijzer)
Can you add support for this one?
http://inzamelkalender.hvcgroep.nl/push ... =&adresid=
(Ofcourse random postalcode but working)
By researching the right link the page gave me an interesting error....spits out the database name, username, password, port, path etc. etc.
Will tell them.
http://inzamelkalender.hvcgroep.nl/push ... =&adresid=
(Ofcourse random postalcode but working)
By researching the right link the page gave me an interesting error....spits out the database name, username, password, port, path etc. etc.
Will tell them.
Re: Toon app: waste collection (Afvalwijzer)
gives as a result:
{"error":"Retrieving list data failed"}
Webpage gives me:
"Geen inzameling op dit adres
Er is geen inzameling door HVC op uw adres. Ga terug naar de vorige pagina wanneer u een andere postcode wilt invoeren. Bent u er zeker van dat HVC bij u de afvalinzameling verzorgt? Neemt u dan contact op met onze klantenservice via 0800 - 0700 of klantenservice@hvcgroep.nl . "
using 1671 EK / 2 works fine....output looks ok, no separate paper collection?
{"error":"Retrieving list data failed"}
Webpage gives me:
"Geen inzameling op dit adres
Er is geen inzameling door HVC op uw adres. Ga terug naar de vorige pagina wanneer u een andere postcode wilt invoeren. Bent u er zeker van dat HVC bij u de afvalinzameling verzorgt? Neemt u dan contact op met onze klantenservice via 0800 - 0700 of klantenservice@hvcgroep.nl . "
using 1671 EK / 2 works fine....output looks ok, no separate paper collection?
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Hi all,
I enhanced the app with the waste provider 'hvcgroep.nl'.
Configuration:
You need to edit WastecollectionApp.qml at the top to select one of the six supported waste providers
And edit your zipcode/house nr (not needed for Cure Avalbeheer, Cyclus NV and Katwijk.nl).
This version is fully compatible with the thermostat_mod V1.2 posted earlier.
Currently supported:
"mijnafvalwijzer.nl"
"deafvalapp.nl"
"cure-afvalbeheer.nl"
"cyclusnv.nl"
"katwijk.nl"
"hvcgroep.nl"
Let me know if you want support for additional providers.
Regardsz,
Toonz
I enhanced the app with the waste provider 'hvcgroep.nl'.
Configuration:
You need to edit WastecollectionApp.qml at the top to select one of the six supported waste providers
And edit your zipcode/house nr (not needed for Cure Avalbeheer, Cyclus NV and Katwijk.nl).
This version is fully compatible with the thermostat_mod V1.2 posted earlier.
Currently supported:
"mijnafvalwijzer.nl"
"deafvalapp.nl"
"cure-afvalbeheer.nl"
"cyclusnv.nl"
"katwijk.nl"
"hvcgroep.nl"
Let me know if you want support for additional providers.
Regardsz,
Toonz
- Attachments
-
- wastecollection_V1.6.zip
- (13.8 KiB) Downloaded 536 times
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Hi Toonz,
Do you think it's possible to add http://afvalkalender.dar.nl?
I think they only offer an .ical file but i can't seem to get the file trough wget.
Contents of the file if downloaded with wget:
Downloading with Firefox works fine though...
Any suggestions?
Do you think it's possible to add http://afvalkalender.dar.nl?
I think they only offer an .ical file but i can't seem to get the file trough wget.
Contents of the file if downloaded with wget:
Code: Select all
<br />
<b>Warning</b>: mysql_real_escape_string() [<a href='function.mysql-real-escape-string'>function.mysql-real-escape-string</a>]: Access denied for user ''@'localhost' (using password: NO) in <b>/data/www/afvalkalender-dar-nl/Classes/Custom/KalenderManager.class.php</b> on line <b>516</b><br />
<br />
<b>Warning</b>: mysql_real_escape_string() [<a href='function.mysql-real-escape-string'>function.mysql-real-escape-string</a>]: A link to the server could not be established in <b>/data/www/afvalkalender-dar-nl/Classes/Custom/KalenderManager.class.php</b> on line <b>516</b><br />
BEGIN:VCALENDAR
PRODID:-//Opzet/Inzamelkalender/
VERSION:2.0
METHOD:PUBLISH
X-MS-OLK-FORCEINSPECTOROPEN:TRUE
END:VCALENDAR
Any suggestions?
Re: Toon app: waste collection (Afvalwijzer)
you don't need to use wget. Toon can retrieve this directly (using http).
You can get a standard ics calendar file but as all the others, the contents differ each time (perfectly usable though). No standardisation in wasteland.
Sample: http://afvalkalender.dar.nl/download_ic ... 41XK&h=401
Will put this in the next release (shouldn't take long but I already get complaints to sit too long after the laptop in the evenings )
You can get a standard ics calendar file but as all the others, the contents differ each time (perfectly usable though). No standardisation in wasteland.
Sample: http://afvalkalender.dar.nl/download_ic ... 41XK&h=401
Will put this in the next release (shouldn't take long but I already get complaints to sit too long after the laptop in the evenings )
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
hmmm, processing the ics file was easy but indeed Toon refuses to download the ICS file.
@Marcelr : can you have a look and try if we can use wget for dar.nl (see the link above, works fine via IE)?
@Marcelr : can you have a look and try if we can use wget for dar.nl (see the link above, works fine via IE)?
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Hi all,
I enhanced the app with the waste provider 'dar.nl'.
The calendar.ics file from their website needs to be manually downloaded and copied to: '/root/waste/waste_calendar.ics' .
Shouldn't be too much of an hassle as the file contains all dates for the rest of the year.
Configuration:
You need to edit WastecollectionApp.qml at the top to select one of the six supported waste providers
And edit your zipcode/house nr (not needed for Cure Avalbeheer, Cyclus NV, Dar.nl and Katwijk.nl).
This version is fully compatible with the thermostat_mod V1.2 posted earlier.
Currently supported:
"mijnafvalwijzer.nl"
"deafvalapp.nl"
"cure-afvalbeheer.nl"
"cyclusnv.nl"
"katwijk.nl"
"dar.nl"
Let me know if you want support for additional providers.
Regardsz,
Toonz
I enhanced the app with the waste provider 'dar.nl'.
The calendar.ics file from their website needs to be manually downloaded and copied to: '/root/waste/waste_calendar.ics' .
Shouldn't be too much of an hassle as the file contains all dates for the rest of the year.
Configuration:
You need to edit WastecollectionApp.qml at the top to select one of the six supported waste providers
And edit your zipcode/house nr (not needed for Cure Avalbeheer, Cyclus NV, Dar.nl and Katwijk.nl).
This version is fully compatible with the thermostat_mod V1.2 posted earlier.
Currently supported:
"mijnafvalwijzer.nl"
"deafvalapp.nl"
"cure-afvalbeheer.nl"
"cyclusnv.nl"
"katwijk.nl"
"dar.nl"
Let me know if you want support for additional providers.
Regardsz,
Toonz
- Attachments
-
- wastecollection_V1.7.zip
- (13.86 KiB) Downloaded 563 times
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
If you could make it work with https://inzamelkalender.hvcgroep.nl that would be great, but I think it will be hard as I do not see ant ICS support on the site.Toonz wrote:
Let me know if you want support for additional providers.
Regardsz,
Toonz
-
- Member
- Posts: 151
- Joined: Thu Oct 03, 2013 7:53 pm
Re: Toon app: waste collection (Afvalwijzer)
Works like a Charm! I forgot to say thanx for that!
Toonz wrote:Hi all,
I enhanced the app with the waste provider 'hvcgroep.nl'.
Configuration:
You need to edit WastecollectionApp.qml at the top to select one of the six supported waste providers
And edit your zipcode/house nr (not needed for Cure Avalbeheer, Cyclus NV and Katwijk.nl).
This version is fully compatible with the thermostat_mod V1.2 posted earlier.
Currently supported:
"mijnafvalwijzer.nl"
"deafvalapp.nl"
"cure-afvalbeheer.nl"
"cyclusnv.nl"
"katwijk.nl"
"hvcgroep.nl"
Let me know if you want support for additional providers.
Regardsz,
Toonz
Re: Toon app: waste collection (Afvalwijzer)
Already supported and confirmed working by Ierlandfan .odelay99 wrote: If you could make it work with https://inzamelkalender.hvcgroep.nl that would be great, but I think it will be hard as I do not see ant ICS support on the site.
Output is taken directly from their webserver, no need to use ics files for this provider.
Just enter "hvcgroep.nl" and your zipcode/housenr at the top of WastecollectionApp.qml.
Kind regardz,
Toonz
member of the Toon Software Collective