Giter Club home page Giter Club logo

hass-config's Introduction

Home Assistant Configuration

This is my Home Assistant configuration so far. It is updated every once in a while.

Alt text

Software and devices

HW/SW Platform

  • Raspberry PI 3 + Rassbian
  • Home Assistant + Lovelace + custom theme (based on darkblue)
  • Aeon Labs Z-Wave Stick (Gen 5)
  • RFLink
  • Let's Encrypt + custom domain
  • IR Receiver (LIRC)

Devices and Sensors:

  • Amazon Echo Dot Gen 2
  • Apple Devices - iPhone X, Apple TV 4K
  • Benq W100+ Projector
  • Broadlink RM Pro 2
  • D-Link DCH-S150 Motion Sensor
  • Kingpin KP200 Screen
  • Homemade garage port controller with temp sensor (esphomelib)
  • Panasonic TH50PZ70E (CEC)
  • Emby
  • SonOff Basic switch for bedroom light
  • Sonos Play:1
  • Various 433MHz sockets
  • Viking Thermometer (433MHz)
  • Yamaha RX-V773 Receiver
  • Anova Sous Vide Precision Cooker BT+WiFi (not added yet)

Custom Components Here are some of the custom components I have implemented:

  • dlink_motion_sensor - Support for D-Link DCH-S150 motion sensor (currently not used)
  • food_planning - Fetches weekly food planning from Google Drive and presents as sensors with markdown as UI
  • tv_cec - Component to turn on/off my TV and report state (deals with shortcomings of CEC in my TV)

Feel free to use the components and send a PR if you have any changes to share. Please note that I have written these for my own needs and do not give any support when using them.

Deprecated

These components are deprecated:

  • svtplay_dl - Play streams on a media player using svtplay_dl script
  • media_watcher - Create sensors based on tv shows and/or sections in Plex (does not work with plexapi 2.0.2 or earlier)

Automations

Alexa Things exposed through emulated_hue:

  • Alexa, turn on television - Turns on TV and receiver set to HDMI2 (Apple TV)
  • Alexa, turn on cinema - Turns on projector, brings down screens sets correct inputs/outputs.
  • Alexa, turn on sonos - Well... turns on the Sonos and plays some music

Engine Heater

There is an engine heater package that automatically turn on/off the engine pre-heater.

Automatic stuff Various things that happens automatically:

  • Lights are turned on/off according to the sun

hass-config's People

Contributors

postlund avatar

Stargazers

 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

hass-config's Issues

Build and add an energy meter

I'm building an energy meter (simple pulse counter) using an ESP8266 and Arduino Mini, simply to see how the power consumption looks like. Most things are in place but I'm waiting for some hardware I've ordered. Will add what is needed once I'm done building it.

Simple way to try things out without hardware

Some stuff can be tested without running on real HW, so I would like a nice way to check out this repo and run from its configuration but exclude stuff that cannot be used. A simple script that generate a configuration file but excludes some stuff would be fine.

Control TV with CEC

Since I have the HA Rpi close to the Tv now, maybe I should try to control the TV via CEC instead of IR with broadlink. Might be more stable.

Add Fitbit detection

If the Fitbit is charging it can be found when scanning for BT devices. I want it to be discovered (with btscand) and send a notification if we are about to leave the house In the morning. More or less “don’t forget me, I’m charging”.

Fix floorplan

I have added some of the files to get started, but I should get more stuff in place before I continue working on this.

It works!

I'm using dlink.py to send dch-s150 motion updates to node-red through the python exec node.

python3 -u /home/pi/dlink.py ip pin loop

Exec node is triggered in spawn mode so it sends continuous output from python as a payload. Do what you want with the output. I use it to trigger occupancy for thermostat control with suitable timers, etc.

It actually makes the Dlink motion sensor useful without the cloud service. No lag.

It does use a fair amount of cpu to loop the python app though. There could be a better way.

However, thanks for your work on this. I think a lot of people would like to use their s150's directly. It's a nice piece of hardware.

K

Add delay to svtplay_dl automations

The streams always start in pause mode, probably because the TV is in standby when sending the stream. I should delay that and wait for the tv to start.

Add controls to play media

Some things I want:

  • Text input to send a URl via AirPlay
  • List with music playlists to send to sonos
  • More...

Looks great, but what does it do?

Hi, read in a forum that this project might be helpful with motion sensors like the D-Link S150 (as well as other HA devices).

Would you mind describing the project's functionality in a nutshell?

The S150 has fairly bad reviews on Amazon, but I'm still tempted to try it on the idea that there is a library that could help provide a little more control. You never know when a little custom code could change a product from mediocre to very useful.

(edit: I'm hoping to use the motion sensor to turn on a light switch like the WeMo or tp-link)

Fetch food planning from Google Drive

Need to download document containing food planning and present each day as separate sensor or similar. Maybe use weblink since we often have links to the receipes.

Add emby and simple automation

Add the emby media_player and write an automation that turns of the bed room light when we watch in bed. Just because I can...

Setup a webcam or two

I have an extra rpi that I could add a camera two (I have the camera as well) and include in HA. Since I have an old webcam as well, maybe I can use that one too.

Add projector screen

The protocol is unknown, but maybe I can solder some wires and control it via GPIO on my pi?

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.