Skip to content

Commit 9a39b8e

Browse files
Otto-Gfabaff
authored andcommitted
Add auto start code and information for Z-wave stick (home-assistant#2857)
* Add auto start code and information for Z-wave stick * Update format
1 parent 1c62cf7 commit 9a39b8e

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

source/_docs/installation/freenas.markdown

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: "Installation on FreeNAS 9.10"
44
description: "Installation of Home Assistant on your FreeNAS."
5-
date: 2017-04-06 17:00
5+
date: 2017-06-20 11:00
66
sidebar: true
77
comments: false
88
sharing: true
@@ -29,10 +29,20 @@ Install Home Assistant itself.
2929
# pip3 install homeassistant
3030
```
3131

32-
Finally start Home Assistant.
32+
Create an `/etc/rc.local` file to enable Home Assistant to start when the jail starts. The command in `/etc/rc.local` can also be run in a terminal session but Home Assistant will exit when that session is closed.
3333

3434
```bash
35-
# hass --open-ui
35+
# /usr/local/bin/hass --open-ui --config /home/.homeassistant/ &
3636
```
3737

38-
Some suggestions on using a tmux to keep it running can be found in the FreeNAS forums [HERE](https://forums.freenas.org/index.php?threads/how-to-home-assistant-in-a-jail-tested-on-9-10.50371/)
38+
Make `/etc/rc.local` executable so it runs on startup
39+
40+
```bash
41+
# chmod 755 /etc/rc.local
42+
```
43+
44+
Finally restart the jail from the Freenas GUI.
45+
46+
<p class='note'>
47+
USB Z-wave sticks may give `dmesg` warnings similar to "data interface 1, has no CM over data, has no break". This doesn't impact the function of the Z-wave stick in Hass. Just make sure the proper `/dev/cu*` is used in the Home Assistant `configuration.yaml` file.
48+
</p>

0 commit comments

Comments
 (0)