GithubHelp home page GithubHelp logo

ubhits / ad-alexasmarttalkingthermostat Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 0.0 124 KB

Set temp limits, enforce fan modes, door/window and daily shut-off, and air cycling makes your thermostat a genius with a voice using your Smart Speaker! Please :star: if you like the app :)

Home Page: https://www.youtube.com/c/ubhits

License: Apache License 2.0

Python 100.00%
appdaemon-apps appdaemon home-automation homeassistant home-assistant hass alexa alexa-voice-service media-player hacs alexa-media-player amazon-alexa thermostat temperature hvac hvac-control heating cooling smarthome smart-home

ad-alexasmarttalkingthermostat's Introduction

Alexa (& Friends) Smart Talking Thermostat πŸ”

hacs_badge

New in Version 2.0

Notifications Schedule, Power Backup Guard: apps.yaml configuration breaking changes, please read the documentation to fix for v2.

Alexa (or other Smart Speakers) become the voice for your thermostat. Take control of your thermostat like never before. Extremely "Street Smart"!

  • Your Thermostat Speaks What It's Doing: Alexa & HA together are πŸ’ŽAwesome!πŸ’Ž
  • Notifications: Your thermostat speaks only when you want it to. This is handy specially at night when your kids are sleeping and you want things to be quiet
  • Enforce Temp Limits: your guests (or kids) can't crank up the heat ♨️ or cold ❄️, saving you πŸ’΅πŸ’΅πŸ’΅
  • Daily Shut Off: no more forgetting to turn off the thermostat and let it run whole day while you are away
  • Enforce Fan Mode Auto: Does not allow your fan to aimlessly be on, this can be used with the Air Cycle Feature to get the best of both worlds, save πŸ’΅πŸ’΅πŸ’΅ and cycle air
  • Air Cycle Feature: Cycles air at the defined interval between the rooms in your house. If you have temp difference in rooms in your house, or a room has stagnant air, and just smells funny :trollface:, this will solve it! kids πŸ‘§πŸ‘§ ;)
  • Open Door/Window Shut Off: AC turns off if a door πŸšͺ or window πŸŒ‡ is left open for 60 seconds. Works specially well with your
  • Power Backup Guard: AC turns off if the mains utility grid goes offline and your home is running on battery backup (Tesla Powerwall)

Ever since we've set this up in our home, we cannot imaging our home without it. Your home suddenly gets a voice, something like Jarvis ... Awesome!

Please ⭐ this repo if you like my work and also check out my other repos like

Also, if you want to see a walkthrough of my Home Assistant configuration, I have my video walkthrough on youtube below

Installation

Needs the Alexa Media Player or Sonos integration

Use HACS or download the alexa_smart_talking_thermostat.py from inside the apps directory to your local apps directory, and add the following configuration to enable the app.

App Configuration (config/appdaemon/apps/apps.yaml)

hvac_master_bedroom:
  module: alexa_smart_talking_thermostat
  class: AlexaSmartTalkingThermostat
  thermostat: climate.thermostat_master_bedroom_mode
  hvac_limits:
    cooling_min: 67
    heating_max: 72
    daily_shutoff: "08:00:00"
    enforce_fan_auto_mode: True
  # OPTIONAL
  notifications:
    speaker: media_player.master_bedroom_alexa
    start_time: "08:00:00"
    end_time: "21:30:00"
  # OPTIONAL
  doors_windows: 
    - binary_sensor.master_bedroom_door
    - binary_sensor.master_bedroom_window
  # OPTIONAL
  air_recirculation:
    hour: true
    half_hour: true
    quarter_hour: false
    minute_offset: 0
    duration: 1
  # OPTIONAL
  power_backup_guard:
    grid_status_sensor: binary_sensor.grid_status
  debug: false
key description
module The module name of the app
class The name of the Class
thermostat Your climate entity (Thermostat) to connect with the app
hvac_limits|cooling_min Nobody can set the cooling temperature below this threshold. $$$ πŸ’° Hurray!
hvac_limits|heating_max Nobody can set the heating temperature above this threshold. $$$ πŸ’° Yaaaay!
hvac_limits|daily_shutoff Shuts off your thermostat "everyday" at this time. Recommend 8 AM. This is in 24 hour format ("08:00:00")
hvac_limits|enforce_fan_auto_mode Does not allow your fan aimlessly be on, this can be used with the Air Cycle Feature to get the best of both worlds, save $$$ and consistent air throughout your house
notifications\speaker Your Alexa to connect with the app
notifications\start_time Notifications start time
notifications\end_time Notifications end time
doors_windows If you have door/window sensors in the same room, connect them here so the thermostat will shut off if they are open for more than 60 seconds
air_recirculation|hour Cycles air every hour. Turns on just the fan. Very handy to control stagnant air and temperature difference in your home!
air_recirculation|half_hour Cycles every 30 mins
air_recirculation|quarter_hour Cycles every 15 mins
air_recirculation|minute_offset If you want different thermostats in your house to cycle at different times, set the offset. E.g. MasterBedroom to 1, LivingRoom to 7, Kitchen to 15 etc
air_recirculation|duration how many minutes to cycle the air.
power_backup_guard\grid_status_sensor Grid status sensor. If you do not have that, you can omit this section completely
debug if True, outputs messages to the AppDaemon Log

Thank you! πŸ™Œ

This app wouldn't be possible without the amazing work done by the developers and community at Home Assistant, and of Keaton Taylor and Alan Tse on their Alexa Media Player integration for Home Assistant. https://github.com/custom-components/alexa_media_player

If you like my work and feel gracious, you can buy me a beer below ;)

Buy Me A Beer

License

Apache-2.0. By providing a contribution, you agree the contribution is licensed under Apache-2.0. This is required for Home Assistant contributions.

ad-alexasmarttalkingthermostat's People

Contributors

ubhits avatar

Stargazers

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

Watchers

 avatar  avatar

ad-alexasmarttalkingthermostat's Issues

Not really an issue, but a feature request?

I'm wondering if it's possible to add into this some geofencing functionality to have the HVAC system turn off when everyone (or the last person) in the house leaves, and turn back on again when anyone arrives?

I am currently doing something very close to this in WebCoRE minus the Alexa talking part, but I'm really trying to migrate away from Smartthings completely, as I'm having way too many isues with it working reliably. However, I dont have a mini-split system and I don't have the ability to control the climate in each room seperately. We have a heat pump/furnace installation that is all or nothing pretty much. That said, turing the system off at a certain time unfortunatly won't work for my setup, since we dont come and go at any specific time of the day or night.

I'd attempt to add it myself but I'm new to HASSIO and don't really understand the coding part of it quite yet, or if you don't want to add this into the main app.yaml file, maybe you could point me in the right direction on what I'd need to do in order to add that functionality into the apps.yaml on my end?

I appologize if this is the wrong place to make a request like this, I couldn't see any other way to do it.

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.