Skip to content

KevinMellott91/react-nest-thermostat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Nest Thermostat

This (unofficial) React component provides a basic display of the Nest thermostat.

Live Demo

View the live demo! Note that this demo uses pre-compiled code, so it's a little messy to examine.

Installation

npm install react-nest-thermostat

Example Usage

You can run built-in demo example via few simple steps:

  1. git clone https://github.com/KevinMellott91/react-nest-thermostat.git
  2. cd react-nest-thermostat
  3. npm install
  4. npm run-script basic-example
  5. Browse to http://localhost:3000

Component (primary) properties

  • away (Boolean) - true/false to indicate if the Nest is in "away mode"
  • leaf (Boolean) - true/false to indicate if the Nest is in "energy savings mode"
  • ambientTemperature (Integer) - actual temperature detected by the Nest
  • targetTemperature (Integer) - target temperature provided to the Nest
  • hvacMode (String) - status of the HVAC operations
    • off - no action is being taken
    • heating - thermostat is actively heating
    • cooling - thermostat is actively cooling

Inspiration

This work was inspired heavily by the Nest Thermostat Control Pen created by Dal Hundal.

About

Provides a basic display of the Nest thermostat.

Resources

License

Stars

Watchers

Forks

Packages

No packages published