Toon app: Afvalwijzer
Moderators: marcelr, TheHogNL, Toonz
Re: Toon app: waste collection (Afvalwijzer)
Is it also possible to add the following URL https://www.rd4info.nl/NSI/Burger/aspx/ ... ublic.aspx
Re: Toon app: waste collection (Afvalwijzer)
The site is using https, meaning you will have to use wget and a cron job to retrieve the data regularly.michel30 wrote:Is it also possible to add the following URL https://www.rd4info.nl/NSI/Burger/aspx/ ... ublic.aspx
Unfortunately rd4info is not providing a standard calendar file but I can scrape the data from the http page source.
I am a bit hesitant to give a due date right now but it is on my list.
Regardz,
Toonz
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Hi all,
the old mod for the thermostat app did not look good on the newer firmware 4.x versions.
I made this small tweak to make it firmware 4 compatible. I can't put the temperature any higher without making much more invasive changes in the app.
No changes were needed for the Belgian icons, that is handled in the wastecollection app itself.
The attachment contains the full thermostat app for version 4.4.21 but only two files have been changed: ThermostatApp.qml and ThermostatSidepanel.qml.
All code changes are marked between the lines 'waste display start' and 'waste display end'.
Note: the icon will show only 6 minutes after restart of the gui and will be updated daily at 18.01 to show the icon for the next day
Summarizing:
- use the earlier posted version 1.2 of the mod for firmware version 3.7.9 (manually apply to other 3.x versions)
- use this version 1.3 on firmware 4.4.21 (manually apply to other 4.x versions)
both are compatible with any recent version of the wastecollection app.
The screenshot below shows the icon twice: once on the tile (which you don't need with this mod) and one via the thermostat mod.
Kind regardz,
Toonz
the old mod for the thermostat app did not look good on the newer firmware 4.x versions.
I made this small tweak to make it firmware 4 compatible. I can't put the temperature any higher without making much more invasive changes in the app.
No changes were needed for the Belgian icons, that is handled in the wastecollection app itself.
The attachment contains the full thermostat app for version 4.4.21 but only two files have been changed: ThermostatApp.qml and ThermostatSidepanel.qml.
All code changes are marked between the lines 'waste display start' and 'waste display end'.
Note: the icon will show only 6 minutes after restart of the gui and will be updated daily at 18.01 to show the icon for the next day
Summarizing:
- use the earlier posted version 1.2 of the mod for firmware version 3.7.9 (manually apply to other 3.x versions)
- use this version 1.3 on firmware 4.4.21 (manually apply to other 4.x versions)
both are compatible with any recent version of the wastecollection app.
The screenshot below shows the icon twice: once on the tile (which you don't need with this mod) and one via the thermostat mod.
Kind regardz,
Toonz
- Attachments
-
- wastecollection_thermostat_mod_v1.3_(fw4.4.21).zip
- (163.69 KiB) Downloaded 543 times
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Waste collection v2.2. is available from the toonstore. Please upgrade the toonstore to 0.9.5 first.
Re: Toon app: waste collection (Afvalwijzer)
Thanks for the hard work but it seems that Cyclus is not working in V2.2. Tried multiple adresses in our region but no data is showing up in the tile. Can someone confirm/check this? (Zip 2805)
Last edited by Matt88 on Sun Aug 27, 2017 10:15 pm, edited 1 time in total.
-
- Member
- Posts: 66
- Joined: Fri Aug 18, 2017 3:28 pm
Re: Toon app: waste collection (Afvalwijzer)
Thanks Toonz ... you made the first Belgians happy !
Re: Toon app: waste collection (Afvalwijzer)
And you Belgians made us happy as well today, although you scared us quite a bit in the European hockey finalmakkie2002 wrote:Thanks Toonz ... you made the first Belgians happy !

member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Hi Matt88,Matt88 wrote:Thanks for the hard work but it seems that Cyclus is not working in V2.2. Tried multiple adresses in our region but no data is showing up in the tile. Can someone confirm/check this? (Zip 2805)
The waste collection app is reading the file '/root/waste/waste_calendar.ics' to display the waste collection dates for Cyclus NV.
As this provider is using 'https' which is not supported by Toon, a separate method of retrieving this .ics file is needed.
A 'how-to' to get the calendar file from Cyclusnv is posted by Marcelr earlier:
domoticaforum.eu/viewtopic.php?f=87& ... 235#p82536
Just checking whether you have done this and maybe you can check if the file '/root/waste/waste_calendar.ics' exists.
Kind regardz,
Toonz
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Thanks a lot Toonz, downloading the ics file and creating the '/root/waste/waste_calendar.ics' location did the trick.
Re: Toon app: waste collection (Afvalwijzer)
Thanks for all the work you put in this app.
I tried to clone the app, so I can run it twice (living at the border between NL and BE
) but that failed miserably.
It will not load the 2nd app
While I was at it, I was introducing the ICS for Limburg.NET (BE), they use a standard ICS (example: http://www.limburg.net/ics/afvalkalender/72030/223/10/0)
Will try another day
I tried to clone the app, so I can run it twice (living at the border between NL and BE

It will not load the 2nd app

While I was at it, I was introducing the ICS for Limburg.NET (BE), they use a standard ICS (example: http://www.limburg.net/ics/afvalkalender/72030/223/10/0)
Will try another day

Re: Toon app: waste collection (Afvalwijzer)
You cannot simply clone the app and run it twice. Second one needs to have a unique folder name and corresponding app file names. Can be done of course but is a bit of work
Regardz,
Toonz
Regardz,
Toonz
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
I know,Toonz wrote:You cannot simply clone the app and run it twice. Second one needs to have a unique folder name and corresponding app file names. Can be done of course but is a bit of work

Will figure it out eventually
Re: Toon app: waste collection (Afvalwijzer)
Hi,
just to be sure: are you implementing the limburg.net calendar yourself or do you want me to do it? I just had a look and it can be easily implemented in the app.
P.S. about running it twice: you will also need to change all temporary files names with dates, icon names to show etc etc
Kind regardz,
Toonz
just to be sure: are you implementing the limburg.net calendar yourself or do you want me to do it? I just had a look and it can be easily implemented in the app.
P.S. about running it twice: you will also need to change all temporary files names with dates, icon names to show etc etc
Kind regardz,
Toonz
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
If you would like to implement the Limburg.NET code, that would be great.
If not, I will be bold enough to do it myself, but merging the code would be a hassle.

If not, I will be bold enough to do it myself, but merging the code would be a hassle.
Re: Toon app: waste collection (Afvalwijzer)
Graag nog even toevoegen aan :
function wasteTypeMijnafvalwijzer(shortName)
De volgende cases:
case "grofvuil": return 8;
case "tuinafval": return 4;
case "papier": return 2;
Bij mijzelf natuurlijk al gedaan maar zodat straks ook anderen hier van kunnen profiteren
function wasteTypeMijnafvalwijzer(shortName)
De volgende cases:
case "grofvuil": return 8;
case "tuinafval": return 4;
case "papier": return 2;
Bij mijzelf natuurlijk al gedaan maar zodat straks ook anderen hier van kunnen profiteren

Member of the Toon Software Collective