{"id":748,"date":"2021-10-08T14:09:13","date_gmt":"2021-10-08T14:09:13","guid":{"rendered":"https:\/\/www.creatingsmarthome.com\/?p=748"},"modified":"2021-10-08T14:09:13","modified_gmt":"2021-10-08T14:09:13","slug":"project-summer-home-z-wave-network","status":"publish","type":"post","link":"https:\/\/www.creatingsmarthome.com\/index.php\/2021\/10\/08\/project-summer-home-z-wave-network\/","title":{"rendered":"Project summer home: Z-Wave network"},"content":{"rendered":"\n<p>The great plan was to move my pre-build <a href=\"https:\/\/www.creatingsmarthome.com\/index.php\/2021\/09\/14\/raspberry-pi-as-z-wave-gateway-using-zwave2mqtt\/\" data-type=\"URL\" data-id=\"https:\/\/www.creatingsmarthome.com\/index.php\/2021\/09\/14\/raspberry-pi-as-z-wave-gateway-using-zwave2mqtt\/\">zwave2mqtt<\/a> gateway to summer home and just pair newly added thermostats in place.. however, not everything went as expected! <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Thermostats<\/h2>\n\n\n\n<p>Before moving my four old HeatIt v1 thermostats to the summer home I decided to flash them with a new firmware  version 1.92. I got this version last time I contacted HeatIt support earlier this year and decided to do the upgrade now before the transfer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">First fail: I did not test this version at home! <\/h3>\n\n\n\n<p>After electrician had installed the thermostats in place it was time to pair them with the gateway.. unfortunately the zwave inclusion ended up with &#8216;err&#8217; (error) status for all the four thermostats. I was not able to pair them at all.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Second fail: I did not test zwave2mqtt with thermostats at home!<\/h3>\n\n\n\n<p>For the one new HeatIt v3 I managed to pair with gateway, but the integration with Home Assistant did not work properly. I could not see the status of climate entity in Home Assistant. After investigation it seemed that zwave2mqtt added quotes at auto discovery value in mode_state_template auto discovery MQTT topic. It basically means that Home Assistant tried to use string value of mode (0 or 1), but ZWave device informed values as number. <\/p>\n\n\n\n<p>To fix this problem, had to manually edit home assistant discovery config and change action_template values from string &#8220;0&#8221; to integer 0. Same configuration had to be done also for the older V1 thermostats.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"815\" height=\"385\" src=\"https:\/\/www.creatingsmarthome.com\/wp-content\/uploads\/2021\/10\/Screenshot-2021-10-08-at-12.27.13.png\" alt=\"\" class=\"wp-image-757\"\/><figcaption>Zwavejs2mqtt Home Assistant discover configuration for an entity<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">&#8230;and finally success<\/h3>\n\n\n\n<p>After downgrading Firmware of the V1 thermostats back to 1.80 and corrected discovery issue I finally managed to get them work as intented. Now I&#8217;m receiving z-wave devices information from summer home directly to my MQTT broker and through that to Home Assistant. <\/p>\n\n\n\n<p>One last thing was to change original Home Assistant thermostat card that is way too large to something smaller like <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/nervetattoo\/simple-thermostat\" data-type=\"URL\" data-id=\"https:\/\/github.com\/nervetattoo\/simple-thermostat\" target=\"_blank\">simple-thermostat<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"1008\" src=\"https:\/\/www.creatingsmarthome.com\/wp-content\/uploads\/2021\/10\/20211002_140729.jpg\" alt=\"\" data-id=\"764\" data-full-url=\"https:\/\/www.creatingsmarthome.com\/wp-content\/uploads\/2021\/10\/20211002_140729.jpg\" data-link=\"https:\/\/www.creatingsmarthome.com\/?attachment_id=764#main\" class=\"wp-image-764\"\/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"508\" height=\"381\" src=\"https:\/\/www.creatingsmarthome.com\/wp-content\/uploads\/2021\/10\/Screenshot-2021-10-08-at-12.41.03.png\" alt=\"\" data-id=\"759\" data-full-url=\"https:\/\/www.creatingsmarthome.com\/wp-content\/uploads\/2021\/10\/Screenshot-2021-10-08-at-12.41.03.png\" data-link=\"https:\/\/www.creatingsmarthome.com\/?attachment_id=759#main\" class=\"wp-image-759\"\/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Smoke Detector<\/h2>\n\n\n\n<p>For the smoke detectors I went with <a rel=\"noreferrer noopener\" href=\"https:\/\/www.fibaro.com\/en\/products\/smoke-sensor\/\" target=\"_blank\">Fibaro FGSD-002<\/a>. Small, afforable and indicates all necessary information that I need (smoke alarm, temperature and battery status). It also has some other neat features like tampering protection (indicates if cover is off).<\/p>\n\n\n\n<p>For a test run it seemed to work as should. Quick notification to my phone through home assistant when smoke was detected and a loud alarm from the device itself. Now I only need to play some kind of an alarm from all my home speakers if smoke is detected at the summer home!<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"1008\" src=\"https:\/\/www.creatingsmarthome.com\/wp-content\/uploads\/2021\/10\/20211002_131516.jpg\" alt=\"\" data-id=\"762\" data-link=\"https:\/\/www.creatingsmarthome.com\/?attachment_id=762#main\" class=\"wp-image-762\"\/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"1008\" src=\"https:\/\/www.creatingsmarthome.com\/wp-content\/uploads\/2021\/10\/20211002_133102.jpg\" alt=\"\" data-id=\"763\" data-link=\"https:\/\/www.creatingsmarthome.com\/?attachment_id=763#main\" class=\"wp-image-763\"\/><\/figure><\/li><\/ul><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The great plan was to move my pre-build zwave2mqtt gateway to summer home and just pair newly added thermostats in place.. however, not everything went&hellip;<\/p>\n","protected":false},"author":1,"featured_media":766,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[139,73],"tags":[136,126,7,8,137,99,132],"class_list":["post-748","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-upgrades","category-summer-home","tag-fibaro","tag-heatit","tag-home-assistant","tag-smart-home","tag-smoke-detector","tag-thermostat","tag-z-wave","has-post-thumbnail-archive"],"acf":[],"featured_image_src":"https:\/\/www.creatingsmarthome.com\/wp-content\/uploads\/2021\/10\/heatit_kitchen_summer_home.jpg","author_info":{"display_name":"Toni","author_link":"https:\/\/www.creatingsmarthome.com\/index.php\/author\/topsy\/"},"_links":{"self":[{"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/posts\/748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/comments?post=748"}],"version-history":[{"count":10,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/posts\/748\/revisions"}],"predecessor-version":[{"id":768,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/posts\/748\/revisions\/768"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/media\/766"}],"wp:attachment":[{"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/media?parent=748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/categories?post=748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/tags?post=748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}