Page 57 of 84
Re: Toon app: Afvalwijzer
Posted: Thu Apr 09, 2020 8:00 pm
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
Re: Toon app: Afvalwijzer
Posted: Thu Apr 09, 2020 8:19 pm
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.
Re: Toon app: Afvalwijzer
Posted: Fri Apr 10, 2020 4:32 pm
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
Re: Toon app: Afvalwijzer
Posted: Fri Apr 10, 2020 4:55 pm
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.
Re: Toon app: Afvalwijzer
Posted: Fri Apr 10, 2020 6:25 pm
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
Re: Toon app: Afvalwijzer
Posted: Sat Apr 11, 2020 10:21 am
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
Re: Toon app: Afvalwijzer
Posted: Sat Apr 11, 2020 10:55 am
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....
Re: Toon app: Afvalwijzer
Posted: Sat Apr 11, 2020 12:07 pm
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
Re: Toon app: Afvalwijzer
Posted: Sun Apr 12, 2020 6:38 pm
by flamingbob
Thanks for the quick fix. Works perfect again.
Re: Toon app: Afvalwijzer
Posted: Mon May 11, 2020 9:03 pm
by crashm
Hello Toonz,
Could you Add Midden-Drenthe?
https://www.middendrenthe.nl/website/!s ... mVrg=12635
Try Postal 9431AZ and a number
Thnx
Re: Toon app: Afvalwijzer
Posted: Mon May 11, 2020 9:06 pm
by Toonz
sorry, overlooked this post. Will look into it
Re: Toon app: Afvalwijzer
Posted: Thu May 21, 2020 10:49 am
by Toonz
This is a bit of tough one. For the time being I can't support middendrenthe.
Re: Toon app: Afvalwijzer
Posted: Thu May 21, 2020 6:06 pm
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
Re: Toon app: Afvalwijzer
Posted: Thu May 21, 2020 7:44 pm
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....
Re: Toon app: Afvalwijzer
Posted: Thu May 21, 2020 9:56 pm
by michel30
Your default Icons are still working here, only not on the time I set it up but it works.