{"id":687,"date":"2019-04-17T19:49:49","date_gmt":"2019-04-18T02:49:49","guid":{"rendered":"http:\/\/dragonwarz.net\/?p=687"},"modified":"2019-12-06T15:33:20","modified_gmt":"2019-12-06T23:33:20","slug":"refactoring","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=687","title":{"rendered":"Refactoring!"},"content":{"rendered":"\n<p>Ahh, I managed to get a few good hours in for refactoring.  The imports are now standardized. AKA I import like this &#8216;from folder import module&#8217;, which I then access everything from it with module.whatever or module.whatever_function().  This makes it a LOT simpler to find out where everything is located.  So tracking down functions and variables is easy now.  <\/p>\n\n\n\n<p>I also spent a good few hours on the local management and information HTML webpage.  It uses a dark theme and displays all the useful data and links minus actual sensor readings, for which I am going to make another custom page which will have things like automatic reading updates, color changes based on sensor readings, etc. I have not even started on the page yet, but the empty functions are all set to be filled in.  I&#8217;ll probably work on that one too before a new release.  <\/p>\n\n\n\n<p>The 2 things left to do before a new release are.<br>1.  Refactor the control-center program like the RP sensor program (imports &amp; naming).<br>2.  Create a decent sensor readings webpage.<br><\/p>\n\n\n\n<p>I suspect I&#8217;ll be ready by the end of the month.  Yay motivation and progress ^_^<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ahh, I managed to get a few good hours in for refactoring. The imports are now standardized. AKA I import like this &#8216;from folder import module&#8217;, which I then access everything from it with module.whatever or module.whatever_function(). This makes it &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=687\">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-687","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\/687","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=687"}],"version-history":[{"count":1,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/687\/revisions"}],"predecessor-version":[{"id":688,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/687\/revisions\/688"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}