Device

class Device : ADevice

The model for the kind of device managed by this plugin.

Properties

Link copied to clipboard

The MAC address of the Bluetooth device.

Link copied to clipboard

The humidity, in %RH. The value is null when the sensor is not present.

Link copied to clipboard
val name: String?

Optionally, a name advertised by the Bluetooth device.

Link copied to clipboard
var rssi: Int

The Receive Signal Strength Indicator value.

Link copied to clipboard

The temperature, in °C. The value is null when the sensor is not present.

Functions

Link copied to clipboard
open override fun toString(): String

Returns a string representation of a Device.