Testing Interior Temperatures – preliminary results

I’m not going to bury the lede.  There are several spikes or “upticks” in the household temperature.  There’s one at about 7:30 AM (A) I’ll discuss below, one at about 5 PM (C) which coincides with the afternoon sun reaching the entryway, and another starting around 5:45 PM (D) when the afternoon sun starts to creep into the family room.  Around 9:30 AM I closed the the windows that were open overnight and turned off the whole house fan.

While the above graph is based on about 1,200 samples from about midnight on 07/07/2026 to about 9:30 PM the same day, it’s just a sample of part of one single day.  Even so, I find some interesting take-aways:

  1. I turned off the whole house fan and closed the windows at the right time.  In another few minutes, the interior temperatures would have reached equilibrium with the outside temperatures – and then quickly overtaken.
  2. The readings on the laminate and metal plate spiked when expected, the laminate before the plate.  The more exaggerated uptick is probably because the metal plate absorbed heat faster and then held onto it longer than laminate.
  3. What I didn’t fully appreciate before I started the experiment was that the interior ambient temperatures were clearly lagging behind the floor sensor temperatures.
  4. There’s an a sharp rise on the laminate temperature in the morning as well as a rise in these temperatures from about 7 AM to 9 AM.  I believe this probably coincides with the morning sun coming in from the east facing windows.
  5. Another thing I didn’t think about until after seeing these results is – what else could explain a temperature rise in the afternoon?  Obviously, the house is going to heat up overall throughout the day – but are there any other factors?  Our front door is painted black and the hardware becomes uncomfortably warm/hot with later afternoon light.  While I would expect certain household objections to painting the entire front door white or covering it in aluminum foil in the name of science… I could run a small and less objectionable test by putting something insulating over the exterior door hardware to prevent it from heating up, and thereby not heating up the internal hardware.
  6. You might wonder why the blue line, indicating the exterior temperatures, is so jagged compared the more detailed and noisy interior temperatures.  The exterior data comes from a public source and is only updated once very 5 minutes, thus, it’s going to look more choppy than the data I can sample over WIFI multiple times a minute if I want.  With updates only every 5 minutes, variations can look more pronounced as well.  There’s a strange dip in the exterior temperature at around 7 AM, 12 PM, and 4 PM.  The 7 AM dip coincides with a sharp increase in the cloud cover and the 4 PM dip appears to line up with a modest increase in cloud cover.  I don’t see any immediate patterns which jump out at me regarding the 12 PM dip in exterior temperature.  It would be interesting to look at the temperature data on a time graph as well as the humidity, cloud cover, wind, direct/diffuse radiation from the sun, and possibly even the air particulate counts.  But, that would really only help me better understand exterior temperature trends in my particular climate.  I’m more interested in how do the exterior temperatures and sunlight affect my interior temperatures – and what could I do to favorably effect these results.
  7. One thing I’m wondering is whether it’s “fair” to measure the temperature in the family room using a black metal plate that will absorb and retain heat.  I can’t reliably measure the carpet temperatures using this setup, so I have to use something.  I’m concerned cardboard would be too good an insulator, I don’t have a spare plank of clean wood or tile, so I’m just kinda making do with what I have.  Fortunately, I don’t really care about the temperature of that section of the room or even this piece of metal – I care about what’s heating it up and how I can blunt those effects.  If I put in a sun screen and all of a sudden that sharp spike gets dulled – wonderful!
Summer Science - Testing Effects of Window Coverings on Interior Temperatures
  1. Testing the Effect of Interior and Exterior Window Coverings on Interior Temperatures
  2. Testing Interior Temperatures – preliminary results

Testing the Effect of Interior and Exterior Window Coverings on Interior Temperatures

Or… perhaps a more useful title would be something a little fun like “Summer Sun Science!”

Our home has a large (4’x5′) picture window above the entryway which lets in a lot of afternoon sun in the summer, which seems to really heat up the house.  From about 5pm to 8pm sunlight travels from our entry way over laminate flooring and into our carpeted family room.  Our subjective experience is that this one window is responsible for a lot of the afternoon heat which seems to flood our home.  Well, what would Mark Watney do?

WWMWD?

Planned Setup

