View Single Post
Old 11-01-20, 02:46 AM   #1
Acuario
Apprentice EcoRenovator
 
Join Date: May 2011
Location: Tortosa, Spain
Posts: 221
Thanks: 2
Thanked 81 Times in 46 Posts
Default Setting temperature via weather feed

I may have posted about this before but anyway this is an update and it's now working...

It is now cool at night so time to run the heatpump which is connected to the under floor heating in my house.

The daytime temperatures here are still hitting 26C so the heating is only really needed at night.

I had my hp set to heat the water to 32C which gives us a nice comfortable environment but, during the day, it gets too warm in the house so it's a bit of a waste. I was resorting to reducing the temperature manually.

So it seemed sensible to use a weather feed and automatically set the temperature for the heating.

I had used openweathermap.org for a feed previously but their feed data for 5 day, 3 hour (which is what I wanted) was too big for my ESP8266 to process. I had written some code to handle parsing in chunks but the feed sometimes changed and this broke the parsing code. They seem to have updated their API now and you can select a certain number of reports. As I only wanted 3 reports this now makes it possible to process the feed with the memory constraints of the ESP8266.

So I have finally implemented my automatic temperature setting based on the feed data. I may need to modify some of the values but the basic functionality is now there.

The Water Temperature Set value is the average of the Now Temp and the Temp in 3 hours.


Attached Images
 
Acuario is offline   Reply With Quote
The Following 4 Users Say Thank You to Acuario For This Useful Post:
Daox (12-18-20), jeff5may (07-06-21), skyking (12-25-20), TechShop (12-22-20)