Error The mobile_app component is not loaded

I’ve had a look in the manual, and from what I can see all I need to add in the confirguation.yaml file to enable this is

mobile_app:

I’ve done this, restarted the server and I’m still unable to connect and also have a notification on the server saying that is invalid config.

I’m running 0.101.3

Can you post part or all of your configuration.yaml so people can check your config? Place it between </> so that it formats correctly.

What error do you get in the checker?

Thanks for the quick reply. I’ve posted a slightly annonomised version of my configuration.yaml below:

homeassistant:
  ## Name of the location where Home Assistant is running
  name: Home
  ## Location required to calculate the time the sun rises and sets
  latitude: !secret home_lat
  longitude: !secret home_lon
  ## Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 120
  ## metric for Metric, imperial for Imperial
  unit_system: metric
  ## Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/London
  ## Customization file
  customize: !include customize.yaml

zone:
  name: Home
  latitude: !secret home_lat
  longitude: !secret home_lon
  icon: mdi:home
  radius: 500

## Show links to resources in log and frontend
## introduction:

## Enables mobile app
mobile_app:

## Enables the frontend
frontend:

## Enables configuration UI
config:

http:
  ## Secrets are defined in the file secrets.yaml
  ## Enable legacy API password
#api_password: !secret ha_api_key
  ## Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  #base_url: example.duckdns.org:8123

## Checks for available updates
## Note: This component will send some information about your system to
## the developers to assist with development of Home Assistant.
## For more information, please see:
## https://home-assistant.io/blog/2016/10/25/explaining-the-updater
updater:
  ## Optional, allows Home Assistant developers to focus on popular components.
  #include_used_components: true

## Discover some devices automatically
discovery:

system_health:

## Allows you to issue voice commands from the frontend in enabled browsers
conversation:

## Enables support for tracking state changes over time
history:

## View all events in a logbook
logbook:

## Enables a map showing the location of tracked devices
map:

## Track the sun
sun:

## Sensors (Weather prediction)
sensor:
  - platform: yr
# Adrian - Dark Sky
  - platform: darksky
    api_key: ###
    monitored_conditions:
      - summary
      - precip_type
      - precip_probability
      - apparent_temperature
      - wind_speed

## Text to speech
tts:
  - platform: google_translate
    service_name: google_say

## Cloud
cloud:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml


## Add to the side panel of home assistant
panel_iframe:
  hadashboard:
    title: HA Dashboard
    icon: mdi:view-dashboard-variant
    url: http://192.x.x.x:5050
  configurator:
    title: Configurator
    icon: mdi:circle-edit-outline
    url: http://192.x.x.x:3218
  #tasmoadmin:
    #title: TasmoAdmin
    #icon: mdi:creation
    #url: http://0.0.0.0


## Aeotec ZW090 Z-Stick GEN5 Example for FreeNAS
## https://www.home-assistant.io/docs/z-wave/installation/#configuration
#zwave:
  #usb_path: /dev/cuaU0
  #network_key: !secret zwave_key
  #config_path: /srv/homeassistant/lib/python3.6/site-packages/python_openzwave/ozw_config

## Adrian Entries
remote:
  - platform: harmony
    name: Harmony
    host: 192.x.x.x

tplink:
  discovery: true
  switch:
    - host: 192.x.x.x
    - host: 192.x.x.x
    - host: 192.x.x.x

media_player:
  - platform: emby
    host: 192.x.x.x
    port: xxxx
    ssl: false
    api_key: 
    auto_hide: true
  - platform: itunes
    host: 192.x.x.x
    port: xxxx

weather:
  - platform: darksky
    api_key: 
    
emulated_hue:
  host_ip: 192.x.x.x
  listen_port: xxxx

What error do you get in the checker?

I just had to Google where that had gone, as I couldn’t see it on the Server Restart screen. I needed to enable the advance switch, and this is the error:

Component error: mobile_app - Requirements for mobile_app not found: ['PyNaCl==1.3.0'].

It looks like you are not alone. Take a look Here

and here’s the answer, at least if you’re running FreeNAS (may work for others as well?)

Thanks

when I add:
mobile_app:

to the configuration.yaml file and checking the configuration in Home Assistant app I get the error:

Testing configuration at /config
Failed config
General Errors:
- Component not found: mobile_app

where and which definitions do I have to put the component ?
I have found no accurate description on how to integrate the iOS home_assistant into the (Linux) system Home Assistant application.
Please supply definitions!
Thank you very much

You need to share more of your config file so we can see how you have placed it and where. Don’t forget to format the code correctly.

Hi, thanks for your help. This is my configuration.yaml file, which I placed in the /config folder:
homeassistant:

  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 47.150788
  longitude: 8.228476
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 700
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Zurich
  # Customization file
  customize: !include customize.yaml

# set mobile app according to companion.homassistant webpage Fsi
mobile_app: 

# end special setup  

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
  # Secrets are defined in the file secrets.yaml
  # api_password: !secret http_password
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  # base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Weather prediction
sensor:
  - platform: yr

# Text to speech
tts:
  - platform: google

# Cloud
cloud:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

mqtt:
  broker: 127.0.0.1

and this is the output from the checking in the Host app: The following components and platforms could not be set up:

  • mobile_app

Please check your config

---------
What I am missing? Do I need to specify an additional parameter in configuration.yaml file or do I need a special file (ios....) in the /config folder? I have installed the iOS HomeAssistant in my iPhone.
Thank you very much for any tip.

Try moving it further down the list. Here is mine

Thanks for the tip. Have moved it further down and removed some remark statements but still not valid:

Testing configuration at /config
Failed config
  General Errors: 
    - Component not found: mobile_app

Successful config (partial)

This is now my configuration.yaml

  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 47.150788
  longitude: 8.228476
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 700
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Zurich
  # Customization file
  customize: !include customize.yaml

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
  # Secrets are defined in the file secrets.yaml
  # api_password: !secret http_password
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  # base_url: example.duckdns.org:8123

# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:

# Discover some devices automatically
discovery:
# ios
mobile_app:

history:

logbook:

map:

# Track the sun
sun:

# Cloud
cloud:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

mqtt:
  broker: 127.0.0.1

Do I have to put any configuration file for the iOS mobile app in the folder?

What flavour of Home Assistant are you running and what version?

The docs for mobile app are here

Its homeassistant/home-assistant:0.65.5 running on a QNAP Docker with Docker Station.

You are running a very old version there. You need to update it, if possible, to use the mobile App as per the docs I linked earlier.

Hi Neil,
thank you very much for your help. Yes, it was very old, but the most actual version on QNAP. So I pulled the newest version from Github and installed it. Now it is running smoothly.
Only question remains: How can I change the Home location. I do not have access to the configuration.yaml file (no shared file available in image), and in the frontend, I only can add a new point.
But anyway. Very many thanks for your great help.