runticle / thermostat

Javascript fun!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thermostat

Control the virtual temperature with this online thermostat controller! It uses Javascript n stuff. It has an API to pull live weather information for wherever you may be, so that you'll always know what temp to set your thermostat at! The setting will be saved on the server.

+/- - control temperature in 1˚C increments

reset - sets temperature to 20˚C

mode - switches PowerSaverMode on/off (max temp is 25˚C with PSM on or 32˚C off.

Setup

Clone the repo, and in the root folder run:

bundle
ruby server.rb
open -a "Google Chrome" index.html  

Woohoo!

Issues

Currently the powerSaver mode is not updating on the client side after the GET request.

Screenshots

Image of index

Image of server

About

Javascript fun!


Languages

Language:Python 87.5%Language:JavaScript 12.3%Language:Ruby 0.1%Language:HTML 0.1%Language:CSS 0.1%