mampfes / hacs_waste_collection_schedule

Home Assistant integration framework for (garbage collection) schedules
MIT License
1.12k stars 672 forks source link

[Bug]: Rhein-Sieg Kreis (RSAG) / Muellmax not working: "The source returned an invalid response." #2320

Closed dhoerpel closed 4 months ago

dhoerpel commented 4 months ago

I Have A Problem With:

The integration in general

What's Your Problem

When trying to configure the wase collection schedule for the Rhein Sieg Kreis (RSAG) - Germany, I'm getting the following error message: The source returned an invalid response: “Content line could not be parsed into parts: '<!DOCTYPE html PUBLIC ‘-//W3C//DTD XHTML 1.1//EN’ ‘http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd’>': <!DOCTYPE html PUBLIC ‘-//W3C//DTD XHTML 1.1//EN’ ‘http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd’>”. Please check the arguments and try again. Please see attached my configuration:

1 2

Source (if relevant)

No response

Logs

No response

Relevant Configuration

No response

Checklist Source Error

Checklist Sensor Error

Required

5ila5 commented 4 months ago

The error message is not ideal but it means taht the server answered with wrong content that's probably due to wrong arguments. Did you check that you wrote the arguments exactly like https://www.rsag.de/abfallkalender/ you can select them here?

BlackHawk1912 commented 4 months ago

Had the same problem and checked my current/old configuration. Turns out that müllmax for my location LKG) doesnt want a house number. Leaving the last field empty solved the problem for me.

dhoerpel commented 4 months ago

@BlackHawk1912 @5ila5 Thank you for your prompt answers! With the help of your answers I was able to identify that my garbage collection provider had a spelling mistake in my street name. Once I added the “wrong” street name I was able to successfully implement the integration.