Newbie question: HASS stops working after edit config

Hi all!

Sorry for maybe this easy and simple question but I can’t figure it out…

The installation of HASS was easy on the Raspberry Pi 3, but after editing the config file to add some components I cant acces the HASS server via the IP-address anymore.,. I tried to add them one by one but still no success.
It just says there is nothing there…
While after undoing the changes in the config file the HASS server will load without any problem.
This happens when I manually add the Tradfri information (Because automatically it won’t work… it keeps saying service calling)
I tried everything and reinstalled the whole Raspberry and the HASS server multiple times,.
HELP!

These are one of the things I added to the config file and after that it stopped working…

Example configuration.yaml entry

tradfri:
host: IP_ADDRESS
api_key: API_KEY

Its not loading because it stops the service if theres invalid yaml (and many other reasons)
Its a bit too sensitive, but thats a yaml problem, not HASS - one wrong space/indent, fail

Further info on the IKEA lights, which I dont have, but it looks like it needs some extra steps which is why its not working out of the box

Post some logs from the homeassistant.log file (it should be in your .homeassistant directory) and we’ll see where the problem is

Thanks for the reply. I followed all the steps for the Tradfri install, but it wont work…
When I’m at home later today I will post my logfiles :slight_smile:

When you next post configs, use the preformatted text option so that we can see the YAML in it’s correct format.

Highlight your posted code, then press the preformatted text button as indicated in the image below.

This is the log when I try to connect with my gateway via the configurator…

2017-07-23 18:53:21 WARNING (Thread-3) [netdisco.ssdp] Error fetching description at 192.168.178.143
2017-07-23 18:53:21 WARNING (Thread-3) [netdisco.ssdp] Found malformed XML at http://192.168.178.115:80/: 
2017-07-23 18:53:41 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting

When I manually add tradfri to the Config file I get this:

ERR_CONNECTION_REFUSED
This is seen in my browser…

And this is the logfile:

 2017-07-23 18:53:41 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2017-07-23 18:53:49 ERROR (Thread-5) [homeassistant.util.package] Unable to install package fsapi==0.0.7: Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-x57w7y3u/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-t6o93r6g-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.4/lxml --home=/tmp/tmp1o07v4y4" failed with error code 1 in /tmp/pip-build-x57w7y3u/lxml/
2017-07-23 18:53:49 ERROR (MainThread) [homeassistant.setup] Not initializing media_player.frontier_silicon because could not install dependency fsapi==0.0.7
2017-07-23 18:53:49 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform media_player.frontier_silicon: Could not install all requirements.
2017-07-23 18:55:44 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2017-07-23 18:55:50 WARNING (MainThread) [homeassistant.components.group] Group 'all_automations' not exists!

Tried the Preformatted text as you suggested,… But it didn’t work… Hope this is alright?

Good enough to see at the moment.

The first error is just from discovery and can be ignored. It just tried to find out more from one of the devices it polled and didn’t get a response it expected, but nothing to worry about.

The second group of errors looks like it’s trying to install a dependency for your Frontier Silicon media player but for some reason the install failed. I don’t use this and am not familiar with it but it may be worth trying to install fsapi manually to see why it’s failing.

Also, it’s looking for a group called all_automations and not finding it.