Installing Open ZWave - What Next?

Hello everyone!
I downloaded the latest HASSbian image and installed on a raspberry pi 3.
Ran the all-in-one installer.

Everything so far, iffy.
The installer ran without errors.

Yet on the home-page, I have two messages:

Invalid config
The following components and platforms could not be set up:
sun
discovery
Please check your config

I already placed the GPS coordinates in /home/homeassistant/.homeassistant/configuration.yaml

What can I do about these messages?

And the thing that really has me scratching my head: What to do now in order to install/use the Aeotec Z-Stick?
I plugged it into the USB port, rebooted the pi, yet… ??

What now?
I am at a 95% loss as to what to do next.

Your help is greatly appreciated!

The logbook shows the following:

8:07 PMyr Symbol changed to 38:07 PMinvalid config changed to The following components and platforms could not be set up:

  • discovery
  • sun
    Please check your config8:07 PMinvalid config changed to The following components and platforms could not be set up:
  • sun
    Please check your config8:07 PMHome Assistant restarted

And over in the configuration.yaml, I setup a password via:
api_password: MY_PASSWORD

I logged out, and am able to log back in without a password.
In fact, I can enter almost any string in the password field and it gives me access.

What am I doing wrong?

You likely have a malformed configuration.yaml. Be sure that you format things correctly. Indents are significant. Tabs can break things.

Also - you’re going to need to post your configuration for us to diagnose. And be sure to use preformatted text when you do post.

You likely have a malformed configuration.yaml. Be sure that you format things correctly. Indents are significant. Tabs can break things.

I see that possibility… yet the system was throwing that error upon first boot.
I hadn’t touched the configuration.

I will post my configuration.yaml tomorrow, when I am on-site.

Thank you!

@isupfree as per your first post you used the hasbian image and then used the all in one installer. The hasbian image and the all in one installer are somewhat clobbering each other. They install the same things in two different locations. You may be better off starting with a stock jessie install and then run the AIO installer if you need zwave.

Alright!
I downloaded the latest Jessie image.
Then I ran the AIO (All In One) installer.

The installer “finished” with the following:
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/_counter.o -o build/lib.linux-armv7l-2.7/Crypto/Util/_counter.so

Successfully installed fabric paramiko ecdsa pycrypto
Cleaning up...
Cloning into 'fabric-home-assistant'...
remote: Counting objects: 197, done.
remote: Total 197 (delta 0), reused 0 (delta 0), pack-reused 197
Receiving objects: 100% (197/197), 99.50 KiB | 0 bytes/s, done.
Resolving deltas: 100% (108/108), done.
Checking connectivity... done.
hass_rpi_installer.sh: line 81: cd: /home/root/fabric-home-assistant: No such file or directory

Not sure if is finished properly, or if there is something pending to do.
If I visit the raspberry pi’s address: http://192.168.21.253:8123/
I don’t get a page.

As per this page, I am looking for the installation log at:
/home/pi/fabric-home-assistant/installation_report.txt
And I don’t have it there.

@isupfree This time it looks like you used the root user to do the install. You must NOT use the root user for this install script or it will fail, which it did. You can try re running the script logged in as the PI user but it might be safer to start again.

Yup!
Zarthan, you are 100% right.
I messed that part up.
I used root.

I am re-running the script again logged in as the user “pi”.
Will update in a few.

Thank you!!

Awesome!
It’s working now!
Going to see if I can setup the Aeotec Z-stick…
Will update in a few!

Great news! Good luck.

Hey guys!
Got a basic question.
Looking at this video from BRUH https://youtu.be/ajklDCaOGwY?t=7m53s

How do I get that dashboard?
I mean, he has everything nicely separated and in the “home screen”.
How can I get those?

Thank you!

From the cookbook page:

Thank you ih8gates!

Looking into that right now!

:slight_smile:

Another question: Do get hass to auto-start…
I installed everything in a Raspberry Pi.
And I am following this link to get systemd to autostart the service.

Yet following the instructions, and even rebooting the rpi, the service has not autostarted.

What could I be doing wrong?
EDIT: I am able to follow the directions in that link fine, EXCEPT for the part where I have to find the hass location in the system.

If I run

whereis hass

it returns nothing.
It just returns

hass:

What could be happening there?

Thank you!

For future reference, found this link which talks about the same issue of the location of hass using

whereis hass

With the AIO, the autostart is set up for you, too.

Alright!
I probably messed something up, so in the interest of other people that see this thread, here is what I did to fix up my mess:

The hass location is /srv/hass/hass_venv/bin/hass

So you go into the file:

/etc/systemd/system/[email protected]

(use vi or nano or WordPerfect 97)

And I dumped in there the following:

su -c 'cat <> /etc/systemd/system/[email protected]
[Unit]
Description=Home Assistant
After=network.target

[Service]
Type=simple
User=%i
ExecStart=/srv/hass/hass_venv/bin/hass

[Install]
WantedBy=multi-user.target
EOF’

Now I can run:

sudo systemctl restart home-assistant.service

Here is a reference link.

Now on to the nice dashboard!

I was able to hook-up the Z-stick and pair up a HomeSeer wall switch.
Lets see what we can cook-up next!!