mampfes / hacs_waste_collection_schedule

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

[Bug]: AWM (Abfallwirtschaftsbetrieb München) not configurable through UI #3005

Open bonzenpaule opened 4 hours ago

bonzenpaule commented 4 hours ago

I Have A Problem With:

A specific source

What's Your Problem

I've got the source working for some time through the yaml config but tried to switch to the configuration through UI and that's not working.

I think the Problem is with my address or schedule for this address. If I try my old address in munich the configuration through UI works. But with my new address I get the following errorcode

Die Quelle hat eine ungültige Antwort zurückgegeben: "503 Server Error: Service Unavailable for url: https://www.awm-muenchen.de/entsorgen/abfuhrkalender?tx_awmabfuhrkalender_abfuhrkalender%5Baction%5D=show&tx_awmabfuhrkalender_abfuhrkalender%5Bcontroller%5D=Abfuhrkalender&cHash=7d8eaf357876e6a965acc1a09e7e9b25". Bitte überprüfe die Argumente und versuche es erneut.

Screenshot 2024-11-08 09 30 19

The UI is forcing me to add a collect cycle. Maybe this is whats producing the error. Screenshot 2024-11-08 09 36 11

Source (if relevant)

No response

Logs

No response

Relevant Configuration

No response

Checklist Source Error

Checklist Sensor Error

Required

bonzenpaule commented 4 hours ago

To add: My yaml config for the same adress is:

waste_collection_schedule:
  sources:
    - name: ics
      args:
        regex: (.*), .*
        url: https://www.awm-muenchen.de/entsorgen/abfuhrkalender?tx_awmabfuhrkalender_abfuhrkalender%5Bhausnummer%5D=45&tx_awmabfuhrkalender_abfuhrkalender%5Bleerungszyklus%5D%5BB%5D=1%2F2%3BG&tx_awmabfuhrkalender_abfuhrkalender%5Bleerungszyklus%5D%5BP%5D=001%3BU&tx_awmabfuhrkalender_abfuhrkalender%5Bleerungszyklus%5D%5BR%5D=001%3BG&tx_awmabfuhrkalender_abfuhrkalender%5Bsection%5D=ics&tx_awmabfuhrkalender_abfuhrkalender%5Bsinglestandplatz%5D=false&tx_awmabfuhrkalender_abfuhrkalender%5Bstandplatzwahl%5D=true&tx_awmabfuhrkalender_abfuhrkalender%5Bstellplatz%5D%5Bbio%5D=70038603&tx_awmabfuhrkalender_abfuhrkalender%5Bstellplatz%5D%5Bpapier%5D=70038603&tx_awmabfuhrkalender_abfuhrkalender%5Bstellplatz%5D%5Brestmuell%5D=70038603&tx_awmabfuhrkalender_abfuhrkalender%5Bstrasse%5D=Zenettistr.&tx_awmabfuhrkalender_abfuhrkalender%5Byear%5D=2024&cHash=b6ec8448142dbe94492fe8486ede7ce9

The link to the source inside the yaml-config is way larger than the link shown in the screenshot above (UI config) and I think the collection cycle ID are missing:

UI config: https://www.awm-muenchen.de/entsorgen/abfuhrkalender?tx_awmabfuhrkalender_abfuhrkalender%5Baction%5D=show&tx_awmabfuhrkalender_abfuhrkalender%5Bcontroller%5D=Abfuhrkalender&cHash=7d8eaf357876e6a965acc1a09e7e9b25"

yaml config: https://www.awm-muenchen.de/entsorgen/abfuhrkalender?tx_awmabfuhrkalender_abfuhrkalender%5Bhausnummer%5D=45&tx_awmabfuhrkalender_abfuhrkalender%5Bleerungszyklus%5D%5BB%5D=1%2F2%3BG&tx_awmabfuhrkalender_abfuhrkalender%5Bleerungszyklus%5D%5BP%5D=001%3BU&tx_awmabfuhrkalender_abfuhrkalender%5Bleerungszyklus%5D%5BR%5D=001%3BG&tx_awmabfuhrkalender_abfuhrkalender%5Bsection%5D=ics&tx_awmabfuhrkalender_abfuhrkalender%5Bsinglestandplatz%5D=false&tx_awmabfuhrkalender_abfuhrkalender%5Bstandplatzwahl%5D=true&tx_awmabfuhrkalender_abfuhrkalender%5Bstellplatz%5D%5Bbio%5D=70038603&tx_awmabfuhrkalender_abfuhrkalender%5Bstellplatz%5D%5Bpapier%5D=70038603&tx_awmabfuhrkalender_abfuhrkalender%5Bstellplatz%5D%5Brestmuell%5D=70038603&tx_awmabfuhrkalender_abfuhrkalender%5Bstrasse%5D=Zenettistr.&tx_awmabfuhrkalender_abfuhrkalender%5Byear%5D=2024&cHash=b6ec8448142dbe94492fe8486ede7ce9