Giter Club home page Giter Club logo

home-assistant-config's Introduction

Home Assistant Config

My configuration for Home Assistant, running in Docker on a Synology DS718+ NAS.

Instant updates from Tellstick sensors

Mosquitto

  1. Install Mosquitto in Synology Package.

  2. Edit the configuration file

    sudo nano /volume1/@appstore/mosquitto/var/mosquitto.conf

    1. Disable anonymous usage

      allow_anonymous false

    2. Add a password file

      password_file /volume1/@appstore/mosquitto/var/password_file

  3. Add users to Mosquitto

    cd /volume1/@appstore/mosquitto sudo nano /volume1/@appstore/mosquitto/var/password_file

    1. Add users to the file

      username:password

    2. Upgrade the password file

      sudo ./bin/mosquitto_passwd -U ./var/password_file

  4. Restart Mosquitto

Tellsticknet

  1. Clone the repo

    git clone https://github.com/molobrakos/tellsticknet.git

  2. Build the Docker image

     sudo docker build -t tellsticknet .
    
  3. Create a configuration file named tellsticknet.conf:

     ---
     # Bathroom motion sensor
     name: Bathroom Motion
     component: binary_sensor
     protocol: arctech
     model: selflearning
     unit: 10
     house: 12345678
     device_class: motion
    
    • ID:s for House can be retrieved by either Telldus Live or running the discover command inside the Docker container
  4. Start a Docker container

    • Enable auto-restart

    • /config/tellsticknet/tellsticknet.conf -> /app/tellsticknet.conf

    • Use the same network as Docker host

    • Add an environment variable named MQTT_URL:

      mqtt://username:password@localhost:1883

home-assistant-config's People

Contributors

oscarb avatar

Watchers

 avatar  avatar

home-assistant-config's Issues

Fix CI not having all secrets

 - Error loading /home/runner/work/home-assistant-config/home-assistant-config/./configuration.yaml: Secret mqtt_broker_ip not defined

Remove Travis

Remove Travis now that GitHub Actions is being used instead.

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.