I have a modicum of experience with electronics and figured I might be able to actually figure out just how much this sunlight is effecting our house.  My plan is to use a microcontroller with a WIFI module and three temperature sensors to broadcast readings from three locations inside the house to my PC, where I can combine the data with local weather data.  The three locations are:

  1. Laminate in the entryway along the path of the afternoon sunlight
  2. A black metal plate placed on the floor in the family room
  3. A thermistor placed to hang off the wall about 13 feet in the air in the entry way – out of the path of the sun – to get a sense of the “ambient” temperature

I’ve already taken readings in these locations using an infrared thermometer and discovered that the laminate and a metal plate placed in the family room can reach 100 degrees Fahrenheit with peak sun exposure!  Even though the climate control in the house is set to 78 degrees, the thermostats are placed on the wall about 5′ off the ground, so they’re taking readings between the cool air at ground level and warmer air near the ceiling.  Even if the temperature change from the floor to ceiling isn’t perfectly linear, we know that it’s just going to be cooler at floor level versus the ceiling.  So, when the laminate that was recently in the sun might be as much as 80 degrees, this implies that it’s either going to be warmer in the air above that – or that the warmed laminate will be radiating it’s heat into the air keeping the house feeling warm even after the direct sunlight has passed.

Planned Theories and Experiments

I have a few theories and proposed experiments about what will happen:

  1. Theory 1:  Ambient temperature in the house will steadily increase over the course of a summer day – and then spike in the late afternoon/early evening.

    1. Background:  As mentioned above, our subjective experience is that the house really heats up in the late afternoon.  This seems to be supported by checking the thermostat on a warm day, discovering the downstairs is at 78 degrees and upstairs at 80 degrees, despite our AC unit’s valiant efforts.
    2. Experiment 1:   Measure the temperatures in the house throughout the day at 1-3 points and examine the data to see whether there is a period of marked increase.
  2. Theory 2:  If there are periods of spikes in heat during the day, they will coincide with the sun light coming in from this one window.

    1. Background:  This seems fairly obvious – if I’m testing the temperature at points in direct sunlight, well of course the temperature at those locations will increase.  However, one of the sensor is up a high wall in mid-air out of the way of any direct sunlight, I’m getting a sense of how the temperature in the house overall is affected by incoming sunlight.  The other data points would just be interesting to look at.  Plus, sometimes we learn interesting things as we test seemingly obvious problems.
    2. Experiment 2:  Measure the temperatures throughout the day, compare against the times when the sun starts to enter the house and when the sun sets.
  3. Theory 3:  If there are periods of spikes in heat during the day, obscuring or covering this one window partially or entirely will reduce or eliminate the heat spikes.

    1. Background:  I don’t have a way to predict whether or not getting a sun shade for this window will have the desired effect of reducing afternoon heat in our home.  However, this is exactly what this product is designed to do and the exact problem it is designed to solve.  At roughly $200 for a sun screen, it’s a good investment even if it just makes us feel cooler in the afternoon/evenings.  However, it’s an excellent investment if it can reduce our cooling bills over summer months.  Given my experience in this area of California, it feels like we can get hot days as early as April and they can last through as long as October.  I could see a $200 sun screen being immediately beneficial for comfort and also result in long term savings.
    2. Experiment 3:  This experiment would compare temperature data after covering a window fully with an obscuring material1 or filtering material such as a sun screen against previously obtained temperature data, to see whether the prior heat spikes (if they do exist) would be reduced or eliminated after using these obscuring materials/methods.
  4. Theory 4:  A room which has shutters on a window getting direct sunlight, will still experience heat spikes in the late afternoon.

    1. Background:  There is one other room in our house, a westerly facing room, with a window that opens and has interior shutters, which also gets much warmer starting around 6pm.  My guess is the sun shines in, hits the shutters, warms up the shutters – but the light / heat is already inside the house – and warming up the room.  That’s my subjective experience, anyhow.  As Hannah Fry (a mathematics professor and math/science communicator) recently mentioned, “But, you’re sort of trying to stop the invaders once they’re already inside the room.”  It would be interesting to see how much closing the shutters in this one room can “blunt” an afternoon heat spike.
    2. Experiment:  Once the other readings are taken, I could move my testing rig inside this other room to monitor for heat spikes in the late afternoon – when both the entry way and this room get direct sun.
  5. Theory 5:  Closing the shutters in a room that gets direct sunlight helps – a little, but will still experience heat spikes in the late afternoon.

    1. Background:  I already close the shutters in this room fully in the late afternoons, but it still gets very warm – even with the door open.  I would be very interested to quantify just how much closing shutters helps – if at all.
    2. Experiment 5:  I could run the test again, only I never close the shutters!  I’m guessing the temperature in the room will get much hotter, resulting in a higher spike.  But, I would only know this after comparing temperature readings with / without closing the shutters.

