Git Product home page Git Product logo

hassbian-scripts's Introduction

Hassbian-scripts

These are the scripts used in the HASSbian image. The scripts in this repository where made to be used with the HASSbian image and the included Home Assistant instance.

The included scripts

The following scripts are currently included. You can view the documentation below for usage and instructions.

hassbian-config (hassbian-config)

This command is a package handler for the Hassbian scripts. All interactions for installing software should be handled through this command. Running the individual scripts to install software will no longer work as expected.

Usage

The hassbian-config command is invoked with:

hassbian-config *command* *suite*

where command is one of:

  • install
  • show
install

The install command takes one argument and will attempt to install the indicated suite of software. Generally, this means that the invocation of hassbian-config should be run as root, with: sudo hassbian-config install *suite*

show

The show command can be run without arguments, and lists all available suites which can be installed or with a suite name as argument and shows information about the suite .

Installer script components

All scripts listed below are helper scripts for the hassbian-config command, and shouldn't be run directly. The documentation has been kept for explanatory purposes only.

InstallHue (install_hue.sh)

Configures the Python executable to allow usage of low numbered port numbers for use with Amazon Echo, Google Home and Mycroft.ai.

This script was originally contributed by @Landrash.

Install Home Assistant (install_homeassistant.sh)

This is a copy of the installation script run during first boot of your Raspberry Pi. Usually this script is not run after installation but could be used with some modifications to reinstall Home Assistant.

This script was originally contributed by @Landrash.

Install Mosquitto (install_mosquitto.sh)

This script installs the MQTT Mosquitto server. Repository from the Mosquitto project is added to package system and the official packages for Debain are installed. Additionally, this script helps you create your first MQTT user that can be used with Home Assistant.

Script is run as the pi user with the following command. Normal runtime for this script is about 10 minutes.

sudo hassbian-config install mosquitto

This script was originally contributed by @dale3h and has been modified by @Landrash.

Install CEC support (install_libcec.sh)

This script installs libcec and it dependencies.Further more this script symlinks the system wide packages to the Home Assistant venv so they can be used with Home Assistant.

Script is run as the pi user with the following command. Normal runtime for this script is about 10 minutes.

sudo hassbian-config install libcec

After this script has been run, add CEC to your configuration.yaml file as usual.

This script was originally contributed by @Landrash.

Install OpenZWave-pip (install_openzwave-pip.sh)

This script installs python_openzwave and symlinks the OpenZWave configuration directory for easy usage.

Script is run with as the pi user with the following command. Normal runtime for this scripts is about 15 minutes.

sudo hassbian-config install openzwave-pip

After this script has been run, add ZWave to your configuration.yaml file as usual. This script should not be needed after Home Assistant 0.46 since it's intergrated in Home Assistant.

This script was originally contributed by @Landrash.

Install OpenZWave (install_openzwave.sh)

This script compiles OpenZWave, installs OZWCP(open-zwave-control-panel) and symlinks the library and the OpenZWave configuration directory for easy usage.

Script is run with as the pi user with the following command. Normal runtime for this scripts is about 90 minutes.

sudo hassbian-config install openzwave

After this script has been run, add ZWave to your configuration.yaml file as usual. This script should not be needed after Home Assistant 0.46 since python-openzwave has been intergrated in Home Assistant and a Z-Wave configuration panel will be available to accommodate thoose who needs the OZWCP functionality.

This script was originally contributed by @dale3h and has been modified by @Landrash.

Share configuration with Samba (install_samba.sh)

This script installs samba and it dependencies. It also set up a share for Home Assistant's configuration. This is potentially unsafe and generally not recommended.

Script is run as the pi user with the following command. Normal runtime for this script is about 5 minutes.

sudo hassbian-config install samba

After this script has been run, the configuration directory used by Home Assistant is available over Samba and can be accessed from example Windows to edit with your favorite editor.

This script was originally contributed by @Landrash.

Use a Tellstick (install_tellstick.sh)

This script installs the dependencies for using a Tellstick with Home Assistant. Manual configuration of Tellstick is still needed since it's outside of Home Assistant.

Script is run as the pi user with the following command. Normal runtime for this script is about 5 minutes.

sudo hassbian-config install tellstick

This script was originally contributed by @Landrash.

Install Trådfri Gateway Support (install_tradfri.sh)

This script installs the dependencies for discovering and using a IKEA Trådfri Gateway with Home Assistant. It's recommeded to restart your Trådfri Gateway after this install has been done.

Script is run as the pi user with the following command. Normal runtime for this script is about 5 minutes.

sudo hassbian-config install tradfri

This script was originally contributed by @Landrash.

hassbian-scripts's People

Contributors

landrash avatar bruhautomation avatar kxtcd950 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.