Code: Select all
https://www.rd4info.nl/NSI/Burger/aspx/afvalkalender_public.aspx
Moderators: marcelr, TheHogNL, Toonz
Code: Select all
https://www.rd4info.nl/NSI/Burger/aspx/afvalkalender_public.aspx
Yes , including your zipcode and housenrmichel30 wrote:You mean this link for RD4.
Code: Select all
https://www.rd4info.nl/NSI/Burger/aspx/afvalkalender_public.aspx
Code: Select all
Upgrading wastecollection on root from 2.5-r0 to 2.6-r0...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for wastecollection:
* tsc-certificates (>= 1.0.0) *
* opkg_install_cmd: Cannot install package wastecollection.
Hello Michel,michel30 wrote:@Toonz,
I want to install this one manual in ssh but I received the following error message:
Code: Select all
Upgrading wastecollection on root from 2.5-r0 to 2.6-r0... Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for wastecollection: * tsc-certificates (>= 1.0.0) * * opkg_install_cmd: Cannot install package wastecollection.
Michel,michel30 wrote:@Toonz,
I want to install this one manual in ssh but I received the following error message:
Code: Select all
Upgrading wastecollection on root from 2.5-r0 to 2.6-r0... Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for wastecollection: * tsc-certificates (>= 1.0.0) * * opkg_install_cmd: Cannot install package wastecollection.
Done. Caused by the fact that you combined collection of paper/plastic and gft/restafval.gijsje wrote:I use mijnafavalwijzer to get the info but it shows the dates but it also shows "onbekend"
Can you have a look?
ThanksToonz wrote:Done. Caused by the fact that you combined collection of paper/plastic and gft/restafval.gijsje wrote:I use mijnafavalwijzer to get the info but it shows the dates but it also shows "onbekend"
Can you have a look?
Will be in the final version 2.6 when released via ToonStore.
jozg wrote:Hello Michel,michel30 wrote:@Toonz,
I want to install this one manual in ssh but I received the following error message:
Code: Select all
Upgrading wastecollection on root from 2.5-r0 to 2.6-r0... Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for wastecollection: * tsc-certificates (>= 1.0.0) * * opkg_install_cmd: Cannot install package wastecollection.
Download and install the tsc-certificates ipk first.
I found it at: http://files.domoticaforum.eu/index.php ... ates-1.0.0
My afvalwijzer is working great, thanks.
Regards,
dar.nl changed it's website. I implemented the new format already in the upcoming release 2.6 and also retrieving the data directly via https.jeltel wrote:I've added a dar.nl waste collection agenda via the manual. The sh scripts downloads the waste_calendar.ics to /root/waste.
I've set the 'afvalverwerker' to 7, but it doesn't work. Also setting it to 0 (the manual) options gives an empty tile.
You can get a sample calendar.ics at: https://afvalkalender.dar.nl/ical/0268200000042288
Maybe the layout has changed?
What can be done?
I'll wait for it then. Thanks.Toonz wrote:dar.nl changed it's website. I implemented the new format already in the upcoming release 2.6 and also retrieving the data directly via https.jeltel wrote:I've added a dar.nl waste collection agenda via the manual. The sh scripts downloads the waste_calendar.ics to /root/waste.
I've set the 'afvalverwerker' to 7, but it doesn't work. Also setting it to 0 (the manual) options gives an empty tile.
You can get a sample calendar.ics at: https://afvalkalender.dar.nl/ical/0268200000042288
Maybe the layout has changed?
What can be done?
So no need for the download scripts anymore.
Code: Select all
// Added to function readWasteDates() to process Gemeente Drimmelen
if (wasteCollector == "18") {
readDrimmelen();
}
function wasteTypeDrimmelen(shortName)
{
switch (shortName) {
case "GFT": return 3;
case "Pap": return 2;
case "Pla": return 1;
case "Res": return 0;
default: break;
}
return "?";
}
function readDrimmelen() {
var i = 0;
var j = 0;
wasteDatesString = "";
var wasteType = "";
var DrimmelenDates = [];
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == XMLHttpRequest.DONE) {
var aNode = xmlhttp.responseText;
// read specific waste collection dates
i = aNode.indexOf("DTSTART;VALUE=DATE:");
if ( i > 0 ) {
while (i > 0) {
j = aNode.indexOf("SUMMARY", i);
wasteType = wasteTypeDrimmelen(aNode.substring(j+27, j+30));
DrimmelenDates.push(aNode.substring(i+19, i+23) + "-" + aNode.substring(i+23, i+25) + "-" + aNode.substring(i+25, i+27) + "," + wasteType);
// Get next event
i = aNode.indexOf("DTSTART;VALUE=DATE:", i + 19);
}
}
var tmp = WastecollectionJS.sortArray(DrimmelenDates);
for (i = 0; i < tmp.length; i++) {
wasteDatesString = wasteDatesString + tmp[i] + "\n";
}
writeWasteDates();
}
}
xmlhttp.open("GET", "file:///root/waste/waste_calendar.ics", true);
xmlhttp.send();
}
Sure will add as '19' (18 is just given away to zrd.nl). I like these kind of change requestshubble wrote:Hi Toonz.
I added some code to support the Gemeente Drimmelen Afvalkalendar....
Maybe you can use this code to add Gemeente Drimmelen as wasteCollector 18 in your new upcoming release 2.6
Grz.
Hubble