Table of Contents

Class SystemModule

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Provides module-style access to system information for a device.

public sealed class SystemModule
Inheritance
SystemModule
Inherited Members

Properties

Alias

Gets the latest device alias.

public string Alias { get; }

Property Value

string

HardwareVersion

Gets the latest hardware version.

public string? HardwareVersion { get; }

Property Value

string

Info

Gets the latest raw system information payload.

public DeviceSystemInfo? Info { get; }

Property Value

DeviceSystemInfo

MacAddress

Gets the latest device MAC address.

public string? MacAddress { get; }

Property Value

string

Model

Gets the latest device model.

public string? Model { get; }

Property Value

string

OnSince

Gets the derived timestamp for when the device was turned on.

public DateTimeOffset? OnSince { get; }

Property Value

DateTimeOffset?

OnTime

Gets the reported device on-time duration.

public TimeSpan? OnTime { get; }

Property Value

TimeSpan?

Rssi

Gets the reported device RSSI in dBm.

public int? Rssi { get; }

Property Value

int?

SoftwareVersion

Gets the latest software version.

public string? SoftwareVersion { get; }

Property Value

string

Methods

UpdateAsync(CancellationToken)

Refreshes system information from the device.

public Task UpdateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token for the operation.

Returns

Task

A task that completes when the system information is refreshed.