Coder Social home page Coder Social logo

onegneissguy / home-automation Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 9.6 MB

Yet another homeassistant configuration

Python 49.87% Arduino 15.85% CSS 33.09% JavaScript 1.19%
homeassistant home-automation python python2 mqtt arduino esp8266 sensor smart-home environmental-monitoring

home-automation's Introduction

Home Assistant Config by onegneissguy

This is my Home Assistant configuration which is running on a Raspberry PI 3 running Hassbian.

Home Assistant Version: 0.60.1

0. Setup Hardware

  • Setup your Raspberry Pi like this

1. Platform

2. Devices

3. Useful commands

  • Config the raspberry pi (things like keyboard layout, timezone, etc.)
sudo raspi-config
  • Change the default password (for user username)
sudo passwd username
  • Prevent the wifi device from going to sleep
sudo iw dev wlan0 set power_save off
  • Turn off the pi's wifi device
sudo ifwconfig wlan0 txpower off
  • Give homeassistant access to the Pi's GPIO pins
sudo usermod -G gpio -a homeassistant
  • Update hassbian
sudo hassbian-config upgrade hassbian
  • Update homeassistant
sudo hassbian-config upgrade home-assistant
  • Restart homeassistant
sudo systemctl restart home-assistant@homeassistant
  • List the available install scripts for some useful services
sudo hassbian-config show
  • Install some useful services
# Install a mosquitto MQTT server
sudo hassbian-config install mosquitto
# Install samba to view and edit config files as a network location on a PC
sudo hassbian-config install samba
  • Edit the wifi configuration
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
  • List connected USB devices
lsusb
  • Install hassctl to more easily control home-assistant
sudo curl -o /usr/local/bin/hassctl https://raw.githubusercontent.com/dale3h/hassctl/master/hassctl && sudo chmod +x /usr/local/bin/hassctl
  • hassctl method to update home-assistant
hassctl update-hass && hassctl config && hassctl restart
  • install appdaemon for home-assistant
sudo hassbian-conf install appdaemon
  • Reboot the pi
sudo reboot now

home-automation's People

Contributors

onegneissguy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

swipswaps

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.