{"id":444,"date":"2018-09-06T14:59:33","date_gmt":"2018-09-06T21:59:33","guid":{"rendered":"http:\/\/dragonwarz.net\/?p=444"},"modified":"2018-09-06T15:01:32","modified_gmt":"2018-09-06T22:01:32","slug":"soo-many-modifications","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=444","title":{"rendered":"Soo many modifications&#8230;."},"content":{"rendered":"\n<p>OK, just finished a big overhaul of the code running on the sensors themselves and tested it on the Enivro PHAT sensor (current primary sensor).\u00a0 After a bit of fiddling, it works very well! It&#8217;s also much easier to figure out what&#8217;s going on in the code.\u00a0\u00a0<\/p>\n\n\n\n<p>The Installer script has been updated to set and work with all the sensors I have, and seamlessly works with the sensor to database code.\u00a0\u00a0<\/p>\n\n\n\n<p>That took the past 3 days with moderate poking.\u00a0 However, I still have to convert the Motion database code, which I will be renaming to &#8220;Trigger&#8221; Database, as its much more accurate to what it captures.\u00a0 Updating the trigger database code will probably take longer because I have to add new types of sensors to it.\u00a0 Right now, I&#8217;m only capturing acceleration, but I have to add the following sensors (to start) GAS resistance, gyroscope and Distance.\u00a0 Not to mention I need to figure out what variance to set for the triggers themselves.\u00a0\u00a0<\/p>\n\n\n\n<p>Not much progress on actual new features, but I have started to make a features to do list, which can be accessed <a href=\"http:\/\/kootenay-networks.com\/?page_id=330\">here<\/a>.\u00a0 It helps remind me of where the project is going, in case I get caught up in the smaller details.\u00a0<\/p>\n\n\n\n<p>I think I&#8217;m going to continue on my &#8220;Clean Code&#8221; book, as it is really setting the stage for easier management BEFORE my code gets too large to want to clean.\u00a0 I also have a surprising amount of files to get this all working, so I&#8217;ll be working towards putting the code on GitHub, to more easily manage things when I need to change different sections that might affect others.\u00a0\u00a0<\/p>\n\n\n\n<p>I suppose that&#8217;s it for now.\u00a0 It&#8217;s still smokey here, but not AS bad as before.\u00a0 Hopefully things will clear up in a few weeks.\u00a0\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK, just finished a big overhaul of the code running on the sensors themselves and tested it on the Enivro PHAT sensor (current primary sensor).\u00a0 After a bit of fiddling, it works very well! It&#8217;s also much easier to figure &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=444\">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-444","post","type-post","status-publish","format-standard","hentry","category-random"],"_links":{"self":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/444","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=444"}],"version-history":[{"count":4,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":449,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/449"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}