{"id":1043,"date":"2021-11-08T13:38:37","date_gmt":"2021-11-08T21:38:37","guid":{"rendered":"https:\/\/dragonwarz.net\/?p=1043"},"modified":"2021-11-08T13:38:37","modified_gmt":"2021-11-08T21:38:37","slug":"kootnet-sensors","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=1043","title":{"rendered":"Kootnet Sensors"},"content":{"rendered":"\n<p>The update system is now good to go! All HTTP updates are downloaded through HTTPS and do MD5 checks to make sure the download is okay. <\/p>\n\n\n\n<p>I have created a URLs configuration where you can adjust the server address for program updates &amp; the sensor check-in server if you ever want to configure your own servers. <\/p>\n\n\n\n<p>I have added a system-wide alias to start up Kootnet Sensors Terminal Configuration Tool from the command prompt, which is &#8216;ks-tct&#8217; without the quotes. by default, it runs using the python virtual environment meant for upgrades, because of this, you should be able to use the TCT even when there&#8217;s something wrong with the main virtual environment or program (such as missing python modules, which you can re-install with ks-tct). <\/p>\n\n\n\n<p>The Login system has been completely overhauled. I&#8217;m using sessions with flask now, and when someone logs in successfully, a login ID is given (randomly generated SHA256). Due to this change, Remote Management is no longer compatible with previous versions (at least not for parts that require authentication). So I have bumped the version to Beta.35.x. This is also good since the username\/password has to be reset due to a change in how user\/passwords are saved (changed previously). <\/p>\n\n\n\n<p>Other things that have been changed include<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Seperated sensor offsets to it&#8217;s own configuration (only environmental temperature, more to come later)<\/li><li>Threaded initial cached variables update (HTTPS server loads much quicker)<\/li><li>Instructions and file checks added for changing update server URL<\/li><li>Refactoring to remove the need of some 3rd party Python modules (Flask-HTTPAuth, dateutil)<\/li><li>Code Clean-up<\/li><\/ul>\n\n\n\n<p>That&#8217;s it for now. You can try it out by updating to the latest beta version. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The update system is now good to go! All HTTP updates are downloaded through HTTPS and do MD5 checks to make sure the download is okay. I have created a URLs configuration where you can adjust the server address for &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=1043\">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":[3],"tags":[],"class_list":["post-1043","post","type-post","status-publish","format-standard","hentry","category-random"],"_links":{"self":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/1043","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=1043"}],"version-history":[{"count":2,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/1043\/revisions"}],"predecessor-version":[{"id":1045,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/1043\/revisions\/1045"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}