Skip to main content



      Home
Home » Archived » Eclipse SmartHome » Discoverability
Discoverability [message #1760926] Thu, 04 May 2017 07:48 Go to next message
Eclipse UserFriend
Not sure if this is an openhab thing or an smarthome thing - so please let me know if I should post elsewhere.

Is there any way to 'discover' the running server? Let's say I have another server that needs to discover all running servers on the network. Does openhab/smarthome provide a way to discover the instances (mdns or upnp or ???)?

Thanks,
Tim
Re: Discoverability [message #1760938 is a reply to message #1760926] Thu, 04 May 2017 09:03 Go to previous messageGo to next message
Eclipse UserFriend
No, Eclipse SmartHome does not offer this directly, that's left to concrete solutions built on top.
Afaik openHAB does it, see e.g. https://github.com/openhab/openhab1-addons/wiki/Service-Discovery
Google & the openHAB forum certainly will be of help here if you have any questions regarding it.
Re: Discoverability [message #1760976 is a reply to message #1760938] Thu, 04 May 2017 16:16 Go to previous messageGo to next message
Eclipse UserFriend
Correct, openHAB announces itself through mDNS/Bonjour - this is also how the mobile apps find the runtime in the local network.
Re: Discoverability [message #1764396 is a reply to message #1760976] Mon, 29 May 2017 07:32 Go to previous messageGo to next message
Eclipse UserFriend
From this link, does it mean it is available in ESH ?
Re: Discoverability [message #1764398 is a reply to message #1764396] Mon, 29 May 2017 07:44 Go to previous messageGo to next message
Eclipse UserFriend
Hi Kiran,

ESH provides the basic mDNS infrastructure to participate in service discovery and service broadcasting (the package your link is pointing to). It does not bring its own functionality to discover other ESH instances or announce itself on the network.

Cheers,
Henning

edit: typo

[Updated on: Mon, 29 May 2017 07:45] by Moderator

Re: Discoverability [message #1764476 is a reply to message #1764398] Tue, 30 May 2017 08:19 Go to previous messageGo to next message
Eclipse UserFriend
Hi Henning,

We would like ESH to announce itself on the network.

From where should we start to implement it in ESH ?

Any pointer would be helpful and we would like to contribute the source code as well.

Thanks,
Kiran.
Re: Discoverability [message #1764477 is a reply to message #1764476] Tue, 30 May 2017 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Kiran, this feature already exists, see https://github.com/eclipse/smarthome/blob/master/bundles/io/org.eclipse.smarthome.io.rest.mdns/src/main/java/org/eclipse/smarthome/io/rest/mdns/internal/MDNSAnnouncer.java.
Re: Discoverability [message #1764482 is a reply to message #1764477] Tue, 30 May 2017 08:34 Go to previous message
Eclipse UserFriend
Kai, Thanks, we will check it.
Previous Topic:A research study on software security practice management in IoT project
Next Topic:How to distribute Eclipse Smart Home
Goto Forum:
  


Current Time: Mon Jul 07 16:49:05 EDT 2025

Powered by FUDForum. Page generated in 0.04564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top