Allanpersson Home Assistant Config Save

...for making my and others life easier... Hopefully ๐Ÿ™ˆ

Project README

Home Assistant configuration ๐Ÿฐ

...for making my and others life easier... Hopefully ๐Ÿ™ˆ
by Allan Persson

Home Assistant version Home Assistant Android version Hass.io Price
Last commit Issues License
Buy me a coffee

Table of contents ๐Ÿ“‘

  1. Overview
    Code | Description | PRs | Screenshots | Theme
  2. Devices
    Cameras | Climate | Covers | Fans | Hardware | Lights | Locks | Mediaplayers | Sensors | Smoke Detectors | Switches | Vacuums
  3. Lovelace Configuration
    Camera Card | Speedtest Card | Vacuum Card
  4. Addons
    Adguard Home
  5. Seasons
    Halloween
  6. Credits
    Ccostan | Frenck | Renemarc
  7. Contact
  8. Support
    Affiliate Links | Buy me a coffee

Overview ๐Ÿ“‡

โš  Restruction some folders is resulting in some urls is not pointing correct, i will fix them asap and until then please find them manually... Thanks โš 

โš  This repo contains affiliate links from Aliexpress & Ebay that support my work! โš 

Code โŒจ

Let me be clear from the start; I'm not a great coder in any way! I don't feel the excitement from putting some code together, but i have the higest respect and admiration for people who finds joy in it and are good at it. You make my life easier โค๏ธ

So you might experience my code is 'ugly' and you are probably right, i find joy in making things work as i want it to. In coding there is frontend and backend coders, i'm the userfriendliness and comfort guy ๐Ÿ˜›

Actual issues.

Description ๐Ÿ“œ

Configuration for Home Assistant running Hass.io on a INTELยฎ NUC KIT NUC8I3BEK for a two bedroom apartment (66 m2).

I use packages "configuration" introduced by Frenck.

That means my configuration.yaml points to the folder integrations, and the files in my integrations folder is pointing to the entities etc. folder where every entity has it's own file sorted by type.

Watch this video to learn more: How I structure my Home Assistant configuration - By Frenck or take a deeper look at my configuration.

PRs ๐Ÿ“

You are more than welcome to submit PRs to my repo. This repo and documentation is "quite big" to keep up to date but i try my best! Your help is much appreciated on my code, broken links, typos etc.

If you want to help take a look at the issues section.

Screenshots ๐Ÿ“ท

Laptop: Image Image Image

Tablet: Image

Mobile: Image

Theme ๐Ÿ–ผ๏ธ

The theme i use (screenshots) is my take on Material Dark Theme "Pepe Version" with some minor tweaks like rounded corners, color changes etc.

Automations:

Devices ๐Ÿ“ฑ

Cameras | Climate | Covers | Fans | Hardware | Lights | Locks | Mediaplayers | Sensors | Smoke Detectors | Switches | Vacuums

Cameras

Huawei Mediapad T3 10

Raspberry Pi 5MP

Xiaomi Dafang

Below list of accessories i use with my cameras.

Accessories:

ZeroView

ZeroView - Window mount for Pi Zero W + Camera

I don't have any Automations for my camera entities. So far i haven't found any use case for any Automations, but feel free to inspire me with some ideas.

Automations:

None... But feel free to suggest some cool automations for me

None... But feel free to suggest some cool automations for me - /config/automations/

Below configuration on the different cameras.

Configuration:

Huawei Mediapad T3 10

Huawei Mediapad T3 10 - Wallpanel

Local File

Local file - Local image as camera

Raspberry Pi Zero W

Raspberry Pi Zero W - MotionEyeOS

Xiaomi Dafang

Xiaomi Dafang - Dafang Hacks

I don't use any NVR for my cameras. They just stream and disappears...

NVR:

None... But feel free to suggest NVR

None... But feel free to suggest NVR - /

Below you can find list of the software i'm using with my cameras.

Software:

Dafang Hacks

