© 2023 AEYCEN / Jakub Krymowski / Alexander Campbell-Smith /
Making heating cool again.
Smart home heating solution, dynamically adjusting heat output based on real-time weather data, powered by a neural network algorithm
Some of the features the patches provide are:
- 🌦️ Weather-Based Heating: Automatically adjusting heating in real-time based on current weather conditions, ensuring optimal comfort
- 🧠 Neural Network Integration: Neural network algorithms power the intelligent decision-making process for precise temperature control
- 👤 User-Friendly Interface: An interface that makes it easy for homeowners to interact with and customize their heating preferences
- 🌿 Energy Efficiency: Prioritizing energy efficiency, helping you save on heating costs while maintaining a comfortable environment
- ✨ And more!
SweatControl does require Python >= 3.10 on the machine in order to run.
First, create and activate a Python environment to run the application. Navigate in the newly cloned sweatControl
folder and run the following 2 commands:
🐧 Linux:
python3 -m venv venv
. venv/bin/activate
🪟 Windows:
py -3 -m venv venv
venv\Scripts\activate
Then install all the required plugins:
pip install -r requirements.txt
ℹ️ If you want to stop the running environment after using the application, just type deactivate
while the CLI will display (venv)
in front of your user input.
An WeatherAPI.com API key is required to run the application.
Create a file weather_api.py
with the following template and insert your API key:
API_KEY = "<YourApiKey>"
Finally, create in the root directory a folder with the name secret
and put the created file weather_api.py
in it.
Alternatively to creating the file you can create a local environment variable with the name WEATHER_API_KEY
which holds the API key.
Always activate the environment (like described above in the second line of the os related part) before you run SweatControl with the following command:
python run.py
To run it in debug mode instead, use:
flask --app app run --debug
Head over to localhost:5000, and you should see the running application.
If another program is already using port 5000, you’ll see OSError: [Errno 98] or OSError: [WinError 10013] when the server tries to start. See Address already in use for how to handle that.
Additional information: Flask Guide
Development, Administration, Project Management & Design
- AEYCEN
- Jakub Krymowski
- Alexander Campbell-Smith
SweatControl is licensed under the GPLv3 licence. Please see the licence file for more information. tl;dr you may copy, distribute and modify SweatControl as long as you track changes/dates in source files. Any modifications to SweatControl must also be made available under the GPL along with build & install instructions.