]> git.basschouten.com Git - openhab-addons.git/commitdiff
Add SSDP addon finder methods (#16794)
authormlobstein <michael.lobstein@gmail.com>
Fri, 31 May 2024 05:54:23 +0000 (00:54 -0500)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 05:54:23 +0000 (07:54 +0200)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
bundles/org.openhab.binding.epsonprojector/src/main/resources/OH-INF/addon/addon.xml
bundles/org.openhab.binding.sonyprojector/src/main/resources/OH-INF/addon/addon.xml

index f8ecbb42f53db285b3bf8d1a4c7e9ec783394636..92184d5ceb4cebefdd5c498994657ae7fd9517ad 100644 (file)
@@ -8,4 +8,16 @@
        <description>This binding is compatible with Epson projectors which support the ESC/VP21 protocol</description>
        <connection>local</connection>
 
+       <discovery-methods>
+               <discovery-method>
+                       <service-type>sddp</service-type>
+                       <match-properties>
+                               <match-property>
+                                       <name>type</name>
+                                       <regex>(?i)epson:projector.*</regex>
+                               </match-property>
+                       </match-properties>
+               </discovery-method>
+       </discovery-methods>
+
 </addon:addon>
index 42a952b2c9a00d7a8692e8ecbdc5351b79c72016..f6205e8fb5ded210dcb8c48ff8ebfc2c1fdc3268 100644 (file)
@@ -8,4 +8,16 @@
        <description>The SonyProjector binding controls a Sony projector through Ethernet (PJ Talk) or serial.</description>
        <connection>local</connection>
 
+       <discovery-methods>
+               <discovery-method>
+                       <service-type>sddp</service-type>
+                       <match-properties>
+                               <match-property>
+                                       <name>type</name>
+                                       <regex>(?i)sony:projector.*</regex>
+                               </match-property>
+                       </match-properties>
+               </discovery-method>
+       </discovery-methods>
+
 </addon:addon>