Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you add Veldhoven (Afvalinfo.nl) #58

Open
Rikkie80 opened this issue Apr 19, 2020 · 13 comments
Open

Can you add Veldhoven (Afvalinfo.nl) #58

Rikkie80 opened this issue Apr 19, 2020 · 13 comments

Comments

@Rikkie80
Copy link

I live in Veldhoven (postal codes 5500 - 5509) and the calendar is generated by Afvalinfo.nl.
the api used by afvalinfo.nl seems to be almost similar to the ones you integrated already. Can this one be integrated as well (is available in the Afvalinfo integration, but I like your integration more)?

@pippyn
Copy link
Owner

pippyn commented Apr 19, 2020

Will look into it!

@pippyn
Copy link
Owner

pippyn commented Apr 20, 2020

Can you give an postcode and house number tot test with?

@Rikkie80
Copy link
Author

5503PN 15

@basschipper
Copy link
Contributor

I had a look at this as well, but I can't find an api at all? The only useful thing I see here is the ical thing. In the ical thing there is a reference to the company that created afvalinfo.nl, maybe send them an email if an api is available?

@pippyn
Copy link
Owner

pippyn commented Apr 23, 2020

I couldn't find a API request either. And implementations for other projects use a scraper. Which is not an option for this sensor.

@Rikkie80
Copy link
Author

I sent a mail to afvalinfo.nl with the request for an API. Let's wait for the answer. Thanks for the effort thus far

@pippyn
Copy link
Owner

pippyn commented Jun 10, 2020

Any news?

@Rikkie80
Copy link
Author

No, didn't get any response...

@basschipper
Copy link
Contributor

Looks like afvalinfo.nl is just a redirecting portal. I think you'll have more luck if you send an email to the creators of veldhoven.nl. Within the .ics file is a comment "CARE Internet Services//Sitebox CMS", maybe try to contact them?

@De-Klump
Copy link

De-Klump commented Jun 8, 2023

Is there any news on location Veldhoven?

@xirixiz
Copy link
Contributor

xirixiz commented Jan 9, 2024

@pippyn It's quiet easy to add Veldhoven maybe. I didn't check your code for this, but I have this collector: https://github.com/xirixiz/homeassistant-afvalwijzer/blob/master/custom_components/afvalwijzer/collector/icalendar.py

Maybe you can do some good old copy paste work to make it work for your integration.

@pippyn
Copy link
Owner

pippyn commented Jan 9, 2024

Thanks @xirixiz, but if I read your code correctly it's more of a ics/ical scraper. Right?
I'm not really a fan of that solution to be honest. I would rather use an API.

@xirixiz
Copy link
Contributor

xirixiz commented Jan 9, 2024

Yeah correct. I don't prefer that as well, but since someone added this for me, I was oke with it (not much effort). It's running for quiet some time already. If it breaks often or I need to make exotic solution for other "gemeenten", then I`ll remove it as well. Anyway, so far, so good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants