I made a Selenium Add-on for Home Assistant #1710
davida72
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Selenium is a browser that runs in the background, which can be programmatically controlled to navigate a website. A good number of councils in the UK Bin Collection Data project require Selenium to extract bin collection information.
I understand why it's necessary but I've always found it something of a headache to get Selenium running in a container, then adjusting network settings so that Home Assistant can reliably communicate with it. This add-on simplifies the process, running alongside the UK Bin Collection Data integration within Home Assistant and showing up as
http://localhost:4444/. Simple!max_sessions,session_timeoutandjava_max_memoryfor lower spec machines.The repository, along with installation documentation is here.
https://github.com/davida72/selenium-homeassistant
I've only tested it on PC hardware so far so if anyone has Home Assistant running other hardware, especially lower spec hardware, then I'd love to hear if it works for you. Feedback welcome.
Hope someone finds this useful!
Beta Was this translation helpful? Give feedback.
All reactions