mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[wiz] Enable addon finder support (#17856)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
parent
fb54c2baca
commit
4a4f5868a0
@ -8,4 +8,38 @@
|
|||||||
<description>Binding for WiZ smart devices.</description>
|
<description>Binding for WiZ smart devices.</description>
|
||||||
<connection>local</connection>
|
<connection>local</connection>
|
||||||
|
|
||||||
|
<discovery-methods>
|
||||||
|
<discovery-method>
|
||||||
|
<service-type>ip</service-type>
|
||||||
|
<discovery-parameters>
|
||||||
|
<discovery-parameter>
|
||||||
|
<name>type</name>
|
||||||
|
<value>ipBroadcast</value>
|
||||||
|
</discovery-parameter>
|
||||||
|
<discovery-parameter>
|
||||||
|
<name>destPort</name>
|
||||||
|
<value>38899</value>
|
||||||
|
</discovery-parameter>
|
||||||
|
<discovery-parameter>
|
||||||
|
<name>requestPlain</name>
|
||||||
|
<value>{"method":"registration","id":1,"params":{"phoneIp":"$srcIp","register":false,"phoneMac":"$srcMac"}}</value>
|
||||||
|
</discovery-parameter>
|
||||||
|
<discovery-parameter>
|
||||||
|
<name>fmtMac</name>
|
||||||
|
<value>%02X</value>
|
||||||
|
</discovery-parameter>
|
||||||
|
<discovery-parameter>
|
||||||
|
<name>timeoutMs</name>
|
||||||
|
<value>5000</value>
|
||||||
|
</discovery-parameter>
|
||||||
|
</discovery-parameters>
|
||||||
|
<match-properties>
|
||||||
|
<match-property>
|
||||||
|
<name>response</name>
|
||||||
|
<regex>.*</regex>
|
||||||
|
</match-property>
|
||||||
|
</match-properties>
|
||||||
|
</discovery-method>
|
||||||
|
</discovery-methods>
|
||||||
|
|
||||||
</addon:addon>
|
</addon:addon>
|
||||||
|
Loading…
Reference in New Issue
Block a user