Created
July 7, 2017 23:09
-
-
Save alexleekt/085d46ef3374380782c6a7208f508147 to your computer and use it in GitHub Desktop.
Home Automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://smile.amazon.com/gp/customer-reviews/R170GQNXYR3IUH/ref=cm_cr_dp_d_rvw_btm?ie=UTF8&ASIN=B01GJ826F8#wasThisHelpful | |
Based on all the helpful posts I've found here I created a quick set of commands that will install hass and configure the ZWave and ZHA settings on a clean installation of Raspbian Jessie. | |
# deploy HAss with all-in-one installer per: https://home-assistant.io/docs/installation/raspberry-pi-all-in-one/ | |
curl -O https://raw.githubusercontent.com/home-assistant/fabric-home-assistant/master/hass_rpi_installer.sh && sudo chown pi:pi hass_rpi_installer.sh && bash hass_rpi_installer.sh | |
# that will run for an hour+ | |
# add commands for the Linear HUSBZB-1 | |
echo 'SUBSYSTEM=="tty", ATTRS{interface}=="HubZ Z-Wave Com Port", SYMLINK+="zwave"' | sudo tee --append /etc/udev/rules.d/99-usb-serial.rules | |
echo 'SUBSYSTEM=="tty", ATTRS{interface}=="HubZ ZigBee Com Port", SYMLINK+="zigbee"' | sudo tee --append /etc/udev/rules.d/99-usb-serial.rules | |
echo '' | sudo tee --append /home/homeassistant/.homeassistant/configuration.yaml | |
echo 'zwave:' | sudo tee --append /home/homeassistant/.homeassistant/configuration.yaml | |
echo ' usb_path: /dev/zwave' | sudo tee --append /home/homeassistant/.homeassistant/configuration.yaml | |
echo '' | sudo tee --append /home/homeassistant/.homeassistant/configuration.yaml | |
echo 'zha:' | sudo tee --append /home/homeassistant/.homeassistant/configuration.yaml | |
echo ' usb_path: /dev/zigbee' | sudo tee --append /home/homeassistant/.homeassistant/configuration.yaml | |
echo ' database_path: /home/homeassistant/.homeassistant/zigbee.db' | sudo tee --append /home/homeassistant/.homeassistant/configuration.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment