Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse SmartHome » Discoverability
Discoverability [message #1760926] Thu, 04 May 2017 11:48 Go to next message
Tim Roberts is currently offline Tim RobertsFriend
Messages: 29
Registered: September 2016
Junior Member
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 13:03 Go to previous messageGo to next message
Simon Kaufmann is currently offline Simon KaufmannFriend
Messages: 51
Registered: January 2011
Member
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 20:16 Go to previous messageGo to next message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 661
Registered: December 2011
Senior Member
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 11:32 Go to previous messageGo to next message
Kiran Patil is currently offline Kiran PatilFriend
Messages: 26
Registered: October 2015
Junior Member
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 11:44 Go to previous messageGo to next message
Henning Treu is currently offline Henning TreuFriend
Messages: 42
Registered: April 2017
Member
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 11:45]

Report message to a moderator

Re: Discoverability [message #1764476 is a reply to message #1764398] Tue, 30 May 2017 12:19 Go to previous messageGo to next message
Kiran Patil is currently offline Kiran PatilFriend
Messages: 26
Registered: October 2015
Junior Member
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 12:24 Go to previous messageGo to next message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 661
Registered: December 2011
Senior Member
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 12:34 Go to previous message
Kiran Patil is currently offline Kiran PatilFriend
Messages: 26
Registered: October 2015
Junior Member
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: Thu Nov 15 17:15:38 GMT 2018

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

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

Back to the top