Dafang Hacks - Alternative OS for Xiaomi Dafang

Local File

Home Assistant Local File - Used for still image in my lovelace view ("Fake" camera view)

MotionEyeOS

MotionEyeOS - OS for Raspberry Pi Zero W + Camera

Wallpanel

Wallpanel - Dashboard, camera, motionsensor etc. for Android

Climate

Tado Smart Radiator Thermostat V3+

I use alot of Automations for controlling my thermostats for best comfort and saving most energy.

Automations:

Entity update

Entity update (Climate) - /config/automations/system/entity_update/climate_update.yaml

Away mode

Away mode - /config/automations/areas/helehuset/climate/climate_auto_away.yaml

Home mode

Home mode - /config/automations/areas/helehuset/climate/climate_auto_home.yaml

Auto off

Auto off - /config/automations/areas/helehuset/climate/climate_auto_off.yaml

Sleep mode (Night)

Sleep mode (Night) - /config/automations/areas/helehuset/climate/climate_auto_sleep.yaml

Windows closed

Windows closed - /config/automations/areas/helehuset/climate/climate_close_windows.yaml

Windows open

Windows open - /config/automations/areas/helehuset/climate/climate_open_windows.yaml

Below configuration on my radiator thermostats. It's possible to use the Tado cloud service in Home Assistant which i have done until i changed to the new option with homekit in Home Assistant.

Configuration:

Homekit documentation

Homekit - Documentation

Template Sensors (Climate)

Template sensors - Climate

Covers

Ikea Fyrtur

I use some Automations for my covers, but in future i'm gonna look more into cool cover automations, maybe a "naked sensor" that rolls down the covers if your naked...

Automations:

Roll down when mediaplayer (Kodi) is playing

Roll down when mediaplayer (Kodi) is playing - /config/automations/areas/stuen/cover/cover_kodi.yaml

Roll down when sunny and room is getting hot

Roll down when sunny and room is getting hot - /config/automations/areas/stuen/cover/cover_sunny.yaml

Below information on the gateway(s) im using for my covers.

Gateway:

Conbee II

Conbee II - Deconz

I use Scripts to trigger my cover automations.

Scripts:

Cover 0% open

Cover 0% open - /config/scripts/cover_stuen_0_percent_open.yaml

Cover 10% open

Cover 10% open - /config/scripts/cover_stuen_10_percent_open.yaml

Cover 50% open

Cover 50% open - /config/scripts/cover_stuen_50_percent_open.yaml

Cover 100% open

Cover 100% open - /config/scripts/cover_stuen_100_percent_open.yaml

Below some videos i have found useful myself.

Videos:

IKEA FYRTUR smart blinds unboxing and teardown

IKEA FYRTUR smart blinds unboxing and teardown - DIY techie

IKEA FYRTUR smart blinds hands-on installation guide + noise and speed test

IKEA FYRTUR smart blinds hands-on installation guide + noise and speed test - DIY techie

IKEA SMART BLINDS cut to size - how to make them fit your window

IKEA SMART BLINDS cut to size, how to make them fit your window - DIY techie

IKEA smart blinds with Google Assistant & IKEA app - No HomeKit or Alexa

IKEA smart blinds with Google Assistant & IKEA app, No HomeKit or Alexa - DIY techie

HomeKit support for IKEA FYRTUR SMART BLINDS via Homebridge

HomeKit support for IKEA FYRTUR SMART BLINDS via Homebridge - DIY techie

Fans

Table fan

I don't have any Automations for my fan(s) at the moment.

Automations:

None.... Yet

None.... Yet

Below you can find information about my configuration.

Configuration:

Fan entity (Generic_Thermostat)

Fan entity (Generic_Thermostat)

Hardware

ConBee II

INTELยฎ NUC KIT NUC8I3BEK

Raspberry Pi Zero W

Below information on the software used on/with my hardware.

Software:

Deconz

Deconz - Controlling Zigbee network

Hass.io

