Documentation ¶
Index ¶
- type Adapter1ButtonWireless433
- func (d *Adapter1ButtonWireless433) Cycle(dev *api.Thing)
- func (d *Adapter1ButtonWireless433) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
- func (d *Adapter1ButtonWireless433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *Adapter1ButtonWireless433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, ...)
- type Adapter4ButtonWireless433
- func (d *Adapter4ButtonWireless433) Cycle(dev *api.Thing)
- func (d *Adapter4ButtonWireless433) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
- func (d *Adapter4ButtonWireless433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *Adapter4ButtonWireless433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, ...)
- type AdapterContactSensor433
- func (s *AdapterContactSensor433) Cycle(dev *api.Thing)
- func (d *AdapterContactSensor433) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
- func (sensor *AdapterContactSensor433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *AdapterContactSensor433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, ...)
- type AdapterDigitalHumidityTemperature433
- func (d *AdapterDigitalHumidityTemperature433) Cycle(dev *api.Thing)
- func (d *AdapterDigitalHumidityTemperature433) GetEventText(thing *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
- func (d *AdapterDigitalHumidityTemperature433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *AdapterDigitalHumidityTemperature433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, ...)
- type AdapterIPCamera
- func (d *AdapterIPCamera) Cycle(dev *api.Thing)
- func (d *AdapterIPCamera) GetEventText(thing *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
- func (d *AdapterIPCamera) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *AdapterIPCamera) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, ...)
- type AdapterKnockSensor433
- func (o *AdapterKnockSensor433) Cycle(dev *api.Thing)
- func (d *AdapterKnockSensor433) GetEventText(thing *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
- func (o *AdapterKnockSensor433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *AdapterKnockSensor433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, ...)
- type AdapterLGTV47LS5700
- func (tv *AdapterLGTV47LS5700) Cycle(dev *api.Thing)
- func (d *AdapterLGTV47LS5700) GetEventText(thing *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
- func (tv *AdapterLGTV47LS5700) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *AdapterLGTV47LS5700) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, ...)
- type AdapterMotionSensor433
- func (d *AdapterMotionSensor433) Cycle(dev *api.Thing)
- func (d *AdapterMotionSensor433) GetEventText(dev *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
- func (d *AdapterMotionSensor433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *AdapterMotionSensor433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, ...)
- type AdapterThingFuDemoAdapter
- func (d *AdapterThingFuDemoAdapter) Cycle(dev *api.Thing)
- func (d *AdapterThingFuDemoAdapter) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
- func (d *AdapterThingFuDemoAdapter) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *AdapterThingFuDemoAdapter) OnWrite(t *api.Thing, action string, req api.WriteRequest, db api.AppDB, ...)
- type AdapterWeather
- func (d *AdapterWeather) Cycle(dev *api.Thing)
- func (d *AdapterWeather) GetEventText(dev *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
- func (d *AdapterWeather) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *AdapterWeather) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, ...)
- type AdapterWebAppUtilities
- func (d *AdapterWebAppUtilities) Cycle(dev *api.Thing)
- func (d *AdapterWebAppUtilities) GetEventText(dev *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
- func (d *AdapterWebAppUtilities) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, ...) (state api.State)
- func (d *AdapterWebAppUtilities) OnWrite(t *api.Thing, op string, req api.WriteRequest, db api.AppDB, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter1ButtonWireless433 ¶
type Adapter1ButtonWireless433 struct { }
func (*Adapter1ButtonWireless433) Cycle ¶
func (d *Adapter1ButtonWireless433) Cycle(dev *api.Thing)
func (*Adapter1ButtonWireless433) GetEventText ¶
func (d *Adapter1ButtonWireless433) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
func (*Adapter1ButtonWireless433) OnRead ¶
func (d *Adapter1ButtonWireless433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*Adapter1ButtonWireless433) OnWrite ¶
func (d *Adapter1ButtonWireless433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type Adapter4ButtonWireless433 ¶
type Adapter4ButtonWireless433 struct { }
func (*Adapter4ButtonWireless433) Cycle ¶
func (d *Adapter4ButtonWireless433) Cycle(dev *api.Thing)
func (*Adapter4ButtonWireless433) GetEventText ¶
func (d *Adapter4ButtonWireless433) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
func (*Adapter4ButtonWireless433) OnRead ¶
func (d *Adapter4ButtonWireless433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*Adapter4ButtonWireless433) OnWrite ¶
func (d *Adapter4ButtonWireless433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type AdapterContactSensor433 ¶
type AdapterContactSensor433 struct { }
func (*AdapterContactSensor433) Cycle ¶
func (s *AdapterContactSensor433) Cycle(dev *api.Thing)
func (*AdapterContactSensor433) GetEventText ¶
func (d *AdapterContactSensor433) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
func (*AdapterContactSensor433) OnRead ¶
func (sensor *AdapterContactSensor433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*AdapterContactSensor433) OnWrite ¶
func (d *AdapterContactSensor433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type AdapterDigitalHumidityTemperature433 ¶
type AdapterDigitalHumidityTemperature433 struct { }
func (*AdapterDigitalHumidityTemperature433) Cycle ¶
func (d *AdapterDigitalHumidityTemperature433) Cycle(dev *api.Thing)
func (*AdapterDigitalHumidityTemperature433) GetEventText ¶
func (d *AdapterDigitalHumidityTemperature433) GetEventText(thing *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
func (*AdapterDigitalHumidityTemperature433) OnRead ¶
func (d *AdapterDigitalHumidityTemperature433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*AdapterDigitalHumidityTemperature433) OnWrite ¶
func (d *AdapterDigitalHumidityTemperature433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type AdapterIPCamera ¶
type AdapterIPCamera struct { }
func (*AdapterIPCamera) Cycle ¶
func (d *AdapterIPCamera) Cycle(dev *api.Thing)
func (*AdapterIPCamera) GetEventText ¶
func (d *AdapterIPCamera) GetEventText(thing *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
func (*AdapterIPCamera) OnRead ¶
func (d *AdapterIPCamera) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*AdapterIPCamera) OnWrite ¶
func (d *AdapterIPCamera) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type AdapterKnockSensor433 ¶
type AdapterKnockSensor433 struct { }
func (*AdapterKnockSensor433) Cycle ¶
func (o *AdapterKnockSensor433) Cycle(dev *api.Thing)
func (*AdapterKnockSensor433) GetEventText ¶
func (d *AdapterKnockSensor433) GetEventText(thing *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
func (*AdapterKnockSensor433) OnRead ¶
func (o *AdapterKnockSensor433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*AdapterKnockSensor433) OnWrite ¶
func (d *AdapterKnockSensor433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type AdapterLGTV47LS5700 ¶
type AdapterLGTV47LS5700 struct { }
func (*AdapterLGTV47LS5700) Cycle ¶
func (tv *AdapterLGTV47LS5700) Cycle(dev *api.Thing)
func (*AdapterLGTV47LS5700) GetEventText ¶
func (d *AdapterLGTV47LS5700) GetEventText(thing *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
func (*AdapterLGTV47LS5700) OnRead ¶
func (tv *AdapterLGTV47LS5700) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*AdapterLGTV47LS5700) OnWrite ¶
func (d *AdapterLGTV47LS5700) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type AdapterMotionSensor433 ¶
type AdapterMotionSensor433 struct { }
func (*AdapterMotionSensor433) Cycle ¶
func (d *AdapterMotionSensor433) Cycle(dev *api.Thing)
func (*AdapterMotionSensor433) GetEventText ¶
func (d *AdapterMotionSensor433) GetEventText(dev *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
func (*AdapterMotionSensor433) OnRead ¶
func (d *AdapterMotionSensor433) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*AdapterMotionSensor433) OnWrite ¶
func (d *AdapterMotionSensor433) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type AdapterThingFuDemoAdapter ¶
type AdapterThingFuDemoAdapter struct { }
func (*AdapterThingFuDemoAdapter) Cycle ¶
func (d *AdapterThingFuDemoAdapter) Cycle(dev *api.Thing)
func (*AdapterThingFuDemoAdapter) GetEventText ¶
func (d *AdapterThingFuDemoAdapter) GetEventText(dev *api.Thing, service *api.ThingService, state api.State) (shortText string, longText string)
func (*AdapterThingFuDemoAdapter) OnRead ¶
func (d *AdapterThingFuDemoAdapter) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*AdapterThingFuDemoAdapter) OnWrite ¶
func (d *AdapterThingFuDemoAdapter) OnWrite(t *api.Thing, action string, req api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type AdapterWeather ¶
type AdapterWeather struct { }
func (*AdapterWeather) Cycle ¶
func (d *AdapterWeather) Cycle(dev *api.Thing)
func (*AdapterWeather) GetEventText ¶
func (d *AdapterWeather) GetEventText(dev *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
func (*AdapterWeather) OnRead ¶
func (d *AdapterWeather) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*AdapterWeather) OnWrite ¶
func (d *AdapterWeather) OnWrite(t *api.Thing, op string, params api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
type AdapterWebAppUtilities ¶
type AdapterWebAppUtilities struct { }
func (*AdapterWebAppUtilities) Cycle ¶
func (d *AdapterWebAppUtilities) Cycle(dev *api.Thing)
func (*AdapterWebAppUtilities) GetEventText ¶
func (d *AdapterWebAppUtilities) GetEventText(dev *api.Thing, sensor *api.ThingService, state api.State) (shortText string, longText string)
func (*AdapterWebAppUtilities) OnRead ¶
func (d *AdapterWebAppUtilities) OnRead(dev *api.Thing, service *api.ThingService, data api.ReadRequest, handler api.ProtocolHandler) (state api.State)
func (*AdapterWebAppUtilities) OnWrite ¶
func (d *AdapterWebAppUtilities) OnWrite(t *api.Thing, op string, req api.WriteRequest, db api.AppDB, handler api.ProtocolHandler)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.