Toon app: Afvalwijzer
Moderators: marcelr, TheHogNL, Toonz
Re: Toon app: waste collection (Afvalwijzer)
Hi Toonz,
Here it's working again no more "Onbekend" in my list.
Thanks!
Here it's working again no more "Onbekend" in my list.
Thanks!
Re: Toon app: waste collection (Afvalwijzer)
Ooops, it is indeed a bug. Will fix it in next release.glsf91 wrote:But I think there is a little bug in it.
So next day it doesn't remember the confirmation from the previous day.
EDIT: fix being tested.....
EDIT2: breakfast update: fix successful
Sure...glsf91 wrote:For you next update: maybe you can describe the format of the file which can be used for the extra data.
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
post deleted. See below the announcement of version 3.4
Last edited by Toonz on Mon Feb 19, 2018 11:44 pm, edited 1 time in total.
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
And when Toon sees that my girlfriends birthday is coming up, it will automatically send her some flowers?
I'm looking forward to your next update!

I'm looking forward to your next update!
Re: Toon app: waste collection (Afvalwijzer)
I wonder why you implemented this
Did you forget your wifes birthday while playing with the Toon?

Did you forget your wifes birthday while playing with the Toon?

Member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Sssssst.... the politically correct reason is that the request was for 'Can I add dates on which the waste bins will be cleaned (and to be collected later) and can I add paper collection dates because these are not included in my waste provider calendar?'TheHogNL wrote:I wonder why you implemented this![]()
Did you forget your wifes birthday while playing with the Toon?
First one also requires new icons and these need new descriptions and so I ended up here...


And if you guys design nice icons it would be nice to share them here as well.
But I agree, it is deviating a little bit from the original purpose of this app.
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
That would require a mail server, so, no ....EJanus wrote:And when Toon sees that my girlfriends birthday is coming up, it will automatically send her some flowers?![]()
(and yields strange questions like "Some guy named Toon sent me flowers, WTF?")
Re: Toon app: waste collection (Afvalwijzer)
Maybe it is an improvementmarcelr wrote:EJanus wrote:(and yields strange questions like "Some guy named Toon sent me flowers, WTF?")



member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
It's true... He makes her hot.
Re: Toon app: waste collection (Afvalwijzer)
It is looking great. Thanks for implementing this.
Next challenge: animated icon in color (lifting lid up and down of the bin )
Next challenge: animated icon in color (lifting lid up and down of the bin )

Re: Toon app: waste collection (Afvalwijzer)
I can simply change the icon filename extension to .gif.glsf91 wrote:It is looking great. Thanks for implementing this.
Next challenge: animated icon in color (lifting lid up and down of the bin )
So you can create your own animated gif icons.

