{"id":329,"date":"2017-05-25T19:25:10","date_gmt":"2017-05-25T19:25:10","guid":{"rendered":"https:\/\/test.warrensoft.co.uk\/wp-test\/home-hub\/?p=329"},"modified":"2018-12-08T07:32:18","modified_gmt":"2018-12-08T07:32:18","slug":"website-current-values","status":"publish","type":"post","link":"https:\/\/test.warrensoft.co.uk\/wp-test\/2017\/05\/25\/website-current-values\/","title":{"rendered":"Website &#8211; Current Values"},"content":{"rendered":"<p>The statistics are very useful when configuring sensors and setting up your hub, but for daily use we need a more contextual presentation of temperature readings, etc.<\/p>\n<p>Use the following command to fetch the necessary website files:<\/p>\n<pre>wget -r -nH --cut-dirs=4 --reject \"index.html*\" -P \/var\/www\/html\/ -i \/var\/www\/html\/manifest3.txt http:\/\/www.warrensoft.co.uk\/home-hub\/manifests\/website\/manifest3.txt<\/pre>\n<p>Now you can refresh the website in your browser and choose the Current Values option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-330\" src=\"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/WebsiteCurrentValues-300x98.png\" alt=\"\" width=\"300\" height=\"98\" srcset=\"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/WebsiteCurrentValues-300x98.png 300w, https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/WebsiteCurrentValues.png 690w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>All Sensors, Actuators and Impulses are assigned to a zone, and will be displayed within that zonal box in this floor plan representation. You will want to make your display mimic the layout of your house, as far as possible.<\/p>\n<p>To achieve this each zone has X, Y and Z co-ordinates, with Z representing the floor number. In addition, each zone has Rowspan and Colspan values which enable the size of the zone to be adjusted relative to neighbouring zones. Anyone familiar with html table construction will quickly be able to model the rooms of their house (which is how the plan is drawn!). If not, then a drawing on squared paper will help. Here is an example:<\/p>\n\n<table id=\"tablepress-2\" class=\"tablepress tablepress-id-2\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">Zone Name<\/th><th class=\"column-2\">X<\/th><th class=\"column-3\">Y<\/th><th class=\"column-4\">Z<\/th><th class=\"column-5\">Rowspan<\/th><th class=\"column-6\">Colspan<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">Kitchen<\/td><td class=\"column-2\">1<\/td><td class=\"column-3\">1<\/td><td class=\"column-4\">1<\/td><td class=\"column-5\">1<\/td><td class=\"column-6\">1<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">Bathroom<\/td><td class=\"column-2\">1<\/td><td class=\"column-3\">2<\/td><td class=\"column-4\">1<\/td><td class=\"column-5\">1<\/td><td class=\"column-6\">1<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Lounge<\/td><td class=\"column-2\">2<\/td><td class=\"column-3\">1<\/td><td class=\"column-4\">1<\/td><td class=\"column-5\">2<\/td><td class=\"column-6\">1<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">Bedroom<\/td><td class=\"column-2\">2<\/td><td class=\"column-3\">2<\/td><td class=\"column-4\">1<\/td><td class=\"column-5\">1<\/td><td class=\"column-6\">1<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">Study<\/td><td class=\"column-2\">3<\/td><td class=\"column-3\">2<\/td><td class=\"column-4\">1<\/td><td class=\"column-5\">1<\/td><td class=\"column-6\">1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-2 from cache -->\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-341\" src=\"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/ExampleFloorPlan-300x174.png\" alt=\"\" width=\"300\" height=\"174\" srcset=\"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/ExampleFloorPlan-300x174.png 300w, https:\/\/test.warrensoft.co.uk\/wp-test\/wp-content\/uploads\/2017\/05\/ExampleFloorPlan.png 361w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>In the next post we will enable sampling, and see our sensor values displayed on a graph.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The statistics are very useful when configuring sensors and setting up your hub, but for daily use we need a more contextual presentation of temperature readings, etc. Use the following command to fetch the necessary website files: wget -r -nH &#8211;cut-dirs=4 &#8211;reject &#8220;index.html*&#8221; -P \/var\/www\/html\/ -i \/var\/www\/html\/manifest3.txt http:\/\/www.warrensoft.co.uk\/home-hub\/manifests\/website\/manifest3.txt Now you can refresh the website in &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/test.warrensoft.co.uk\/wp-test\/2017\/05\/25\/website-current-values\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Website &#8211; Current Values&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-329","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\/329","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=329"}],"version-history":[{"count":12,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts\/329\/revisions"}],"predecessor-version":[{"id":500,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/posts\/329\/revisions\/500"}],"wp:attachment":[{"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/media?parent=329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/categories?post=329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.warrensoft.co.uk\/wp-test\/wp-json\/wp\/v2\/tags?post=329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}