Giter Site home page Giter Site logo

mertdaver / better_wyze Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mihaisiia/better_wyze

0.0 0.0 0.0 97 KB

A lightweight tool designed to expand automation options for Wyze devices.

License: GNU General Public License v3.0

Shell 0.72% Python 22.52% HTML 10.09% Jupyter Notebook 66.67%

better_wyze's Introduction

better_wyze - enhanced automation capabilities for Wyze devices

Table of Contents

Features

  • Turn on and off lights

Setup

Set up an API key as described in Creating an API Key by Wyze Support
Set the following environment variables:

  • BETTER_WYZE_ROOT
  • WYZE_EMAIL
  • WYZE_PASSWORD
  • WYZE_API_KEY_ID
  • WYZE_API_KEY

Create a virtual environment with python -m venv .venv
Activate the virtual environment with source .venv/bin/activate (unix) or .venv\Scripts\Activate (Windows)
Install the dependencies with pip install -r requirements.txt

Usage

cd src
python serve.py

Planned

Fan Control

  • Define weekdays to operate, similar to Wyze behaviors.
  • Define time range to operate within (i.e. May 10th to September 30th), then sleep until next year.
  • Fine control over cycling patterns (i.e. "in time frame 5am-9am, run )

Introduction

Currently, the Wyze app offers little in the way of creating custom fan-only schedules and is limited to cycling the fan X amount of minutes for every hour of the day. On warmer days, homeowners without air conditioning may want to run their furnace fans in the mornings/evenings only, yet have no way to automate this behavior.

While others have found success using Home Assistant running on Raspberry Pi, they are limited to Raspberry Pi 3 or above.

better_wyze aims to give homeowners the control they want, all while being lightweight enough to run on boards such as Raspberry Pi Zero W.

Acknowledgements

Thank you to @chkoda for his inspiration, guidance, and contributions throughout the project.

Contact

Created by @mihaisiia, feel free to reach out to me on GitHub with questions or suggestions.

better_wyze's People

Contributors

chkoda avatar mihaisiia 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.