Skip to content

pterodyne/ThermOS

 
 

Repository files navigation

Setup

This thermostat requires the use of a DS18B20 temperature sensor. An alternative sensor can be used, but the getIndoorTemp.py file will need to be modified to gather and return the correct data. I may at some point add the option to use a DHT-22 (combo temp/humidity sensor); but this is adequate for now.

-DS18B20-

Your DATA line needs to be connected to your VDD/POWER line with a 4.7K ohm resistor
Then do the following:
DATA on gpio 4 (physical pin 7)
VDD/POWER on 5v rail (physical pin 2)
GROUND on any ground pin (physical pin 6)

Next, enable the 1-wire interface.
This can be done by adding the line
dtoverlay=w1-gpio
to /boot/config.txt
-or-
by using an up-to-date raspi-config (Advanced Options -> 1-Wire)

Reboot and your temperature sensor is good to go.

-SOFTWARE-

On a fresh Raspbian Jessie image (full or lite)

cd ~  
git clone https://github.com/mholgatem/ThermOS  
cd ~/ThermOS  
sudo bash install.sh

On a computer or smartphone, navigate to the ip address of your raspberry pi to finish setup.

Credits

ThermOS started life as Rubustat by Wyatt Winters and quickly took on a life of it's own; but there are still a few bits of code left over from those early days.

The forecast api is powered by Dark Sky

The following icons came from thenounproject.com
"Folder" (logs icon) by Oliviu Stoian
"Air Conditioner" (system icon) by Aaron K. Kim
"Computer Fan" (fan icon) by Creative Stall
"Thermometer" (hold icon) by icon 54
"Wrench" (settings icon) by useiconic.com
"Calendar" (schedule icon) by To Uyen
"Flame" (heat icon) by Nadav Barkan
"Snowflake" (ac icon) by Dilon Choudry
"Meter" (Favicon) by kiddo

This application is free, without restriction, or warranty.
Don't sue me bro!

About

Another Raspberry Pi Thermostat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.5%
  • CSS 17.2%
  • Python 13.2%
  • HTML 11.3%
  • Shell 0.8%