I’m using a Pi 3B+, running a 3rd party Debian based OS, not Raspbian. Home Assistant was installed with python3.7 pip under a venv, with root user. “~/.homeassistant/configuration.yaml” is created. I’m able to login to the dashboard and do some configurations with the lovelace interface.
The problem is, it seems regardless what I put in the “configuration.yaml”, nothing changes on the dashboard, and the default yaml file itself is a bit strange:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
These are the things I’ve tried to add:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
sensor:
- platform: yr
light:
- platform: switch
name: Christmas Tree Lights
entity_id: switch.christmas_tree_lights
camera:
- platform: generic
still_image_url: http://194.168.1.80/
None of those components appeared on the dashboard.
I tried to add an Iframe from the dashboard, it works, but I don’t see any items added to the configuration.yaml, the iframe card is added to the “.homeassistant/.storage/lovelace” only. In fact, all the 3 components (person.me, sun.sun, weather.home) are only recorded in lovelace only.
My actual goal is to add an ip camera (ESP32-CAM with Arduino IDE WebServerCamera example, which I am able to access the stream via http://194.168.1.80/) to the system, since modifying yaml doesn’t work, I tried to use the dashboard to add a picture entity with the cam’s ip address, the card showed, but the image is a broken image icon.
Some extra info in case they are relevant:
- I didn’t run hass as daemon or service, I just run “hass” and log is printing, I don’t see any errors but just a warning
[asyncio] socket.send() raised exception
- I tried “hass --script check_config” with an error deliberately put in the yaml file, it can detect the error.
- I created a homeassistant user account according to the official instruction, but later I found it seems not necessary, so I proceed with root user and left the “homeassistant” account.
- In the hass log, it seems “homeassistant.loader” is loading a lot of components as following:
2019-07-27 12:57:14 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-07-27 12:57:14 INFO (MainThread) [homeassistant.core] Timer:starting
2019-07-27 12:57:15 INFO (SyncWorker_18) [homeassistant.loader] Loaded ps4 from homeassistant.components.ps4
2019-07-27 12:57:16 INFO (SyncWorker_14) [homeassistant.loader] Loaded dialogflow from homeassistant.components.dialogflow
2019-07-27 12:57:16 INFO (SyncWorker_2) [homeassistant.loader] Loaded adguard from homeassistant.components.adguard
2019-07-27 12:57:16 INFO (SyncWorker_12) [homeassistant.loader] Loaded toon from homeassistant.components.toon
2019-07-27 12:57:16 INFO (SyncWorker_10) [homeassistant.loader] Loaded upnp from homeassistant.components.upnp
2019-07-27 12:57:16 INFO (SyncWorker_18) [homeassistant.loader] Loaded tradfri from homeassistant.components.tradfri
2019-07-27 12:57:16 INFO (SyncWorker_16) [homeassistant.loader] Loaded ipma from homeassistant.components.ipma
2019-07-27 12:57:16 INFO (SyncWorker_4) [homeassistant.loader] Loaded locative from homeassistant.components.locative
2019-07-27 12:57:16 INFO (SyncWorker_3) [homeassistant.loader] Loaded geofency from homeassistant.components.geofency
2019-07-27 12:57:16 INFO (SyncWorker_8) [homeassistant.loader] Loaded wwlln from homeassistant.components.wwlln
2019-07-27 12:57:16 INFO (SyncWorker_13) [homeassistant.loader] Loaded hangouts from homeassistant.components.hangouts
...
Before I add the first component into the yaml file, the log stops at “INFO (MainThread) [homeassistant.core] Timer:starting”, now it’s loading all these things.
5. When I do “hass --script check_config”, only “Testing configuration at /root/.homeassistant” shows, unlike all the tutorial video which all the components will be “setting up”. This gives me a feeling that my system is not really using the configuration.yaml as it’s config input, instead, it’s only using lovelace.
Am I missing something here? Any suggestion will be appreciated, thank you!