Skip to content

Commit

Permalink
Addon suggestion finder xml (#1908)
Browse files Browse the repository at this point in the history
* Addon suggestion finder xml

Signed-off-by: Andrew Fiddian-Green <[email protected]>

* Add match-property

Signed-off-by: Andrew Fiddian-Green <[email protected]>

* Add discovery based on chipId

Signed-off-by: Andrew Fiddian-Green <[email protected]>

* Tweaks

Signed-off-by: Andrew Fiddian-Green <[email protected]>

* Adjust chipId hex format

Signed-off-by: Andrew Fiddian-Green <[email protected]>

* Remove check for remote USB sticks

Signed-off-by: Andrew Fiddian-Green <[email protected]>

* Adopt reviewer suggestions

Signed-off-by: Andrew Fiddian-Green <[email protected]>

---------

Signed-off-by: Andrew Fiddian-Green <[email protected]>
  • Loading branch information
andrewfg committed Dec 28, 2023
1 parent 9b08b23 commit 329d0b1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/main/resources/OH-INF/addon/addon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,31 @@ The binding uses a standard Z-Wave serial stick to communicate with the Z-Wave d
]]>
</description>

<discovery-methods>
<discovery-method>
<service-type>usb</service-type>
<match-properties>
<match-property>
<name>product</name>
<regex>(?i).*z-wave|hubz|husbzb|z-stick.*</regex>
</match-property>
</match-properties>
</discovery-method>
<discovery-method>
<service-type>usb</service-type>
<match-properties>
<match-property>
<name>chipId</name>
<!--
The following chipId's are supported:
0658:0200 Aeotec Z-Stick Gen5 (ZW090) - UZB
10C4:8A2A Silicon Labs HubZ Smart Home Controller
1A86:55D4 Zooz 800 Z-Wave Stick
-->
<regex>0658:0200|10C4:8A2A|1A86:55D4</regex>
</match-property>
</match-properties>
</discovery-method>
</discovery-methods>

</addon:addon>

0 comments on commit 329d0b1

Please sign in to comment.