Giter VIP home page Giter VIP logo

home_assistant_config's People

Contributors

alecrust avatar conorsham avatar shortbloke 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  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  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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

home_assistant_config's Issues

automation.door_closed_reset_heating_mode - Not working

2020-01-13 08:49:48 ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.door_closed_reset_heating_mode. Service not found for call_service at pos 1: Unable to find service climate/set_operation_mode

Remove wemo insight devices and replace with HS110

Wemo insight plugs don't like high load situations and have 2 have melted and died. Switching over to TP Link HS110 devices which claim a higher max load. Wemo insight support is woven into sensors and templates and automations.

Add Dyson Fan and associated sensors as package

Move configuration from config dir to packages dir and sensors. Derive sensors from:
Air Quality

air_quality.bedroom:
 - air_quality_index: 12 
 - attribution: Dyson purifier air quality sensor
 - nitrogen_dioxide: 0 
 - particulate_matter_10: 8 
 - particulate_matter_2_5: 12 
 - volatile_organic_compounds: 4 
 - friendly_name: Bedroom

Fan


fan.bedroom: 
- speed: medium 
 - speed_list: low,medium,high 
 - oscillating: false 
 - night_mode: false 
 - auto_mode: false 
 - angle_low: 157 
 - angle_high: 202 
 - flow_direction_front: true 
 - timer: OFF 
 - hepa_filter: 88 
 - carbon_filter: 88 
 - dyson_speed: 6 
 - dyson_speed_list: 1,2,3,4,5,6,7,8,9,10 
 - friendly_name: Bedroom
 - supported_features: 3

Customise names and icons

Investigate issue with sensors stopping recording after less than 24hrs

Need to investigate why after ~24hrs HomeAssistant stops showing new values for a range of sensors. Most obviously temperature and humidity.

I've reduced the amount of data recorder is collecting and that logbook and history components collect, however I suspect this won't address the issue as I think something is crashing.

Update on successful build re-work

Git Pull HASSIO addon is currently pulling changes as they appear on github. However they don't wait for successful build.
Existing automation script trigged a pull via a shell script. Need to update to see if HASSIO addon can be called instead.
Requires that addon be set to not automatically update on change, instead would be triggered by automation.

Complete HASS backup to external source

Currently github is used to store configuration files, except those excluded by .gitignore thus some key content is not uploaded and therefore not backed up

  • secrets.yaml, nest.conf, plex.conf which store passwords and API keys
  • home-assistant_v2.db - which stores all event and sensor history/data
  • home-assistant.log - the log file created in the current running instance.

These files need to be kept secure, but also backed up to my on-prem storage server and/or to an offsite file storage solution, i.e. dropbox, OneDrive etc. This needs to be done automatically and periodically.

Automate hassio backup - local and remote

Moving to hassio has meant my previous model of writing images, file backups etc to a SMB share is no longer valid.

I've added a dropbox sync add-on: https://github.com/danielwelch/hassio-dropbox-sync however this needs to be combined with a service to automate the creation of the snapshot: https://community.home-assistant.io/t/hassio-0-61-snapshot-service/39690

Which would also call https://github.com/danielwelch/hassio-dropbox-sync to sync the newly created backup to dropbox.

Improve graphing of sensors

History component isn't great as its graphs get very cluttered when multiple sensors which trace the same unit of measurement are added.
Investigate different visualising options and configuration options.
Investigate to use DB on RPi vs moving it to separate server. Graphing is meant to be more intense than just storing the data, and ultimately less critical.

Automation to turn off appliances is unreliable

The current automation scripts to turn of sockets if no moment detected for > 30mins AND the socket is drawing current (i.e. so we know the appliance is on, and don't turn off at the wall).

However this is open failure as if the appliance, in my case an Iron, which has a thermostat which turns on and off. So at the 30min point it's possible the current draw is low enough not to trigger.

Need to review at reversing the check as whilst power state may fluctuate a timer for how long the room has been empty would continue to grow. Needs some research into what the existing automation structure can provide, or if a new template sensor needs to be defined to capture the idle state/time.

Example automation script:

- id: a_IronOn_2
  alias: Ironing Room No Motion Turn off Irons Left
  trigger:
    - platform: state
      entity_id: sensor.aeotec_zw100_multisensor_6_burglar
      to: '0'
      for:
        minutes: 30
  condition:
    - condition: template
      value_template: '{{ states.sensor.tp_hs110_2_power.state | int > 10 }}'
  action:
    - service: homeassistant.turn_off
      entity_id: switch.tp_hs110_2
    - service: notify.notify
      data:
        title: "Ironing Room Alert!"
        message: "No Motion Detected Turning off Ironing room Irons (Left)"

Automated loft fan control

Install new sonoff switch for fan that draws air from outside and blows it on to the front of the microserver. Add automation scripts to trigger based on ambient loft temp and/or HPiLO measurements.

automation automation.house_unoccupied - Not working

Error logged:

2020-01-13 09:25:45 ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.house_unoccupied. Invalid data for call_service at pos 1: extra keys not allowed @ data['operation_mode']

Zigbee error logged on startup - Investigate

2020-01-12 23:56:50 ERROR (MainThread) [zigpy.device] Failed ZDO request during device initialization: 
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/zigpy/device.py", line 86, in _initialize
    epr = await self.zdo.Active_EP_req(self.nwk, tries=3, delay=2)
  File "/usr/local/lib/python3.7/site-packages/zigpy/util.py", line 88, in retry
    r = await func()
  File "/usr/local/lib/python3.7/site-packages/zigpy/device.py", line 191, in request
    result = await asyncio.wait_for(req.result, timeout)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 449, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

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.