{"id":5839,"date":"2017-12-20T08:49:09","date_gmt":"2017-12-20T16:49:09","guid":{"rendered":"https:\/\/www.bigtreestech.com\/wp2013\/?p=5839"},"modified":"2017-12-21T11:29:19","modified_gmt":"2017-12-21T19:29:19","slug":"rest-and-research","status":"publish","type":"post","link":"https:\/\/www.bigtreestech.com\/wp2013\/rest-and-research\/","title":{"rendered":"Rest and Research"},"content":{"rendered":"<p>While I await some parts needed to connect the sensor to the measurement system (Raspberry Pi 3) I am going to spend most of the day today doing some research and planning for next steps.<\/p>\n<p>One thing I have not mentioned previously is that the Raspberry Pi 3 operating system I am using, called Raspbian Stretch, comes with something called a VNC Server.\u00a0 When you activate the server you can access that computer via a virtual private network using a free VNC Client running on any other computer.\u00a0 So, I can access both the measurement system and weather system from my Mac and do anything I could do if I had a keyboard, mouse, and monitor hooked up to the Raspberry Pi.\u00a0 I can even access both machines from my iPad.\u00a0 It&#8217;s very convenient since the Raspberry Pi&#8217;s are so small and easy to tuck into hard to get to places.<\/p>\n<p>So, what do I need to do next&#8230; Well, here are some things that I need to do on the measurement machine before I connect it up to the sensor:<\/p>\n<ul>\n<li>Add an SFTP group and user.<\/li>\n<li>Secure the SFTP connection for that user so they can only access one file.<\/li>\n<li>Prepare the &#8220;real&#8221; measurement script for remote access.<\/li>\n<li>Make a temporary change to the measurement script so that it will output measurements without actually talking to the sensor.<\/li>\n<li>Test the remote connection.<\/li>\n<\/ul>\n<p>And, what I need to research:<\/p>\n<ul>\n<li>How to modify the database schema or how to use an existing schema parameter<\/li>\n<li>How to create a new weewx service that populates the database with snow measurement data<\/li>\n<li>How to create a new report with the snow measurement data.<\/li>\n<\/ul>\n<p>More later<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While I await some parts needed to connect the sensor to the measurement system (Raspberry Pi 3) I am going to spend most of the day today doing some research and planning for next steps. One thing I have not &hellip; <a class=\"more-link\" href=\"https:\/\/www.bigtreestech.com\/wp2013\/rest-and-research\/\">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-5839","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\/5839","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=5839"}],"version-history":[{"count":1,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/posts\/5839\/revisions"}],"predecessor-version":[{"id":5840,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/posts\/5839\/revisions\/5840"}],"wp:attachment":[{"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/media?parent=5839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/categories?post=5839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bigtreestech.com\/wp2013\/wp-json\/wp\/v2\/tags?post=5839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}