Page 19 of 86

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sat Feb 03, 2018 8:02 pm
by Hypermobile
Thanks for the Update; nice to see all future entry's

Is there a way to get rid of multiple entry.
See Picture.

Maybe you can implement a Filter to see if entry 1 equals the next; and Then Hide that one.

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sat Feb 03, 2018 8:15 pm
by Toonz
Hypermobile wrote:
Maybe you can implement a Filter to see if entry 1 equals the next; and Then Hide that one.
Which provider do you use? Which city? (can also PM me)

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sat Feb 03, 2018 8:33 pm
by msv
Hello Toonz,

Thanks for the update did you implememt my provider https://www.circulus-berkel.nl/afvalkalender/ My zipcode is 7433SN, 4 this is an ICS file.

Also i have followed the steps in the earlier post to put the ics file in the dir. /root/waste, now the tile showing multiple date's with wrong data what could be the problem?

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sat Feb 03, 2018 9:03 pm
by Toonz
msv wrote:Hello Toonz,

Thanks for the update did you implememt my provider https://www.circulus-berkel.nl/afvalkalender/ My zipcode is 7433SN, 4 this is an ICS file.

Also i have followed the steps in the earlier post to put the ics file in the dir. /root/waste, now the tile showing multiple date's with wrong data what could be the problem?
I haven't implemented circulus-berkel.nl yet. I just had a look and it can be done for sure.
However, you will need to manually copy the ICS file over to Toon once a year.
Will implement in next release (assume next weekend or so)

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sat Feb 03, 2018 9:24 pm
by ericT
Hi,

Because my posts need to be approved, they appear back in time... It seems the post below was left unnoticed on the previous page.
ericT wrote:@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: Sun Feb 04, 2018 12:05 am
by Toonz
sometimes they change the format of their website or the waste descriptions. Will have a look after the weekend.
EDIT: weird indeed, seems that the JSON datafeed sucks a bit for hvcgroep.nl at the moment.

Anyway, I added "PAPIER" , will be in next release.
As you said I also need to build a filter to remove the duplicates (or maybe you can ask them to fix this on their end ;-) )

Kind regardz,

Toonz

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Feb 04, 2018 11:23 am
by Toonz
Hypermobile wrote:Thanks for the Update; nice to see all future entry's

Is there a way to get rid of multiple entry.
See Picture.

Maybe you can implement a Filter to see if entry 1 equals the next; and Then Hide that one.
Fixed it in 3.1 for all Hvcgroep.nl users (and added the PAPIER description).
Will be released in the coming days somewhere....
Your list is now looking like this:
hvcgroep_fix.png
hvcgroep_fix.png (53.5 KiB) Viewed 9292 times

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Feb 04, 2018 12:20 pm
by Toonz
msv wrote:Hello Toonz,
Thanks for the update did you implememt my provider https://www.circulus-berkel.nl/afvalkalender/ My zipcode is 7433SN, 4 this is an ICS file.
Done, will be in 3.1......
Configure as waste provider '20'. You will need to manually copy the ICS file to Toon as '/root/waste/waste_calendar.ics' once a year.
N.B Showing the description "Glas, Papier and BEST " just as "Papier" for the time being (otherwise need to design a new icon for this category)

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Feb 04, 2018 12:49 pm
by EJanus
Hi Toonz!
I have been testing your latest update. It looks really great! I found one bug:

- I Use mijafvalwijzer (number 1 in the list). On 12 februari (for examble) it has to show something like GFT. But instead it shows 'Onbekend''. It does that with every GFT pickup day.

And I have one request for the app:
- I think it would be nice when the pickup day is today, instead of the date it shows 'Today' or 'Vandaag'. Same for tommorrow.
- If the pickupday is more than two days away, but is still this week, instead of the date it can show the name of the day (Fryday for example).

I always never now what date it is, but I almost always now when it is tomorrow or when it is Fryday. :wink:

Thank you for this great app. Because of apps like this one, my wife accepts all the time I spend with Toon!

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Feb 04, 2018 2:39 pm
by Toonz
EJanus wrote:I Use mijafvalwijzer (number 1 in the list). On 12 februari (for examble) it has to show something like GFT. But instead it shows 'Onbekend''. It does that with every GFT pickup day.
Hi Ejanus,

this is easily fixed but I need to know in which city you live. Reason is that the waste descriptions differ per city, no standardization whatsoever in wasteland.
You can reply here or send me a PM if you prefer. If you do that today I can put it in version 3.1.
EJanus wrote: And I have one request for the app:
- I think it would be nice when the pickup day is today, instead of the date it shows 'Today' or 'Vandaag'. Same for tommorrow.
- If the pickupday is more than two days away, but is still this week, instead of the date it can show the name of the day (Fryday for example).
I like the suggestion, this has a little bit more impact as I need to refresh the screens/tile at midnight as well.
Probably not in 3.1 but high on the to-do list.
Thanks for the suggestion.

Kind regardz,

Toonz

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Feb 04, 2018 3:02 pm
by EJanus
Thanks for your reply. I have send you an PM/E-Mail with my zipcode.

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Feb 04, 2018 5:23 pm
by glsf91
Toonz wrote: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
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
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
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.
Little bit to late I think:

I would suggest the arrow on the tile pointing to the right instead of left. For me an arrow to the right is meaning going outside (to the street).

Also a suggesting to put an arrow to the right on the first waste Icon (going to the street). But smaller and on the top or bottom of the icon.
Also the same but to the left on the icon for the collected container (the one which has now a big arrow to the left). Also op top or bottom and a little bit smaller :-)

Thanks for implementing the setting for appearing hours.

Re: Toon app: waste collection (Afvalwijzer)

Posted: Sun Feb 04, 2018 8:22 pm
by Toonz
Not too late.... Just delaying the release ;-)
Will have a look....

Thanks for the ideas.....

Re: Toon app: waste collection (Afvalwijzer)

Posted: Tue Feb 06, 2018 9:52 pm
by Toonz
Hi all,

Afvalwijzer version 3.1 is available on ToonStore.
Changelog:
- filtered double entries hvcgroep.nl
- replaced the dates on the tile by 'vandaag', 'morgen' and 'overmorgen' if applicable
- added a button on the tile to indicate the container has been put out in the street (red arrow button)
icon in dim state will show an arrow to indicate that the empty container needs to be collected.
pressing the same button again (red cross button) on the tile to indicate you have collected the empty container will remove the icon in dim state
- added a specific GFT waste categorie for mijnafvalwijzer.nl

Attached the corresponding thermostat waste mod for two firmwares where these new buttons have been built into the thermostat app:
(N.B. the older thermostat mods will continue to work as well, just without the new option to remove the icons)
thermostat_mod_show_waste_V3.1_fw_4.4.21.zip
(164.23 KiB) Downloaded 364 times
thermostat_mod_show_waste_V3.1_fw_4.11.6.zip
(181.46 KiB) Downloaded 388 times
Kind regardz,

Toonz

Re: Toon app: waste collection (Afvalwijzer)

Posted: Tue Feb 06, 2018 10:33 pm
by michel30
Thanks for the new update, just install it on my Toon no issue everything works okay.