Toon app: Afvalwijzer

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon app: Afvalwijzer

Post by michel30 »

Hello,

I still have a small issue and that is as follow:

The WasteDate Icon on the toon afvalwijzer is set up to show at 17:00 but is shows at 19:00 but when I checked the files it show 17:00 hour.

-rw-r--r-- 1 root root 1144 Apr 9 17:00 wasteDates.txt
-rw-r--r-- 1 root root 57 Apr 9 17:00 wasteDateIcon.txt
-rw-r--r-- 1 root root 0 Apr 9 17:00 wasteDateIcon2.txt

When I type date in the terminal it show's me Thu Apr 9 19:42:58 CEST 2020
And also the time on my toon shows correct.

I don't understand why the Icon starts showing at 19:00 and not at 17:00 hour..

Hopefully somebody could help me.

Thanks,

Regards,
Michel
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon app: Afvalwijzer

Post by marcelr »

Internally, the toon time is UTC (Universal Time Coordinated). This is what used to be Greenwich Mean Time (GMT), and does not take DST into account. The local time is set by the locale settings in the operating system of toon. The Netherlands is one timezone east of that timezone, so one hour is added to the UTC time for display. Now, with the start of Daylight Saving Time (DST) a few weeks ago, another hour is added to the actual local time, with respect to UTC. That causes a time difference of two hours in total. When we go back to winter time, you will see that the difference reduces to one hour again.
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon app: Afvalwijzer

Post by michel30 »

Hello,

but in the afvalwijzer app I set up show icon at 17:00 how can I fix this? So that the wastedate Icon will be popup at 17:00 hour?
Do I need to change the time zone in the backend to UTC ? at the moment is it CEST
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon app: Afvalwijzer

Post by marcelr »

You can set the display time for icons in the "Afvalwijzer->Instellingen".

Don't change time or locale, or you screw up the timing of almost every app on your toon.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

I will see if I can fix this in the next release.
For now you can enter 15 in display hour to show your icon at 17:00 as a simple workaround
member of the Toon Software Collective
flamingbob
Starting Member
Starting Member
Posts: 32
Joined: Wed Nov 23, 2016 4:11 pm

Re: Toon app: Afvalwijzer

Post by flamingbob »

Hi toonz,

Seems something went wrong with Meerlanden (16) in the latest update.
Toon shows dates but just with - -.

EDIT:
Seems all meerlanden based providers changed their backends to asp.net

With some trail and error this gets a json response again. Below the tweaked one where al the redundant headers were stripped

curl 'https://wasteprod2api.ximmio.com/api/GetCalendar' -H 'content-type: application/json;charset=UTF-8' - --data-binary '{"companyCode":"800bf8d7-6dd1-4490-ba9d-b419d6dc8a45","startDate":"2019-12-21","endDate":"2023-01-09","community":"Aalsmeer","uniqueAddressID":"XXXXXX"}' --compressed

Eg complete one:
curl 'https://wasteprod2api.ximmio.com/api/GetCalendar' -H 'authority: wasteprod2api.ximmio.com' -H 'accept: application/json, text/plain, */*' -H 'sec-fetch-dest: empty' -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36' -H 'content-type: application/json;charset=UTF-8' -H 'origin: https://inzamelkalender.meerlanden.nl' -H 'sec-fetch-site: cross-site' -H 'sec-fetch-mode: cors' -H 'referer: https://inzamelkalender.meerlanden.nl/m ... --Aalsmeer' -H 'accept-language: nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7,de;q=0.6' --data-binary '{"companyCode":"800bf8d7-6dd1-4490-ba9d-b419d6dc8a45","startDate":"2019-12-21","endDate":"2023-01-09","community":"Aalsmeer","uniqueAddressID":"XXXXXXX}' --compressed


Company code is Meerlanden

Unique adress is the old meerlanden id we had to use before


Hope this helps a bit. Think a lot of users will notice this also.

Happy Easter
Last edited by flamingbob on Sat Apr 11, 2020 11:04 am, edited 1 time in total.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

that can happen when they change the description of the waste categories. Can you pm me your zipcode then I can fix it easily....
member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Hi all,

New version 4.40 is available in the ToonStore.
Changelog:
- fix for meerlanden.nl(16) which changed over to the waste2go platform.
you now need to enter your zipcode/housenr in the configuration screen.

Kind regardz,

Toonz
member of the Toon Software Collective
flamingbob
Starting Member
Starting Member
Posts: 32
Joined: Wed Nov 23, 2016 4:11 pm

Re: Toon app: Afvalwijzer

Post by flamingbob »

Thanks for the quick fix. Works perfect again.
crashm
Starting Member
Starting Member
Posts: 2
Joined: Mon May 11, 2020 8:57 pm

Re: Toon app: Afvalwijzer

Post by crashm »

Hello Toonz,

Could you Add Midden-Drenthe?
https://www.middendrenthe.nl/website/!s ... mVrg=12635

Try Postal 9431AZ and a number

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

Re: Toon app: Afvalwijzer

Post by Toonz »

crashm wrote:Hello Toonz,

Could you Add Midden-Drenthe?
https://www.middendrenthe.nl/website/!s ... mVrg=12635

Try Postal 9431AZ and a number

Thnx
sorry, overlooked this post. Will look into it
member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

This is a bit of tough one. For the time being I can't support middendrenthe.
member of the Toon Software Collective
crashm
Starting Member
Starting Member
Posts: 2
Joined: Mon May 11, 2020 8:57 pm

Re: Toon app: Afvalwijzer

Post by crashm »

No Problem,
Made a waste.txt and iconLabels.txt
Only the iconlabels he doesn't load, every item with A or B is empty
found some others here with the same problem but what they have done doesn't work with me.

Keep on trying :)
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

crashm wrote:No Problem,
Made a waste.txt and iconLabels.txt
Only the iconlabels he doesn't load, every item with A or B is empty
found some others here with the same problem but what they have done doesn't work with me.

Keep on trying :)
will test it again in the coming days. Haven't used that functionality myself for long time....
EDIT: I think I know what the problem is, since firmare version 5 you cannot use external icons anymore as before.
I need to change the app to make that firmware 5 compatible.

to be continued....
member of the Toon Software Collective
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon app: Afvalwijzer

Post by michel30 »

Your default Icons are still working here, only not on the time I set it up but it works.
Post Reply

Return to “Toon Apps”