Skip to content

Commit

Permalink
change mdns add-on discovery syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Herwege <[email protected]>
  • Loading branch information
mherwege committed Dec 14, 2023
1 parent ea3e608 commit e77665f
Show file tree
Hide file tree
Showing 46 changed files with 300 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_http._tcp.local.</mdns-service-type>
<discovery-parameters>

Check failure on line 14 in bundles/org.openhab.binding.amplipi/src/main/resources/OH-INF/addon/addon.xml

View workflow job for this annotation

GitHub Actions / Build (Java 17, ubuntu-22.04)

Invalid content was found starting with element discovery-parameters. One of {mdns-service-type, match-properties} is expected.
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_http._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>name</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,21 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_androidtvremote2._tcp.local.</mdns-service-type>
<discovery-parameters>

Check failure on line 37 in bundles/org.openhab.binding.androiddebugbridge/src/main/resources/OH-INF/addon/addon.xml

View workflow job for this annotation

GitHub Actions / Build (Java 17, ubuntu-22.04)

Invalid content was found starting with element discovery-parameters. One of {mdns-service-type, match-properties} is expected.
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_androidtvremote2._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_amzn-wplay._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_amzn-wplay._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,21 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_androidtvremote2._tcp.local.</mdns-service-type>
<discovery-parameters>

Check failure on line 14 in bundles/org.openhab.binding.androidtv/src/main/resources/OH-INF/addon/addon.xml

View workflow job for this annotation

GitHub Actions / Build (Java 17, ubuntu-22.04)

Invalid content was found starting with element discovery-parameters. One of {mdns-service-type, match-properties} is expected.
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_androidtvremote2._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_nv_shield_remote._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_nv_shield_remote._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_bond._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_bond._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_soundtouch._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_soundtouch._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_googlecast._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_googlecast._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
</discovery-method>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_raop._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_raop._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>name</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>application</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_dhnap._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_dhnap._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_http._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_http._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>name</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_http._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_http._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>name</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_enphase-envoy._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_enphase-envoy._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>name</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_fbx-api._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_fbx-api._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,21 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_powerview-g3._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_powerview-g3._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_powerview._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_powerview._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_homeconnect._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_homeconnect._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_printer._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_printer._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>rp</name>
Expand All @@ -25,7 +30,12 @@
</discovery-method>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_ipp._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_ipp._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>rp</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_hue._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_hue._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
<discovery-method>
<service-type>upnp</service-type>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_hyperiond-json._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_hyperiond-json._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_ipp._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_ipp._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_ism7._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_ism7._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_http._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_http._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>hwversion</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_lutron._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_lutron._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
</discovery-method>
</discovery-methods>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_http._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_http._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>name</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_mieleathome._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_mieleathome._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>path</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<discovery-methods>
<discovery-method>
<service-type>mdns</service-type>
<mdns-service-type>_mieleathome._tcp.local.</mdns-service-type>
<discovery-parameters>
<discovery-parameter>
<name>mdnsServiceType</name>
<value>_mieleathome._tcp.local.</value>
</discovery-parameter>
</discovery-parameters>
<match-properties>
<match-property>
<name>path</name>
Expand Down
Loading

0 comments on commit e77665f

Please sign in to comment.