homeassistant-afvalwijzer icon indicating copy to clipboard operation
homeassistant-afvalwijzer copied to clipboard

request for DeAfvalapp

Open scannie67 opened this issue 1 year ago • 7 comments

Request

I'm missing the DeAfvalapp. This is the information for Echt-Susteren and Helmond. Is it possible to add it?

Many thanks in advance. Peter.

Additional information

No response

scannie67 avatar Jul 03 '22 06:07 scannie67

Hi Peter, yeah should be possible :). I`ll have a look this week.

xirixiz avatar Jul 03 '22 06:07 xirixiz

Do you have a postal code for me which is valid to use?

xirixiz avatar Jul 21 '22 07:07 xirixiz

Maybe you could use https://github.com/pippyn/Home-Assistant-Sensor-Afvalbeheer in the meantime, which already supports this provider.

xirixiz avatar Jul 21 '22 08:07 xirixiz

Hello Bram,

6105 CN in Maria Hoop.

Op 21 jul. 2022 om 09:32 heeft Bram van Dartel @.***> het volgende geschreven:

 Do you have a postal code for me which is valid to use?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

scannie67 avatar Jul 21 '22 10:07 scannie67

Hello Bram,

Do you have an update?

scannie67 avatar Oct 06 '22 23:10 scannie67

Hi Bram,

That would be great! Thanks.

Peter.

Op 3 jul. 2022 om 08:29 heeft Bram van Dartel @.***> het volgende geschreven:

 Hi Peter, yeah should be possible :). I`ll have a look this week.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

scannie67 avatar Oct 11 '22 08:10 scannie67

Hi, yes, I've been working on it but didn't have much time the last couple of months. Will intergrate this soon (approx next month).

Tech details: mostly json is being provided by providers. In this case csv format is being used, which sucks :)

xirixiz avatar Oct 11 '22 08:10 xirixiz

Hi, a bit sooner than expected, but the development branch contains support for deafvalapp! https://github.com/xirixiz/homeassistant-afvalwijzer/tree/development

Output example based on the sample postal code. If you don't understand this, don't worry, this is the input data to create the sensors in HASS and is valid data to create sensors with this custom component.

Please validate if this is working properly. If so, I`ll commit it to the master branch and draft a new release.

{'restafval': datetime.datetime(2022, 11, 14, 0, 0), 'gft': datetime.datetime(2022, 10, 24, 0, 0), 'pmd': datetime.datetime(2022, 11, 1, 0, 0), 'snoeiafval': datetime.datetime(2022, 11, 1, 0, 0), 'kerstboom': 'Geen'}
{'restafval': datetime.datetime(2022, 11, 14, 0, 0), 'gft': datetime.datetime(2022, 10, 24, 0, 0), 'pmd': datetime.datetime(2022, 11, 1, 0, 0), 'snoeiafval': datetime.datetime(2022, 11, 1, 0, 0), 'kerstboom': 'Geen'}
{'next_date': datetime.datetime(2022, 10, 24, 0, 0), 'next_in_days': 1, 'next_type': 'gft', 'today': 'Geen', 'tomorrow': 'gft', 'day_after_tomorrow': 'Geen'}
['gft', 'kerstboom', 'pmd', 'restafval', 'snoeiafval']
['day_after_tomorrow', 'next_date', 'next_in_days', 'next_type', 'today', 'tomorrow']

xirixiz avatar Oct 23 '22 07:10 xirixiz

Ik heb het zelf even getest en alles werkt naar behoren. Ik heb release 2022.10.06 aangemaakt met support voor deafvalapp.

xirixiz avatar Oct 23 '22 07:10 xirixiz

Hallo Bram,Dank je voor het support!!Ik ga het vanavond installeren en proberen. Gr. Peter. Op 23 okt. 2022 om 09:24 heeft Bram van Dartel @.***> het volgende geschreven: Ik heb het zelf even getest en alles werkt naar behoren. Ik heb release 2022.10.06 aangemaakt met support voor deafvalapp.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

scannie67 avatar Oct 23 '22 09:10 scannie67