Page 18 of 86

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Jan 14, 2018 7:14 pm
by Toonz
Matt88 wrote:Same problem here, after updating ToonStore and the Wastecollection App I can't select the waste tile.
I tried to uninstall and install again but no luck so far. Waste App is still visible in the Globals.qml list.

Firmware version: 4.4.21
Ok all. I will need to dive into this in detail.
Requires firmware downgrading on one of my spare Toons.
I will be busy at work this week so not sure when I can complete this. To be continued.....

EDIT: The good News: I am able now to reproduce this on a Toon on 3.7.9 (luckily).
The bad News: I am just short of time coming days to investigate....

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Jan 14, 2018 11:24 pm
by Toonz
Hi all,

I finally, definitely found the issue why the 2.6 version tile isn't showing up on older firmwares.
I made a reference to a piece of code which was only introduced in 4.8 or 4.9. The tile will not show up therefor in older 3.x and 4.x versions.
Works fine now on my 3.7.9 Toon including all https functionality via ToonStore 1.1.0.

I will need to publish a new version 2.7 without this single line of code (the worse thing is I actually didn't use it anymore).
Will do tomorrow or Tuesday latest.

Kind regardz,

Toonz

Re: Toon app: waste collection (Afvalwijzer)

Posted: Mon Jan 15, 2018 11:39 am
by Toonz
Hi all,

Afvalwijzer version 2.7 has been released on ToonStore.
It is now compatible again with older firmwares.
In hindsight it has been sloppy testing by myself but I didn't spot it immediately because we also had the small issue with the ToonStore itself at the same time.
Anyway, I have tested this successfully now on three Toons with firmwares 3.7, 4.4 and 4.10.
All working fine including https calls, tiles are showing up....

Changelog 2.7:
- added waste descriptions to mijnafvalwijzer.nl for Zevenaar
- added support for "duo containers" to mijnafvalwijzer.nl for Zevenaar
- restored compatibility with older firmware versions

Kind regardz,

Toonz

Re: Toon app: waste collection (Afvalwijzer)

Posted: Mon Jan 15, 2018 9:35 pm
by msv
Toonz,

Is it possible to add my provider https://www.circulus-berkel.nl/afvalkalender/
My zipcode is 7433SN, 4
There is an ics file I can download. But the tile is empty. I followed the steps in the earlier post but no succes.

Thanks.

Re: Toon app: waste collection (Afvalwijzer)

Posted: Mon Jan 15, 2018 9:48 pm
by PowerAce
Thanks Toonz!

It is working on my Toon now so you can add FW 3.6.3 to your compatibility list ;-)
I still have to test the mod for showing the waste status in dimstate but i leave that for after my upcoming business trip.

BTW I installed the update using Toonstore 1.1.1 without any problem.

Thanks for all your effort.

Kind Regards,

PowerAce

Re: Toon app: waste collection (Afvalwijzer)

Posted: Mon Jan 15, 2018 10:15 pm
by Toonz
msv wrote:Toonz,

Is it possible to add my provider https://www.circulus-berkel.nl/afvalkalender/
My zipcode is 7433SN, 4
There is an ics file I can download. But the tile is empty. I followed the steps in the earlier post but no succes.

Thanks.
Another different implementation of an ICS file. Can be done but requires a bit of coding.... on the list for 2.8

Re: Toon app: waste collection (Afvalwijzer)

Posted: Tue Jan 16, 2018 9:05 pm
by globegrabber
Tile Issue also solved on Toon @ firmware 4.7.23, Provider (18) Zrd.nl with the Ical code is up and running.
All looks good, only not yet seen the dime state.
All credits to Toonz, Thanks for yours assistance Keep up the great work

Greetz Globegrabber

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Jan 21, 2018 3:15 pm
by Hypermobile
Some feedback from my wife :D

She would like to look a 2 weeks / Month ahead.

it that maybe possible if you Touch the Tile and a full screen with more info appears?

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Jan 21, 2018 5:28 pm
by Toonz
Hypermobile wrote:Some feedback from my wife :D

She would like to look a 2 weeks / Month ahead.

it that maybe possible if you Touch the Tile and a full screen with more info appears?
Nice idea.... Will do in a next release...

Re: Toon app: waste collection (Afvalwijzer)

Posted: Tue Jan 30, 2018 8:29 pm
by glsf91
Now the icon appears at about 18:00 the day before.

Is it possible to add this time to the settings so it can be changed?
It can be for example hours before the day is reached or absolute time.

I like it a little bit earlier.

edit: and maybe also for switching it off.

Re: Toon app: waste collection (Afvalwijzer)

Posted: Tue Jan 30, 2018 10:46 pm
by Toonz
glsf91 wrote:Now the icon appears at about 18:00 the day before.

Is it possible to add this time to the settings so it can be changed?
It can be for example hours before the day is reached or absolute time.

I like it a little bit earlier.
Yes, that's no big deal.
Thanks for the suggestion, makes sense.....

Kind regardz,

Toonz

Re: Toon app: waste collection (Afvalwijzer)

Posted: Fri Feb 02, 2018 10:11 pm
by Toonz
Hi all,

