Added mDNS Daemon which will resolve hal.local domain

This commit is contained in:
Ziver Koc 2021-08-24 01:24:49 +02:00
parent 68c7755e7e
commit 291c4cb42a
11 changed files with 46 additions and 16 deletions

View file

@ -67,7 +67,4 @@ public class SmartHomeDaemon implements HalDaemon {
HalServer.registerExternalPage(ENDPOINT_SMARTHOME, new SmartHomePage(smartHome));
}
}
@Override
public void run() { }
}

View file

@ -65,6 +65,7 @@ public class SmartHomeImpl extends SmartHomeApp implements TokenRegistrationList
*
* TODO: https://developers.google.com/assistant/smarthome/traits/temperaturesetting
*/
@SuppressWarnings("unchecked")
@Override
public SyncResponse onSync(SyncRequest syncRequest, Map<?, ?> headers) {
logger.fine("Received sync request.");