Hass.io - Flashed with etcher direct on the SSD

MotionEyeOS

MotionEyeOS - OS for Raspberry Pi Zero W + Camera

Lights

Ikea Trรฅdfri LED 600 lm

Innr

Philips Hue

Xiaomi Yeelight Lightstrip Plus

I have alot of Automations for my lights. Actually i almost never manually or with voice activate my lights.

Automations:

Lights on (Day)

Lights on (Day) - /config/automations/areas/kokkenet/kokken_lights_on_day.yaml

Lights off (Day)

Lights off (Day) - /config/automations/areas/kokkenet/kokken_lights_off_day.yaml

Lights on (Night)

Lights on (Night) - /config/automations/areas/kokkenet/kokken_lights_on_night.yaml

Lights off (Night)

Lights off (Night) - /config/automations/areas/kokkenet/kokken_lights_off_night.yaml

Lights on when lux is low, door is closed and mediaplayer is playing

Lights on when lux is low, door is closed and mediaplayer is playing - /config/automations/areas/stuen/stuen_androidtv_lights_on.yaml

Lights off when mediaplayer is turned off at bedtime

Lights off when mediaplayer is turned off at bedtime - /config/automations/areas/stuen/stuen_androidtv_lights_off.yaml

Turn off all lights and mediaplayer when not home

Turn off all lights and mediaplayer when not home - /config/automations/areas/helehuset/leaving_home_turn_off.yaml

Below configuration for my lights.

Configuration:

Yeelight

Yeelight

Below you can find information about my gateway and software used to control my lights.

Gateway & Software:

Conbee II

Conbee II - Deconz

Deconz

Deconz - Controlling Zigbee network

Locks

Danalock V3

โš ๏ธ I strongly advise you NOT to buy any Danalock products. The software is not working, and they don't take it serious and keeps deleting their social media profiles to make the company look better! โš ๏ธ

I don't have any Automations for my Danalock because i have the bluetooth only version.

Automations:

None... But feel free to to suggest some for me

None... But feel free to to suggest some for me - /config/automations/

Below configuration of my locks.

Configuration:

None... But would love to get my lock in Home Assistant

None... But would love to get my lock in Home Assistant

Mediaplayers

Google Home

Google Home Hub

Google Home Mini

Harman Kardon Citation 300

Huawei Mediapad T3 10

Xiaomi Mi Box S

I use my mediaplayers in many of my Automations because in my use case it often define what i'm doing. I also use my mediaplayers alot for playing music and podcasts, so the volume sync is fantastic for not being annoyed with different volume level around the appartment.

Automations:

Google Home volume sync

Google Home volume sync - /config/automations/areas/helehuset/media_players_volume_sync

Auto light on in livingroom when lux is low and mediaplayer is 'on'

Auto light on in livingroom when lux is low and mediaplayer is 'on' - /config/automations/areas/stuen/stuen_androidtv_lights_on.yaml

Roll down Ikea Fyrtur cover when Kodi is 'on'.

Roll down Ikea Fyrtur cover when Kodi is 'on' - /config/automations/areas/stuen/cover/cover_kodi.yaml

Play radio in bathroom when having guests

Play radio in bathroom when having guests - /config/automations/areas/badevarelset/bad_guests.yaml

Sensors

Xiaomi BLE Temperature and Humidity sensor

Xiaomi ZigBee Temperature and Humidity sensor

Xiaomi Door and Window sensor

I have alot of Automations involving my sensors. Most of them is about comfort, but one of them is about safety inspired by the Disappearance of Madeleine McCann case. The one called Opening door notification which give me a instant notification if door opens on my phone and smartwatch, so i can react if my childrens or mine safety is in danger.

Automations:

Opening door notification

Opening door notification - /config/automations/notifications/hoved_notification.yaml

Climate automations

Climate automations - Climate section

Cover automations

Cover automations - Cover section

Lights automations

Lights automations - Lights section

Mediaplayers automations

Mediaplayers automations - Mediaplayers section

