Class SddpAddonFinder
java.lang.Object
org.openhab.core.config.discovery.addon.BaseAddonFinder
org.openhab.core.config.discovery.addon.sddp.SddpAddonFinder
- All Implemented Interfaces:
AddonFinder,SddpDeviceParticipant
@NonNullByDefault
public class SddpAddonFinder
extends BaseAddonFinder
implements SddpDeviceParticipant
This is a driver
host
ipAddress
macAddress
manufacturer
model
port
primaryProxy
proxies
type
SddpAddonFinder for finding suggested Addons via SDDP.
Simple Device Discovery Protocol (SDDP) is a simple multicast discovery protocol implemented by many "smart home" devices to allow a controlling agent to easily discover and connect to devices on a local subnet.
SDDP was created by Control4, and is quite similar to UPnP's standard Simple Service Discovery Protocol (SSDP), and it serves a virtually identical purpose. SDDP is not a standard protocol and it is not publicly documented.
It checks the binding's addon.xml 'match-property' elements for the following SDDP properties:
- Author:
- Andrew Fiddian-Green - Initial contribution
-
Field Summary
FieldsFields inherited from class org.openhab.core.config.discovery.addon.BaseAddonFinder
addonCandidates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeviceAdded(SddpDevice device) voiddeviceRemoved(SddpDevice device) The framework calls this method to scan through the candidate list ofAddonInfoand return a subset of those that it suggests to be installed.voidsetAddonCandidates(List<AddonInfo> candidates) The framework calls this method to provide a list ofAddonInfoelements which contain potential candidates that this finder can iterate over in order to detect which ones to return via thegetSuggestedAddons()method.Methods inherited from class org.openhab.core.config.discovery.addon.BaseAddonFinder
propertyMatches, unsetAddonCandidates
-
Field Details
-
SERVICE_TYPE
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Constructor Details
-
SddpAddonFinder
-
-
Method Details
-
deactivate
public void deactivate() -
deviceAdded
- Specified by:
deviceAddedin interfaceSddpDeviceParticipant
-
deviceRemoved
- Specified by:
deviceRemovedin interfaceSddpDeviceParticipant
-
getServiceName
- Specified by:
getServiceNamein classBaseAddonFinder
-
getSuggestedAddons
Description copied from interface:AddonFinderThe framework calls this method to scan through the candidate list ofAddonInfoand return a subset of those that it suggests to be installed.- Specified by:
getSuggestedAddonsin interfaceAddonFinder
-
setAddonCandidates
Description copied from interface:AddonFinderThe framework calls this method to provide a list ofAddonInfoelements which contain potential candidates that this finder can iterate over in order to detect which ones to return via thegetSuggestedAddons()method.- Specified by:
setAddonCandidatesin interfaceAddonFinder- Overrides:
setAddonCandidatesin classBaseAddonFinder- Parameters:
candidates- a list of AddonInfo candidates.
-