Can't install Mobile App integration

Hi,
I tried installing the Home Assistant app on my smartphone and it told me I had to install the Mobile App integration. When I try to do that at http://<raspberry_pi_IP_addr>:8123/config/integrations, I get “Please wait, starting configuration wizard for Mobile App” and the loading animation spinning infinitely (I actually left it on overnight in case there’s e.g. an outage somewhere).

Also, not sure whether this is related but when I go to http://<raspberry_pi_IP_addr>:8123/developer-tools/yaml and click “check configuration”, it just spins forever and nothing ever happens.

Any ideas please?

I installed Home Assistant in a virtual environment using pip following the instructions at Raspberry Pi - Home Assistant under “Install Home Assistant Core” . Here’s my setup:

(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ cat /etc/os-release                                                                                                                                                     [83/83]
PRETTY_NAME="Raspbian GNU/Linux bookworm/sid"                                                                                                                                                                                                 
NAME="Raspbian GNU/Linux"                                                                                                                                                                                                                     
VERSION_CODENAME=bookworm                                                                                                                                                                                                                     
ID=raspbian                                                                                                                                                                                                                                   
ID_LIKE=debian                                                                                                                                                                                                                                
HOME_URL="http://www.raspbian.org/"                                                                                                                                                                                                           
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"                                                                                                                                                                                          
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"                                                                                                                                                                                         
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ pip3.10 list                                                                                                                                                                   
Package                    Version                                                                                                                                                                                                            
-------------------------- ----------                                                                                                                                                                                                         
acme                       1.31.0                                                                                                                                                                                                             
aiodiscover                1.4.16                                                                                                                                                                                                             
aiodns                     3.0.0                                                                                                                                                                                                              
aiofiles                   23.1.0                                                                                                                                                                                                             
aiohttp                    3.8.4                                                                                                                                                                                                              
aiohttp-cors               0.7.0                                                                                                                                                                                                              
aiosignal                  1.3.1                                                                                                                                                                                                              
anyio                      3.6.2                                                                                                                                                                                                              
astral                     2.2                                                                                                                                                                                                                
async-timeout              4.0.2                                                                                                                                                                                                              
async-upnp-client          0.33.2                                                                                                                                                                                                             
atomicwrites-homeassistant 1.4.1                                                                                                                                                                                                              
attrs                      22.2.0                                                                                                                                                                                                             
awesomeversion             22.9.0                                                                                                                                                                                                             
backoff                    2.2.1                                                                                                                                                                                                              
bcrypt                     4.0.1                                                                                                                                                                                                              
bleak                      0.20.2                                                                                                                                                                                                             
bleak-retry-connector      3.0.2                                                                                                                                                                                                              
bluetooth-adapters         0.15.3                                                                                                                                                                                                             
bluetooth-auto-recovery    1.2.0                                                                                                                                                                                                              
bluetooth-data-tools       0.4.0                                                                                                                                                                                                              
boto3                      1.26.142                                                                                                                                                                                                           
botocore                   1.29.142                                                                                                                                                                                                           
btsocket                   0.2.0                                                                                                                                                                                                              
cachetools                 5.3.1                                                                                                                                                                                                              
certifi                    2023.5.7                                                                                                                                                                                                           
cffi                       1.15.1                                                                                                                                                                                                             
charset-normalizer         3.1.0                                                                                                                                                                                                              
ciso8601                   2.3.0                                                                                                                                                                                                              
click                      8.1.3                                                                                                                                                                                                              
cryptography               40.0.2                                                                                                                                                                                                             
dbus-fast                  1.85.0                                                                                                                                                                                                             
deepmerge                  1.1.0                                                                                                                                                                                                              
defusedxml                 0.7.1                                                                                                                                                                                                              
dnspython                  2.3.0                                                                                                                                                                                                              
ecdsa                      0.18.0                                                                                                                                                                                                             
envs                       1.4                                                                                                                                                                                                                
exceptiongroup             1.1.1                                                                                                                                                                                                              
fnv-hash-fast              0.3.1                                                                                                                                                                                                              
fnvhash                    0.1.0                                                                                                                                                                                                              
frozenlist                 1.3.3                                                                                                                                                                                                              
getmac                     0.8.2 
greenlet                   2.0.2                                                                                                                                                                                                              
gTTS                       2.2.4                                                                                                                                                                                                              
h11                        0.14.0                                                                                                                                                                                                             
ha-av                      10.0.0                                                                                                                                                                                                             
ha-philipsjs               3.0.0                                                                                                                                                                                                              
hass-nabucasa              0.66.2                                                                                                                                                                                                             
hassil                     1.0.6                                                                                                                                                                                                              
home-assistant-bluetooth   1.10.0                                                                                                                                                                                                             
home-assistant-frontend    20230503.3                                                                                                                                                                                                         
home-assistant-intents     2023.4.26                                                                                                                                                                                                          
homeassistant              2023.5.4                                                                                                                                                                                                           
httpcore                   0.17.0                                                                                                                                                                                                             
httpx                      0.24.1                                                                                                                                                                                                             
idna                       3.4                                                                                                                                                                                                                
ifaddr                     0.1.7                                                                                                                                                                                                              
janus                      1.0.0                                                                                                                                                                                                              
Jinja2                     3.1.2                                                                                                                                                                                                              
jmespath                   1.0.1                                                                                                                                                                                                              
josepy                     1.13.0                                                                                                                                                                                                             
lru-dict                   1.1.8                                                                                                                                                                                                              
mac-vendor-lookup          0.1.12                                                                                                                                                                                                             
MarkupSafe                 2.1.2                                                                                                                                                                                                              
multidict                  6.0.4                                                                                                                                                                                                              
mutagen                    1.46.0                                                                                                                                                                                                             
netifaces                  0.11.0                                                                                                                                                                                                             
numpy                      1.23.2                                                                                                                                                                                                             
orjson                     3.8.10                                                                                                                                                                                                             
Pillow                     9.5.0                                                                                                                                                                                                              
pip                        23.1.2                                                                                                                                                                                                             
psutil                     5.9.5                                                                                                                                                                                                              
psutil-home-assistant      0.0.1
pyasn1                     0.4.8
pycares                    4.3.0
pycognito                  2022.12.0
pycountry                  22.3.5
pycparser                  2.21
pydantic                   1.10.8
pyhumps                    3.8.0
pyipp                      0.12.1
PyJWT                      2.6.0
PyMetno                    0.9.0
PyNaCl                     1.5.0
pyOpenSSL                  23.1.0
pyotp                      2.8.0
pyoverkiz                  1.7.8
PyQRCode                   1.2.1
pyRFC3339                  1.1
PyRIC                      0.1.6.3
pyroute2                   0.7.8
pyserial                   3.5
python-dateutil            2.8.2
python-didl-lite           1.3.2
python-jose                3.3.0
python-slugify             4.0.1
PyTurboJPEG                1.6.7
pytz                       2023.3
pyudev                     0.23.2
PyYAML                     6.0
radios                     0.1.1
requests                   2.28.2
requests-toolbelt          1.0.0
rsa                        4.9
s3transfer                 0.6.1
scapy                      2.5.0
setuptools                 57.4.0
six                        1.16.0
sniffio                    1.3.0
snitun                     0.35.0
SQLAlchemy                 2.0.12
text-unidecode             1.3
typing_extensions          4.6.2
ulid-transform             0.7.2
urllib3                    1.26.16
usb-devices                0.4.1
voluptuous                 0.13.1
voluptuous-serialize       2.6.0
warrant-lite               1.0.4
webrtcvad                  2.0.10
wheel                      0.40.0
xmltodict                  0.13.0
yarl                       1.9.2
zeroconf                   0.58.2
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ cat /home/homeassistant/.homeassistant/configuration.yaml 

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
(homeassistant) homeassistant@raspberrypi:/srv/homeassistant $

The mobile app integration is part of default_config there should be nothing to do.

That’s what I thought too but I get this when I log in through the app:

“Unable to connect to Home Assistant. The ‘Mobile App’ integration is required to use the app, but it is not available on your Home Assistant server. Please check your server configuration and try again.”

(FWIW, I get this no matter whether I download the app with F-Droid or Google Play Store.)

Also, when I go to /config/integrations, I don’t see “Mobile App” there.

Maybe try a Docker install instead, incase the problem is that you’re missing some key OS packages that’s causing the Python modules not to install.

Ok, I made it work with the docker-compose install, thanks.

In case someone else runs into the same problem:

After installing with docker-compose, I opened the Home Assistant app, logged in and got another error (can’t remember the wording but it wasn’t much use, just a connection error of some kind). I had to go to http://:8123/config/integrations (still no Mobile App listed), click “Add Integration” bottom right, search and choose “Mobile App”. A dialog appeared that said “Open the mobile app to set up the integration with Home Assistant. See the docs for a list of compatible apps.” While the dialog was on, I logged in again through the app and finally it worked.

1 Like

Some devices didn’t show up so I deleted the integration to reinstall it and hoping to trigger a relisting of my devices but I was not able to get it to reinstall afterwards (didn’t show up as an icon but behaved as if it was available).
Thanks, this fixed it for me, too.

For me I also needed to add a firewall rule for port 8123