{"id":451,"date":"2018-09-06T22:52:18","date_gmt":"2018-09-07T05:52:18","guid":{"rendered":"http:\/\/dragonwarz.net\/?p=451"},"modified":"2018-09-08T22:57:05","modified_gmt":"2018-09-09T05:57:05","slug":"sensors-tested","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=451","title":{"rendered":"Sensors Tested!"},"content":{"rendered":"\n<p>I have now tested and fixed bugs for all sensors, minus the Trigger ones (still need to re-write the code for that one).\u00a0 I&#8217;m happy to say, that it looks good!\u00a0 They all passed sensor get and database write tests.\u00a0 I also added a &#8220;round_decimal_to&#8221; variable at the top of each sensor that can use it, so I have a consistent round to, and the ability to change per sensor.\u00a0 One of the light sensors, recorded the Colour values for Red, Green, Blue to like 14 decimal points!\u00a0 Would these decimal placements make a difference? I&#8217;m guessing not, since it was like 34.00000000000001 when they did show, but usually showed whole numbers like 34.\u00a0 Anywho, the round_decimal_to is set at 3 for now, which should be a decent balance between useful information and background noise.\u00a0<\/p>\n\n\n\n<p>I already like my new system for selecting installed sensors.\u00a0 Its very nice to just open the config file and change a few 0&#8217;s to 1&#8217;s and 1&#8217;s to 0&#8217;s as I test different sensors on the Breakout Garden sensor board.\u00a0\u00a0<\/p>\n\n\n\n<p>I think that&#8217;s it for today.\u00a0 Time to relax, then goto bed.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have now tested and fixed bugs for all sensors, minus the Trigger ones (still need to re-write the code for that one).\u00a0 I&#8217;m happy to say, that it looks good!\u00a0 They all passed sensor get and database write tests.\u00a0 &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=451\">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-451","post","type-post","status-publish","format-standard","hentry","category-random"],"_links":{"self":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/451","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=451"}],"version-history":[{"count":3,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":457,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions\/457"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}