Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct { // Control name of the control invoked Control string // Code status Code int32 }
Body response form command sent by ws
type Config ¶
type Config struct { // LastModified LastModified string // MsInfo MsInfo map[string]interface{} // GlobalStates states about the sun, the day, etc GlobalStates map[string]string // OperatingModes of the loxone server OperatingModes map[string]interface{} // Rooms of the loxone server Rooms map[string]*Room // Cats Categories of the loxone server Cats map[string]*Category // Controls all the control of the loxone server Controls map[string]*Control }
Config represent the LoxAPP3.json config file
type Control ¶
type Control struct { Name string Type string UUIDAction string IsFavorite bool `json:"isFavorite"` Room string Cat string States map[string]interface{} // Can be an array or a string }
Control represent a control
type Loxone ¶
type Loxone struct { // Loxone Events received from the websockets Events chan *events.Event // contains filtered or unexported fields }
Loxone The loxone object exposed
func (*Loxone) PumpEvents ¶
func (*Loxone) RegisterEvents ¶
RegisterEvents ask the loxone server to send events
type SimpleValue ¶
type SimpleValue struct { // The value answered Value string }
SimpleValue represent a simple Loxone Response Value
Click to show internal directories.
Click to hide internal directories.