Skip to content

API to interact with Raspberry PI temperature controller

Notifications You must be signed in to change notification settings

ElliotReeve/pi_temp_plug_optimum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Raspberry PI Temperature Controller - TP Link

Run API: sudo python3 app_temp.py &> /dev/null &

Add Script to Crontab: */10 * * * * /usr/bin/python3 your/url/path/reached_temp.py

Endpoints

/get-temp - returns the current temperature

/set-temp - turns on tp-link plug to reach an optimum temperature of 20C

/cancel-temp - turns off tp-link and stops trying to reach optimum temperature

About

API to interact with Raspberry PI temperature controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages