eufy_security
eufy_security copied to clipboard
Add configuration option to adjust host and port for websocket server
Is your feature request related to a problem? Please describe.
I am running the bropat/eufy-security-ws docker container. The docker network IP addresses are not static and are prone to change when the container or host are rebooted. When the IP address changes, there is currently no way to update the host IP config (other than manually adjusting the core.config_entities
file).
Describe the solution you'd like There should be an option in the integration config to adjust the host IP.
Describe alternatives you've considered
Manually update the host IP config in the core.config_entities
file. This is not user friendly or obvious to most users.
Additional context Can add this option to the top of the existing configuration options:
Why don't you set a static ip or name to container?
Fair. If we can't add a config option on the front end, maybe a note in the docs to use a static IP?
This is actually much bigger problem exists in home assistant world, i just want to unblock you but i am not against this request.
Until this is done, at least you have a solution in your hands, right?
One more thing, why don't you use host.docker.internal if all containers are running on the same machine, this should work for you given that port 3000 is accessible over host system
Still a docker newbie 😛
But that didn't work unfortunately. The integration wasn't able to connect to the websocket container.