@myrax wrote:
Hi everybody,
I hope that I overlook something. I use Home Assistant and Homegear, both dockerized. I “orchestrate” these containers by using docker-compose. I configured HA to connect to the Homegear RPC server by using this:homematic: interfaces: wireless: host: 127.0.0.1 port: 2021
Unfortunately it is the case that Homegear starts up way slower than HA does and therefore HA tries to connect to Homegear and fails. It seems to me that HA does not try to connect to Homegear again, only if I restart HA. There is no easy way in Docker to let my HA container wait until Homegear container is ready, so the only viable option is that HA tries again to connect. The log entry:
2020-03-28 02:02:54 WARNING (SyncWorker_12) [pyhomematic._hm] Failed to initialize proxy
Hopefully I am wrong and I overlooked something. I can’t find a configuration parameter to specify connection retry. Can somebody help me with this issue?
Kind regards
myrax
Posts: 6
Participants: 3