{"id":4793,"date":"2020-05-25T21:01:03","date_gmt":"2020-05-25T20:01:03","guid":{"rendered":"http:\/\/www.marshflattsfarm.org.uk\/wordpress\/?p=4793"},"modified":"2020-05-25T21:02:19","modified_gmt":"2020-05-25T20:02:19","slug":"revised-immersun-monitoring","status":"publish","type":"post","link":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/?p=4793","title":{"rendered":"Revised immerSUN Monitoring"},"content":{"rendered":"\n<p>I have re-worked the monitoring solution for the immerSUN solar PV diverter which is responsible for measuring the house&#8217;s electricity consumption, the import of electricity from the grid, the solar PV generation and any diversion of excess solar generation to the domestic hot water cylinder&#8217;s immersion heater.<\/p>\n\n\n\n<p>Previously the monitoring was done by extracting data from the <a rel=\"noreferrer noopener\" href=\"http:\/\/live.myimmersun.com\" target=\"_blank\">live.myimmersun.com<\/a> webpage every minute and storing it in InfluxDB for visualization using Grafana. This worked OK but missed a lot of the details of how the readings change on a more dynamic basis. The immerSUN unit actually sends data in the form of a 56-byte UDP Datagram every 5 seconds and since this data is traversing the local network anyway it seems a shame not to extract the readings &#8220;on the way past&#8221;. While not trivial, since the format of the 56-byte Datagram is not published, it&#8217;s not that hard to reverse engineer where the different readings are.<\/p>\n\n\n\n<p>There&#8217;s a (draft) write-up of the solution under the Technical Articles <a href=\"http:\/\/www.marshflattsfarm.org.uk\/wordpress\/?page_id=4785\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have re-worked the monitoring solution for the immerSUN solar PV diverter which is responsible for measuring the house&#8217;s electricity consumption, the import of electricity from the grid, the solar PV generation and any diversion of excess solar generation to &hellip; <a href=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/?p=4793\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,82,33],"tags":[],"class_list":["post-4793","post","type-post","status-publish","format-standard","hentry","category-electricity","category-metering","category-technical-articles"],"_links":{"self":[{"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/4793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4793"}],"version-history":[{"count":1,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/4793\/revisions"}],"predecessor-version":[{"id":4794,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/4793\/revisions\/4794"}],"wp:attachment":[{"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}