react-nest-thermostat
v1.0.8
Published
A React.js component for displaying the face of a Nest thermostat.
Downloads
6
Maintainers
Readme
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:
git clone https://github.com/KevinMellott91/react-nest-thermostat.git
cd react-nest-thermostat
npm install
npm run-script basic-example
- 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 NesttargetTemperature
(Integer) - target temperature provided to the NesthvacMode
(String) - status of the HVAC operationsoff
- no action is being takenheating
- thermostat is actively heatingcooling
- thermostat is actively cooling
Inspiration
This work was inspired heavily by the Nest Thermostat Control Pen created by Dal Hundal.