Thermostat314 - rPi/python powered Thermostat - Raspberry Pi Forums


introduction : started project because of interest in pid algorithms , temperature control in general. first "program" have written, hoping feedback before finish , turns around advice results it being re-written.


summary : thermostat controlled via gpio pins replace 24vac thermostat controls, heat/cool/fan in house. once finish basic functionality plan expand on it, including things like, 7 day schedule, automatic learning, automatic return schedule after x minutes @ override, multizone sensing, etc.


completed parts/classes:
get_temp (python, includes sanity check , avg value x readings, 10, using dht22)
control (python, turns heat/cool/fan on off, includes safety/tracking logic stores data in sqlite)
dbinstall (python, builds sqlite db, , populates starting data.) currently, holding 3 tables, settings[ hot,cold,off,fanauto, override, target, safetime ], live [ temp, humid ], states [ heat, cold, fan ] think covers basics of need functionality going

un-complete parts:
server/service (python, main python service controlling thermostat, data/settings via sqlite)
webui (python, via flask/bootstrap, get/update data/settings via sqlite)

thermostat itself: (note temp sensor not attached here)
5pins rpi, 5v, ground, gpio 9,10,11 ( realize these using spi pins )
9=fan -> relay
10=cool -> relay
11=hot -> relay
relays switch 24vac(r) g/y/w (fan/cold/hot)
cool relay wired fan relay, cool cannot turn on without fan being on. have not wired hot relay yet, use , wanted start simple.
image
image
pretty sure going opensource once can prototype/program in simple working order, maybe else find cool. want print nice board trying tackle 1 thing @ time, should pretty simple circuits not complex.


looking thoughts/feedback of kind. looking.
-t

was considering doing same.

until... bought radio thermostat 3m-50 wifi thermostat. seems it's possible control via python script, sounds ideal task raspberry pi.

api available radio thermostat.

ps don't forget relay contacts need snubbers else they'll pit on time. transorbs 1 way, 1k+0.1uf.


raspberrypi



Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums