Table of Contents

Class RainPointHub

Namespace
RainPointClient
Assembly
RainPointClient.dll

A cloud gateway and its RF children. Discover again after pairing changes.

public sealed class RainPointHub
Inheritance
RainPointHub
Inherited Members

Constructors

RainPointHub()

Initializes a new RainPointHub instance with its declared default values.

public RainPointHub()

Properties

AutomaticTimeBroadcastEnabled

Gets the decoded automatic RF time-broadcast setting, or null when unavailable or unsupported.

[JsonIgnore]
public bool? AutomaticTimeBroadcastEnabled { get; }

Property Value

bool?

DeviceName

Gets the vendor IoT device identity used to address hub operations.

[JsonPropertyName("deviceName")]
[JsonRequired]
[JsonInclude]
public string DeviceName { get; }

Property Value

string

Devices

Gets the paired RF children reported by discovery; refresh discovery after pairing changes.

[JsonPropertyName("subDevices")]
[JsonInclude]
public IReadOnlyList<RainPointDevice> Devices { get; }

Property Value

IReadOnlyList<RainPointDevice>

FirmwareVersion

Gets the reported firmware version string, or null when absent.

[JsonPropertyName("softVer")]
[JsonInclude]
public string? FirmwareVersion { get; }

Property Value

string

HomeId

Gets the owning home ID assigned during discovery.

[JsonIgnore]
public long HomeId { get; }

Property Value

long

Id

Gets the cloud hub identifier, distinct from a child's RF address.

[JsonPropertyName("mid")]
[JsonRequired]
[JsonInclude]
public long Id { get; }

Property Value

long

MacAddress

Gets the reported MAC address, or null when absent.

[JsonPropertyName("mac")]
[JsonInclude]
public string? MacAddress { get; }

Property Value

string

Model

Gets the hub model identifier reported by the cloud.

[JsonPropertyName("model")]
[JsonInclude]
public string Model { get; }

Property Value

string

ModelCode

Gets the vendor model code, or null when not reported.

[JsonPropertyName("modelCode")]
[JsonInclude]
public int? ModelCode { get; }

Property Value

int?

Name

Gets the assigned hub name; an omitted wire name remains an empty string.

[JsonPropertyName("name")]
[JsonInclude]
public string Name { get; }

Property Value

string

ProductKey

Gets the vendor IoT product identity used with the device name.

[JsonPropertyName("productKey")]
[JsonRequired]
[JsonInclude]
public string ProductKey { get; }

Property Value

string

RfChannel

Reported RF receive channel. Writes support channels 1..3 for supported hubs.

[JsonIgnore]
public int? RfChannel { get; }

Property Value

int?

SupportsSceneExecution

Gets advertised scene-execution capability, or null when the capability metadata is unknown.

[JsonIgnore]
public bool? SupportsSceneExecution { get; }

Property Value

bool?