Config

public struct Config : Decodable

Describes all configuration elements for a bridge. Note all times are stored in UTC.

  • Describes whitelisted user IDs.

    See more

    Declaration

    Swift

    public struct Whitelist : DynamicDecodable
  • Name of the bridge. This is also its uPnP name, so will reflect the actual uPnP name after any conflicts have been resolved.

    Declaration

    Swift

    public let name: String
  • The current wireless frequency channel used by the bridge. It can take values of 11, 15, 20,25 or 0 if undefined (factory new).

    Declaration

    Swift

    public let zigbeeChannel: String
  • The unique bridge id. This is currently generated from the bridge Ethernet mac address.

    Declaration

    Swift

    public let bridgeID: String
  • Whether the IP address of the bridge is obtained with DHCP.

    Declaration

    Swift

    public let isDHCP: Bool
  • IP address of the bridge.

    Declaration

    Swift

    public let ipAddress: String
  • This parameter uniquely identifies the hardware model of the bridge (BSB001, BSB002).

    Declaration

    Swift

    public let modelID: String
  • The version of the hue API in the format .., for example 1.2.1

    Declaration

    Swift

    public let apiVersion: String
  • A list of whitelisted user IDs.

    Declaration

    Swift

    public let whitelist: Whitelist