This (unofficial) React component provides a basic display of the Nest thermostat.
View the live demo! Note that this demo uses pre-compiled code, so it's a little messy to examine.
npm install react-nest-thermostat
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
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
This work was inspired heavily by the Nest Thermostat Control Pen created by Dal Hundal.