Homey.DiscoveryResultSSDP

const { DiscoveryResultSSDP } = require('homey');

This is a discovery result of a SSDP discovery strategy. This class should not be instanced manually.

Table of Contents

Constructor

new Homey.DiscoveryResultSSDP()

Properties:
Name Type Description
id string

The identifier of the result.

lastSeen Date

When the device has been last discovered.

address string

The (IP) address of the device.

port string

The port of the device.

headers Object

The headers (lowercase) in the SSDP response.

Since:
  • 2.5.0

Extends

Events

.on('addressChanged')

Fires when the address has changed.

Overrides:
Parameters:
Name Type Description
discoveryResult DiscoveryResult

.on('lastSeenChanged')

Fires when the device has been seen again.

Overrides:
Parameters:
Name Type Description
discoveryResult DiscoveryResult