![]() Status = 'HEAT ON - TEMP IS BELOW TOP THRESHOLD, KEEPING ON' Status = 'HEAT ON - TEMP IS ABOVE TOP THRESHOLD, TURNING OFF' If self.current_temp.value - self.target_temp.value >= 0.5: # if heat relay is already on, check if above threshold Here is the threshold logic (you can see the rubber-duck debugging in the comments): # check that we want heat To avoid that, I added some thresholding to make sure the heat toggles only when it's +/- 0.5C°. This "short-cycling" isn't necessarily harmful, but it certainly isn't efficient. My code was running for a few days, and I was working on the hardware, when I noticed that my relays were turning on and off every few seconds. The rest of the "temp" logic is relatively straightforward, but I do want to highlight a piece that I initially missed. ThermOS software architecture (Joseph Truncale, CC BY-SA 4.0) If any combination of one to five valves is open, it should be on if no valves are open, it should be off… simple! This is because it doesn't matter how many valves are on/open-it just controls the circulator pump. ![]() Terminal 3 on the Taco is jumped across all of my zone valves. If your heating system is anything like mine, you'll see a lot of jumper wires between the Taco zone valves. I opened the side panel and found the step-down transformer that takes the 120V electrical line and makes it 24V for the heating system. I began drawing out the hardware diagram on draw.io and realized I lacked some crucial knowledge about the furnace. RPi GPIO terminal block breakout board module for Raspberry Pi Inland 8 channel 5V relay module for ArduinoĭS18B20 temperature sensor (genuine) from Here's a full list of the parts I used: Name I'm sure I could get by with a Raspberry Pi Zero W, but that will be for a future revision. Since they've gotten so inexpensive, I decided to use a Raspberry Pi 4 Model B 2GB. I knew that I wanted to use a Raspberry Pi. It's HomeKit compatible, complete with automation, scheduling, home/away, etc. ![]()
0 Comments
Leave a Reply. |