openwrt: add multiple sensors to avahi config file
This commit is contained in:
parent
23b3b2f83e
commit
c8e1cd6975
|
@ -1,12 +1,14 @@
|
|||
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
|
||||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||
<service-group>
|
||||
<name replace-wildcards="yes">Sensor 0123456789abcdef0123456789abcde1 on %h</name>
|
||||
<name replace-wildcards="yes">Flukso RESTful API on %h</name>
|
||||
<service>
|
||||
<type>_flukso._tcp</type>
|
||||
<port>8080</port>
|
||||
<txt-record>id=0123456789abcdef0123456789abcde1</txt-record>
|
||||
<txt-record>path=/sensor/0123456789abcdef0123456789abcde1</txt-record>
|
||||
<txt-record>id1=0123456789abcdef0123456789abcde0</txt-record>
|
||||
<txt-record>id2=0123456789abcdef0123456789abcde1</txt-record>
|
||||
<txt-record>id3=0123456789abcdef0123456789abcde2</txt-record>
|
||||
<txt-record>path=/sensor</txt-record>
|
||||
<txt-record>version=1.0</txt-record>
|
||||
</service>
|
||||
</service-group>
|
||||
|
|
Loading…
Reference in New Issue