member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Hi all,
Afvalwijzer 3.4 is available on ToonStore. Quite some changes this time.
I started implementing a file with extra waste dates to be added to the waste provider data as requested here on this forum but ended up with custom categories and icons as well.
With this you can basically use the app not only for waste dates but also for any sort of calendar reminders, birthdays, wedding dates, whatever......
The extra files can either be hosted on any webserver or placed locally on Toon.
Changelog 3.4:
- fixed bug where arrow disappeared at 00:01 hours in dimstate
- fixed timing issue at inital startup which sometimes showed an empty tile till 18:00
- added an option to read an additional file with extra dates which will be merged with the dates from your waste provider
- added an option to read custom images to display these extra dates in dim state
- added an option to read a json file containing the extra dates descriptions
- prepared for a change in storing user settings. This version will write (not read) all settings to
a new file userSettings.json containing all individual user variables in JSON format.
The next version will delete all individual settings text files and continue with the JSON file only
Result looks like this (some snippets): When you want to store files locally on Toon use "file:///root/waste.txt" for instance instead of "http://192.168.1.192/waste.txt" in the config screen.
The file with extra waste dates should have the following format (either Unix or DOS text files):
YYYY-MM-DD,X
YYYY-MM-DD,X
etc...
Where X = : (built-in fixed descriptions)
"0" : Restafval
"1" : Plastic/Metaal/Drankpakken
"2" : Papier/karton
"3" : Groente/Fruit/Tuinafval
"4" : Snoeiafval
"5" : Textiel
"6" : Steen en puin
"7" : KGA
"8" : Groot vuil
"9" : Kunststoffen
or "A" through "Z" for custom icons and descriptions (use capitals)
In this example the file with dates is called waste.txt on my webserver and contains this:
If you want to use custom icons these should be placed in the folder mentioned in the configuration screen and named A.png, B.png etc.
This same folder should also contain the file "iconLabels.txt" with custom descriptions in JSON format.
In this case the file iconLabels.txt contains
icons folder on the webserver containing this:
When creating your own icons you could start with the existing ones from the ../wastecollection/drawables folder.
Create png files with size 126 x 126 pixels, and make sure you make the background transparent otherwise it doesn't look good on the dim screen.
If you have designed nice icons for birthdays, weddings, metal waste collection or whatever, feel free to share them here.
As always, comments and feedback are welcome.
Kind regardz,
Toonz
Afvalwijzer 3.4 is available on ToonStore. Quite some changes this time.
I started implementing a file with extra waste dates to be added to the waste provider data as requested here on this forum but ended up with custom categories and icons as well.
With this you can basically use the app not only for waste dates but also for any sort of calendar reminders, birthdays, wedding dates, whatever......
The extra files can either be hosted on any webserver or placed locally on Toon.
Changelog 3.4:
- fixed bug where arrow disappeared at 00:01 hours in dimstate
- fixed timing issue at inital startup which sometimes showed an empty tile till 18:00
- added an option to read an additional file with extra dates which will be merged with the dates from your waste provider
- added an option to read custom images to display these extra dates in dim state
- added an option to read a json file containing the extra dates descriptions
- prepared for a change in storing user settings. This version will write (not read) all settings to
a new file userSettings.json containing all individual user variables in JSON format.
The next version will delete all individual settings text files and continue with the JSON file only
Result looks like this (some snippets): When you want to store files locally on Toon use "file:///root/waste.txt" for instance instead of "http://192.168.1.192/waste.txt" in the config screen.
The file with extra waste dates should have the following format (either Unix or DOS text files):
YYYY-MM-DD,X
YYYY-MM-DD,X
etc...
Where X = : (built-in fixed descriptions)
"0" : Restafval
"1" : Plastic/Metaal/Drankpakken
"2" : Papier/karton
"3" : Groente/Fruit/Tuinafval
"4" : Snoeiafval
"5" : Textiel
"6" : Steen en puin
"7" : KGA
"8" : Groot vuil
"9" : Kunststoffen
or "A" through "Z" for custom icons and descriptions (use capitals)
In this example the file with dates is called waste.txt on my webserver and contains this:
Code: Select all
2018-02-14,7
2018-02-15,7
2018-02-16,A
2018-02-16,B
If you want to use custom icons these should be placed in the folder mentioned in the configuration screen and named A.png, B.png etc.
This same folder should also contain the file "iconLabels.txt" with custom descriptions in JSON format.
In this case the file iconLabels.txt contains
Code: Select all
{"A": "Verjaardag A", "B": "Verjaardag B"}
Create png files with size 126 x 126 pixels, and make sure you make the background transparent otherwise it doesn't look good on the dim screen.
If you have designed nice icons for birthdays, weddings, metal waste collection or whatever, feel free to share them here.
As always, comments and feedback are welcome.
Kind regardz,
Toonz
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Thanks for this great update.Toonz wrote:Hi all,
As always, comments and feedback are welcome.
Maybe also add this (and next) release info ("user manual") every time to the first post. If someone have to find this information again after a year it will take a lot of time reading all posts.
After installing a remark: after installing the previous setting of "Display icon vanaf uur" is gone
Edit:
An additional request:
It should be nice if a parameter can be added to every line of the datafile which tells when the icon must be displayed. For example -6 is 6 hours before midnight (so day before at 18:00) and +6 is 6:00 at the day itself.
Problem is that for the wastebin I want the icon the day before, hours can be changed on Settings screen. But for other dates I want the icon on the specific date, so not the day before. Now it also appears at the day before.
Re: Toon app: waste collection (Afvalwijzer)
Sure, npglsf91 wrote:Maybe also add this (and next) release info ("user manual") every time to the first post. If someone have to find this information again after a year it will take a lot of time reading all posts..
next release will not use the individual settings file anymore, so issue should be resolved 'automatically'glsf91 wrote:After installing a remark: after installing the previous setting of "Display icon vanaf uur" is gone.
Makes sense, can be done (need individual timers per icon then but that's doable).glsf91 wrote:It should be nice if a parameter can be added to every line of the datafile which tells when the icon must be displayed. For example -6 is 6 hours before midnight (so day before at 18:00) and +6 is 6:00 at the day itself.
Problem is that for the wastebin I want the icon the day before, hours can be changed on Settings screen. But for other dates I want the icon on the specific date, so not the day before. Now it also appears at the day before.
Kind regardz,
Toonx
member of the Toon Software Collective
Re: Toon app: waste collection (Afvalwijzer)
Toonz, question, is waste collector omrin.nl still on the todo list? or is it possible for me to ad it my self?
thnx for all the good work
thnx for all the good work