Skip to content

mdegrazia/piWarmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

piWarmer

This is a Python scipt that controls an AC/DC relay attached to a Raspberry Pi with a space heater plugged in. There is an adafruit GSM Board that receives text messages using a Ting SIM card connected to the Raspberry Pi. When the Pi receives a text messgae it will turn the AC/DC relay on or off accordingly, thus powering the heater on or off. The following are a list of commands that can be sent to the Pi that will control the heater:

SMS Message Action
ON Turn the Relay/Heater on
OFF Turn the Relay/Heater off
STATUS Return status of the Relay/Heater (on or off)
SHUTDOWN Shutdown the Pi

There is a configuration file, piWarmer.config that must be edited that contains phone numbers that are allowed to control the heater and a maximum time that the heater can run for if a "off" text messages is not received. Text messages can be upper or lowercase.

Use the piWarmer image (https://github.com/mdegrazia/piWarmer/releases) for easy installation. See the Wiki (https://github.com/mdegrazia/piWarmer/wiki) for parts needed, assembly instructions and software installation instructions.

piWarmer is to be used at your own risk

About

Python script to control a space heater by SMS that is plugged into a power relay and an RPi

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages