[radiothermostat] Add discovery-methods (#16768)

* Add discovery-methods

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
mlobstein 2024-05-24 01:16:30 -05:00 committed by Ciprian Pascu
parent 94a0fd1da7
commit b31d34ec4c

View File

@ -8,4 +8,38 @@
<description>Controls the RadioThermostat model CT30, CT50 or CT80 via the built-in WIFI module</description>
<connection>local</connection>
<discovery-methods>
<discovery-method>
<service-type>ip</service-type>
<discovery-parameters>
<discovery-parameter>
<name>type</name>
<value>ipMulticast</value>
</discovery-parameter>
<discovery-parameter>
<name>destIp</name>
<value>239.255.255.250</value>
</discovery-parameter>
<discovery-parameter>
<name>destPort</name>
<value>1900</value>
</discovery-parameter>
<discovery-parameter>
<name>requestPlain</name>
<value>TYPE: WM-DISCOVER\r\nVERSION: 1.0\r\n\r\nservices:com.marvell.wm.system*\r\n\r\n</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>