{"id":1975,"date":"2018-10-01T21:04:31","date_gmt":"2018-10-01T20:04:31","guid":{"rendered":"https:\/\/www.thenaylors.co.uk\/wordpress\/?p=1975"},"modified":"2018-10-07T16:21:27","modified_gmt":"2018-10-07T15:21:27","slug":"1975-2","status":"publish","type":"post","link":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/","title":{"rendered":"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span style=\"text-decoration: underline;\"><strong>Introduction<\/strong><\/span><\/h2>\n\n\n\n<p>I decided to go and re-visit an old project. \u00a0Getting my Raspberry Pi to switch some old RF plugs. \u00a0I tried earlier this year or maybe last year and could never work it out.<\/p>\n\n\n\n<p>This was prompted by a random google to this site. \u00a0<a href=\"https:\/\/www.instructables.com\/id\/Control-RF-Outlets-With-Raspberry-Pi-3-433mHz-Rece\/\">https:\/\/www.instructables.com\/id\/Control-RF-Outlets-With-Raspberry-Pi-3-433mHz-Rece\/<\/a>\u00a0 and as I had all the &#8220;bits&#8221; I thought I would try again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"text-decoration: underline;\"><strong>Installing Hassbian on the Pi<\/strong><\/span><\/h2>\n\n\n\n<p>Things are never simple. \u00a0Firstly getting a version of Hassbian onto the memory card seems to be much harder than I expected. \u00a0The link in the article above was not to the latest version (Why would it be?) and looking further I found the install instructions here.\u00a0<a href=\"https:\/\/www.home-assistant.io\/docs\/installation\/hassbian\/installation\/\">https:\/\/www.home-assistant.io\/docs\/installation\/hassbian\/installation\/<\/a>. \u00a0Once I had booted the Pi it seems that Hassbian was not corrected loaded so I upgraded in installation using \u00a0&#8220;sudo hassbian-config upgrade hassbian&#8221;. \u00a0This took a while to run (30+ mins). Then followed instructions and added<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Samba<br\/>sudo apt-get update<br\/>sudo apt-get upgrade<br\/>sudo hassbian-config install samba<\/li><li>WiringPi<br\/>sudo git clone git:\/\/git.drogon.net\/wiringPi<br\/>cd wiring Pi<br\/>sudo .\/build<\/li><li>Check using<br\/>gpio -v<\/li><li>Install RFSniffer<br\/>sudo git clone git:\/\/github.com\/timleland\/rfoutlet.git \/var\/www\/rfoutlet<br\/>sudo chown root.root \/var\/www\/rfoutlet\/codesend<br\/>sudo chmod 4755 \/var\/www\/rfoutlet\/codesend<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"text-decoration: underline;\"><strong>Pi Hardware &#8211; Receiver and Transmitter<\/strong><\/span><\/h2>\n\n\n\n<p>Lets have a look at the hardware. I have a breakout board from the Pi which helps.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"4032\" height=\"3024\" src=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg\" alt=\"\" class=\"wp-image-1977\" srcset=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg 4032w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042-300x225.jpg 300w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042-768x576.jpg 768w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Breakout board showing a very rough experiment<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"4032\" height=\"3024\" src=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg\" alt=\"\" class=\"wp-image-1977\" srcset=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg 4032w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042-300x225.jpg 300w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042-768x576.jpg 768w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Shows the wiring a bit better<\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.home-assistant.io\/docs\/installation\/hassbian\/installation\/\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"4032\" height=\"3024\" src=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3043.jpg\" alt=\"\" class=\"wp-image-1976\" srcset=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3043.jpg 4032w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3043-300x225.jpg 300w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3043-768x576.jpg 768w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3043-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Transmitter<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"4032\" height=\"3024\" src=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3044.jpg\" alt=\"\" class=\"wp-image-1978\" srcset=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3044.jpg 4032w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3044-300x225.jpg 300w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3044-768x576.jpg 768w, https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3044-1024x768.jpg 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>Transmitter<\/figcaption><\/figure>\n\n\n\n<p>The hardware is wired like this<br\/>Receiver <br\/>&#8211; VCC &#8211; 5v (Black wire)<br\/>&#8211; GND &#8211; GND bottom left (white wire)<br\/>&#8211; DATA &#8211; P17 (grey wire)<\/p>\n\n\n\n<p>Transmitter<br\/>&#8211; VCC &#8211; 5v (Red wire)<br\/>&#8211; GND &#8211; GND middle (green wire)<br\/>&#8211; DATA &#8211; P21 (blue wire)<\/p>\n\n\n\n<p>Now all wired up and software running.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"text-decoration: underline;\"><strong>Nothing works&#8230;. yet&#8230;. the investigation<\/strong><\/span><\/h2>\n\n\n\n<p>Time to run RFSniffer<br\/>sudo \/var\/www\/rfoutlet\/RFSniffer<br\/>and as expected there is a blank screen. \u00a0However clicking the BBSB remote seems to detect nothing even though the switch is turning on and off.<br\/><\/p>\n\n\n\n<p>Well it seems I have not got what I want! \u00a0I wondered if the GPIO was receiving anything. \u00a0I found out I could install piscope and send the output to an X11 server. \u00a0<a href=\"http:\/\/abyz.me.uk\/rpi\/pigpio\/piscope.html\">http:\/\/abyz.me.uk\/rpi\/pigpio\/piscope.html<\/a>. \u00a0Some more installing of software Xming for the PC and pigpiod etc and I could then run piscope &amp;. \u00a0What I discovered was a Channel 21 was indeed receiving data but masses of noise so anything I might have been sending looked like it was lost in a sea and so RFSniffer was not getting anything different.<\/p>\n\n\n\n<p>Some more googling and went here\u00a0<a href=\"http:\/\/abyz.me.uk\/rpi\/pigpio\/examples.html#pdif2__433D\">http:\/\/abyz.me.uk\/rpi\/pigpio\/examples.html#pdif2__433D<\/a>. Downloaded the 433Mhz Keyfob RX\/TX software.<\/p>\n\n\n\n<p>Getting this running indicated that the receiver was indeed getting data but that the format of the data was not Manchester encoding which is what this software is meant to do. \u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"text-decoration: underline;\"><strong>Getting the Bye Bye Standbye switches working<\/strong><\/span><\/h2>\n\n\n\n<p>How do I find out what encoding does the BBSB use? \u00a0Google again! \u00a0It seems that BBSB is simple I found references to Home Easy Simple protocols. \u00a0I tried using Pilight but could not work out how to configure it easily so tried looking further. \u00a0Then found reference to KAKU OOK protocol. \u00a0I eventually landed up installing rfctl from here\u00a0<a href=\"https:\/\/github.com\/troglobit\/rfctl\">https:\/\/github.com\/troglobit\/rfctl<\/a>. \u00a0The instructions are not for a newbie like me the command\u00a0<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install raspberry-kernel-headers<br\/><\/pre>\n\n\n\n<p>was OK but then when I looked in \/lib\/modules there seems to be 2 directories. \u00a0Which one? \u00a0I eventually used 14.14.70+ and not 14.14.70-v7+. \u00a0Took me a while to work out that I needed to do the following<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/lib\/modules\/14.14.70+<br\/>sudo git clone https:\/\/github.com\/troglobit\/rfctl.git<br\/><\/pre>\n\n\n\n<p>but once past that simple bit the instructions are clear (but I needed to run as sudo)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd rfctl\/kernel<br\/>sudo make<br\/>sudo make install<br\/><br\/>cd rfctl\/src<br\/>sudo make<br\/>cd make install<\/pre>\n\n\n\n<p>I have my BBSB set to A3 so trying the following worked a treat<br\/><br\/>this turns on<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">rfctl -p NEXA -g A -c 3 -l 1<\/pre>\n\n\n\n<p>and this turns off<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">rfctl -p NEXA -g A -c 3 -l 0<br\/><\/pre>\n\n\n\n<p>Now how to integrate this into Home Assistant.<\/p>\n\n\n\n<p>When I Googled the remote model number\u00a0WST-8500 and found the receiver model numbers are\u00a0YCR-300,YCR-3500,WSR-1000,LCMR-1000,LCMR-300. \u00a0Not sure if this is going to help in the future or not.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"text-decoration: underline;\"><strong>Integrating into a single command<\/strong><\/span><\/h2>\n\n\n\n<p>The next step is to be able to run this command remotely from the main Home Assistant server as I will not be using the HA on the Pi and will stop Hass from running at boot time.<\/p>\n\n\n\n<p>So for passwordless ssh from the HA server to the Pi I created some ssh keys using command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh-keygen<\/pre>\n\n\n\n<p>on the HA server while logged in as the homeassistant user. (it turns out that HA is running under root user and so the .ssh keys from root could make this work but instead made HA server run under the homeasssistant user).<\/p>\n\n\n\n<p>Next step create a new user on the Pi, gave the user sudo privileges (sudo user mod -aG sudo &lt;username> and copied the keys to the Pi new user<br\/><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cat ~\/.ssh\/id_rsa.pub | ssh &lt;USERNAME>@&lt;IP-ADDRESS> 'mkdir -p ~\/.ssh &amp;&amp; cat >> ~\/.ssh\/authorized_keys'<\/pre>\n\n\n\n<p>next added an entry to the etc\/sudoers.d directory for the new user giving access to \/usr\/local\/bin\/rfctl, dev\/rfctl, and \/home\/&lt;new user>.<\/p>\n\n\n\n<p>Following this I created a simple shell script to allow running of the command for the switches in position A3 and A4 (I have only 2). The script is given execution privileges <br\/>chmod a+x onff4.sh so it can be run using<br\/><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.\/onoff4.sh<\/pre>\n\n\n\n<p>I can now run the script from the HA command line logged in a the home assistant user like this<br\/><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh -t &lt;newuser>@&lt;piaddress> .\/onoff4.sh<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction I decided to go and re-visit an old project. \u00a0Getting my Raspberry Pi to switch some old RF plugs. \u00a0I tried earlier this year or maybe last year and could never work it out. This was prompted by a random google to this site. \u00a0https:\/\/www.instructables.com\/id\/Control-RF-Outlets-With-Raspberry-Pi-3-433mHz-Rece\/\u00a0 and as I had all the &#8220;bits&#8221; I thought &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[169,2,170],"tags":[],"class_list":["post-1975","post","type-post","status-publish","format-standard","hentry","category-home-assistant","category-linux-nas","category-raspberry-pi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch - Michael Naylor<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch - Michael Naylor\" \/>\n<meta property=\"og:description\" content=\"Introduction I decided to go and re-visit an old project. \u00a0Getting my Raspberry Pi to switch some old RF plugs. \u00a0I tried earlier this year or maybe last year and could never work it out. This was prompted by a random google to this site. \u00a0https:\/\/www.instructables.com\/id\/Control-RF-Outlets-With-Raspberry-Pi-3-433mHz-Rece\/\u00a0 and as I had all the &#8220;bits&#8221; I thought &hellip; Continue reading &quot;Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Michael Naylor\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-01T20:04:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-07T15:21:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mjnaylor\" \/>\n<meta name=\"twitter:site\" content=\"@mjnaylor\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/af4669b3ebc6341a4c069ea3381181ad\"},\"headline\":\"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch\",\"datePublished\":\"2018-10-01T20:04:31+00:00\",\"dateModified\":\"2018-10-07T15:21:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/\"},\"wordCount\":924,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\"},\"image\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg\",\"articleSection\":[\"home assistant\",\"Linux NAS\",\"Raspberry Pi\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/\",\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/\",\"name\":\"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch - Michael Naylor\",\"isPartOf\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg\",\"datePublished\":\"2018-10-01T20:04:31+00:00\",\"dateModified\":\"2018-10-07T15:21:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#primaryimage\",\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg\",\"contentUrl\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg\",\"width\":4032,\"height\":3024,\"caption\":\"Shows the wiring a bit better\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#website\",\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/\",\"name\":\"Michael Naylor\",\"description\":\"Things which interest me.\",\"publisher\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5\",\"name\":\"Michael Naylor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g\",\"caption\":\"Michael Naylor\"},\"logo\":{\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.thenaylors.co.uk\/wordpress\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/af4669b3ebc6341a4c069ea3381181ad\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/71e280edd2a51a46cd545022235cdf48?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/71e280edd2a51a46cd545022235cdf48?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.thenaylors.co.uk\/wordpress\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch - Michael Naylor","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/","og_locale":"en_GB","og_type":"article","og_title":"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch - Michael Naylor","og_description":"Introduction I decided to go and re-visit an old project. \u00a0Getting my Raspberry Pi to switch some old RF plugs. \u00a0I tried earlier this year or maybe last year and could never work it out. This was prompted by a random google to this site. \u00a0https:\/\/www.instructables.com\/id\/Control-RF-Outlets-With-Raspberry-Pi-3-433mHz-Rece\/\u00a0 and as I had all the &#8220;bits&#8221; I thought &hellip; Continue reading \"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch\"","og_url":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/","og_site_name":"Michael Naylor","article_published_time":"2018-10-01T20:04:31+00:00","article_modified_time":"2018-10-07T15:21:27+00:00","og_image":[{"url":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@mjnaylor","twitter_site":"@mjnaylor","twitter_misc":{"Written by":"admin","Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#article","isPartOf":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/"},"author":{"name":"admin","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/af4669b3ebc6341a4c069ea3381181ad"},"headline":"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch","datePublished":"2018-10-01T20:04:31+00:00","dateModified":"2018-10-07T15:21:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/"},"wordCount":924,"commentCount":0,"publisher":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5"},"image":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg","articleSection":["home assistant","Linux NAS","Raspberry Pi"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/","url":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/","name":"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch - Michael Naylor","isPartOf":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#primaryimage"},"image":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg","datePublished":"2018-10-01T20:04:31+00:00","dateModified":"2018-10-07T15:21:27+00:00","breadcrumb":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#primaryimage","url":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg","contentUrl":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-content\/uploads\/2018\/10\/IMG_3042.jpg","width":4032,"height":3024,"caption":"Shows the wiring a bit better"},{"@type":"BreadcrumbList","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/1975-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.thenaylors.co.uk\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Getting a Raspberry Pi to operate an old Bye Bye Standby (BBSB) RF 433 switch"}]},{"@type":"WebSite","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#website","url":"https:\/\/www.thenaylors.co.uk\/wordpress\/","name":"Michael Naylor","description":"Things which interest me.","publisher":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.thenaylors.co.uk\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/22e1ad271f44b7f71c8e1fbf982dcbe5","name":"Michael Naylor","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2aa27338833977999b7baeb1ee9e723e?s=96&d=mm&r=g","caption":"Michael Naylor"},"logo":{"@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.thenaylors.co.uk\/wordpress"]},{"@type":"Person","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/af4669b3ebc6341a4c069ea3381181ad","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.thenaylors.co.uk\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/71e280edd2a51a46cd545022235cdf48?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/71e280edd2a51a46cd545022235cdf48?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.thenaylors.co.uk\/wordpress\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/1975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/comments?post=1975"}],"version-history":[{"count":5,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/1975\/revisions"}],"predecessor-version":[{"id":1996,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/1975\/revisions\/1996"}],"wp:attachment":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/media?parent=1975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/categories?post=1975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/tags?post=1975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}