{"id":3200,"date":"2022-01-28T18:10:00","date_gmt":"2022-01-29T02:10:00","guid":{"rendered":"https:\/\/digitalnigel.com\/wordpress\/?p=3200"},"modified":"2022-04-01T18:29:32","modified_gmt":"2022-04-02T01:29:32","slug":"home-energy-monitor","status":"publish","type":"post","link":"https:\/\/digitalnigel.com\/wordpress\/?p=3200","title":{"rendered":"Home Energy Monitor"},"content":{"rendered":"\n<p>Some friends and I recently spoke about understanding our home energy usage better, and implementing data collection for various circuits in which we had little real visibility into the actual usage and how they contributed to our energy bills.<\/p>\n\n\n\n<p>We found an open source project making metering boards that would handle the sensing, provided with external clamp-on current transformers. Some searching, and a group bulk order later, we had a sensor board stack based on the ESP32 and a bunch of transformer cores to start working with.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9233-scaled.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"3203\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9233-768x1024.jpeg\" alt=\"\" class=\"wp-image-3203\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9233-768x1024.jpeg 768w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9233-225x300.jpeg 225w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9233-113x150.jpeg 113w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9233-1152x1536.jpeg 1152w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9233-1536x2048.jpeg 1536w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9233-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9087-scaled.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"3202\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9087-768x1024.jpeg\" alt=\"\" class=\"wp-image-3202\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9087-768x1024.jpeg 768w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9087-225x300.jpeg 225w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9087-113x150.jpeg 113w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9087-1152x1536.jpeg 1152w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9087-1536x2048.jpeg 1536w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9087-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9091-scaled.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"3201\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9091-1024x768.jpeg\" alt=\"\" class=\"wp-image-3201\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9091-1024x768.jpeg 1024w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9091-300x225.jpeg 300w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9091-150x113.jpeg 150w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9091-768x576.jpeg 768w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9091-1536x1152.jpeg 1536w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/IMG_9091-2048x1536.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p>We found a library for CircuitPython that had the start of what we needed, but appeared to be abandoned for some time, and needed some additional help to do everything we needed it to. After reaching out to the prior creator, we <a href=\"https:\/\/github.com\/nigelvh\/CircuitSetup_EnergyMeter_MicroPython\" data-type=\"URL\" data-id=\"https:\/\/github.com\/nigelvh\/CircuitSetup_EnergyMeter_MicroPython\">forked the repo<\/a> and have been making a fair number of improvements\/additions.<\/p>\n\n\n\n<p>The new code is working well, and I have it tied into my general monitoring system, providing nice graphs. Here are some example graphs, with a longer timescale one covering several days, where we can see the heat pump usage as it works harder during the night as temperatures fall, and usage drops during the day as the temperatures come up. As well as a shorter timescale graph covering just 24 hours were we can see the individual cycles the system is running that the graphing system averages out over the longer timescale.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"245\" data-id=\"3204\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart2-1024x245.png\" alt=\"\" class=\"wp-image-3204\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart2-1024x245.png 1024w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart2-300x72.png 300w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart2-150x36.png 150w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart2-768x184.png 768w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart2.png 1485w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"245\" data-id=\"3205\" src=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart3-1024x245.png\" alt=\"\" class=\"wp-image-3205\" srcset=\"https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart3-1024x245.png 1024w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart3-300x72.png 300w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart3-150x36.png 150w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart3-768x184.png 768w, https:\/\/digitalnigel.com\/wordpress\/wp-content\/uploads\/2022\/04\/chart3.png 1485w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some friends and I recently spoke about understanding our home energy usage better, and implementing data collection for various circuits in which we had little real visibility into the actual usage and how they contributed to our energy bills. We &hellip; <a href=\"https:\/\/digitalnigel.com\/wordpress\/?p=3200\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,20,6],"tags":[],"class_list":["post-3200","post","type-post","status-publish","format-standard","hentry","category-electronics","category-projects","category-technology"],"_links":{"self":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3200"}],"version-history":[{"count":1,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3200\/revisions"}],"predecessor-version":[{"id":3206,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3200\/revisions\/3206"}],"wp:attachment":[{"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalnigel.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}