Error in home-assistant.log

Hi, I searched for a lot on google but I haven’t found a solution, this is the content of the logs.

2019-03-19 20:20:43 ERROR (MainThread) [homeassistant.components.device_tracker] Unable to load /home/homeassistant/.homeassistant/known_devices.yaml: Config file not found: /home/homeassistant/.homeassistant/known_devices.yaml
2019-03-19 21:20:43 ERROR (MainThread) [homeassistant.components.updater] Got unexpected response: None

Any idea?

Thanks

Can you share your config? Especially the bits about your device_trackers

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 latitudine
  longitude: !secret longitudine 
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 0
  # 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/Rome
  # Customization file
  customize: !include customize.yaml

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Show the introduction message on startup.
introduction:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Sensors
sensor:
  # Weather prediction
  - platform: yr
  - platform: systemmonitor
    resources:
    - type: disk_use_percent
      arg: /
    - type: memory_use_percent
    - type: processor_use    
  - platform: command_line
    name: CPU Temp
    command: "cat /sys/class/thermal/thermal_zone0/temp"
    unit_of_measurement: "°C"
    value_template: '{{ value | multiply(0.001) | round(1) }}'
  # Uptime
  - platform: uptime
    unit_of_measurement: hours

# Text to speech
tts:
  - platform: google

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

#Nest
nest:
  client_id: !secret nest_client_id 
  client_secret: !secret nest_client_secret 

discovery:

So you don’t have device trackers?
Can you confirm you have a file called known_devices.yaml in /home/homeassistant/.homeassistant/
If so, make a backup copy and try to delete it.

No and I don’t have any files known_devices.yaml in /home/homeassistant/.homeassistant/

that’s weird. SSH to your ha folder and type touch known_devices.yaml
then restart HA and see if it makes a difference…

I had to add sudo to touch it, however the same errors remain in the logs. I also tried to change user and group of known_devices.yaml but nothing to do…

Perhaps someone can tell you what to check but this seems to be a permissions problem. I wouldn’t think you would need to use sudo in your home directory.

It may be that Home Assistant can’t create the files it needs to because it doesn’t have the correct file permissions. This might explain the odd error messages.

1 Like