{"id":231,"date":"2018-08-06T13:08:48","date_gmt":"2018-08-06T20:08:48","guid":{"rendered":"http:\/\/dragonwarz.net\/?p=231"},"modified":"2018-08-12T19:20:54","modified_gmt":"2018-08-13T02:20:54","slug":"tweaking-town","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=231","title":{"rendered":"Tweaking Town"},"content":{"rendered":"<p>So I have not quite got the motivation to do some soldering for the Air Quality sensor.&nbsp; So instead I have&nbsp;been tweaking the program and thinking about future endeavors with it.&nbsp; To that end I am figuring out how I may utilize the already built in accelerometer to track things like tremors or earth quakes.&nbsp; looking at the readings, it doesn&#39;t get very accurate (goes to like 9 decimal points, but sitting still makes variation in as much as 0.01).&nbsp;<\/p>\n<p>The seemingly not so accurate readings may be literal movement (cars, construction, etc)&nbsp; in the area I am in, but I won&#39;t know for sure, until I take it somewhere more&#8230; stable and less populated.&nbsp; Depending on what I hope to track, I&#39;ll&nbsp;change how many decimal points I record (hoping that it won&#39;t record anything until something happens, saving resources).&nbsp; This may come in handy later, if I for instance, put a sensor in a tree with battery and solar.&nbsp; Should a squirrel decide to touch, nibble or throw the sensor down, It could record the event.&nbsp; With a Internet connection of some kind, I could be notified, so the sensor doesn&#39;t stay offline or in the wrong place for too long.&nbsp;<\/p>\n<p>In either case, that will be done later, as I need to see what kind of resources and space these readings will take. I tried a few things that didn&#39;t work due to SQL stuff last night, but the rest of the code is basically done.&nbsp; I need to figure how, why, when and where I&#39;ll record the&nbsp;data.&nbsp; Due to the constant writes, I may create a whole new database, so database downloads don&#39;t take too long over time.&nbsp;&nbsp;<\/p>\n<p>Other small changes done include.<\/p>\n<ul>\n<li>Making the RGB values\/lines on the graph&nbsp;Red \/ Green \/ Blue<\/li>\n<li>Added&nbsp;TextBox for Custom Sensor name in Graph (makes it easier to look over, as &quot;Kootenay Lake North&quot; then &quot;Sensor2&quot;)<\/li>\n<li>Changed graphing from 2 columns to 1 (larger area for the timescale)&nbsp; and put RGB beneath Lumens (compare raw light value to colour spectrum).&nbsp;&nbsp;<\/li>\n<\/ul>\n<p>I also uploaded a HTML page of my &quot;Back Yard Shed&quot; sensor to my site <a href=\"http:\/\/dragonwarz.net\/temp-plot.html\" target=\"_blank\">You can check it out here.<\/a>&nbsp; It&#39;s about 8 days worth of sensor data.&nbsp;&nbsp;<\/p>\n<p><a href=\"http:\/\/dragonwarz.net\/temp-plot.html\" target=\"_blank\">http:\/\/dragonwarz.net\/temp-plot.html<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I have not quite got the motivation to do some soldering for the Air Quality sensor.&nbsp; So instead I have&nbsp;been tweaking the program and thinking about future endeavors with it.&nbsp; To that end I am figuring out how I &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=231\">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":[26,3],"tags":[],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry","category-python","category-random"],"_links":{"self":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/231","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=231"}],"version-history":[{"count":6,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":237,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions\/237"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}