GithubHelp home page GithubHelp logo

irakhlin / ha-zen32-exhaust-fan-blueprint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sdwilsh/ha-zen32-exhaust-fan-blueprint

0.0 1.0 0.0 44 KB

A blueprint to use a ZEN32 Scene Controller to control an exhaust fan.

License: MIT License

Python 100.00%

ha-zen32-exhaust-fan-blueprint's Introduction

ha-zen32-exhaust-fan-blueprint

A blueprint to use a Zooz ZEN32 Scene Controller to control an exhaust fan.

Import Blueprint in Home Assistant

You can also see the discussion about this Blueprint in the Home Assistant Community Blueprint Exchange.

Requirements

  • Timer entity to track time remaining for the exhaust fan
  • Switch entity to turn the fan on/off (can be the scene controller if wired that way)
  • Device for the scene controller.

Diagram

┌────────────────────────────────────┐
│                                    │
│ ┌─┐ Blue when off                  │
│ └─┘ White w/ time left > 45m       │
│     Green when on w/ no time set   │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│                                    │
│ 60m/off                            │
└────────────────────────────────────┘

┌────────────────┐  ┌────────────────┐
│     White w/   │  │     White w/   │
│ ┌─┐ time left  │  │ ┌─┐ time left  │
│ └─┘ <= 10m     │  │ └─┘ > 20m and  │
│                │  │     <= 30m     │
│                │  │                │
│                │  │                │
│ 10m            │  │ 20m            │
└────────────────┘  └────────────────┘

┌────────────────┐  ┌────────────────┐
│     White w/   │  │     White w/   │
│ ┌─┐ time left  │  │ ┌─┐ time left  │
│ └─┘ > 20m and  │  │ └─┘ > 30m and  │
│     <= 30m     │  │     <= 45m     │
│                │  │                │
│                │  │                │
│ 30m            │  │ 45m            │
└────────────────┘  └────────────────┘

Contributing

Setup

python3.10 -m venv .venv
source .venv/bin/activate

# Install Requirements
pip install -r requirements.txt

# One-Time Install of Commit Hooks
pre-commit install

Testing

Tests are run with pytest.

ha-zen32-exhaust-fan-blueprint's People

Contributors

dependabot[bot] avatar irakhlin avatar sdwilsh avatar

Watchers

 avatar

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.