Replies: 4 comments 6 replies
|
Thank you. |
|
Is this guide still up to date? The reason I am asking is that I don't see the "URL of the remote Selenium web driver to use" field here. I am using Version 0.166.0 for Midlothian Council, and I came here because I am seeing this error message "Failed setup, will retry: Unexpected error: [Errno 2] No such file or directory: '/root/.wdm/drivers/chromedriver/linux64/114.0.5735.90/chromedriver'", which makes me believe that I would need to set up Selenium as explained in this guide. I am using HAOS and Proxmox. Does the guide need to be updated, or is there a bug in the implementation for Midlothian (which recently got updated)? |
|
No, it didn't ask for a selenium grid url on setup. In fact, I can't see where the 'Don't run on remote Selenium server, use local install of Chrome instead' would be. Sorry, it seems I am doing something wrong here. On setup I am being asked about location/council details in a first pop-up window, and then post code/house number etc information in a second pop-up window. After that I am being shown a "Success" window and then back on the UK Bin Collection Data main page it shows "Needs attention" and the error message mentioned in my earlier post. Where would I find the 'Don't run on remote Selenium server, use local install of Chrome instead' option? I have been looking through a number of "..." menues and "System Options", but can't find it. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Afternoon everyone. I simply wanted to post here how I got Selenium setup with Home Assistant and Proxmox to successfully pull data using this addon. I'm not a overly strong programmer and I'd never heard of Selenium, so this was somewhat of a learning curve for me, plus there is very little information on Google which was easy to follow, so hopefully this helps someone.
Nb. This guide assumes that Proxmox is configured, HA is configured and the UKBinCollectionData integration has already been added via HACS. The dev's documentation can be found here if required.
Step One: Create an LXC Container in Proxmox
ip addrto find the correct IPv4 addressapt-get updateapt install docker.ioandapt-get install dockerdocker run -d -p 4444:4444 --restart=always selenium/standalone-chromeStep Two: Navigate to Selenium to check its running
Enter the IP address followed by port 4444 in an internet browser, for example
Obviously replace the IP with the true IP address of your LXC container.
If you have done everything right, you should reach a webpage which says 'Selenium Grid' at the top. This confirms Selenium is running OK. ✅
Step Three: Configure the integration in Home Assistant
Hope that helps. Feel free to comment below if you need any help and I'll try my best wherever possible to assist 👍
All reactions