Now, I realize each day will have it’s own different weather, wind, humidity, and cloud cover.  That’s why I’m also sampling data from the OpenMeteo API so that I see whether variances in the data might be attributed to higher winds, more cloud cover, etc.  The nice thing about taking temperature readings inside the house is that long as I’m not opening and closing the front door, these three sensors should be relatively shielded from external weather factors – except the sun.  And, really, while I enjoyed building the testing rigs and protocols, I’m really looking for a “sense” of how much this one big window is affecting our home.  My guess is that putting in just one sun screen will have a huge impact on household temperatures – and putting in a second one on the westerly facing room will also have a huge impact.

Building the Testing Equipment

I picked up several Seeed Studio XIAO ESP32C3 microcontrollers, a few 10K thermistors, and a pile of 10k metal film 1% resistors to build a test rig on a breadboard.  The microcontrollers go for about $5, the thermistors as low as $0.30/each on Digikey or $8 for 10 on Amazon, and resistors ~$0.03 when bought in bulk on Digikey or $5 for 100 on Amazon.  I also used roughly $15 worth of wire, a prototyping board I had lying around, and negligible amounts of solder.

Stock footage of me working

My process for the hardware was pretty straight forward.  I cobbled together some components on a breadboard, moved them to a combination breadboard/paper circuits for each of testing, then moved it to a small proto-board where I could solder everything in place.  I put headers for the ESP32 and the thermistor inputs so that I can test / reuse the microcontroller and adjust which wires go to which input easily.

As circuits go, this was a fairly simple one to build.  Basically, we have a 10k thermistor where the amount of resistance will decrease the warmer it gets and more it will increase the cooler it gets.  We have a 10k resistor to act as a reference and voltage divider, since the ESP32’s analog pins can only measure voltage and not resistance.  I tried to make a TinkerCAD sketch (included in the photos below), but it doesn’t have thermistors or XIAO sized board components to add in – but it does give a sense of the wiring.

This slideshow requires JavaScript.

Software

If you didn’t already need proof, the photos above should demonstrate I’m not great at soldering.  Honestly, I’m not that great a programming either.  I did make use of some AI’s in writing, trouble shooting, and fixing code.  If not for that kind of help, I’d still be stuck trying to get the A3 pin working and screaming at the Seeed Studio documentation which mentions a problem with this pin in their wiki.  AI’s get some hate, but they also have their uses.  The plan, the soldering, all of this writing, it’s all my own – but I did need a robotic boost when it came to writing the code.

The code is still a mess – which is how you know it wasn’t all written by a robot.  There’s the code running on the ESP32C3 to sample the temperatures and transmit them to the PC, a script on the PC to capture that data, and then another script on the PC to take the household data and collect it with environmental data.  If anyone really wants to see it, I am happy to share.

Construction Notes

I’m still a middling-beginner at soldering and programming projects.  These are just hobbies and nothing related to my professional training.  This is partially so I can keep these notes for myself as I work on the project and for future potential reference / reuse.

  1. The leads on the thermistors were impossibly thin.  They were so thin that I couldn’t reliably connect them to the breadboard.  I tried using alligator clips, but these were very fiddly too.  I ended up using a variety of tapes, including maker tape from my friends at BrownDogGadgets.com (not sponsored – I just think they do a great job of creating high quality STEM/STEAM educational materials and supplies!), to affix the tiny thin wires to a piece of cardstock and then alligator clip to that.
  2. I think I may need to stock up on headers to add to projects.
  3. The Seeed Studio ESP32C3 is supposed to have four analog inputs (A0, A1, A2, A3), but only A0 – A2 work reliably.  I wanted to get a measurement of the laminate in other areas of the house that don’t get any direct sunlight, but this may need to wait for a further iteration.
  4. I bought a BUNCH of taplights from a dollar store a long time ago.  They are fantastic for making attractive small electronics project enclosures, include a power on/off switch, and battery holder.  I’ve made several timers / buzzers / game pieces with them.  I think these might make for interesting project enclosures for environmental sensors.  I could drop an ESP32 and one or two thermistors into each, each thermistor having only a few feet of wire.  I’d need to update my code a lot and figure out battery life, but it might be worthwhile to have redundancy in case one ESP32 goes down and also to keep piles of wires from walkways.
  5. Normally I try to batch certain soldering tasks to complete while the soldering iron is hot.  However, I’m glad I only soldered up one of the thermistors first because I ended up figuring out a much easier and cleaner way to do it.
  6. There’s a point in the slideshow above where’s it obvious I’m testing things with my multimeter.  I’m not very good at soldering2 so I have to go very slow and pretty much test all the joints for accidental bridges / short circuits and connectivity constantly.  I’d rather than 10x as long to build something than incinerate a microcontroller or have to start all over again.

