<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[In-Wall Touch-Sensor Double Switch and more...]]></title><description><![CDATA[<p dir="auto">Since first time I heard about MySensors project, I wanted to replace all switches in my house with Arduino-bases remote-controlled smart switches.<br />
After a few experiments and evolutions, I ended up in a fairly compact smart device which fits even in 1-gang in-wall box and has the following features:</p>
<ul>
<li><strong>Power-connected</strong>: device has 110V -&gt; 5V converter on board, so it source the power from the in-wall line (in-wall box need to have a common neutral wire)</li>
<li><strong>Has 2 touch sensors</strong> which control <strong>2 relays</strong>: so it can control 2 lines</li>
<li>More Arduino pins are available to connect more sensors (I played with IR motion sensor and going to try light sensors)</li>
<li>Through <strong>NRF24L01+ module</strong> it is connected to <strong>Raspberry Pi gateway</strong> (<a href="https://www.mysensors.org/build/raspberry" rel="nofollow ugc">https://www.mysensors.org/build/raspberry</a>) which runs OpenHABian clone of Raspbian (<a href="https://www.openhab.org/docs/installation/openhabian.html" rel="nofollow ugc">https://www.openhab.org/docs/installation/openhabian.html</a>), and MySensors are connected to OpenHAB via MQTT ( <a href="https://mosquitto.org/2013/01/mosquitto-debian-repository/" rel="nofollow ugc">https://mosquitto.org/2013/01/mosquitto-debian-repository/</a>) - so using myopenHAB account I can c<strong>ontrol my switches from my phone</strong> and using openHAB-to-GoogleAssistant integration - <strong>from Google Assistant</strong></li>
</ul>
<p dir="auto">Radio is connected to Arduino using jModule <a href="https://www.mysensors.org/hardware/jmodule" rel="nofollow ugc">https://www.mysensors.org/hardware/jmodule</a>, and the overall breakout was a inspired by HLK-PM01 breakout board by sundberg84 (<a href="https://www.openhardware.io/view/504/HLK-PM01-breakout-board#tabs-comments" rel="nofollow ugc">https://www.openhardware.io/view/504/HLK-PM01-breakout-board#tabs-comments</a>)</p>
<p dir="auto"><img src="/assets/uploads/files/1575003865092-20191128_152644-resized.jpg" alt="0_1575003861959_20191128_152644.jpg" class="img-markdown  img-fluid" /><br />
<img src="/assets/uploads/files/1575003881487-20191128_152704-resized.jpg" alt="0_1575003879574_20191128_152704.jpg" class="img-markdown  img-fluid" /><br />
<img src="/assets/uploads/files/1575003899924-20191128_152738-resized.jpg" alt="0_1575003898005_20191128_152738.jpg" class="img-markdown  img-fluid" /><br />
<img src="/assets/uploads/files/1575003918153-20191128_193608-resized.jpg" alt="0_1575003916262_20191128_193608.jpg" class="img-markdown  img-fluid" /><br />
<img src="/assets/uploads/files/1575003943097-20191128_195118-resized.jpg" alt="0_1575003940875_20191128_195118.jpg" class="img-markdown  img-fluid" /><br />
<img src="/assets/uploads/files/1575003965790-20191128_195118-resized.jpg" alt="0_1575003963451_20191128_195118.jpg" class="img-markdown  img-fluid" /></p>
<p dir="auto">The second wall plate insert is not used here, but I have places where I actually glued another couple of touch sensors which control other switches in the house through openHAB rules or added a motion sensor there.</p>
]]></description><link>https://forum.mysensors.org/topic/10800/in-wall-touch-sensor-double-switch-and-more</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 09:20:10 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/10800.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Nov 2019 05:08:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to In-Wall Touch-Sensor Double Switch and more... on Fri, 27 Dec 2019 20:51:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/trs-80" aria-label="Profile: trs-80">@<bdi>trs-80</bdi></a> touch sensors are those: <a href="https://www.aliexpress.com/item/32694092023.html" rel="nofollow ugc">https://www.aliexpress.com/item/32694092023.html</a><br />
It is sensitive enough to detect touch through the decorative plastic plate</p>
<p dir="auto">yes, I am planning to add it to openhardware, just need to dedicate time for that :)</p>
]]></description><link>https://forum.mysensors.org/post/102955</link><guid isPermaLink="true">https://forum.mysensors.org/post/102955</guid><dc:creator><![CDATA[ru64]]></dc:creator><pubDate>Fri, 27 Dec 2019 20:51:40 GMT</pubDate></item><item><title><![CDATA[Reply to In-Wall Touch-Sensor Double Switch and more... on Wed, 04 Dec 2019 19:47:28 GMT]]></title><description><![CDATA[<p dir="auto">Great work! And thanks for sharing!</p>
<p dir="auto">This is very much along the lines of what I would like to do. I also read sundberg84's HLK-PM01 thread many times, as well as many others.</p>
<p dir="auto">I am still doing my homework, which I have been doing for literally years already. However more recently, armed with some confidence gained by studying the work of much more knowledgeable people here in this wonderful community (like yourself) I started ordering some parts and experimenting finally. :)</p>
<p dir="auto">Could you say a little more about those physical switches? I guess they are just some sort of plain flat switches that engage the metal pads on the touch sensors? Does that work well?</p>
<p dir="auto">Is that a US wall box? It looks like it...</p>
<p dir="auto">It would be great if you could post this up on <a href="http://OpenHardware.io" rel="nofollow ugc">OpenHardware.io</a>, so that I (and I am sure others) could further study the design.</p>
<p dir="auto">Again, great work!</p>
]]></description><link>https://forum.mysensors.org/post/102667</link><guid isPermaLink="true">https://forum.mysensors.org/post/102667</guid><dc:creator><![CDATA[TRS-80]]></dc:creator><pubDate>Wed, 04 Dec 2019 19:47:28 GMT</pubDate></item></channel></rss>