Skip to content

JerryWorkman/Python-TStat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-TStat

Python interface for Radio Thermostat wifi-enabled thermostats.

#Usage: t = TStat('1.2.3.4') Where 1.2.3.4 is your thermostat's IP address

t.getCurrentTemp() Returns current temperature as a float

t.setHeatPoint(68.0) Sets target temperature for heating to 68.0

...

A simple cache based on retrieved URL and time of retrieval is included. If you call TStat.getFanMode(), /tstat will be retrieved and the value for fmode will be return. If you then call t.getTState(), a cached value will already exist and tstate will be returned from that.

You can change the time for cache expiration by calling

t.setCacheExpiry(timeInSeconds).

About

Python interface for Radio Thermostat thermostats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%