Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TFAccessory ¶
type TFAccessory struct { // These are set (if required by the platform) in the accessory's config file Platform string // Kasa, Tradfri, Tradfri-Device, Shelly, etc Name string // the name used internally IP string // the IP address of the device Username string // for Tradfri, Shelly -- the MAC for Konnected Password string // for Tradfri, Shelly -- the Token for Konnected Info hcaccessory.Info // defined at https://github.com/brutella/hc/blob/master/accessory/accessory.go Type hcaccessory.AccessoryType // relevant only to Konnected boards KonnectedZones []Zone /* below this line are NOT set in config file */ *hcaccessory.Accessory // set when the device is added to HomeControl Device interface{} }
TFAccessory is the accessory type, TooFar's stuff, plus hc's stuff
Click to show internal directories.
Click to hide internal directories.