Closed cweiske closed 2 years ago
With that in place, devices can use avahi-daemon to get their SimpleHome API services automatically discovered by HomeApp.
<?xml version="1.0"?> <service-group> <name>Lamps for HomeApp</name> <service protocol="ipv4"> <type>_simplehome._tcp</type> <port>80</port> <txt-record>url=http://simpleapi-homeapp.example.org/</txt-record> </service> </service-group>
The TXT record with "url" property is optional. If not specified, the IP address of the server will be used by HomeApp.
Specifying the url lets you announce multiple services on the same host.
With that in place, devices can use avahi-daemon to get their SimpleHome API services automatically discovered by HomeApp.
Example avahi daemon service file:
The TXT record with "url" property is optional. If not specified, the IP address of the server will be used by HomeApp.
Specifying the url lets you announce multiple services on the same host.