{"id":8292,"date":"2013-02-08T17:31:56","date_gmt":"2013-02-08T22:31:56","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=8292"},"modified":"2013-11-15T11:58:26","modified_gmt":"2013-11-15T16:58:26","slug":"x10-for-raspberry-pi-on-the-cheap-north-american-edition","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2013\/02\/08\/x10-for-raspberry-pi-on-the-cheap-north-american-edition\/","title":{"rendered":"X10 for Raspberry Pi on the Cheap [North American Edition]"},"content":{"rendered":"<p>Now I&#8217;ve got my X10 system running and know its limitations, I could have saved a wheen of money not buying stuff I don&#8217;t need. Our house appears to have been wired by an, um, <em>spirited<\/em> amateur, so powerline signalling is of limited use. Thankfully, the tiny and cheap <a href=\"http:\/\/www.x10.com\/automation\/ck18a_s_ps32.html\">X10 FireCracker CM17A<\/a> (warning: too many flashing GIFs at this link!) can be driven from <a href=\"http:\/\/heyu.org\">heyu<\/a> [<a href=\"http:\/\/scruss.com\/blog\/2012\/12\/08\/x10-home-automation-with-raspberry-pi-heyu\/\">previously<\/a>]. You can <a href=\"http:\/\/www.ebay.ca\/sch\/i.html?_nkw=cm17a&amp;_sacat=0&amp;_odkw=x10+firecracker&amp;_osacat=0&amp;_from=R40\">score these on eBay for under $10<\/a>, and all you need is a serial adapter to drive them.<\/p>\n<p><a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2013\/02\/photo.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-8293\" alt=\"Leviton X10 controller - cheap!\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2013\/02\/photo-e1360361970731-240x320.jpg\" width=\"240\" height=\"320\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2013\/02\/photo-e1360361970731-240x320.jpg 240w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2013\/02\/photo-e1360361970731-120x160.jpg 120w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2013\/02\/photo-e1360361970731.jpg 480w\" sizes=\"auto, (max-width: 240px) 100vw, 240px\" \/><\/a>The really cheap bit in my system was discovered in <a href=\"http:\/\/www.activesurplus.ca\/en\/\">Active Surplus<\/a>. I found a case of Leviton &#8220;Plug-in Frequency Transceiver Modules&#8221; for $4\/each. One was out of its case, and wouldn&#8217;t you know it, it&#8217;s the same as a <a href=\"http:\/\/kbase.x10.com\/wiki\/RR501\">RR501<\/a> module, which typically retails for about $30. Sure, these are old stock and are a nasty beige colour, but they provide a way of switching a two-pin appliance. They can also relay remote commands from RF to wired controls.<\/p>\n<p>The only X10 controller I can&#8217;t get to work with the Raspberry Pi is the <a href=\"http:\/\/www.x10.com\/products\/x10_cm19a.htm\">CM19a USB PC Transceiver<\/a>. I suspect it draws a bit too much power to run from a Raspberry Pi, as it makes the machine unresponsive if it&#8217;s plugged it. Running from my bench setup it works fine with the <a href=\"http:\/\/sourceforge.net\/apps\/mediawiki\/mochad\/index.php?title=Main_Page\">mochad<\/a> driver, but no dice with the other machine. The CM19a reads wireless RF X10 commands, and it would be useful if I&#8217;d added a motion sensor. As is, I&#8217;ll stick to the lights going on and off.<\/p>\n<p>(<strong>Update<\/strong>: there&#8217;s a good chance that my CM19a problems are down to the ancient <a href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?f=44&amp;t=8010&amp;start=75#p181751\">dwc_otg*<\/a> fixes I still run on my Raspberry Pi&#8217;s kernel. You probably don&#8217;t need them, and this device could work fine. One day I will find time to fix &#8217;em \u00e2\u20ac\u00a6)<\/p>\n<p>(Incidentally, this is the &#8220;North American Edition&#8221; because X10 RF controls are completely different in Europe, and none of the above is useful to you. Yeah, I know this article is the equivalent of <strong>PC Load Letter<\/strong> to you; sorry.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now I&#8217;ve got my X10 system running and know its limitations, I could have saved a wheen of money not buying stuff I don&#8217;t need. Our house appears to have been wired by an, um, spirited amateur, so powerline signalling is of limited use. Thankfully, the tiny and cheap X10 FireCracker CM17A (warning: too many [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[7],"tags":[2581,2619,2600,2510,2601],"class_list":["post-8292","post","type-post","status-publish","format-standard","hentry","category-computers-suck","tag-active_surplus","tag-cm17a","tag-heyu","tag-raspberrypi","tag-x10"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-29K","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/8292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=8292"}],"version-history":[{"count":4,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/8292\/revisions"}],"predecessor-version":[{"id":10155,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/8292\/revisions\/10155"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=8292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=8292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=8292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}