{"id":5844,"date":"2017-12-22T13:08:32","date_gmt":"2017-12-22T21:08:32","guid":{"rendered":"https:\/\/www.bigtreestech.com\/wp2013\/?p=5844"},"modified":"2017-12-23T14:48:11","modified_gmt":"2017-12-23T22:48:11","slug":"getting-close","status":"publish","type":"post","link":"https:\/\/www.bigtreestech.com\/wp2013\/getting-close\/","title":{"rendered":"Getting Close!"},"content":{"rendered":"<p>This morning I edited the two Python scripts that will be used on the measurement machine to talk to the Ultrasonic Sensor to get the snow depth data.\u00a0 The first time I ran a test without the sensor connected I got an error indicating that the script did not have permission to access the serial port where the sensor is to be connected.\u00a0 I changed the permission on the port using:<\/p>\n<p>sudo chmod 777 \/dev\/serial0<\/p>\n<p>Then the scripts worked but as expected returned an error since no sensor was connected.\u00a0 I just need to modify how the results are printed out once I get the sensor is connected and that part of the system should be pretty much done other than making a mount for the sensor on the Snow Pole and running a cable out to it.<\/p>\n<p>Over the past couple days I have done a lot of research into how to implement the weather system side of things and I&#8217;ve found a very slick approach.\u00a0 Apparently, over the last 7 or so years since I started using WeeWx to gather the weather station data, a lot of changes have been made.\u00a0 One of those changes is a very tidy way to add extensions like I want to do with snow depth measurement.\u00a0 I am going to start working on the new extension package today.<\/p>\n<p>Merry Christmas!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This morning I edited the two Python scripts that will be used on the measurement machine to talk to the Ultrasonic Sensor to get the snow depth data.\u00a0 The first time I ran a test without the sensor connected I &hellip; <a class=\"more-link\" href=\"https:\/\/www.bigtreestech.com\/wp2013\/getting-close\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[259],"tags":[],"class_list":["post-5844","post","type-post","status-publish","format-standard","hentry","category-snow-depth-project"],"_links":{"self":[{"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/posts\/5844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/comments?post=5844"}],"version-history":[{"count":1,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/posts\/5844\/revisions"}],"predecessor-version":[{"id":5845,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/posts\/5844\/revisions\/5845"}],"wp:attachment":[{"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/media?parent=5844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/categories?post=5844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/tags?post=5844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}