Switches automations

Switches automations - Switches section

Vacuums automations

Vacuums automations - Vacuums section

Smoke Detectors

Xiaomi Mijia Honeywell

I don't have any Automations for my smoke detectors yet. I want to consult with a friend of mine who is firefighter to make sure the automation(s) i safe, to make sure i don't choose a color of light that makes it impossible to get out in case of fire...

Automations:

None.... Yet

None.... Yet

Below you can find information about my gateway and software used to control my smoke detectors.

Gateway & Software:

Conbee II

Conbee II - Deconz

Deconz

Deconz - Controlling Zigbee network

Switches

Ikea Trรฅdfri smart plug

I don't have any real Automations for my switches(s) at the moment. Exept making sure they are on at start up.

Automations:

Start on start up

Start on start up - /config/automations/system/start_on_startup.yaml

Below you can find information about my configuration.

Configuration:

Fan controlling (Generic_Thermostat)

Fan controlling (Generic_Thermostat)

Below you can find information about my gateway and software used to control my switches.

Gateway & Software:

Conbee II

Conbee II - Deconz

Deconz

Deconz - Controlling Zigbee network

Vacuums

Xiaomi Roborock S50
Xiaomi Roborock S50

Vacuums automations

I have alot of Automations for my vacuum to help me keep my appartment clean, which can be tricky with a labrador retriever. And of course some for comfort as well.

Name Location
Autoclean every 3.5 hours after last finish /config/automations/areas/stuen/vacuum/vacuum_autoclean.yaml
Set home mode if home /config/automations/areas/stuen/vacuum/vacuum_home.yaml
Set away mode if away /config/automations/areas/stuen/vacuum/vacuum_away.yaml
Return to dock when child is going to bed /config/automations/areas/stuen/vacuum/vacuum_ea_sleep.yaml

Vacuums scripts

I have some Scripts for my vacuum, which i use for zoned clean up or trigger sleep mode when i go to bed late.

Name Location
Goodnight script turn off autoclean for x hours /config/scripts/godnat_vacuum_off.yaml
Zoned clean up (Livingroom) /config/scripts/vacuum_zone_stuen.yaml

Lovelace Configuration โš“

Add the following code to your lovelace configuration, and insert your own entities.

Camera Card

Here you can find the lovelace code for Camera card

Speedtest Card

Image

Here you can find the lovelace code for Speedtest card

Requirements:

Vacuum Card

Here you can find the lovelace code for Vacuum card

Addons ๐Ÿ”ฅ

Home Assistant have an amazing community helping each other and building one amazing addon after another. So browse through the following places to find awesome stuff for your installation:

Below you can find short description about some of the addons and plugins i use.

Adguard Home

Adguard Home is network-wide ads & trackers blocking DNS server.

Seasons ๐ŸŽ…

Below you can find links to seasons automations and scrips i use.

Halloween ๐ŸŽƒ

For halloween i use these:

Halloween video

Credits ๐Ÿ’•

Thanks to:

Ccostan

  • Ccostan for documentation inspiration.

Frenck (Franck Nijhof)

  • Frenck for config inspiration, and for learning me 95% of all my Home Assistant knowledge. And for your hard work and effort to the Home Assistant community you are the champ!

Renemarc

  • Renemarc for documentation inspiration.

Contact ๐Ÿ“ฎ

Fell free to contact me on one of the following places. And i would be happy if you follow me as well.

Facebook Instagram Twitter Website

Support ๐Ÿ‘

This body runs on coffee and you can send a little love to me in the following way(s).

By using my product links in this repo i get a small commision, and you are supporting me and encourage me to keep spending time keeping it up to date. Affiliate partners: Aliexpress & Ebay

Buy me a coffee โ˜•

Buy me a coffee

Open Source Agenda is not affiliated with "Allanpersson Home Assistant Config" Project. README Source: allanpersson/home-assistant-config

Open Source Agenda Badge

Open Source Agenda Rating