Documentation ¶
Index ¶
- type ClusterFunctions
- type Functions
- type GenericFunctions
- type GlobalClusterFunctions
- func (f *GlobalClusterFunctions) ReadAttributes(nwkAddress string, clusterId cluster.ClusterId, attributeIds []uint16) (*cluster.ReadAttributesResponse, error)
- func (f *GlobalClusterFunctions) WriteAttributes(nwkAddress string, clusterId cluster.ClusterId, ...) (*cluster.WriteAttributesResponse, error)
- type LevelControl
- func (f *LevelControl) Move(nwkAddress string, endpoint uint8, moveMode uint8, rate uint8) error
- func (f *LevelControl) MoveOnOff(nwkAddress string, endpoint uint8, moveMode uint8, rate uint8) error
- func (f *LevelControl) MoveToLevel(nwkAddress string, endpoint uint8, level uint8, transitionTime uint16) error
- func (f *LevelControl) MoveToLevelOnOff(nwkAddress string, endpoint uint8, level uint8, transitionTime uint16) error
- func (f *LevelControl) Step(nwkAddress string, endpoint uint8, stepMode uint8, stepSize uint8, ...) error
- func (f *LevelControl) StepOnOff(nwkAddress string, endpoint uint8, stepMode uint8, stepSize uint8, ...) error
- func (f *LevelControl) Stop(nwkAddress string, endpoint uint8) error
- func (f *LevelControl) StopOnOff(nwkAddress string, endpoint uint8) error
- type LocalCluster
- type LocalClusterFunctions
- type OnOff
- func (f *OnOff) Off(nwkAddress string, endpoint uint8) error
- func (f *OnOff) OffWithEffect(nwkAddress string, endpoint uint8, effectId uint8, effectVariant uint8) error
- func (f *OnOff) On(nwkAddress string, endpoint uint8) error
- func (f *OnOff) OnWithRecallGlobalScene(nwkAddress string, endpoint uint8, effectId uint8, effectVariant uint8) error
- func (f *OnOff) OnWithTimedOff(nwkAddress string, endpoint uint8, onOffControl uint8, onTime uint16, ...) error
- func (f *OnOff) Toggle(nwkAddress string, endpoint uint8) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterFunctions ¶
type ClusterFunctions struct {
// contains filtered or unexported fields
}
func (*ClusterFunctions) Global ¶
func (f *ClusterFunctions) Global() *GlobalClusterFunctions
func (*ClusterFunctions) Local ¶
func (f *ClusterFunctions) Local() *LocalClusterFunctions
type Functions ¶
type Functions struct {
// contains filtered or unexported fields
}
func New ¶
func New(coordinator *coordinator.Coordinator, zcl *zcl.Zcl) *Functions
func (*Functions) Cluster ¶
func (f *Functions) Cluster() *ClusterFunctions
func (*Functions) Generic ¶
func (f *Functions) Generic() *GenericFunctions
type GenericFunctions ¶
type GenericFunctions struct {
// contains filtered or unexported fields
}
type GlobalClusterFunctions ¶
type GlobalClusterFunctions struct {
// contains filtered or unexported fields
}
func (*GlobalClusterFunctions) ReadAttributes ¶
func (f *GlobalClusterFunctions) ReadAttributes(nwkAddress string, clusterId cluster.ClusterId, attributeIds []uint16) (*cluster.ReadAttributesResponse, error)
func (*GlobalClusterFunctions) WriteAttributes ¶
func (f *GlobalClusterFunctions) WriteAttributes(nwkAddress string, clusterId cluster.ClusterId, writeAttributeRecords []*cluster.WriteAttributeRecord) (*cluster.WriteAttributesResponse, error)
type LevelControl ¶
type LevelControl struct {
*LocalCluster
}
func (*LevelControl) MoveToLevel ¶
func (*LevelControl) MoveToLevelOnOff ¶
type LocalCluster ¶
type LocalCluster struct {
// contains filtered or unexported fields
}
type LocalClusterFunctions ¶
type LocalClusterFunctions struct {
// contains filtered or unexported fields
}
func NewLocalClusterFunctions ¶
func NewLocalClusterFunctions(coordinator *coordinator.Coordinator, zcl *zcl.Zcl) *LocalClusterFunctions
func (*LocalClusterFunctions) LevelControl ¶
func (f *LocalClusterFunctions) LevelControl() *LevelControl
func (*LocalClusterFunctions) OnOff ¶
func (f *LocalClusterFunctions) OnOff() *OnOff
type OnOff ¶
type OnOff struct {
*LocalCluster
}
func (*OnOff) OffWithEffect ¶
func (*OnOff) OnWithRecallGlobalScene ¶
func (*OnOff) OnWithTimedOff ¶
Click to show internal directories.
Click to hide internal directories.