Green Building Forum - What do I need, to find how well (or not) I'm doing? Tue, 19 Dec 2023 05:31:56 +0000 http://www.greenbuildingforum.co.uk/newforum/ Lussumo Vanilla 1.0.3 What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254099#Comment_254099 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254099#Comment_254099 Sat, 11 Feb 2017 07:33:46 +0000 cjard
I'm sure he will also be interested in what I can learn from this thread

So I'm after doing some data logging.. Just not sure what I'll need to measure, and what with (product recommendations). You can assume I've got loads of spare computing power and ability to program them, I just need connectable hardware. I'm also not so flush with money at the moment, until I temortgae the place so the boss will turn down any outlandish purchase requests :)

Some weather station seems a given, temperature monitors for rooms, or maybe pipes. Electrical power consumption devices (clamp round cable type preferred, but I can also still cut the cable and joint it in as the cables leaving the CU are accessible..) might be required too?]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254100#Comment_254100 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254100#Comment_254100 Sat, 11 Feb 2017 07:45:31 +0000 SteamyTea I think CurrentCost have gone for good, but there is a bit of kit for sale on eBay. You need to get the USB cable though.

For temperature and humidity there are the DHT22's they seem pretty reliable, you can use 1Wire DS18B20's, easier to wire in if you want multiple ones (just wire them all back to GPIO4).

Cheap weather stations are a waste of money, I bought one from Maplin in a sale (50 quid), the anemometer packed up in a few weeks and then the thing failed to send data to the RPi.

If you have Gas heating it is a bit harder to log, though there are some people doing it with magnets and light sensors (not having gas I don't take much notice.

I am currently making up a heat meter for a solar thermal system to see if that can be logged. Got the bits, just not got the time.]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254103#Comment_254103 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254103#Comment_254103 Sat, 11 Feb 2017 09:43:27 +0000 Ed Davies
{"_": "2017-02-11T09:37:47Z", "cc": {"power": 184, "temperature": 19.6}}
{"_": "2017-02-11T09:37:48Z", "kitchen": {"humidity": 37, "temperature": 17.29}}
{"_": "2017-02-11T09:37:53Z", "cc": {"power": 184, "temperature": 19.6}}
{"_": "2017-02-11T09:37:58Z", "ow": {"28.B21AC8010000": 21.9375, "28.D517C8010000": 21.8125, "28.E3F2C7010000": 21.9375}}
{"_": "2017-02-11T09:37:59Z", "cc": {"power": 184, "temperature": 19.5}}
{"_": "2017-02-11T09:38:05Z", "cc": {"power": 184, "temperature": 19.5}}

For general use it's hard to beat the vAir temperature/humidity sensors:

http://shop.vair-monitor.com/index.php?rt=product/product&product_id=134

I have one (originally got a COâ‚‚ monitor with temperature, humidity and pressure sensors then I ordered two of these but he made a mistake and only sent one - the other should be here in a day or so). They need micro-USB power but send via WiFi so very convenient for scattering around the house without wires trailing all over the place. All a bit of a work in progress but he's actively developing and pretty responsive to any problems.

What I'd really like would be to have an outdoor temperature sensor (other than a liquid-in-glass thermometer exposed to the sun in the porch which came with the house) and some way of tracking when the boiler's running to see how the correlate.

I've been logging stuff for about three months now. The most useful bit of information I've got is on power use. For my off-grid house I'd been worrying about whether 6 kW of inverters would be a limitation - e.g., don't use the kettle while the cooker's one - but actually the only times I've gone over 6 kW have been when using the 7 kW shower. Nice to know and very easy to find out once the data's logged.]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254109#Comment_254109 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254109#Comment_254109 Sat, 11 Feb 2017 11:36:53 +0000 SteamyTea Don't they say that a messy bench is a sign of a creative mind.]]> What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254110#Comment_254110 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254110#Comment_254110 Sat, 11 Feb 2017 11:47:19 +0000 SteamyTea I save more than what is strictly needed (from when I was setting up several of these).
The data comes out like this, but could easily be changed to show just temperature and power.
I have two separate transmitters, a normal clamp on sort and an Opti one (nice to know the difference and this is going to a friends house to log her PV output and general consumption). 0=Opti,2=clamp on.
The ST logger is a bit trickier as I have to know when the pump is on, but think I have got around that with a simple relay and just log the time when it is closed i.e. pump running (that bit of code has been this mornings work).

Here is what my basic data looks like (you may have to pop it into Excel to make better sense of it).
Date and Time,Text String Lengh,Days since birth,Temp /°C,Sensor No, Sensor ID,Power1,Power2,Power3
09/02/2017 17:45:08,166,00982,15:26:12,24.4,0,03420,00065,,
09/02/2017 17:45:12,166,00982,15:26:15,24.4,2,03584,00081,,
09/02/2017 17:45:46,166,00982,15:26:59,24.4,2,03584,00081,,
09/02/2017 17:45:48,166,00982,15:27:01,24.3,0,03420,00065,,
09/02/2017 17:46:03,166,00982,15:27:07,24.3,0,03420,00065,,
09/02/2017 17:46:07,166,00982,15:27:11,24.4,2,03584,00079,,
09/02/2017 17:46:09,166,00982,15:27:12,24.4,0,03420,00065,,
09/02/2017 17:46:14,166,00982,15:27:17,24.4,2,03584,00079,,
09/02/2017 17:46:14,166,00982,15:27:18,24.4,0,03420,00065,,
09/02/2017 17:46:20,166,00982,15:27:23,24.4,2,03584,00079,,
09/02/2017 17:46:25,166,00982,15:27:29,24.4,0,03420,00066,,
09/02/2017 17:46:26,166,00982,15:27:30,24.4,2,03584,00081,,
09/02/2017 17:46:30,166,00982,15:27:34,24.4,0,03420,00066,,
09/02/2017 17:46:32,166,00982,15:27:36,24.4,2,03584,00059,,
09/02/2017 17:46:36,166,00982,15:27:40,24.4,0,03420,00066,,]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254111#Comment_254111 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254111#Comment_254111 Sat, 11 Feb 2017 11:52:12 +0000 SteamyTea ). It looses all the indents when pasted as just text, how do you do that HTML formatting code thingy?

