-
-
Notifications
You must be signed in to change notification settings - Fork 640
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
Jointwastesolutions_org.py support for Surrey Heath #1131
Comments
You're right it works with Surrey Heath as well but Elmbridge and Mole Valley use a different System and just changing the URL does not seem to work. it's a pretty fresh source #1124 and not yet part of any release we could add an additional parameter to change the url |
Did you find any easy way for Elmbridge or Mole Valley? Any improvements for the Source? If not I would just merge my changes suggested in #1132 |
There's already a source for Elmbridge. |
I didn't manage to find any easy way for Elmbridge or Mole Valley. Although it is the same company providing the service, these two boroughs seem to use a different web UI. It appears there are only two UIs to scrape for the information; the Woking/Surrey Heath and Elmbridge/Mole Valley ones. Not sure what the best way of handling this is? |
I merged #1132 which adds support for Surrey Heath Elmbridge got it's own source. We could write an additional source for Mole Valley. If Mole Valley or Elmbridge ever change to the other system/UI they are already supported by the |
Hi, it seems the elmbridge pages are stuck in July and are no longer updating on the normal pages, it shows as 300+ days to my next collection due to this! Looks like they may have swapped to this new source? This page shows correct data: This one doesn't seem to update anymore: |
I fixed Elmbridge in #2757 This will be part of the next release or is available now as master (git) version install master/git: Developer tools -> actions -> select Older versions of HACS:install master with HACS version < 2.0: (3-dot menu -> redownload -> change version to master -> fully restart HA (this will increase update cycle by a lot) |
Thank you! Will test on release.
…On Fri, 27 Sept 2024, 22:28 5ila5, ***@***.***> wrote:
I fixed Elmbridge in #2757
<#2757>
This will be part of the next release or is available now as master (git)
version
install master/git: Developer tools -> actions -> select update: Install
update -> click Coose entity and select WCS -> select version and type
master in the input field -> run the action -> restart HA
Older versions of HACS:
install master with HACS version < 2.0: (3-dot menu -> redownload ->
change version to master -> fully restart HA (this will increase update
cycle by a lot)
—
Reply to this email directly, view it on GitHub
<#1131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXZIYPZOXTJHFQD4P5OZOTZYXEZLAVCNFSM6AAAAABOBYJL26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBQGA4DEMBUG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Joint Waste Solutions appear to provide waste collections for the Surrey boroughs of Woking, Elmbridge, Mole Valley and Surrey Heath. The current
jointwastesolutions_org.py
source currently only supports the Woking borough due to the refer URL passed into the various calls and/or headers.I have edited the script and tested it with an address in Surrey Heath, requiring the four POST/GET calls and two header parameters to be updated from:
https://asjwsw-wrpwokingmunicipal-live.whitespacews.com/
to:
https://asjwsw-wrpsurreyheathmunicipal-live.whitespacews.com/
Sadly there is no easy way (that I know of) to determine which borough a postcode is in. Therefore my solution would be to rename
jointwastesolutions_org.py
towoking_gov_uk.py
and create a second source ofsurreyheath_gov_uk.py
with the updated URL and description. This way the Home Assistant end-user can determine who they pay their Council Tax to.If this sounds like a good plan, I can possibly have a go at a PR for it?
Thanks for your contributions to making Home Assistant really useful.
Ian.
The text was updated successfully, but these errors were encountered: