I just installed Hass.io on a RPI3 and it pops up "Invalid Config, the following components and platforms could not be set up: - xiaomi-aqara’ please check your config.
When I check the config file it says its fine.
Also - note: I have a Xiaomi gateway on the same network, but I had not added any custom configs to Hass. It’s not possible for Haas to pick up the gateway automatically yes?
Subsequently, I chose to add the config for xiaomi. It still says its the config is valid when checked, but when booted, the warning shows.
Commented it out and restarted, then the same error + ZWave also is now said to be invalid. Reverted to original state, still saying ZWave is also misconfigured.
Here’s my config file for ref:
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 6.9319
longitude: 79.8478
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 8
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here:
time_zone: Asia/Colombo
# 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.
# 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:
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:
zwave:
usb_path: /dev/ttyACM0
#xiaomi
xiaomi_aqara:
discovery_retry: 10
gateways:
- host: 192.168.55.137
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
Timer got out of sync. Resetting
11:53 PM core.py (ERROR)
Found malformed XML at http://192.168.55.112:9080: status=ok
11:52 PM ssdp.py (WARNING)
Setup failed for xiaomi_aqara: Component failed to initialize.
11:52 PM setup.py (ERROR)
No gateway discovered
11:52 PM components/xiaomi_aqara.py (ERROR)
Setup of xiaomi_aqara is taking over 10 seconds.
11:51 PM bootstrap.py (WARNING)
Error during setup of component zwave
11:51 PM components/zwave/__init__.py (ERROR)
Key is not provided for gateway None. Controlling the gateway will not be possible
11:51 PM components/xiaomi_aqara.py (WARNING)
My system is working fine and also spitting out this error. I built it in a VM of Ubuntu and it’s definitely talking ok to my Xiami Aquara (?) home hub thing to turn on switches and door sensors etc, yet this minor error is still coming up from the wizard.