A Python CLI Nest Thermostat controller and dashborading tool
Project description
Version: v0.0.0-a0
py-nest-thermostat
Python CLI Nest Controller and Reporting Tool.
Disclaimer: This project is very much work in progress while in version 0 anything can change, anything can break and some parts of the code are probably very ugly. Feel free to test it, contribute (see CONTRIBUTING.md), report bugs
Features:
- print device stats
- set target temperature
Future Features:
- capture device statistics into a database
- plot device statistics over time
- some ML?
Installation
The tool is intallable from PyPI via pip
or pipx
. But you must first set up access via Google's Developer console (which currently costs a one time $5 fee and is a bit of a pain).
Set Up Google and Authorization
This part of the process is a real pain, especially if you've never set up Authorization via Google. Luckily Wouter Nieuwerth made a really nice guide with pictures that I encourage you to check out
Google Documentation Links
Google has some pretty extensive documentation:
Once setup, you will be able to access your nest devicesc, and manage your authorizations in the following places:
If you have issues, and neither the step by step guide from Wouter nor the links above help you feel free to open an issue and if I have time I'll try and help out.
Install py-nest-thermostat
If you want to be able to access the tool from anywhere I recomment setting it up via pipx. Pipx will give you access to py-nest
globally while keeping it in an isolated python virtual environment. The best of both worlds really!
You can install with pipx like so:
pipx install py-nest-thermostat
If you prefer to use regular pip
, follow those steps:
- create a python3 virtual environment (with
venv
orvirtualenv
--up to you) - activate the virtual environment (
source /path/to/virtual/environment
) pip install py-nest-thermostat
Usage
Until I write some more extensive docs, once you have installed the tool use use the CLI --help
command
py-nest --help
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
Built Distribution
Hashes for py-nest-thermostat-0.0.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd62305af2f70aa97fa1a595faa1df3b9639097afc8c7635a60f354826b82c49 |
|
MD5 | 9d166565ce08a4668e640e27cff420e5 |
|
BLAKE2b-256 | d1991d6bfe4860b1aa78c5cb1f0307258802979a6322068d37a6d258f8b65ba1 |
Hashes for py_nest_thermostat-0.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b7cabe6b162b1630d65c9cfa2e7ccab618f9690fad49d69e27fb80775de56a7 |
|
MD5 | 376f9e436be5ffb1e8656f8d731ee389 |
|
BLAKE2b-256 | b8b49230f8e89f5155651a817a2548e9522ae2cddc920a981e19c9e7528b3b80 |