Nido, a Raspberry Pi-based home thermostat
Project description
This respository is the primary library that the Nido smart thermostat is built around. If you're looking for instructions on how to run Nido on a Raspberry Pi, see https://github.com/alexmensch/nido for instructions and the full project background.
Running the application locally for development
Requirements and initial configuration
- Nido has been tested with Python 3.6.5 and higher. Python 2 is not supported.
- You will need both Docker and Docker Compose installed locally.
- Rename
private-config.py.example
toprivate-config.py
with your own private settings.
Starting the Nido backend and API server
> docker-compose up
Run Docker Compose from the base of the project to run the Nido thermostat and API locally. If you are not running on a Raspberry Pi, a test hardware fixture will be loaded instead of the native Raspberry Pi GPIO library.
Docker local volume mappings
nido/
Local changes to the package source code are mapped to the Docker containers.instance/
Nido settings and scheduler database entries are stored outside the container.log/
Logs generated by backend RPC service and scheduler are generated here.
Shutting down Nido
> docker-compose down
Scripts and development tools
clean.sh
Delete all local and cached files generated by running in your local environment.build.sh
Build the Nido package for distribution.pip install -r dev_requirements.txt
Installs packages useful for local development. Using Pythonvenv
is recommended.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nido-1.0.3.tar.gz
(22.5 kB
view details)
File details
Details for the file nido-1.0.3.tar.gz
.
File metadata
- Download URL: nido-1.0.3.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a5b3040f4a9a59f088280c882c34dbbca4a47695f5259d64a4f8baa35154db0 |
|
MD5 | a776bcbf9a2b8c52f08b3932371b62b0 |
|
BLAKE2b-256 | 3ff5ad44bbd05aa3898014f42888611ede17508db08ed16bf906662f331415ca |