Giter VIP home page Giter VIP logo

home-assistant-configuration's Introduction

๐Ÿก Home Assistant Configuration

About

My repo containing all configuration for my Home Assistant.

House Setup

We recently (2019) build a new house from scratch, this allowed me to make a strong backbone for the smartness in my house. As I had some previous experience with the KNX ecosystem, I've chosen this protocol for the backbone of the house. The basic idea boils down to the fact that my KNX installation is setup in a way that allows it to work with most of the house by itself, without Home Assistant even needing to run. Visualisation in KNX gets very expensive very quickly, and connection to various other systems rack up prices very quickly, as they usually all need some kind of gateway to connect to the KNX bus.

Home Assistant is used as a secondary layer, adding all smartness into the house. If it were to go down for some reason, my house would still function with lights, sockets and ventilation as they are all tied into KNX.

KNX Specific

Problems and solutions

With this setup, I did encounter some minor 'problems' though. Mainly due to some limitations in the KNX modules I use, below is a list of issues I came accross, and how I solved them:

Turning the lights on

In the beginning, there was no problem as Home Assistant was not set up yet, however after a while, I wanted to get circadian lighting up and running. The modules (basically LED drivers which can be controlled via KNX) I use for lighting inside KNX have a couple of options:

  • A fixed value (eg 20%)
  • Memory, sets the same value from before the light got turned off
  • Max value (you can set the maximum value for a light)
  • Different values for Day/Night cycle

While in most systems these options would perfectly suffice, I had a problem on my hand, seeing as none of the options are actually perfect for my solution. If I were to use Memory, then lights that would have been turned off during the day, would come on at full brightness during the night, and then quickly dimming down, resulting in a bright flash before going to the correct circadian settings. The same happen with Max value, as all my lights have a maximum value of 100% right now. In some places I use the Day/night cycle, but these are also just static values.

I have settled on the Fixed value right now, the modules itself have a minimum value of 6%, I guess the drivers can't properly function below that. And it turns out, this is pretty much perfect. Now all my lights go to a value of 6%, that doesn't sounds like a lot but for LED lights it certainly is enough. As long as Home Assistant is running, the circadian lighting kicks in instantly and brightens up the lights where needed. If Home Assistant is down, I at least still have light (albeit not a lot) everywhere.

home-assistant-configuration's People

Contributors

tommatheussen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

home-assistant-configuration's Issues

Screenshots

A couple of screenshots of my setup wouldn't hurt

Editing automations from the UI

Hello! I have a similar setup to yours, I just accepted the fact that I can't edit automation as they are not in the automations.yaml but I never dug it about it. You also can't edit them? Or there's a workaround?
Thanks!

Flexget integration

Hi there I try to use your flexget component is that still working? I try to use it but is just impossible tha gives me a lot off errors. Is there any way to fix it?

Devices summary list

A list overview of all devices and/or systems, services used will be a nice addition to the documentations

update_new_commits_sensor.sh when using api_password

@Tommatheussen --

Thank you so much for your scripts, they're very helpful. However, I do have one issue that I'm hoping you might be able to help me with.

When I attempted to implement your update_new_commits_sensor.sh script in my installation I was unable to issue the POST via curl as I utilize api_password in my configuration.yaml file.

The only way I've found to circumvent this is to not include this update_new_commits_sensor.sh in my public GitHub repository as it would obviously expose my Home Assistant UI password to the public, eliminating the entire purpose of having a password.

What Works

curl -X POST -H "x-ha-access: $1" -H "Content-Type: application/json" https://my.domain.com/api/states/sensor.new_commits?api_password=MyPassword -d "{\"state\": \"$commits\"}"

Any ideas how I can maybe dynamically insert the ?api_password=MyPassword into the curl command via my secrets.yaml file?

Secondly, despite that I have this customize setting:

 sensor.new_commits:
      hidden: false

sensor.new_commits only appears after activating the script. Any tips?

Thanks again! My configuration can be found here.

Cheers!

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.