Home Assistant Install in a python VENV and piHole install question

I see a lot of info about pihole, but most of the posts are related to the add-on. I dont have acesss to the add ons. The computer I’m running on has more than enough power to handle the addition of pihole. but I definitely dont want to mess up my HA install that much more important to me at the moment.

Anyone doing this? Anyone have refrence to a simple install guide that would work for my current config? Any gotchas? Should I just buy a pi and dedicate it to pihole?

You could install hassio if you want the ease of add-ons.

Overall I find that I’m happy with the freedom that comes with the venv install. Have managed to be able to do everything I’ve wanted to do with HA. I dont mind a little bit of extra work or learning when needed.

well, then you should be able to just install pihole. Is there something in particular that you aren’t sure about for the install process?

just a note: this has nothing to do with home assistant. pihole is a separate application.

I agree it’s not really a HA discussion other than asking the question if anyone running HA in a VENV, ran into issues, had lessons learned, related to installing pihole on a the same machine.

I could go to the pihole community and ask them if anyone running pihole was also running HA, and if so if they had any lessons learned, issues, etc. But I figured there would be more people here with the scenario I’m asking about since it is also an add-on with hassio. I find that a lot of addons are usually also installed manually by people not running hassio.

I have HA in VENV and pihole on my Ubuntu server.

Only issue I had initially was when restarting the machine, HA would fail to contact some of the cloud-based sensors/modules (i.e. google calendar, etc.), I am guessing pihole DNS server was not fully ready when HA started after booting.

Tried tinkering the homeassistant.service to adjust the start order and timing, didn’t get it to work. Ended up doing it in rc.local, works okay now.

1 Like

I guess my point was, just install it. It is an application.

I come from the philosophy of try it and see what happens. If it doesn’t work, document what doesn’t work and fix it.

1 Like

Totally get it. I often do that, but I do like to set myself up for success when possible. Just wanted to make sure there were not 5 people saying, NO dont do it, it totally screwed up the access to my HA instance, and I had to rebuild. My HA install is pretty important to me and my day to day. I also don’t always have the time required to fix it when I break it. Especially if I break it bad. haha.

1 Like

Docker saves my ass in those situations.

1 Like

I run HA in a venv, it is also runs Pihole, traccar server, mariadb, cloudflared proxy, caddy proxy, mosquitto server and syslog server. No issues here.

I started with a docker install but had too many issues with updates of HA containers and getting containers to properly talk to each other.

1 Like