Things I learned Already / Future Ideas

  1. Microcontrollers are cheap and they’re wireless for a reason.  I used a LOT of wire to hook up these three sensor to this one microcontroller, mostly for testing purposes, and didn’t stop to think … you know, I could probably just have two more wireless microcontrollers for way less hassle.  I mean, I used roughly 15′ ribbon cable, split into three sections, and strung this all over the entry way.  This wire goes for $1/foot!  It would have made SO much more sense to build three wireless devices, each with just one temperature sensor, and power them with three AA batteries, and then just stick those sensors in those three locations.  Actually, I may just end up doing this anyhow.  :)
  2. I could see a case for adding light sensors as well.  Right now I will be noting when I see the sun enter the house and when it sets.  While this is an important factor for explaining why the temperature might spike in the late afternoon, the precise timing of this isn’t really critical to these findings.  That said, it would be nice to have something in the data that I could point to and say “Ah!  And *this* is where the light entered the house!  Seek this spike?”  The benefit to the current system is that it will be largely autonomous, quietly logging temperatures throughout the day, when I might be doing other things.
  3. Testing impacts of our whole house fan and closing windows in the morning on ambient household temperatures throughout the day.  I don’t have a good, pithy way to put this.  I had the windows open all night, with the whole house fan running on low, resulting in the house cooling to 64~67 degrees overnight.  I closed the windows and turned off the house fan at 9:30 AM, and while it’s 86 degrees right now at 2:30pm, it’s still a pleasant 71 degrees inside the house and the AC hasn’t kicked on once.  (Well, to clarify, my homebrew sensors say it’s 71 degrees in the house, the downstairs thermostat says it’s 72 degrees and the upstairs thermostat says it’s 78 degrees).  The upstairs thermostat is in a room we keep closed off most of the day, so it wouldn’t have cooled off much at night and may have started off the day warmer than elsewhere.  Where was I?  Right – I think it would be interesting to know the coolest times of the day/night inside the house with/without the whole house fan and also to test when would be the best time to turn the whole house fan on/high/low/off, and when the best time to open and close windows would be.  Ideally, I would have a bunch of sensors throughout the house, able to know if the house fan is running, when we open/close certain windows, and then extrapolate from the data over a very long period of time – rather than trying to open/close/turn on/off things on a given schedule.3 But, this would take a lot more fiddling than I have time for at the moment.
  4. Irrespective of the testing, if I had even on ongoing and reliable environmental monitor, I might be able to connect that sensor to a script on my PC which would allow me to connect to my thermostat’s API and adjust the climate control in interesting ways.  Or perhaps I could just have it alert me to the best times to open/close windows or turn the whole house fan on/off?
  5. Preliminary temperature readings.  At roughly 3:30pm right now, I can see the temperature in the house has moved from about 68 early this morning to 72 now.  This has been very gradual – but noticeable as the house goes from cool to comfortable.  It’s been steady – but I’m very much looking forward to seeing what happens over the next few hours.
Summer Science - Testing Effects of Window Coverings on Interior Temperatures
  1. Testing the Effect of Interior and Exterior Window Coverings on Interior Temperatures
  2. Testing Interior Temperatures – preliminary results
  1. I can’t imagine any good way to do this without angering the HOA… []
  2. The underside of that board is absolutely atrocious! []
  3. I don’t like schedules []
Test