#HA App doesn't connect to raspi after reboot

1 messages · Page 1 of 1 (latest)

maiden sinew
#

Hello all,

Thank you for HA App!

My android app doesn't connect to HA on raspi after I introduced pihole to the network and rebooted the raspberry server.

How come?

Bye
Gerrit

tight fossil
#

Your screenshot suggests you're using homeassistant.local - does that still work in the browser on your device?
Some Android devices don't like addresses like that, tap on Einstellungen in the popup > [your server name] > set the url to the IP address if you can.

maiden sinew
#

Actually the URL doesn't work in the browser and I only checked the IP address: You're absolutely right - the IP address in the URL setting works like a charm!

sage hawk
# maiden sinew Hello all, Thank you for HA App! My android app doesn't connect to HA on rasp...

Regarding the pihole, you need to set something that knows about your homeassistant device as the upstream DNS server for the pihole, or you won't be able to use the hostname of the homeassistant. The default upstream DNS for the pihole is (iirc) the google DNS (which obviously can't know what IPs your local homeassistant devices have). Often times you can set your Router as upstream DNS, which will know about your local devices and use whatever DNS your ISP uses for the rest (just be careful that you didn't configure the Router to try and use the pihole as upstream DNS, because in that case you basically have a DNS loop).

sage hawk
#

That all said, I've kinda given up on Pihole myself. Anything that legit wants to track you just talks to the Google DNS directly and completely avoids your pihole, whereas useful applications will from time to time trip over it and you'll be pulling your hair wondering why stuff randomly doesn't work until you remember about the random pihole installation fermenting around in your network

maiden sinew
#

Wer nicht kämpft hat schon verloren

sage hawk
# maiden sinew Wer nicht kämpft hat schon verloren

true, but you're fighting with wooden clubs against firearms, and get to keep the splinters. You'd be much better off having a router that blocks the IPs of tracking servers directly... at least of those that have dedicated IPs for it

#

also less privacy-invading end devices are a good idea ... our phones are running /e/OS (privacy focused Android-fork that's honestly still smoother to use than gapps-less LineageOS) now https://e.foundation/e-os/