Class Device
- Namespace
- OverKizApi.Models
- Assembly
- OverKizApi.dll
Represents a physical or virtual device registered in a setup. The DeviceUrl uniquely identifies the device across the entire API.
public sealed class Device
- Inheritance
-
Device
- Inherited Members
Properties
Attributes
Device attributes (manufacturer-specific, immutable metadata states).
public States Attributes { get; init; }
Property Value
Available
Whether the device is currently reachable by the gateway.
public bool Available { get; init; }
Property Value
ControllableName
Controllable type name (e.g. "io:RollerShutterGenericIOComponent").
public string? ControllableName { get; init; }
Property Value
DataProperties
Manufacturer-defined data properties (opaque).
public IReadOnlyList<object?>? DataProperties { get; init; }
Property Value
Definition
Full capability definition (commands and states) for this device.
public Definition? Definition { get; init; }
Property Value
DeviceAddress
Device address portion parsed from the device URL.
public string? DeviceAddress { get; }
Property Value
DeviceUrl
Unique device URL in the format protocol://gatewayId/deviceAddress[#subsystemId]
(e.g. io://1234-5678-9012/12345678).
[JsonPropertyName("deviceURL")]
public string? DeviceUrl { get; init; }
Property Value
Enabled
Whether the device is enabled in the user's setup.
public bool Enabled { get; init; }
Property Value
GatewayId
Gateway serial number parsed from the device URL.
public string? GatewayId { get; }
Property Value
Id
Alias for DeviceUrl; provided for convenience.
public string? Id { get; }
Property Value
IsSubDevice
true if this device is a sub-device (has a SubsystemId).
public bool IsSubDevice { get; }
Property Value
Label
User-visible label for the device.
public string? Label { get; init; }
Property Value
PlaceOid
OID of the place (room/floor) the device is assigned to.
public string? PlaceOid { get; init; }
Property Value
Protocol
Communication protocol parsed from the device URL prefix (e.g. Io).
public Protocol? Protocol { get; }
Property Value
States
Current live states reported by the device.
public States States { get; init; }
Property Value
SubsystemId
Sub-system index parsed from the device URL fragment, or null for top-level devices.
public int? SubsystemId { get; }
Property Value
- int?
Type
Whether the device is an actuator, a sensor, or unknown.
public ProductType Type { get; init; }
Property Value
UiClass
UI class parsed from UiClass.
public UIClass? UiClass { get; }
Property Value
Widget
UI widget parsed from WidgetName.
public UIWidget? Widget { get; }