Git Product home page Git Product logo

heinemannj / home-assistant-config Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 2.0 12.89 MB

Home Assistant Configuration & Documentation for my Smart House. Write-ups, part lists, and links throughout.

License: MIT License

Shell 0.05% Python 62.56% JavaScript 36.28% CSS 0.86% Jinja 0.25%
automation dashboard hass hassio home-assistant home-assistant-config home-automation homeassistant homeassistant-config homeautomation

home-assistant-config's Introduction

Home Assistant Configuration and Documentation

License GitHub Last Commit GitHub Stars GitHub Watchers GitHub Forks

Community Forum

  • Home Assistant Configuration & Documentation for my Smart House.
  • Write-ups, part lists, and links throughout.

Architecture

General Information

This configuration controls a couple of significant features in my smart home.

  • Floor heating
  • Huawei SUN2000 solar inverter and connected Huawei LUNA2000 battery
  • ...

Dashboards

Copy the following folder

  • YAML packages <config>/packages

to your HA <config> folder and modify your <config>/configuration.yaml:

homeassistant:
  customize_glob: !include customize_glob.yaml
  customize: !include customize.yaml
  packages:
    dwd_pollenflug: !include packages/dwd-pollenflug-package.yaml
    dwd_weather_warnings: !include packages/dwd-weather-warnings-package.yaml
    geo_rss_feeds: !include packages/geo-rss-feeds-package.yaml
    heating: !include packages/heating-package.yaml
    hochwasser: !include packages/hochwasser-package.yaml
    huawei_solar_yield: !include packages/huawei-solar-yield-package.yaml
    huawei_solar_battery_card: !include packages/huawei-solar-battery-card-package.yaml
    huawei_solar_battery_correction: !include packages/huawei-solar-battery-correction-package.yaml
    huawei_solar_diagnostic: !include packages/huawei-solar-diagnostic-package.yaml
    huawei_solar_power_flow_card: !include packages/huawei-solar-power-flow-card-package.yaml
    huawei_solar_energy_flow_card: !include packages/huawei-solar-energy-flow-card-package.yaml
    illuminance: !include packages/illuminance-package.yaml
    local_calendar: !include packages/local-calendar-package.yaml
    mold_indicator: !include packages/mold-indicator-package.yaml
    moon_phase_image: !include packages/moon_phase_image-package.yaml
    mqtt_sensor: !include packages/mqtt-sensor-package.yaml
    powercalc: !include packages/powercalc-package.yaml
    pulsemeter: !include packages/pulsemeter-package.yaml
    shelly_light: !include packages/shelly-light-package.yaml
    shelly_sockets: !include packages/shelly-sockets-package.yaml
    # skyfield: !include packages/skyfield-package.yaml
    solcast_solar: !include packages/solcast-solar-package.yaml
    temperature_feels_like: !include packages/temperature-feels-like-package.yaml
    xiaomi_miio_fan: !include packages/xiaomi-miio-fan-package.yaml

Copy the following folders

  • YAML dashboards <config>/dashboards
  • Jinja templates used in cards <config>/custom_templates
  • Card-Mod theme (css styles) <config>/themes/dashboards.yaml
  • Card background images <config>/www/images

to your HA <config> folder and modify your <config>/configuration.yaml and <config>/ui-lovelace.yaml.

<config>/configuration.yaml

automation: !include automations.yaml
group: !include groups.yaml
lovelace: !include ui-lovelace.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
frontend:
  themes: !include_dir_merge_named themes

<config>/ui-lovelace.yaml

# UI managed dashboards
#
mode: storage
# Additional YAML dashboards
#
dashboards:
  100-rooms-yaml:
    mode: yaml
    title: 100_Rooms
    icon: mdi:home
    show_in_sidebar: true
    filename: dashboards/100-rooms/index.yaml

image

image

image

image

image

  420-pv-yaml:
    mode: yaml
    title: 420_PV
    icon: mdi:solar-power-variant
    show_in_sidebar: true
    filename: dashboards/420-pv/index.yaml

image

image

image

  406-heating-yaml:
    mode: yaml
    title: 406_Heating
    icon: mdi:hvac
    show_in_sidebar: true
    filename: dashboards/406-heating/index.yaml

image

Notes

  • Private information is stored in secrets.yaml (not uploaded).

home-assistant-config's People

Contributors

heinemannj avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

home-assistant-config's Issues

solcast variable names need update

I think the title tells it all.

Solcast plugin has changed variable names that need some update in this sample

the pattern looks like this
solcast_pv_forecast_forecast instead of solcast_forecast

Strange results from counters for daily and monthly energy

Hello, many thanks for sharing your configuration - it has been a massive help to me in getting my own dashboards up and running with my huawei inverter and PV. If I could, there are two aspects that are confusing to me, and these relate to your utility_meter configuration for house_consumption_energy_daily and house_consumption_energy_monthly.
I am basing my daily counters on your yaml in the file packages/huawei-solar-energy-flow-card-package.yaml, and similarly for my monthly counters. Currently my daily house consumption totals are correct, however my monthly ones are very wrong. I reconfigured my HA on 31st august, hoping that the change to the new month of september would have reset these totals and that they would become correct, but this has not happened. It appears from the graph that the monthly totals only go wrong once solar is being generated - before and after PV is generated (i.e early morning and later evening), the increasing monthly totals appear correct
The only difference I can see between daily house consumption and monthly house consimption is that the monthly yaml uses inverter_total_yield. If you could point me in any towards how I might troubleshoot this I would be very appreciative.
The other issue I have is that on every daily reset there appears a negative spike just at 00:00:00 - I cannot account for where this might be. I attach screenshot for your perusal. Any pointers in the right direction would be most helpful. Thank you again.

Total Daily Energy Consumption

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.