{"id":757,"date":"2019-09-30T20:57:32","date_gmt":"2019-10-01T03:57:32","guid":{"rendered":"http:\/\/dragonwarz.net\/?p=757"},"modified":"2019-12-06T15:30:32","modified_gmt":"2019-12-06T23:30:32","slug":"sensor-control-n-more","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=757","title":{"rendered":"Sensor Control &#8216;n&#8217; More"},"content":{"rendered":"\n<p>It&#8217;s getting time to release another version into the &#8220;Stable&#8221; Alpha channel. <\/p>\n\n\n\n<p>I have been working on Sensor Control for the most part and have added the following features.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Online Status &#8211; Now Creates a new page with Sensor IP, Response Time and Sensor Name. <\/li><li>The Reports for System, Configuration and Test are pretty much the same with a few minor tweaks like colour coding response time and adding total RAM with % RAM used.<\/li><li>Added &#8220;Relay and Direct&#8221; download options.<ul><li>With Relay, all files are collected and zipped on the local sensor<\/li><li>Download buttons are enabled upon zip creation completion<\/li><\/ul><\/li><li>Download Zip of all 3 Reports &#8211; Creates a zip with all 3 reports.<\/li><li>Sensor Databases &#8211; Creates a zip of all online sensor databases.<\/li><li>Logs &#8211; Creates a zip of all online sensor logs<\/li><li>The Big Zip &#8211; Creates a zip of all online sensors Databases + logs and add all 3 reports<\/li><\/ul>\n\n\n\n<p>This section of Sensor Control is now pretty much done.  I did some sloppy coding to get it working, so I&#8217;ll have to review and refactor it.  I have tested using it most ways, and it seems stable, but I&#8217;m sure I&#8217;ll find an extra bug or two.   I&#8217;m also not sure about the RAM limitation of the Pi&#8217;s, because even when using zipped files, the Raspberry Pi doesn&#8217;t have much RAM.  I created a function to save to disk instead of memory should the database downloads be larger than available memory, but I&#8217;m pretty sure I&#8217;ll have to do a bit more to get it to writes from the HTTPS download right to disk, instead of putting all the databases into memory and then writing to disk.  <\/p>\n\n\n\n<p>Let us see&#8230; what else changed&#8230; O I&#8217;m zipping Database delivery over HTTPS by default, as it can reduce the download size of the Database A LOT!  There&#8217;s more, but I&#8217;ll leave that to the changelog on GitHub. <\/p>\n\n\n\n<p>New Release soon!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s getting time to release another version into the &#8220;Stable&#8221; Alpha channel. I have been working on Sensor Control for the most part and have added the following features. Online Status &#8211; Now Creates a new page with Sensor IP, &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=757\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,27,26,3],"tags":[33],"class_list":["post-757","post","type-post","status-publish","format-standard","hentry","category-programming","category-project","category-python","category-random","tag-kootnet-sensors"],"_links":{"self":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=757"}],"version-history":[{"count":1,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/757\/revisions"}],"predecessor-version":[{"id":758,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/757\/revisions\/758"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}