Code Monkey home page Code Monkey logo

better-nest's Introduction

Better-nest, an AI Agent for Climate Control

Run Program

AI Agent

This repository contains the code for the AI agent described in the Medium article "AI Agent for Smart Home Climate Control: Harnessing Botanical Strategies for Energy Efficiency"

Running the Agent

The complete source code for the AI agent is available in this repository. Below, you'll find step-by-step instructions for configuring and running the agent on your local machine.

While running the program might require specific environment settings, some of which involve creating accounts to access necessary APIs, a demo mode is available that allows you to run the agent using cached data. By default, this demo mode is enabled. You can change it via the configuration_node function in config.py.

Configuration

To use live data instead of the demo mode, change the mode key in configuration_node to something other than "demo." Remember to set all the required environment variables as specified in the .env.example file.

Installing dependencies

The program uses various PyPi packages. You can install these dependencies via pip or conda depending on your preference. Run the following command in your terminal to set up your environment:

Using Conda

Create a Conda environment from the provided environment.yml file:

conda env create -f environment.yml

Using Pip

pip install -r requirements.txt

Starting the Agent

Once you’ve configured your environment and installed all dependencies, you can run the agent by executing the main script:

python main.py

License

This project is licensed under the MIT License.

better-nest's People

Contributors

patrickkalkman 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.