Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

  1. Nido has been tested with Python 3.6.5 and higher. Python 2 is not supported.
  2. You will need both Docker and Docker Compose installed locally.
  3. Rename private-config.py.example to private-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 Python venv is recommended.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nido, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size nido-1.0.3.tar.gz (22.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page