{"id":5181,"date":"2023-07-24T20:00:00","date_gmt":"2023-07-24T19:00:00","guid":{"rendered":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/?p=5181"},"modified":"2023-07-24T20:56:44","modified_gmt":"2023-07-24T19:56:44","slug":"somfy-vertical-blind-automated-control-with-openhab","status":"publish","type":"post","link":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/?p=5181","title":{"rendered":"Somfy Vertical Blind Automated Control with openHAB"},"content":{"rendered":"\n<p>The vast majority of the window blinds are roller blinds with mains motors wired back to MDT blind and shutter actuators using 4-core cables (Live for Up; Live for Down; Neutral; Earth).<\/p>\n\n\n\n<p>The exception is the blind for the large West-facing window in the office, which is trapezoidal (with a sloping top) so the only practical option is a Vertical blind with slats of different lengths.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/IMG_1118-768x1024.jpeg\" alt=\"Large window in second floor office\" class=\"wp-image-5183\" srcset=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/IMG_1118-768x1024.jpeg 768w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/IMG_1118-225x300.jpeg 225w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/IMG_1118-1152x1536.jpeg 1152w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/IMG_1118-1536x2048.jpeg 1536w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/IMG_1118-scaled.jpeg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\">Large West-facing window in second-floor office, with Vertical Blind in &#8216;Slats Open&#8217; mode<\/figcaption><\/figure>\n\n\n\n<p>Good hard-wired control options for this sort of blind proved elusive so it&#8217;s got a permanent live mains feed and uses the Somfy RTS system for control. Manual control works very well using the battery powered Somfy Telis 1 Mod\/`Var RTS Pure remote control handset, which provides options for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>&#8216;Up&#8217; (fully open, with the slats retracted) using the ^ button<\/li>\n\n\n\n<li>&#8216;Down&#8217; (fully closed, with the slats closed) <\/li>\n\n\n\n<li>&#8216;my&#8217; (which has been configured to the &#8216;slats across the window but open&#8217; configuration &#8211; as shown in the photo above)<\/li>\n\n\n\n<li>Fine adjustment of the angle of the slats using the black &#8216;scroll wheel&#8217;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/eef5fe17-5d7a-4c9b-9db3-d636a9d643fe_1810974Variation1Pure.jpg.webp\" alt=\"\" class=\"wp-image-5184\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/eef5fe17-5d7a-4c9b-9db3-d636a9d643fe_1810974Variation1Pure.jpg.webp 420w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/eef5fe17-5d7a-4c9b-9db3-d636a9d643fe_1810974Variation1Pure.jpg-300x300.webp 300w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/eef5fe17-5d7a-4c9b-9db3-d636a9d643fe_1810974Variation1Pure.jpg-150x150.webp 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption class=\"wp-element-caption\">Somfy Telis 1 Mod\/Var RTS Pure remote control handset<\/figcaption><\/figure>\n\n\n\n<p>So manual control is all good; the challenge is automated control from openHAB or a similar home automation control hub.<\/p>\n\n\n\n<p>What&#8217;s been working well for years is integration via an RFXcom <a rel=\"noreferrer noopener\" href=\"http:\/\/www.rfxcom.com\/RFXtrx433E-USB-43392MHz-Transceiver\/en\" target=\"_blank\">RFXtrx433E-USB-43392MHz-Transceiver<\/a> which is managed via the <a rel=\"noreferrer noopener\" href=\"https:\/\/www.openhab.org\/addons\/bindings\/rfxcom\/\" target=\"_blank\">openHAB RFXCOM binding<\/a> &#8211; with just a slight niggle that Open means &#8216;all the way open, with the slats retracted&#8217; and Closed means &#8216;all the way closed&#8217;. The ideal would be having some way to automate moving to and from the &#8220;my&#8221; position &#8211; so that the slats always remain across the window and only the angle of the slats changes. On the rare occasion of needing the slats retracted to the &#8216;parking&#8217; position on the left of the window, that can be done with the manual control.<\/p>\n\n\n\n<p>I had been thinking it would necessary to configure a Dimmer-type controller rather than a Switch-type controller, which I&#8217;d tried a few times but never got to work. Then I spotted this post on the openHAB forum which explains that the RTS handset uses a custom protocol for the scroll-wheel interaction and using the standard protocol via the RFXcom transceiver there&#8217;s no way to say things like &#8216;close the blinds to 50%:<\/p>\n\n\n\n<p><a href=\"https:\/\/community.openhab.org\/t\/venetian-blinds-with-somfy-lift-tilt-25-only-no-tilt\/43672\/2\">https:\/\/community.openhab.org\/t\/venetian-blinds-with-somfy-lift-tilt-25-only-no-tilt\/43672\/2<\/a><\/p>\n\n\n\n<p>However, that same forum post highlights it <strong>is<\/strong> possible to say &#8216;go to the &#8220;my&#8221; position&#8217; by having openHAB send the STOP command rather than the UP or DOWN commands.<\/p>\n\n\n\n<p>In the end it was simply a question of changing &#8220;UP&#8221; to &#8220;STOP&#8221; in the rule that opens the Home Office blinds at sunrise (the roller blinds (_01 and _02) still need the &#8220;UP&#8221; but the vertical blind (_03) gets a &#8220;STOP&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"385\" src=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/Screenshot-2023-07-24-at-20.47.07-1024x385.png\" alt=\"\" class=\"wp-image-5187\" srcset=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/Screenshot-2023-07-24-at-20.47.07-1024x385.png 1024w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/Screenshot-2023-07-24-at-20.47.07-300x113.png 300w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/Screenshot-2023-07-24-at-20.47.07-768x289.png 768w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/Screenshot-2023-07-24-at-20.47.07-500x188.png 500w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2023\/07\/Screenshot-2023-07-24-at-20.47.07.png 1112w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Screenshot of the openHAB rule editor for the Home Office blind automation<\/figcaption><\/figure>\n\n\n\n<p>(The check for ShadlingLogic &lt;&gt; 2 is so the blinds stay closed when the Shading is set to &#8220;Maximum&#8221;, where the blinds stay closed all day.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The vast majority of the window blinds are roller blinds with mains motors wired back to MDT blind and shutter actuators using 4-core cables (Live for Up; Live for Down; Neutral; Earth). The exception is the blind for the large &hellip; <a href=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/?p=5181\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-5181","post","type-post","status-publish","format-standard","hentry","category-home-automation"],"_links":{"self":[{"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/5181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5181"}],"version-history":[{"count":5,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/5181\/revisions"}],"predecessor-version":[{"id":5189,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/5181\/revisions\/5189"}],"wp:attachment":[{"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}