clusters

package
v0.7.76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

zhub4 - Система домашней автоматизации на Go Copyright (c) 2023 GSB, Georgii Batanov gbatanov @ yandex.ru

zhub4 - Система домашней автоматизации на Go Copyright (c) 2023 GSB, Georgii Batanov gbatanov @ yandex.ru

zhub4 - Система домашней автоматизации на Go Copyright (c) 2023 GSB, Georgii Batanov gbatanov @ yandex.ru

zhub4 - Система домашней автоматизации на Go Copyright (c) 2023 GSB, Georgii Batanov gbatanov @ yandex.ru

GSB, 2023 gbatanov@yandex.ru

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlarmsCluster

type AlarmsCluster struct {
	Ed *zdo.EndDevice
}

func (AlarmsCluster) HandlerAttributes

func (i AlarmsCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type AnalogInputCluster

type AnalogInputCluster struct {
	Ed *zdo.EndDevice
}

func (AnalogInputCluster) HandlerAttributes

func (a AnalogInputCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

Кастомные прошивки (Датчик климата, датчик движения/освещеения в детской) Ток у реле, в том числе у двойных

type BasicCluster

type BasicCluster struct {
	Ed *zdo.EndDevice
}

func (BasicCluster) HandlerAttributes

func (b BasicCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type ElectricalMeasurementCluster

type ElectricalMeasurementCluster struct {
	Ed          *zdo.EndDevice
	ChargerChan chan MotionMsg
}

func (ElectricalMeasurementCluster) HandlerAttributes

func (e ElectricalMeasurementCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

SmartPlug, double relay

type GroupsCluster

type GroupsCluster struct {
	Ed *zdo.EndDevice
}

func (GroupsCluster) HandlerAttributes

func (i GroupsCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type IasZoneCluster

type IasZoneCluster struct {
	Ed *zdo.EndDevice
}

func (IasZoneCluster) HandlerAttributes

func (i IasZoneCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type IdentifyCluster

type IdentifyCluster struct {
	Ed *zdo.EndDevice
}

func (IdentifyCluster) HandlerAttributes

func (i IdentifyCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type IkeaCluster

type IkeaCluster struct {
	Ed *zdo.EndDevice
}

func (IkeaCluster) HandlerAttributes

func (i IkeaCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type LightLinkCluster

type LightLinkCluster struct {
	Ed *zdo.EndDevice
}

func (LightLinkCluster) HandlerAttributes

func (i LightLinkCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type MotionMsg

type MotionMsg struct {
	Ed  *zdo.EndDevice
	Cmd uint8
}

type MultistateInputCluster

type MultistateInputCluster struct {
}

func (MultistateInputCluster) HandlerAttributes

func (m MultistateInputCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type OnOffCluster

type OnOffCluster struct {
	Ed      *zdo.EndDevice
	MsgChan chan MotionMsg
}

func (OnOffCluster) HandlerAttributes

func (o OnOffCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type PollControlCluster

type PollControlCluster struct {
	Ed *zdo.EndDevice
}

func (PollControlCluster) HandlerAttributes

func (i PollControlCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type PowerConfigurationCluster

type PowerConfigurationCluster struct {
	Ed *zdo.EndDevice
}

func (PowerConfigurationCluster) HandlerAttributes

func (p PowerConfigurationCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type SimpleMeteringCluster

type SimpleMeteringCluster struct {
	Ed *zdo.EndDevice
}

func (SimpleMeteringCluster) HandlerAttributes

func (s SimpleMeteringCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type TimeCluster

type TimeCluster struct {
	Ed *zdo.EndDevice
}

func (TimeCluster) HandlerAttributes

func (i TimeCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

type TuyaCluster

type TuyaCluster struct {
}

func (TuyaCluster) HandlerAttributes1

func (b TuyaCluster) HandlerAttributes1(endpoint zcl.Endpoint, attributes []zcl.Attribute)

unattended clusters TUYA_ELECTRICIAN_PRIVATE_CLUSTER SmartPlug and WaterValve

func (TuyaCluster) HandlerAttributes2

func (b TuyaCluster) HandlerAttributes2(endpoint zcl.Endpoint, attributes []zcl.Attribute)

TUYA_SWITCH_MODE_0

type XiaomiCluster

type XiaomiCluster struct {
	Ed *zdo.EndDevice
}

func (XiaomiCluster) HandlerAttributes

func (x XiaomiCluster) HandlerAttributes(endpoint zcl.Endpoint, attributes []zcl.Attribute)

Умные розетки

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL