{"id":468,"date":"2017-06-05T21:53:49","date_gmt":"2017-06-05T21:53:49","guid":{"rendered":"https:\/\/test.warrensoft.co.uk\/wp-test\/home-hub\/?p=468"},"modified":"2018-12-08T07:32:17","modified_gmt":"2018-12-08T07:32:17","slug":"time-based-conditions","status":"publish","type":"post","link":"https:\/\/test.warrensoft.co.uk\/wp-test\/2017\/06\/05\/time-based-conditions\/","title":{"rendered":"Time-Based Conditions"},"content":{"rendered":"<p>One of the design goals for the home-hub was for it to replace the traditional central heating programmer. I have never found these easy to work with, often tucked away in awkward locations, and had the picture in my mind of reclining on the sofa -tablet in hand &#8211; adjusting the programs. I will describe the process of interfacing the hub with a central heating programmer in a later post.<\/p>\n<p>As significant effort had been put into the processing of conditions, rules and actions, I concluded this could be re-purposed for time-based conditions. \u00a0If you add a new Time-based condition you will see the following:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-470\" src=\"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/06\/TimeBasedCondition-255x300.png\" alt=\"\" width=\"255\" height=\"300\" srcset=\"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/06\/TimeBasedCondition-255x300.png 255w, https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/06\/TimeBasedCondition.png 472w\" sizes=\"auto, (max-width: 255px) 100vw, 255px\" \/><\/p>\n<p>You can choose from Daily, Weekdays or Weekend programmes. All that is required is to connect this Condition up to an Actuator Action via a Rule and you can switch devices on schedule.<\/p>\n<p>The next post will introduce the concept of impulses.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the design goals for the home-hub was for it to replace the traditional central heating programmer. I have never found these easy to work with, often tucked away in awkward locations, and had the picture in my mind of reclining on the sofa -tablet in hand &#8211; adjusting the programs. I will describe &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/test.warrensoft.co.uk\/wp-test\/2017\/06\/05\/time-based-conditions\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Time-Based Conditions&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-468","post","type-post","status-publish","format-standard","hentry","category-hub-software-website"],"_links":{"self":[{"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts\/468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/comments?post=468"}],"version-history":[{"count":3,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts\/468\/revisions"}],"predecessor-version":[{"id":476,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts\/468\/revisions\/476"}],"wp:attachment":[{"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/media?parent=468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/categories?post=468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/tags?post=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}