{"id":90,"date":"2017-05-03T21:19:18","date_gmt":"2017-05-03T21:19:18","guid":{"rendered":"http:\/\/www.cribbstechnologies.com\/?page_id=90"},"modified":"2017-05-03T21:36:33","modified_gmt":"2017-05-03T21:36:33","slug":"horizontal-blinds-configuration","status":"publish","type":"page","link":"https:\/\/www.cribbstechnologies.com\/index.php\/home-automation\/horizontal-plantation-blind-automation\/horizontal-blinds-configuration\/","title":{"rendered":"Horizontal Blinds &#8211; Configuration"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; fullwidth=&#8221;on&#8221; admin_label=&#8221;Section&#8221;][et_pb_fullwidth_header title=&#8221;Horizontal Blinds Automation&#8221; background_layout=&#8221;dark&#8221; background_url=&#8221;http:\/\/www.cribbstechnologies.com\/wp-content\/uploads\/2017\/05\/IMG_20170503_172720.jpg&#8221; admin_label=&#8221;Fullwidth Header&#8221;][\/et_pb_fullwidth_header][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221;][et_pb_row admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;3_4&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221;][et_pb_text admin_label=&#8221;Text&#8221;]<\/p>\n<h1>Configuration<\/h1>\n<p>Now all we have to do is configure Home Assistant to learn about our new hardware so it can control it. We&#8217;ll be using the MQTT Cover <a href=\"https:\/\/home-assistant.io\/components\/cover.mqtt\/\">component<\/a>. I had to modify the code for this component and it&#8217;s waiting to be included in the next release<\/p>\n<pre lang=\"yaml\">cover:\n  - platform: mqtt\n    name: \"Living Room 0\"\n    command_topic: \"livingRoom0\/onOff\"\n    tilt_command_topic: \"livingRoom0\/tilt\"\n    tilt_status_topic: \"livingRoom0\/status\"\n    tilt_closed_value: 180\n    tilt_opened_value: 80\n    device_class: 'window'\n    tilt_max: 180\n    tilt_min: 80\n    tilt_invert_state: True\n<\/pre>\n<p>After restarting Home Assistant you should see the cover component and if you click on it you&#8217;ll see the tilt controls<\/p>\n<p>[\/et_pb_text][et_pb_video src=&#8221;https:\/\/www.youtube.com\/watch?v=L485VmphXIs&#8221; admin_label=&#8221;Video&#8221;][\/et_pb_video][\/et_pb_column][et_pb_column type=&#8221;1_4&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221;][et_pb_code admin_label=&#8221;Code&#8221;]<div id='&quot;horizontalBlinds&quot;' class='widgets_on_page wop_tiny1  wop_small1  wop_medium1  wop_large1  wop_wide1'>\n\t\t\t<ul><li id=\"nav_menu-4\" class=\"widget widget_nav_menu\"><div class=\"menu-horizontal-blind-menu-container\"><ul id=\"menu-horizontal-blind-menu\" class=\"menu\"><li id=\"menu-item-56\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-56\"><a href=\"https:\/\/www.cribbstechnologies.com\/index.php\/home-automation\/horizontal-plantation-blind-automation\/\">Overview<\/a><\/li>\n<li id=\"menu-item-80\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-80\"><a href=\"https:\/\/www.cribbstechnologies.com\/index.php\/home-automation\/horizontal-plantation-blind-automation\/horizontal-blinds-hardware\/\">Hardware<\/a><\/li>\n<li id=\"menu-item-94\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-94\"><a href=\"https:\/\/www.cribbstechnologies.com\/index.php\/home-automation\/horizontal-plantation-blind-automation\/horizontal-blinds-configuration\/\">Configuration<\/a><\/li>\n<\/ul><\/div><\/li><\/ul><\/div><!-- widgets_on_page -->[\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; fullwidth=&#8221;on&#8221; admin_label=&#8221;Section&#8221;][et_pb_fullwidth_header title=&#8221;Horizontal Blinds Automation&#8221; background_layout=&#8221;dark&#8221; background_url=&#8221;http:\/\/www.cribbstechnologies.com\/wp-content\/uploads\/2017\/05\/IMG_20170503_172720.jpg&#8221; admin_label=&#8221;Fullwidth Header&#8221;][\/et_pb_fullwidth_header][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221;][et_pb_row admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;3_4&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221;][et_pb_text admin_label=&#8221;Text&#8221;] Configuration Now all we have to do is configure Home Assistant to learn about our new hardware so it can control it. We&#8217;ll be using the MQTT Cover component. I had to modify the code for this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":42,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-90","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/comments?post=90"}],"version-history":[{"count":6,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/90\/revisions"}],"predecessor-version":[{"id":264,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/90\/revisions\/264"}],"up":[{"embeddable":true,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/42"}],"wp:attachment":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/media?parent=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}