{"id":503,"date":"2019-07-29T12:00:09","date_gmt":"2019-07-29T19:00:09","guid":{"rendered":"http:\/\/letsbuildroboticswithshadow8472.com\/?p=503"},"modified":"2019-07-29T03:08:20","modified_gmt":"2019-07-29T10:08:20","slug":"programming-a-pi-to-deter-cats-part-9-1","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2019\/07\/29\/programming-a-pi-to-deter-cats-part-9-1\/","title":{"rendered":"Programming a Pi to Deter Cats: Part 9.1"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am starting a small side adventure with my Pac-Man ghost inspired Raspberry Pi project. Let&#8217;s get started!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This week, I took a break from programming. For weeks now, I&#8217;ve had to share an HDMI  monitor between my desktop and my Pi, which I&#8217;ve named Blinkie. In past weeks, I&#8217;ve setup a VNC server so I can remote in and take control of Blinkie from my desktop with a VNC client, but I have a few edges to smooth out.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Firstly, the system seems to get its resolution from an attached HDMI display. If I boot it up headless (no monitor attached) then Raspian will boot the GUI into a low-resolution mode, presumably to save on CPU time. If I later connect a monitor later, it doesn&#8217;t auto-adjust, and I end up rebooting. I&#8217;ve taken to going behind my monitor and switch the HDMI inputs, and they can be difficult to get on the first try.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Secondly, when I&#8217;m no longer working on Blinky, I will have two jobs for it. Guard the kitchen, and stream the Church service on Saturday morning. This will imply both headless and headed operation. I can easily optimize for one or the other, but getting it just right will be tricky.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The bulk of my work this week went into turning Blinky from a more tiny Desktop into more of an actual security camera arrangement. I taught myself about SSH, the most fundamental skill I&#8217;ll need for operating it at a distance. SSH feels similar to VNC, but only for the command line in that it has a server and a client. Since I&#8217;m starting with optimizing for the security camera configuration, I found a way to boot to CLI, the command line only, and a way to enable a virtual desktop in memory from that command line. I ran into a little surprise.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first problem I found was a quick fix. Instead of the traditional pointer I&#8217;m used to, it favored a black X. LINK to the forum thread I used. Another issue was the unexpected evolution of the aspect ratio. I ended up just moving the whole VNC window over to my other monitor, since it about fit and I don&#8217;t particularly relish the black boarder around the desktop. I can rework my workflow on Blinkie to accommodate the narrower work area.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I still have some bits to figure out. The mouse buttons are still double swapping. If I&#8217;m going to be going between headless and desktop modes, I want to have a consistent, swapped button experience. The worst case scenario right now is where I run a bash or other kind of script and program it to change the setting based on if there&#8217;s a monitor connected on startup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I also need to find an easier SSH client for Windows or else find a way to zoom in on the text. Also against the default Windows SSH client is the fact I cannot just paste a long, super secure password into Command Prompt for logging in. In addition, I may be interested in looking into an Android SSH client for both now and future projects.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I need to find an easier SSH client for Windows or else find a way to zoom in on the text. Also against the default Windows SSH client is the fact I cannot just paste a long, super secure password into Command Prompt for logging in. In addition, I may be interested in looking into an Android SSH client for both now and future projects.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Final Question: Have you ever used SSH on an Android device before? Do you recommend any in particular?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am starting a small side adventure with my Pac-Man ghost inspired Raspberry Pi project. Let&#8217;s get started! This week, I took a break from programming. For weeks now, I&#8217;ve had to share an HDMI monitor between my desktop and my Pi, which I&#8217;ve &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2019\/07\/29\/programming-a-pi-to-deter-cats-part-9-1\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Programming a Pi to Deter Cats: Part 9.1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":504,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/503\/revisions\/504"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}