Skip to main content
#nest_thermostat

**a Python interface for the Nest Thermostat**

*fork of pynest by Scott M Baker, smbaker@gmail.com, http://www.smbaker.com/*

##Installation
`[sudo] pip install nest-thermostat`

##Usage

### Module

You can import the module as `nest_thermostat`. Use the source, luke!

Tips: you need to manually call `.login()` first, and `.get_status()` before `.show_*()`

### Command line
```
syntax: nest.py [options] command [command_args]
options:
--user <username> ... username on nest.com
--password <password> ... password on nest.com
--celsius ... use celsius (the default is farenheit)
--serial <number> ... optional, specify serial number of nest to use
--index <number> ... optional, 0-based index of nest
(use --serial or --index, but not both)

commands:
temp <temperature> ... set target temperature
fan [auto|on] ... set fan state
mode [cool|heat|range|off] ... set fan state
away ... toggle away
show ... show everything
curtemp ... print current temperature
curhumid ... print current humidity
curmode ... print current mode

examples:
nest.py --user joe@user.com --password swordfish temp 73
nest.py --user joe@user.com --password swordfish fan auto
```


---

*Chris Burris's Siri Nest Proxy was very helpful to learn the Nest's authentication and some bits of the protocol.*

Metadata

Release files for nest-thermostat 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nest-thermostat 1.2
File Size Uploaded Provenance Actions
nest-thermostat-1.2.tar.gz 4.0 kB Without provenance Details for nest-thermostat-1.2.tar.gz

Release files / nest-thermostat-1.2.tar.gz

Download URL nest-thermostat-1.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a149a34aad4c3938692b1d14ee35b3aa6203ead049768a4cc3444dbb8dd74836
BLAKE2b-256 checksum
How to use checksums
a526cb878bc10b77546e18bfbbbdb0528919a848d8906410d50ae06a388ac83f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for nest-thermostat 1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page