1.0.8 • Published 9 years ago
react-nest-thermostat v1.0.8
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-thermostatExample 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 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.