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

Walsall Council No Longer Working #1101

Open
4 tasks done
mutatedshadow opened this issue Dec 23, 2024 · 1 comment · May be fixed by #1088
Open
4 tasks done

Walsall Council No Longer Working #1101

mutatedshadow opened this issue Dec 23, 2024 · 1 comment · May be fixed by #1088
Assignees
Labels
bug Something isn't working

Comments

@mutatedshadow
Copy link

Name of Council

Walsall Council

Issue Information

Walsall Council no longer returns data.
When adding Walsall Council, it only returns a single HA Entity for RAW JSON.
I have tried all variations of the URL i can think of but I get the same result of no returned data.

Other integrations such as Cannock Chase District Council work without issue.

The screenshots below shows my "Test" location using Walsall Council showing only a single entity and the contents of the single entity.

The location called "Home" is setup with Walsall Council but from a previous integration version with all entities showing a "This entity is no longer being provided by the uk_bin_collection integration".

The final screenshot shows these previously working entities.

image

image

image

Integration Version: 0.123.2
Previously working URL for testing: https://cag.walsall.gov.uk/BinCollections/GetBins?uprn=100071080513
UPRN: 100071080513
Postcode: WS8 7PW
URL to Bin Collections Page: https://cag.walsall.gov.uk/bincollections

Verification

  • I searched for similar issues at https://github.com/robbrad/UKBinCollectionData/issues?q=is:issue and found no duplicates
  • I have checked my address/postcode/UPRN works on the council's website
  • I have provided a detailed explanation of the issue as well as steps to replicate the issue
  • I understand that this project is run by volunteer contributors therefore completion of this issue cannot be guaranteed
@mutatedshadow mutatedshadow added the bug Something isn't working label Dec 23, 2024
@dp247 dp247 self-assigned this Dec 29, 2024
@dp247
Copy link
Collaborator

dp247 commented Dec 29, 2024

Not sure why it's giving raw JSON as a sensor, but the scraper was broken - it was trying to find page elements that didn't exist and returning nothing since they weren't there (likely a council change). Any bins that don't have schedule pages (e.g. there are no garden bins now) are skipped too, so it will only return schedules it can find.

dp247 added a commit to dp247/UKBinCollectionData that referenced this issue Dec 29, 2024
@dp247 dp247 linked a pull request Dec 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants