From 9c5d5931a5f52c3398cea8774aac8644f2352ace Mon Sep 17 00:00:00 2001 From: Hank Date: Thu, 3 Nov 2022 14:07:17 +0100 Subject: [PATCH 1/8] Add sir321 driver Add sir321 driver Add sir321 driver --- README.md | 1 + app.json | 45 +++++++++++++++++++++ drivers/sir321/device.js | 13 ++++++ drivers/sir321/driver.compose.json | 29 +++++++++++++ drivers/sir321/driver.settings.compose.json | 1 + 5 files changed, 89 insertions(+) create mode 100644 drivers/sir321/device.js create mode 100644 drivers/sir321/driver.compose.json create mode 100644 drivers/sir321/driver.settings.compose.json diff --git a/README.md b/README.md index 1879ea3..63cdf8b 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Adds support for Secure (previously Horstmann) devices to Homey. - [SSR 302 Dual Channel Power Switch](https://products.z-wavealliance.org/products/1619) - [Manual](https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/1619/SSR%20302%20User%20Manual.pdf) - [SSR 303 / ASR-ZW Power Switch](https://products.z-wavealliance.org/products/1618) - [Manual](https://products.z-wavealliance.org/ProductManual/File?folder=&filename=MarketCertificationFiles/1618/SSR%20303%20User%20Manual.pdf) - [SCS 317 / C17-ZW Programmable Room Thermostat](https://products.z-wavealliance.org/products/864) +- [SIR 321](https://products.z-wavealliance.org/products/1012/) ## License diff --git a/app.json b/app.json index 6312d7d..ce7f6d2 100644 --- a/app.json +++ b/app.json @@ -435,6 +435,51 @@ } ] }, + { + "id": "sir321", + "name": { + "en": "SIR321" + }, + "class": "socket", + "capabilities": [ + "onoff", + "measure_temperature" + ], + "connectivity": [ + "zwave" + ], + "images": { + "small": "/drivers/sir321/assets/images/small.png", + "large": "/drivers/sir321/assets/images/large.png" + }, + "zwave": { + "manufacturerId": 89, + "productTypeId": [ + 16 + ], + "productId": [ + 2, + 3, + 4 + ], + "zwaveAllianceProductId": 1012, + "zwaveAllianceProductDocumentation": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/4045/SIR321%20BGX501-867%20R07.pdf" + }, + "pair": [ + { + "id": "list_devices", + "template": "list_devices", + "navigation": { + "next": "add_devices" + } + }, + { + "id": "add_devices", + "template": "add_devices" + } + ], + "settings": [] + }, { "class": "thermostat", "capabilities": [ diff --git a/drivers/sir321/device.js b/drivers/sir321/device.js new file mode 100644 index 0000000..819d963 --- /dev/null +++ b/drivers/sir321/device.js @@ -0,0 +1,13 @@ +'use strict'; + +const { ZwaveDevice } = require('homey-zwavedriver'); + +class SIR321Device extends ZwaveDevice { + async onInit() { + this.log('SIR321Device has been initialized'); + this.registerCapability('onoff', 'SWITCH_BINARY'); + this.registerCapability('measure_temperature', 'SENSOR_MULTILEVEL'); + } +} + +module.exports = SIR321Device; diff --git a/drivers/sir321/driver.compose.json b/drivers/sir321/driver.compose.json new file mode 100644 index 0000000..f337494 --- /dev/null +++ b/drivers/sir321/driver.compose.json @@ -0,0 +1,29 @@ +{ + "id": "sir321", + "name": { + "en": "SIR321" + }, + "class": "socket", + "capabilities": ["onoff", "measure_temperature"], + "connectivity": ["zwave"], + "zwave": { + "manufacturerId": 89, + "productTypeId": [16], + "productId": [2, 3, 4], + "zwaveAllianceProductId": 1012, + "zwaveAllianceProductDocumentation": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/4045/SIR321%20BGX501-867%20R07.pdf" + }, + "pair": [ + { + "id": "list_devices", + "template": "list_devices", + "navigation": { + "next": "add_devices" + } + }, + { + "id": "add_devices", + "template": "add_devices" + } + ] +} diff --git a/drivers/sir321/driver.settings.compose.json b/drivers/sir321/driver.settings.compose.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/drivers/sir321/driver.settings.compose.json @@ -0,0 +1 @@ +[] \ No newline at end of file From da7c3511c9ac777448520b42518f99372036f26e Mon Sep 17 00:00:00 2001 From: hank Date: Thu, 3 Nov 2022 19:59:30 +0100 Subject: [PATCH 2/8] Add SIR 321 images --- drivers/sir321/assets/images/largejpg.jpg | Bin 0 -> 15584 bytes drivers/sir321/assets/images/small.jpg | Bin 0 -> 2429 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 drivers/sir321/assets/images/largejpg.jpg create mode 100644 drivers/sir321/assets/images/small.jpg diff --git a/drivers/sir321/assets/images/largejpg.jpg b/drivers/sir321/assets/images/largejpg.jpg new file mode 100644 index 0000000000000000000000000000000000000000..aba1588881c7701e61d67873e9b965b3a65c114f GIT binary patch literal 15584 zcmb7q2Uru?`uBv;q)Cwu%2EW0^d?QC(v>Czl&VxIArN|#;I1x3P`VT$QUpVjE`+u; z>C&aEND-teO%V7`0_xs--Fv_9JWnPwXU@Fmt-tp@XXaq|;5|^R>f>Ms0GgV@03`qb zP(T7g0{jM^NfLhGIS2S}2>u-YBn2SgzYF*yw2L+mzO5eW$qaVbNIa|$wY3K9}9aR~)+aex#69#IgE060YaSTvMKd3zZE zNU(>qtbTZ3hiMw5@@k zj-j=mleN4J?}hU`N4#QlaLjWlvI$CQIMA4IcmJ% zglHQ(g=;EmN7I2<%DhK%d3$?{dP|9-(Dq^y^78Ux;*w&Za={TI?!GP_w|qog-1)v! zP_cElMmxBAIG|j32o!Hwp*%g5c|m3mr9is=Ap1*oeIICJ{bQV~C)$}fxsA1$t+OrC z*2TjeRILO-1K){iYyTMjOR`AhkJ0WP*KB{v_RG=khQ6-0V%KclQJ!dPTW~lZVJcUJ z%V^tM9w@XS3g!G=>HqA5e|yAM<(7x7GVkAgQeHtuNfwqlO1w)R9C+S&@5F76(;T&!(1Rg`%_@kAXQ zY!u{W&WT^XC@v=>by-D1LRIC`rOT2kYT~LA((>}Em!wp_KdXYW_9R&1`?EGbpFQ`F z&l21k=?c!QVvBb0vb9k|qmVpAdnh>kGcPj#Nbl%bn}6m-_8*@W1DO#cc7SH6=MY zB{dBd6*UzV4LuF9(bLc!r$0_d!^Cvr1QQb%CnqP@sUHnOK|w)FL(4`_&&I*bz|8UE z#{cWdK|R1g30a4%Lm>5qXh9sG|^kUZ}u zS8~=~*5!auD^bSX;0PUpi<^$g?)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S?LsLJ_cQS7!r99e z_CsX3(wVQf^Bxq;IcqyRd>F-gG-tkWHmN0hGX6#R^-kPvvIi`(M)Mjxk^Fl@>At|^ z-);E){CfrjXuVm6w!~|xL&naEX`Po#hanVB9B22$&a}K0y$lsD78Y~3xzK+AME8M>2DV2IC$dN3{=f@s+LgQ8qImkQeUv$<{Eq;w;8AI zB~`{1GCiYnQ+j^yR95Mti`{Wn)I;^1Po%fsC}xe-SE#6r$CAL0_!<-$EY-XrV6A|l zr$cq+b5)D4buZt3JolBJw)1M|R`)EUmNb(Ax{y`BFiVRo{x+*_8Y}xk6qluA zp6E8)oQ`=?lwqy=oEg6Gr{=p1ld8An-epoL2Y_%7HQU)G9<7U{ZoK}qDxV>Qoc+u8 z9p%8AR7#sM#qIbt8uXZ@jL^tPN9RKwJ*5UqJ8`LUn#`a+M24Wt@I+5__&Ysifk>^< z`Fsx-?P`pD+;(9V#x0nNNdKOp3ND|ifkLSgMj8L`Nl0zGh;b9fs`K|O6H}9MGoKrr zQA#f9kXl7$Rk`OjtxTh-DxYPs9#T4XHd|Z04XK?HYhn@Y6e@m~n!U!y$IS|b<-dun zNn*TA=f?%A(qGx1Vhqd{TgaH-go`lI7G~?W=5Z=i$%ddg`e)&PJ~5)Upc$#QkTmY=y>Q! zk({96Ph#sUR?gF%G=$41h&?Q%7FaT0Yzf=gH`J3=7gYgmr#f{ zU#uucDW()FHid+MX3PJuFUWrYP~Wn?o+>k?2j-}AM)|fj38HgJ>WT|E9v0c{PGs>l z>gyTVu!2jb(_cK`qY literal 0 HcmV?d00001 diff --git a/drivers/sir321/assets/images/small.jpg b/drivers/sir321/assets/images/small.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6b801168363b0fe983eef8bfd3651789f1021ba0 GIT binary patch literal 2429 zcma)63s6&M7QV?%ZV&<_<>iXtC3ILfX4|Z)=!3vb3fGD6Kbz8s}i!*k!H@tLbWp>ZZfA6{H z|IT;LfBti>`?h-+IFsx&Kecc000ocC{!SV)cBr7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hN#bfr4%@XL3>@by>^E1OYr$Pwlhwb2;Etq$wCg-_0`l2`74 zUJ9Yuwax1eKnZ(N>b95NW^Hom+kcKK&WW$DZ|ci1wtzigUV5r*&(u|A Date: Thu, 3 Nov 2022 21:56:07 +0100 Subject: [PATCH 3/8] Add sir321 driver Add sir321 driver --- app.json | 4 ++-- .../assets/images/{largejpg.jpg => large.jpg} | Bin drivers/sir321/driver.compose.json | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) rename drivers/sir321/assets/images/{largejpg.jpg => large.jpg} (100%) diff --git a/app.json b/app.json index ce7f6d2..6db0f69 100644 --- a/app.json +++ b/app.json @@ -449,8 +449,8 @@ "zwave" ], "images": { - "small": "/drivers/sir321/assets/images/small.png", - "large": "/drivers/sir321/assets/images/large.png" + "small": "/drivers/sir321/assets/images/small.jpg", + "large": "/drivers/sir321/assets/images/large.jpg" }, "zwave": { "manufacturerId": 89, diff --git a/drivers/sir321/assets/images/largejpg.jpg b/drivers/sir321/assets/images/large.jpg similarity index 100% rename from drivers/sir321/assets/images/largejpg.jpg rename to drivers/sir321/assets/images/large.jpg diff --git a/drivers/sir321/driver.compose.json b/drivers/sir321/driver.compose.json index f337494..608b020 100644 --- a/drivers/sir321/driver.compose.json +++ b/drivers/sir321/driver.compose.json @@ -6,6 +6,10 @@ "class": "socket", "capabilities": ["onoff", "measure_temperature"], "connectivity": ["zwave"], + "images": { + "small": "{{driverAssetsPath}}/images/small.jpg", + "large": "{{driverAssetsPath}}/images/large.jpg" + }, "zwave": { "manufacturerId": 89, "productTypeId": [16], From 798ae462f0ad04a126c5f167cee383b20f470172 Mon Sep 17 00:00:00 2001 From: Hank Date: Fri, 4 Nov 2022 14:39:39 +0100 Subject: [PATCH 4/8] Add SIR 321 icon --- drivers/sir321/assets/icon.svg | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 drivers/sir321/assets/icon.svg diff --git a/drivers/sir321/assets/icon.svg b/drivers/sir321/assets/icon.svg new file mode 100644 index 0000000..19b53c8 --- /dev/null +++ b/drivers/sir321/assets/icon.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + +SIR 321 +30 +60 +120+ + From 9dc991ab24020e7ff7129baa98f32a1b799a8464 Mon Sep 17 00:00:00 2001 From: Hank Date: Fri, 4 Nov 2022 14:49:44 +0100 Subject: [PATCH 5/8] Update SIR 321 driver Update SIR 321 driver Update README.txt --- README.txt | 1 + app.json | 29 ++++++++++++++++++++++++++++- drivers/sir321/driver.compose.json | 25 ++++++++++++++++++++++++- 3 files changed, 53 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 4973265..2f2c05f 100644 --- a/README.txt +++ b/README.txt @@ -13,3 +13,4 @@ SRT 323 SSR 302 SSR 303 / ASR-ZW SCS 317 +SIR 321 diff --git a/app.json b/app.json index 6db0f69..85725f8 100644 --- a/app.json +++ b/app.json @@ -463,7 +463,34 @@ 4 ], "zwaveAllianceProductId": 1012, - "zwaveAllianceProductDocumentation": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/4045/SIR321%20BGX501-867%20R07.pdf" + "zwaveAllianceProductDocumentation": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/4045/SIR321%20BGX501-867%20R07.pdf", + "associationGroups": [ + 1, + 2, + 3 + ], + "associationGroupsOptions": { + "1": { + "hint": { + "en": "Lifeline" + } + }, + "2": { + "hint": { + "en": "Schedule Report" + } + }, + "3": { + "hint": { + "en": "Air Temperature" + } + } + }, + "learnmode": { + "instruction": { + "en": "Press and hold the pairing button on the back of the unit\n When RF LED starts flashing, relase the button.\n On successful addition, the LED will stop flashing." + } + } }, "pair": [ { diff --git a/drivers/sir321/driver.compose.json b/drivers/sir321/driver.compose.json index 608b020..7568410 100644 --- a/drivers/sir321/driver.compose.json +++ b/drivers/sir321/driver.compose.json @@ -15,7 +15,30 @@ "productTypeId": [16], "productId": [2, 3, 4], "zwaveAllianceProductId": 1012, - "zwaveAllianceProductDocumentation": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/4045/SIR321%20BGX501-867%20R07.pdf" + "zwaveAllianceProductDocumentation": "https://products.z-wavealliance.org/ProductManual/File?folder=&filename=product_documents/4045/SIR321%20BGX501-867%20R07.pdf", + "associationGroups": [1, 2, 3], + "associationGroupsOptions": { + "1": { + "hint": { + "en": "Lifeline" + } + }, + "2": { + "hint": { + "en": "Schedule Report" + } + }, + "3": { + "hint": { + "en": "Air Temperature" + } + } + }, + "learnmode": { + "instruction": { + "en": "Press and hold the pairing button on the back of the unit\n When RF LED starts flashing, relase the button.\n On successful addition, the LED will stop flashing." + } + } }, "pair": [ { From 9a6d0aacdfc980d59d61470dfee9ffb503d8bdf9 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 4 Nov 2022 13:58:56 +0000 Subject: [PATCH 6/8] update README.md [skip ci] --- README.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1879ea3..4c43489 100644 --- a/README.md +++ b/README.md @@ -32,15 +32,20 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d - - - - - - - - - + + + + + + + + + + + + + +

hankolsen

💻 🎨 🤔

Darryl van der Peijl

🐛 💻

Arvid Rosen

🐛

Rocodamelshe

⚠️

jmdraper

🤔

theSequencer82

🤔

SPAeotec

🐛
hankolsen
hankolsen

💻 🎨 🤔
Darryl van der Peijl
Darryl van der Peijl

🐛 💻
Arvid Rosen
Arvid Rosen

🐛
Rocodamelshe
Rocodamelshe

⚠️
jmdraper
jmdraper

🤔
theSequencer82
theSequencer82

🤔
SPAeotec
SPAeotec

🐛
Flush1963
Flush1963

🤔
From dc12c8c6e125437b65d998b75a4f15fc5a56036c Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Fri, 4 Nov 2022 13:58:57 +0000 Subject: [PATCH 7/8] update .all-contributorsrc [skip ci] --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index c7a5716..e2c7259 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -70,6 +70,15 @@ "contributions": [ "bug" ] + }, + { + "login": "Flush1963", + "name": "Flush1963", + "avatar_url": "https://avatars.githubusercontent.com/u/117358003?v=4", + "profile": "https://github.com/Flush1963", + "contributions": [ + "ideas" + ] } ], "contributorsPerLine": 7, From f18ac43e829b8f1010b689e33f0946da0911b657 Mon Sep 17 00:00:00 2001 From: Hank Date: Fri, 4 Nov 2022 15:03:45 +0100 Subject: [PATCH 8/8] Bump version to v0.10.0 Changelog: Add support for SIR 321 --- .homeychangelog.json | 3 +++ .homeycompose/app.json | 2 +- app.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.homeychangelog.json b/.homeychangelog.json index aa25217..278b638 100644 --- a/.homeychangelog.json +++ b/.homeychangelog.json @@ -106,5 +106,8 @@ }, "0.9.2": { "en": "Update learn instructions for SCS 317" + }, + "0.10.0": { + "en": "Add support for SIR 321" } } diff --git a/.homeycompose/app.json b/.homeycompose/app.json index 102b46b..a066f69 100644 --- a/.homeycompose/app.json +++ b/.homeycompose/app.json @@ -1,6 +1,6 @@ { "id": "com.horstmann", - "version": "0.9.2", + "version": "0.10.0", "compatibility": ">=5.0.0", "sdk": 3, "name": { diff --git a/app.json b/app.json index 85725f8..42a9ce9 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { "_comment": "This file is generated. Please edit .homeycompose/app.json instead.", "id": "com.horstmann", - "version": "0.9.2", + "version": "0.10.0", "compatibility": ">=5.0.0", "sdk": 3, "name": {