Toon app: Afvalwijzer

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

PowerAce
Starting Member
Starting Member
Posts: 18
Joined: Thu Aug 31, 2017 1:21 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by PowerAce »

Hi Toonz,

Here it's working again no more "Onbekend" in my list.

Thanks!
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by Toonz »

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.
Ooops, it is indeed a bug. Will fix it in next release.
EDIT: fix being tested.....
EDIT2: breakfast update: fix successful
glsf91 wrote:For you next update: maybe you can describe the format of the file which can be used for the extra data.
Sure...
member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by Toonz »

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
EJanus
Starting Member
Starting Member
Posts: 25
Joined: Sun Jan 28, 2018 9:07 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by EJanus »

And when Toon sees that my girlfriends birthday is coming up, it will automatically send her some flowers? :wink:

I'm looking forward to your next update!
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by TheHogNL »

I wonder why you implemented this :)

Did you forget your wifes birthday while playing with the Toon? :lol:
Member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by Toonz »

TheHogNL wrote:I wonder why you implemented this :)
Did you forget your wifes birthday while playing with the Toon? :lol:
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?'
First one also requires new icons and these need new descriptions and so I ended up here... :-) Fully flexible for any future requests.... ;-).
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
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon app: waste collection (Afvalwijzer)

Post by marcelr »

EJanus wrote:And when Toon sees that my girlfriends birthday is coming up, it will automatically send her some flowers? :wink:
That would require a mail server, so, no ....
(and yields strange questions like "Some guy named Toon sent me flowers, WTF?")
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by Toonz »

marcelr wrote:
EJanus wrote:(and yields strange questions like "Some guy named Toon sent me flowers, WTF?")
Maybe it is an improvement :lol: :idea: :D
member of the Toon Software Collective
EJanus
Starting Member
Starting Member
Posts: 25
Joined: Sun Jan 28, 2018 9:07 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by EJanus »

It's true... He makes her hot.
glsf91
Member
Member
Posts: 184
Joined: Fri Sep 15, 2017 9:25 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by glsf91 »

It is looking great. Thanks for implementing this.

Next challenge: animated icon in color (lifting lid up and down of the bin ) :D
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by Toonz »

glsf91 wrote:It is looking great. Thanks for implementing this.

Next challenge: animated icon in color (lifting lid up and down of the bin ) :D
I can simply change the icon filename extension to .gif.
So you can create your own animated gif icons. :-)
member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by Toonz »

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):
screenshot_1.png
screenshot_1.png (35.25 KiB) Viewed 8696 times
screenshot_2.png
screenshot_2.png (25.76 KiB) Viewed 8696 times
screenshot_3.png
screenshot_3.png (27.39 KiB) Viewed 8696 times
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"}
icons folder on the webserver containing this:
screenshot_4.png
screenshot_4.png (6.52 KiB) Viewed 8696 times
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
member of the Toon Software Collective
glsf91
Member
Member
Posts: 184
Joined: Fri Sep 15, 2017 9:25 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by glsf91 »

Toonz wrote:Hi all,

As always, comments and feedback are welcome.
Thanks for this great update.
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.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by Toonz »

glsf91 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..
Sure, np
glsf91 wrote:After installing a remark: after installing the previous setting of "Display icon vanaf uur" is gone.
next release will not use the individual settings file anymore, so issue should be resolved 'automatically'
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.
Makes sense, can be done (need individual timers per icon then but that's doable).

Kind regardz,

Toonx
member of the Toon Software Collective
Demif
Starting Member
Starting Member
Posts: 24
Joined: Mon Nov 27, 2017 3:22 pm

Re: Toon app: waste collection (Afvalwijzer)

Post by Demif »

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
Post Reply

Return to “Toon Apps”