Skip to main content



      Home
Home » Archived » Eclipse SmartHome » Support for Channels in DiscoveryResultBuilder and/or DiscoveryResult(Is that a design choice?)
Support for Channels in DiscoveryResultBuilder and/or DiscoveryResult [message #1776094] Fri, 10 November 2017 10:16 Go to next message
Eclipse UserFriend
I just noticed that Discovery services can not report back Things that come configured with (custom) Channels.

Is that on purpose, or was something forgotten along the way?

The work-around for such a situation I see is that the ThingHandler, that is created after the Thing has been set set up or processed in the PersistentInbox, has to "re-discover" the Thing and add the channels during initialisation. Or did I miss something here?
Re: Support for Channels in DiscoveryResultBuilder and/or DiscoveryResult [message #1776790 is a reply to message #1776094] Tue, 21 November 2017 11:09 Go to previous message
Eclipse UserFriend
Correct, the discovery services should only figure out the type of a thing and the required configuration that is required for the handler to access the Thing.
Querying the device and dynamically adding channels should be up to the handler, not the discovery service.
Previous Topic:JDBC persistence service in ESH
Next Topic:Default value for channels
Goto Forum:
  


Current Time: Mon Jul 14 09:45:14 EDT 2025

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

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

Back to the top