#!/usr/bin/python

import serial, time, datetime



while True:

#Open the USB Serila port
cc128 = serial.Serial("/dev/ttyUSB0", 57600, timeout=6)

#Read the USB Serial port
text = cc128.readline()[:]

#Splits up the data
length = len(text)
if len(text)==166:
dsb = text[32:37]
time = text[49:57]
temperature = text[70:74]
sensor = text[89:90]
sensorID = text[103:108]
ch1 = text[139:144]
ch2 = text[170:175]
ch3 = text[201:206]


#Sort out the time format
timestamp = datetime.datetime.now().strftime ('%d/%m/%Y %H:%M:%S')


#Opens and writes to the text file where the data is stored
tfile = open("/home/homemonitoring/homemonitoringdata/ccdata.csv", "a")
tfile.write("%s"%timestamp + ",%s"%length + ",%s"%dsb + ",%s"%time + ",%s"%temperature + ",%s"%sensor + ",%s"%sensorID + ",%s"%ch1 + ",%s"%ch2 + ",%s"%ch3 + "\n")
tfile.close()

# time.sleep(6)]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254116#Comment_254116 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254116#Comment_254116 Sat, 11 Feb 2017 12:52:12 +0000 djh
I presume you and your father in law are using electrical heating? Thinking about kWh rather than £ is more useful. You need to record internal and external temperatures as well as electrical consumption. Also some estimate of insolation - I use our PV generation as a proxy. A piece of paper and a pencil is adequate technology in my view.

If his house is unheated for five days a week then 218 kWh in two days implies a continuous draw of over 9 kW. Is he standing under the shower all weekend? Or growing pot? What temperature is it in his house?

edit: OOPS that 9 kW should be 4.5 kW, so not so bad but still quite a lot.]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254125#Comment_254125 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254125#Comment_254125 Sat, 11 Feb 2017 14:45:16 +0000 SteamyTea

#!/usr/bin/python

import serial, time, datetime

while True:

#Open the USB Serial port
cc128 = serial.Serial("/dev/ttyUSB0", 57600, timeout=6)

#Read the USB Serial port
text = cc128.readline()[:]

#Splits up the data
length = len(text)
if len(text)==166:
dsb = text[32:37]
time = text[49:57]
temperature = text[70:74]
sensor = text[89:90]
sensorID = text[103:108]
ch1 = text[139:144]
ch2 = text[170:175]
ch3 = text[201:206]

#Sort out the time format
timestamp = datetime.datetime.now().strftime ('%d/%m/%Y %H:%M:%S')

#Opens and writes to the text file where the data is stored
tfile = open("/home/homemonitoring/homemonitoringdata/ccdata.csv", "a")
tfile.write("%s"%timestamp + ",%s"%length + ",%s"%dsb + ",%s"%time + ",%s"%temperature + ",%s"%sensor + ",%s"%sensorID + ",%s"%ch1 + ",%s"%ch2 + ",%s"%ch3 + "\n")
tfile.close()

# time.sleep(6)
]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254163#Comment_254163 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254163#Comment_254163 Sat, 11 Feb 2017 23:33:08 +0000 cjard
Ill have to make some time and go have a play with his system, as right now he's considering all sorts of crazy ideas. Like.. "In summer I think I'll turn the ASHP off entirely and just use the immersion for hot water"]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254171#Comment_254171 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254171#Comment_254171 Sun, 12 Feb 2017 06:49:46 +0000 SteamyTea What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254172#Comment_254172 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254172#Comment_254172 Sun, 12 Feb 2017 08:06:24 +0000 DarylP Match these data with fuel bills, and should be easy enough?
:smile:]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254271#Comment_254271 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254271#Comment_254271 Mon, 13 Feb 2017 22:38:17 +0000 cjard
I'm not sure what the deal is there, as bar an Internet router and two fridges, I can't think of anything else that would use power when he is out.. Time to throw in some science I think]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254273#Comment_254273 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254273#Comment_254273 Tue, 14 Feb 2017 07:35:35 +0000 SteamyTea What temperature is his DHW?

A broken fridge can be pulling 100 to 200W constantly (I know as mine went faulty), that would be between £2.5 and £5 a week.]]>
What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254678#Comment_254678 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254678#Comment_254678 Tue, 21 Feb 2017 15:04:31 +0000 borpin Posted By: Ed DaviesWhat I'd really like would be to have an outdoor temperature sensorWhy not just pull the data off WeatherUnderground?]]> What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254679#Comment_254679 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254679#Comment_254679 Tue, 21 Feb 2017 15:07:38 +0000 borpin Posted By: cjardI just need connectable hardware.Have a look at OpenEnergyMonitor.org Don't be put off by the headline cost, you can do it cheaper by just buying the bits and not the ready to go Pi based system.]]> What do I need, to find how well (or not) I'm doing? http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254739#Comment_254739 http://www.greenbuildingforum.co.uk/newforum/comments.php?DiscussionID=14905&Focus=254739#Comment_254739 Wed, 22 Feb 2017 18:36:58 +0000 cjard