Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JohanBendz/com.tuya.zigbee
/ functions
Functions
522 in github.com/JohanBendz/com.tuya.zigbee
⨍
Functions
522
◇
Types & classes
316
Method
COMMANDS
()
lib/TuyaWindowCoveringCluster.js:39
Method
COMMANDS
()
lib/IASZoneBoundCluster.js:15
Method
ID
()
lib/TuyaSpecificCluster.js:137
Method
NAME
()
lib/TuyaSpecificCluster.js:141
Function
__
* Method that returns a translated string for a given language code and locale key. * @param {string} language - e.g. 'en' or 'nl' * @param {string}
lib/util/index.js:149
Function
assertCapabilityId
* Method that asserts a given `capabilityId`. * @param {CapabilityId} capabilityId * @param {function} hasCapability - Function that should return t
lib/util/index.js:183
Function
assertZCLNode
* Method that asserts if a zclNode is properly initialized. * @param {ZCLNode} zclNode * @param {EndpointId} [endpointId] * @param {ClusterSpecific
lib/util/index.js:197
Function
calculateZigBeeDimDuration
* @deprecated since v1.0.0 - Use {@link calculateLevelControlTransitionTime} or * {@link calculateColorControlTransitionTime} instead. * @param opts
lib/util/index.js:116
Method
colorControlCluster
()
lib/TuyaZigBeeLightDevice.js:230
Method
constructor
({ onUpOpen, onDownClose, })
lib/WindowCoveringBoundCluster.js:7
Method
constructor
({ onData, })
lib/TuyaSpecificBoundCluster.js:7
Method
constructor
({ onZoneStatusChangeNotification, })
lib/IASZoneBoundCluster.js:4
Method
constructor
({ onSetOff, onSetOn, onWithTimedOff, onToggle, offWithEffect })
lib/OnOffBoundCluster.js:7
Method
constructor
(...args)
drivers/curtain_module_2_gang/device.js:17
Method
constructor
(...args)
drivers/wall_curtain_switch/device.js:18
Method
constructor
(...args)
drivers/curtain_module/device.js:18
Function
convertCIEToHSV
* Method that converts colors from the CIE (xyY) color space to the HSV color space. Note: do * not use this for converting xy values from Zigbee dev
lib/util/color.js:66
Function
convertHSVToCIE
* Method that converts colors from the HSV (or HSL) color space to the CIE (1931) color space. * @param {HSV} - HSV color object * @returns {CIExyY}
lib/util/color.js:47
Method
data
()
lib/TuyaSpecificBoundCluster.js:14
Function
debounce
* Plain JS implementation of debounce, returns a function which will be debounced when called. * @param {function} fn - Function to debounce * @para
lib/util/index.js:216
Function
debugZigbeeClusters
* Note: this method has been deprecated since 1.5.0, please use [`debug` from * `zigbee-clusters`](https://athombv.github.io/node-zigbee-clusters/glo
lib/util/index.js:336
Method
downClose
()
lib/WindowCoveringBoundCluster.js:22
Function
getDataValue
(dpValue)
lib/TuyaHelpers.js:82
Function
later
()
lib/util/index.js:226
Method
levelControlCluster
()
lib/TuyaZigBeeLightDevice.js:218
Function
limitValue
* Limit a value between min and max. * @param {number} value * @param {number} min * @param {number} max * @returns {number} * @memberof Util
lib/util/index.js:53
Function
mapTemperatureToHueSaturation
* Takes a temperature value (0-1) and returns a HSV object. It tries to mimic the light * temperature capabilities some devices have for RGB devices.
lib/util/color.js:84
Function
marshalSchedule
(workingDay, weekDayDataPoint, scheduleString)
lib/TuyaHelpers.js:167
Method
offWithEffect
()
lib/OnOffBoundCluster.js:42
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/temphumidsensor/device.js:54
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/lcdtemphumidsensor/device.js:54
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/rain_sensor/device.js:50
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/motion_sensor_2/device.js:67
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/temphumidsensor3/device.js:54
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/smart_motion_sensor/device.js:49
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/temphumidsensor2/device.js:44
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/smoke_sensor3/device.js:34
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/smart_door_window_sensor/device.js:50
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/lcdtemphumidsensor_2/device.js:54
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/lcdtemphumidluxsensor/device.js:67
Method
onBatteryPercentageRemainingAttributeReport
(batteryPercentageRemaining)
drivers/doorwindowsensor_4/device.js:42
Method
onDataReport
(response)
lib/TuyaSpecificCluster.js:173
Method
onDeleted
()
drivers/wall_remote_4_gang/device.js:47
Method
onDeleted
()
drivers/switch_2_gang/device.js:35
Method
onDeleted
()
drivers/outdoor_2_socket/device.secondSocket.js:34
Method
onDeleted
()
drivers/outdoor_2_socket/device.js:88
Method
onDeleted
()
drivers/doorwindowsensor/device.js:25
Method
onDeleted
()
drivers/wall_remote_3_gang/device.js:44
Method
onDeleted
()
drivers/socket_power_strip_four_three/device.js:29
Method
onDeleted
()
drivers/temphumidsensor5/device.js:131
Method
onDeleted
()
drivers/switch_1_gang/device.js:24
Method
onDeleted
()
drivers/relay_board_4_channel/device.js:42
Method
onDeleted
()
drivers/plug/device.js:27
Method
onDeleted
()
drivers/tuya_dummy_device/device.js:62
Method
onDeleted
()
drivers/wall_remote_4_gang_3/device.js:42
Method
onDeleted
()
drivers/wall_switch_3_gang/device.js:49
Method
onDeleted
()
drivers/smart_knob_switch/device.js:59
Method
onDeleted
()
drivers/pirsensor/device.js:26
Method
onDeleted
()
drivers/switch_4_gang_metering/device.js:128
Method
onDeleted
()
drivers/temphumidsensor/device.js:61
Method
onDeleted
()
drivers/wall_remote_2_gang/device.js:43
Method
onDeleted
()
drivers/smart_remote_1_button/device.js:63
Method
onDeleted
()
drivers/smart_air_detection_box/device.js:110
Method
onDeleted
()
drivers/smart_remote_4_buttons/device.js:48
Method
onDeleted
()
drivers/soilsensor_2/device.js:107
Method
onDeleted
()
drivers/doorwindowsensor_2/device.js:27
Method
onDeleted
()
drivers/smart_switch/device.js:22
Method
onDeleted
()
drivers/wall_switch_6_gang_tuya/device.js:129
Method
onDeleted
()
drivers/dimmer_1_gang_2/device.js:50
Method
onDeleted
()
drivers/pir_sensor_2/device.js:26
Method
onDeleted
()
drivers/wall_remote_1_gang/device.js:43
Method
onDeleted
()
drivers/wall_remote_4_gang_2/device.js:38
Method
onDeleted
()
drivers/curtain_module_2_gang/device.js:197
Method
onDeleted
()
drivers/water_leak_sensor_tuya/device.js:58
Method
onDeleted
()
drivers/smoke_sensor2/device.js:104
Method
onDeleted
()
drivers/socket_power_strip_four_two/device.js:29
Method
onDeleted
()
drivers/smart_remote_1_button_2/device.js:44
Method
onDeleted
()
drivers/lcdtemphumidsensor/device.js:61
Method
onDeleted
()
drivers/wall_switch_1_gang/device.js:34
Method
onDeleted
()
drivers/flood_sensor/device.js:25
Method
onDeleted
()
drivers/relay_board_1_channel/device.js:33
Method
onDeleted
()
drivers/wall_dimmer_tuya/device.js:105
Method
onDeleted
()
drivers/radar_sensor_2/device.js:119
Method
onDeleted
()
drivers/rain_sensor/device.js:94
Method
onDeleted
()
drivers/motion_sensor/device.js:44
Method
onDeleted
()
drivers/wall_curtain_switch/device.js:166
Method
onDeleted
()
drivers/temphumidsensor4/device.js:136
Method
onDeleted
()
drivers/siren/device.js:188
Method
onDeleted
()
drivers/dimmer_2_gang_tuya/device.js:186
Method
onDeleted
()
drivers/motion_sensor_2/device.js:88
Method
onDeleted
()
drivers/dimmer_2_gang/device.js:30
Method
onDeleted
()
drivers/dimmer_1_gang_tuya/device.js:119
Method
onDeleted
()
drivers/temphumidsensor3/device.js:61
Method
onDeleted
()
drivers/smoke_sensor/device.js:23
Method
onDeleted
()
drivers/wall_switch_4_gang_tuya/device.js:113
Method
onDeleted
()
drivers/smartPlug_DinRail/device.js:131
Method
onDeleted
()
drivers/smartplug/device.js:125
Method
onDeleted
()
drivers/thermostatic_radiator_valve/device.js:211
Method
onDeleted
()
drivers/relay_board_2_channel/device.js:36
Method
onDeleted
()
drivers/smart_button_switch/device.js:36
← previous
next →
201–300 of 522, ranked by callers