Closed danwall8585 closed 1 month ago
Your config looks like all your specifc sensors should not work as you change the name from Green Bin
to Green bin (Garden)
and the sensor looks for Green Bin
but should look for Green bin (Garden)
I cannot reproduce the issue we currently have 4 test cases, the one that show green bin on the website, do return green bin events.
With green bin 100050938234, 100051085306 Without green bin: 100050961380, 100050920796
I've finally got around to looking at this again. Tested with ...234 and that shows green bin correctly, switched back to mine and it's back to Unavailable.
Double checked on the website and that's definitely showing next green bin collections for my address so not sure what's going on! Is there an underlying API that gathers the data I can test or anything?
The script looks at https://wasteservices.sheffield.gov.uk/{UPRN}/calendar
Searches all div
s with class calendar-table-cell
in all these div
s it looks for all child li
elements, where it takes the title
attribute and splits at -
the script then tries to parse the first part (everything before -
) to a date object. The second part is taken for the name shown in your calendar.
You can try to check what's different with your address, or you can send me the HTML of the website or your UPRN, so I can check: either here or privately to silaskoch@gmx.de
Great thanks, so it looks like the green bin doesn't show on the calendar page for me but does on the page before (property). I'm 99% sure it should be there but it looks like an issue at the council's end so closing this. Thanks again
I Have A Problem With:
A specific source
What's Your Problem
Green bin sensor is no longer available despite green bin collection showing on the website. I know the green bin only shows conditionally on the site based on if an address has paid for the year if that makes any difference (we have paid).
Source (if relevant)
sheffield_gov_uk
Logs
Relevant Configuration
Checklist Source Error
Checklist Sensor Error
Required