I just released version 3.0 of the Afvalwijzer on ToonStore.
Changelog 3.0:
- added a screen with the next 15 waste collection events
You can access this screen by clicking on the tile.
From this screen you can also access the settings screen.
- a new setting has been added to select the hour from which you see the icon for next days collections
Example: when entering 22, you will see the waste collection icon for the next day from 22:01 onwards
In older versions this time was fixed at 18:01 (default value in this version).

I also created a new thermostat mod for version 4.11 which also reads the setting with the hour from which the icon should be displayed.
N.B. When you have updated Afvalwijzer to version 3.0, this setting has not yet been set.
Therefor the thermostat mod will only show the new icon from 18.01 onwards. At that time the new hour setting will be read and applied.
If you can't wait a day for the tile to synchronise with the thermostat app:
- update Afvalwijzer to version 3.0.
- Go to the settings page and selected a different hour then 18.
- Press 'Opslaan'
- restart the gui (after the restart the thermostat mod will also read the hour setting)

Or just wait a day..... ;-)......Patience is a virtue.

Kind regardz,

Toonz

EDIT 3/2: removed the thermostat_waste-mod for firmware 4.11.6 as I am rewriting this to match the new functionality in afvalwijzer 3.1, published soonish......

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sat Feb 03, 2018 3:29 pm
by michel30
@Toonz,

Thanks for the new 3.0 version and the new files.
It works super :D

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sat Feb 03, 2018 3:59 pm
by ericT
@Toonz

hvcgroep.nl also lists PAPIER, which is not recognized by wastecollection. I've also noticed that hvcgroep returns the same date multiple times (see REST below), is it possible to remove/filter duplicates?

Code: Select all

[
  {
    "id": "1bce248267719c42ea142d573ea750a6",
    "adresId": "",
    "code": "PAPIER",
    "naam": "PAPIER",
    "icon": "papier.png",
    "dateTime": [
      {
        "date": "2018-02-03 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-03-03 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-04-07 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-05-05 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-06-02 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      }
    ],
    "opmerkingen": "",
    "alt": false,
    "datums": [
      "zaterdag  3 februari",
      "zaterdag  3 maart",
      "zaterdag  7 april",
      "zaterdag  5 mei",
      "zaterdag  2 juni"
    ]
  },
  {
    "id": "14400684f6bfd7233e64b97a61001aef",
    "adresId": "",
    "code": "PMD",
    "naam": "PMD",
    "icon": "plastic.png",
    "dateTime": [
      {
        "date": "2018-02-08 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-08 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-08 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-22 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-22 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      }
    ],
    "opmerkingen": "",
    "alt": false,
    "datums": [
      "donderdag  8 februari",
      "donderdag  8 februari",
      "donderdag  8 februari",
      "donderdag 22 februari",
      "donderdag 22 februari"
    ]
  },
  {
    "id": "ee77b91da50ba360445eebbe541c9581",
    "adresId": "",
    "code": "REST",
    "naam": "REST",
    "icon": "rest.png",
    "dateTime": [
      {
        "date": "2018-02-09 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-09 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-09 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-09 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-09 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      }
    ],
    "opmerkingen": "",
    "alt": false,
    "datums": [
      "vrijdag  9 februari",
      "vrijdag  9 februari",
      "vrijdag  9 februari",
      "vrijdag  9 februari",
      "vrijdag  9 februari"
    ]
  },
  {
    "id": "001ce9bf0b847080a4ec7c9c89f8992e",
    "adresId": "",
    "code": "GFT",
    "naam": "GFT",
    "icon": "gft.png",
    "dateTime": [
      {
        "date": "2018-02-16 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-16 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-02-16 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-03-02 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      },
      {
        "date": "2018-03-02 00:00:00",
        "timezone_type": 3,
        "timezone": "Europe/Amsterdam"
      }
    ],
    "opmerkingen": "",
    "alt": false,
    "datums": [
      "vrijdag 16 februari",
      "vrijdag 16 februari",
      "vrijdag 16 februari",
      "vrijdag  2 maart",
      "vrijdag  2 maart"
    ]
  }
]

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sat Feb 03, 2018 5:12 pm
by Toonz
Thanks, already working on 3.1, implementing the suggestion from glsf91 and local management over here:
Option to toggle the icon to show you have put the container out and need to collect it again.
Pressing again after the empty container has been collected to remove the icons for that day.

This is what I did so far:

When waste needs to be collected the next day and the waste icon is shown you see a new button on the tile:
stage1.png
stage1.png (25.51 KiB) Viewed 9625 times
You can click the button with the red arrow when you have put the waste out in the street.
Screen then looks like this to show you will need to collect the empty container.
stage2.png
stage2.png (19.63 KiB) Viewed 9625 times
You can click again on the button on the tile (red cross) to confirm you have collected the container and the icons will be removed.
stage3.png
stage3.png (14.11 KiB) Viewed 9625 times
Any comments? Like it? Want a different implementation? This is the time to shout :D .
By the way, if you do not press the extra button on the tile at all, the behaviour is as it was before.