EcoRenovator  

Go Back   EcoRenovator > Improvements > Renovations & New Construction
Advanced Search
 


Blog 60+ Home Energy Saving Tips Recent Posts


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-25-12, 02:18 AM   #19
Vlad
Apprentice EcoRenovator
 
Join Date: Aug 2010
Location: Windsor ON Canada
Posts: 229
Thanks: 4
Thanked 30 Times in 22 Posts
Default

Quote:
Originally Posted by opiesche View Post
Very interesting - I was thinking about using an Arduino, but the ease of setting up and programming the Pi (and the fact that it goes for $35) has completely sold me on it. I'm usually more of a C++ guy as far as programming goes (software engineer by trade), but being able to quickly whip something like this up in Python and take advantage of its facilities to easily wrangle data from text has some real perks.

For plotting, I use MatPlotLib (matplotlib: python plotting — Matplotlib 1.1.1 documentation), a really full featured Python library. With it and a couple other pieces of freely available code, I can read data from .csv files into arrays that can then be directly used to generate a plot and save it to an image file. The code for this is really simple, as you'll soon see. The images are saved directly to the web server directory, from where I can grab them from any web connected machine (the plot images in this thread are pulled live from the Pi's web server).

As for the data amount, it's really less than it seems. The .csv files for each day are only about 6kBytes in size, the .PNG images about 55k. With a cheap 4GByte SD card in the Pi, I could store 100 years of data and still have room to spare.

I'd like to put additional sensors on it as well (at least one upstairs, one downstairs, and one outside), and will have to experiment a little with the maximum wire length. I'm using the DS18B20 sensor (also Dallas 1-wire) - do you have any idea how long the wires can be before you start getting problems with signal degradation?
Web control of your heating or cooling system is super cool but most people have no idea how to set it up. Professional DDC systems are super expensive making them useless for DIYers. But we can share and benefit from each other knowledge. The problem with this thread is it is growing very fast and it is almost impossible to find what you found ones. I think it would be very useful to have separate thread about automation and web interface.
Vlad is offline   Reply With Quote
 


Tags
diy, flooring, heating, hydronic, radiant


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:58 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Ad Management by RedTyger
Inactive Reminders By Icora Web Design