{"id":2475,"date":"2016-05-30T18:00:00","date_gmt":"2016-05-30T17:00:00","guid":{"rendered":"http:\/\/www.marshflattsfarm.org.uk\/wordpress\/?p=2475"},"modified":"2016-05-30T23:36:54","modified_gmt":"2016-05-30T22:36:54","slug":"week-33-day-1","status":"publish","type":"post","link":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/?p=2475","title":{"rendered":"Week 33, Day 1"},"content":{"rendered":"<p>Week 33, Day 1:<\/p>\n<ul>\n<li>Bank Holiday Monday so no proper work on site today, just me tidying up a few bits and pieces &#8211; like running the cables for the ceiling speakers in the open plan area<\/li>\n<li>I also got my KNX and DALI test-bed up and running quite nicely &#8211; more info below the photo<\/li>\n<\/ul>\n<div id=\"attachment_2476\" style=\"width: 1290px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.marshflattsfarm.org.uk\/wordpress\/?attachment_id=2476\" rel=\"attachment wp-att-2476\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2476\" class=\"size-full wp-image-2476\" src=\"http:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2016\/05\/20160530T1500Z.jpg\" alt=\"Week 33, Day 1\" width=\"1280\" height=\"720\" srcset=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2016\/05\/20160530T1500Z.jpg 1280w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2016\/05\/20160530T1500Z-300x169.jpg 300w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2016\/05\/20160530T1500Z-768x432.jpg 768w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2016\/05\/20160530T1500Z-1024x576.jpg 1024w, https:\/\/www.marshflattsfarm.org.uk\/wordpress\/wp-content\/uploads\/2016\/05\/20160530T1500Z-500x281.jpg 500w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><p id=\"caption-attachment-2476\" class=\"wp-caption-text\">Week 33, Day 1<\/p><\/div>\n<p>I should probably write a <a href=\"http:\/\/www.marshflattsfarm.org.uk\/wordpress\/?page_id=701\">Technical Article<\/a> about the Home Automation solution sometime but for now these and the other similar notes will have to suffice. In summary, I&#8217;m using <a href=\"https:\/\/en.wikipedia.org\/wiki\/KNX_%28standard%29\" target=\"_blank\">KNX<\/a> as the high-level control protocol but this hands off to <a href=\"https:\/\/en.wikipedia.org\/wiki\/Digital_Addressable_Lighting_Interface\" target=\"_blank\">DALI<\/a> for (most of) the lighting &#8211; on the basis that there&#8217;s much more choice of LED dimmers that support DALI than KNX, and they tend to be cheaper.<\/p>\n<p>The original plan was to use DALI relays for the non-dimmable lights (e.g. some internal wall lights and the outdoor floodlights) but there actually seems to be less choice of DALI relays than KNX relays and a single 16-way KNX relay will switch all the lights and is much cheaper than multiple DALI relays. There are also some trade-offs with respect to the limits that apply to each protocol:<\/p>\n<ul>\n<li>DALI has a fixed limit of 64 <em>addresses<\/em> per DALI bus, and I was going to exceed that with all of the non-dimmable lights grabbing their own DALI address<\/li>\n<li>KNX has a limit of 20 <em>devices<\/em> (using the ETS Lite license) but a 16-way relay counts as a single &#8220;device&#8221; so is relative low-impact in terms of the KNX device limit<\/li>\n<\/ul>\n<p>Since I&#8217;m no expert in either KNX or DALI I wanted to bench-test the main components before hiding away all the first-fix wiring. That testing has gone well and I&#8217;m now happy I understand enough about these systems to proceed.<\/p>\n<p>I also had good results testing <a href=\"http:\/\/www.openhab.org\/\" target=\"_blank\">openHAB<\/a> which is currently my preferred solution for extending the control options to include web browsers, tablets and smart phones. In particular, the <a href=\"https:\/\/github.com\/openhab\/openhab\/wiki\/KNX-Binding\" target=\"_blank\">openHAB KNX &#8220;binding&#8221;<\/a> is working very well so I can use that to control all the KNX devices (including the lights, via the KNX-to-DALI interface) from a smart phone or tablet as well as from the fixed switches in the house. I find it particularly pleasing that when you use one of the fixed switches the smart phone app updates the status immediately, showing that e.g. a light has been turned on or off. (The fixed switches will be momentary-action so they return to the &#8220;off&#8221; position, likely to be these <a href=\"https:\/\/www.mkelectric.com\/en-my\/Products\/WD\/white\/logicplus\/plateswitches\/20amp\/Pages\/K4878PWHI.aspx\" target=\"_blank\">MK Logic ones marked &#8220;press&#8221;<\/a>. They will be configured to work in a &#8220;toggle&#8221; mode &#8211; press once to turn on, press again to turn off.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Week 33, Day 1: Bank Holiday Monday so no proper work on site today, just me tidying up a few bits and pieces &#8211; like running the cables for the ceiling speakers in the open plan area I also got &hellip; <a href=\"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/?p=2475\">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-2475","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\/2475","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=2475"}],"version-history":[{"count":4,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2475\/revisions"}],"predecessor-version":[{"id":2499,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2475\/revisions\/2499"}],"wp:attachment":[{"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marshflattsfarm.org.uk\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}