Constructor
new Homey.DiscoveryResultMAC()
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. |
mac |
string
|
The MAC address of the device. |
- 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
|