HomeBridge "Please wait while this integration is being setup"

I agree. When using Docker for both HomeBridge and HA I had no issue. However, Iā€™m running a reverse proxy and couldnā€™t figure out the configuration.yaml on the docker version (couldnā€™t locate the file, but gave up quickly once I saw the lack of ability of the Docker version).

I also donā€™t give up easily. Appreciate the help as well!

Do you have to have your setup on VMs ? is a pi not an option ?

I could spin up another Pi. Donā€™t have any online that Iā€™m not using in a production setting. I have a host (oldbear) that I run several VMā€™s on. Here is that setup as well as the stack configuration for the HomeBridge docker container.

VM on Proxmox = HA (10.0.10.90)
Docker Container = HomeBridge (10.0.10.199)


From HW point of view , your setup is great .However I think this add another layer of complexity which goes beyond HA . I had a friend who faced same issues using VMs and we could not solve it but I hope you can .

@ALDIY I just received this in the error log. Not giving me much information.

Logger: homeassistant
Source: runner.py:98
First occurred: 7:57:18 PM (1 occurrences)
Last logged: 7:57:18 PM

Error doing job: Unclosed connection

Could this be vmware issue and best we look to vmware support ?

for the error look at this

Edit :smile:
In the logger make it on debug , this way we can get a lot of info that might help

Well, I just spun up another container (Docker) with HA and was able to get HomeBridge connected instantly. So, itā€™s definitely an issue with Proxmox VM and the HomeBridge Docker container. Not sure where the problem exist. Iā€™ll continue to play with it as I wanted to be able to utilize the full OS of HA.

You must make it work on VM . I think its a challenge but I have a felling you can do it

Iā€™ll continue to prod and will report back.

EDIT: @ALDIY @moto2000

Sorry for the slow response. Itā€™s not letting me create new posts because Iā€™m still the ā€œnew guyā€.

Iā€™m not sure how to run Homebridge within HA instead of using the separate container. But Iā€™ll do some research and see if I can wrap my head around it.

Check the first paragraph and tell me what do you actually want to do . It could be the case that you do not need a separate homebridge host

Yea, I agree with aldiyā€™s last post. You probably donā€™t need a separate homebridge host. Have you tried running homebridge within HA?

I think its you mr moto2000 that suggested not to use a separate host in your first reply .

For me , its good to have him test what he wanted to do first because i think his hardware
is not utilized and for unix / linux guys that is a sin

He is also very good technically and I am sure he will be able to do it on VM if he wanted to
but today he is in the forum jail because its his first day .

Cheers

I was just saying that I agree with thisā€¦

Yes I know and I was giving you the credit for the solution .
I think you misunderstood what I meant , I dnt mean anything bad .
cheers

1 Like

Oh my mistake, I did misunderstand! haha :sweat_smile:

1 Like

Homebridge within HA instead, Just remember to disable the safety mode on portainer. you will get a warning but thats fine.

@Tejasjpatel Thatā€™s actually the tutorial I was following the first go around. What I have verified now is that a VM (Portainer as the hypervisor) just does not work with the HomeBridge Docker install. It works two other ways of messing with it.

Today, I actually integrated Alexa to the HA install and that was a blast! (no, seriously, it was unique and many steps. Working the first time was a rush.)

Iā€™ve been in development for 15-ish years and only about 5-6 months in with the entire home automation piece. Itā€™s a whole new world and now my YouTube algorithm is definitely thrown off. Iā€™ve watched entirely too many automation videos in the past two days.

Lastly - now that Iā€™m out of jail, are there any other limits I should be worried about?

2 Likes

this method worked for me i have my nest products intergrated via home kit, did you remember to disable the saftey on portainer when you did this, as i had problems and couldnā€™t move forward till i realized it.

If i was you I would try again, its so worth it. i think i did it like 4 times before i i got it right.

As for the future, the beginning is always the hardest as you dont have the knowledge, keep at it, read, watch, and code.

Disable safety on Portainer? Either I missed this step or Iā€™m not following correctly.

yes correct, you must have missed this step.

I missed this step and i couldnā€™t get it to work until this was done it would just load forever. Let me know how you get on.