mirror of https://github.com/arendst/Tasmota.git
913 lines
24 KiB
C++
913 lines
24 KiB
C++
/*
|
|
xdrv_23_zigbee_5__constants.ino - zigbee support for Tasmota
|
|
|
|
Copyright (C) 2020 Theo Arends and Stephan Hadinger
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifdef USE_ZIGBEE
|
|
|
|
// Below is a compilation of Strings used in Zigbee commands and converters.
|
|
// Instead of using pointer to strings (4 bytes), we are using an offset (16 bits)
|
|
// into an array of strings - which leads to a 1/3 more compact structure.
|
|
|
|
// To generate the code below use https://tasmota.hadinger.fr/util
|
|
// and copy/paste the entire arrays `Z_PostProcess` and `Z_Commands` concatenated
|
|
// Note: the 'C' syntax is irrelevant, the parser only looks for `Z_(<string>)`
|
|
|
|
// In addition the Python3 code used is below:
|
|
|
|
/*Python code to generate code below
|
|
|
|
import re
|
|
pat = r"Z\(([^\)]+)\)" # extract text in Z() macro
|
|
|
|
def clean(s):
|
|
return s.strip(" \t\n\r")
|
|
|
|
def strings_to_pmem(arg):
|
|
#strings = arg.split("\n")
|
|
strings = re.findall(pat, arg)
|
|
|
|
# do some basic cleaning
|
|
strings_cleaned = [ clean(x) for x in strings if clean(x) != ""]
|
|
|
|
# remove duplicates
|
|
strings_cleaned = list(dict.fromkeys(strings_cleaned))
|
|
|
|
out_s = "const char Z_strings[] PROGMEM = \n"
|
|
out_i = "enum Z_offsets {\n"
|
|
|
|
index = 0;
|
|
# add a first empty string
|
|
out_s += " \"\\x00\"\n"
|
|
out_i += " Zo_ = " + str(index) + ",\n"
|
|
index += 1
|
|
|
|
for s in strings_cleaned:
|
|
out_s += " \"" + s + "\" \"\\x00\"\n"
|
|
out_i += " Zo_" + s + " = " + str(index) + ",\n"
|
|
index += len(s) + 1 # add one for null char
|
|
|
|
out_s += " \"\\x00\";"
|
|
out_i += "};"
|
|
|
|
return ("", out_s, out_i)
|
|
|
|
|
|
*/
|
|
|
|
/*
|
|
DO NOT EDIT
|
|
*/
|
|
|
|
const char Z_strings[] PROGMEM =
|
|
"\x00"
|
|
"ZCLVersion" "\x00"
|
|
"AppVersion" "\x00"
|
|
"StackVersion" "\x00"
|
|
"HWVersion" "\x00"
|
|
"Manufacturer" "\x00"
|
|
"ModelId" "\x00"
|
|
"DateCode" "\x00"
|
|
"PowerSource" "\x00"
|
|
"GenericDeviceClass" "\x00"
|
|
"GenericDeviceType" "\x00"
|
|
"ProductCode" "\x00"
|
|
"ProductURL" "\x00"
|
|
"SWBuildID" "\x00"
|
|
"MainsVoltage" "\x00"
|
|
"MainsFrequency" "\x00"
|
|
"BatteryVoltage" "\x00"
|
|
"BatteryPercentage" "\x00"
|
|
"CurrentTemperature" "\x00"
|
|
"MinTempExperienced" "\x00"
|
|
"MaxTempExperienced" "\x00"
|
|
"OverTempTotalDwell" "\x00"
|
|
"IdentifyTime" "\x00"
|
|
"GroupNameSupport" "\x00"
|
|
"SceneCount" "\x00"
|
|
"CurrentScene" "\x00"
|
|
"CurrentGroup" "\x00"
|
|
"SceneValid" "\x00"
|
|
"Power" "\x00"
|
|
"StartUpOnOff" "\x00"
|
|
"SwitchType" "\x00"
|
|
"Dimmer" "\x00"
|
|
"DimmerOptions" "\x00"
|
|
"DimmerRemainingTime" "\x00"
|
|
"OnOffTransitionTime" "\x00"
|
|
"AlarmCount" "\x00"
|
|
"Time" "\x00"
|
|
"TimeStatus" "\x00"
|
|
"TimeZone" "\x00"
|
|
"DstStart" "\x00"
|
|
"DstEnd" "\x00"
|
|
"DstShift" "\x00"
|
|
"StandardTime" "\x00"
|
|
"LocalTime" "\x00"
|
|
"LastSetTime" "\x00"
|
|
"ValidUntilTime" "\x00"
|
|
"TimeEpoch" "\x00"
|
|
"LocationType" "\x00"
|
|
"LocationMethod" "\x00"
|
|
"LocationAge" "\x00"
|
|
"QualityMeasure" "\x00"
|
|
"NumberOfDevices" "\x00"
|
|
"AnalogInDescription" "\x00"
|
|
"AnalogInMaxValue" "\x00"
|
|
"AnalogInMinValue" "\x00"
|
|
"AnalogInOutOfService" "\x00"
|
|
"AqaraRotate" "\x00"
|
|
"AnalogInReliability" "\x00"
|
|
"AnalogInResolution" "\x00"
|
|
"AnalogInStatusFlags" "\x00"
|
|
"AnalogInEngineeringUnits" "\x00"
|
|
"AnalogInApplicationType" "\x00"
|
|
"Aqara_FF05" "\x00"
|
|
"AnalogOutDescription" "\x00"
|
|
"AnalogOutMaxValue" "\x00"
|
|
"AnalogOutMinValue" "\x00"
|
|
"AnalogOutOutOfService" "\x00"
|
|
"AnalogOutValue" "\x00"
|
|
"AnalogOutReliability" "\x00"
|
|
"AnalogOutRelinquishDefault" "\x00"
|
|
"AnalogOutResolution" "\x00"
|
|
"AnalogOutStatusFlags" "\x00"
|
|
"AnalogOutEngineeringUnits" "\x00"
|
|
"AnalogOutApplicationType" "\x00"
|
|
"AnalogDescription" "\x00"
|
|
"AnalogOutOfService" "\x00"
|
|
"AnalogValue" "\x00"
|
|
"AnalogPriorityArray" "\x00"
|
|
"AnalogReliability" "\x00"
|
|
"AnalogRelinquishDefault" "\x00"
|
|
"AnalogStatusFlags" "\x00"
|
|
"AnalogEngineeringUnits" "\x00"
|
|
"AnalogApplicationType" "\x00"
|
|
"BinaryInActiveText" "\x00"
|
|
"BinaryInDescription" "\x00"
|
|
"BinaryInInactiveText" "\x00"
|
|
"BinaryInOutOfService" "\x00"
|
|
"BinaryInPolarity" "\x00"
|
|
"BinaryInValue" "\x00"
|
|
"BinaryInReliability" "\x00"
|
|
"BinaryInStatusFlags" "\x00"
|
|
"BinaryInApplicationType" "\x00"
|
|
"BinaryOutActiveText" "\x00"
|
|
"BinaryOutDescription" "\x00"
|
|
"BinaryOutInactiveText" "\x00"
|
|
"BinaryOutMinimumOffTime" "\x00"
|
|
"BinaryOutMinimumOnTime" "\x00"
|
|
"BinaryOutOutOfService" "\x00"
|
|
"BinaryOutPolarity" "\x00"
|
|
"BinaryOutValue" "\x00"
|
|
"BinaryOutReliability" "\x00"
|
|
"BinaryOutRelinquishDefault" "\x00"
|
|
"BinaryOutStatusFlags" "\x00"
|
|
"BinaryOutApplicationType" "\x00"
|
|
"BinaryActiveText" "\x00"
|
|
"BinaryDescription" "\x00"
|
|
"BinaryInactiveText" "\x00"
|
|
"BinaryMinimumOffTime" "\x00"
|
|
"BinaryMinimumOnTime" "\x00"
|
|
"BinaryOutOfService" "\x00"
|
|
"BinaryValue" "\x00"
|
|
"BinaryReliability" "\x00"
|
|
"BinaryRelinquishDefault" "\x00"
|
|
"BinaryStatusFlags" "\x00"
|
|
"BinaryApplicationType" "\x00"
|
|
"MultiInDescription" "\x00"
|
|
"MultiInNumberOfStates" "\x00"
|
|
"MultiInOutOfService" "\x00"
|
|
"MultiInValue" "\x00"
|
|
"MultiInReliability" "\x00"
|
|
"MultiInStatusFlags" "\x00"
|
|
"MultiInApplicationType" "\x00"
|
|
"MultiOutDescription" "\x00"
|
|
"MultiOutNumberOfStates" "\x00"
|
|
"MultiOutOutOfService" "\x00"
|
|
"MultiOutValue" "\x00"
|
|
"MultiOutReliability" "\x00"
|
|
"MultiOutRelinquishDefault" "\x00"
|
|
"MultiOutStatusFlags" "\x00"
|
|
"MultiOutApplicationType" "\x00"
|
|
"MultiDescription" "\x00"
|
|
"MultiNumberOfStates" "\x00"
|
|
"MultiOutOfService" "\x00"
|
|
"MultiValue" "\x00"
|
|
"MultiReliability" "\x00"
|
|
"MultiRelinquishDefault" "\x00"
|
|
"MultiStatusFlags" "\x00"
|
|
"MultiApplicationType" "\x00"
|
|
"TotalProfileNum" "\x00"
|
|
"MultipleScheduling" "\x00"
|
|
"EnergyFormatting" "\x00"
|
|
"EnergyRemote" "\x00"
|
|
"ScheduleMode" "\x00"
|
|
"CheckinInterval" "\x00"
|
|
"LongPollInterval" "\x00"
|
|
"ShortPollInterval" "\x00"
|
|
"FastPollTimeout" "\x00"
|
|
"CheckinIntervalMin" "\x00"
|
|
"LongPollIntervalMin" "\x00"
|
|
"FastPollTimeoutMax" "\x00"
|
|
"PhysicalClosedLimit" "\x00"
|
|
"MotorStepSize" "\x00"
|
|
"Status" "\x00"
|
|
"ClosedLimit" "\x00"
|
|
"Mode" "\x00"
|
|
"LockState" "\x00"
|
|
"LockType" "\x00"
|
|
"ActuatorEnabled" "\x00"
|
|
"DoorState" "\x00"
|
|
"DoorOpenEvents" "\x00"
|
|
"DoorClosedEvents" "\x00"
|
|
"OpenPeriod" "\x00"
|
|
"AqaraVibrationMode" "\x00"
|
|
"AqaraVibrationsOrAngle" "\x00"
|
|
"AqaraVibration505" "\x00"
|
|
"AqaraAccelerometer" "\x00"
|
|
"WindowCoveringType" "\x00"
|
|
"PhysicalClosedLimitLift" "\x00"
|
|
"PhysicalClosedLimitTilt" "\x00"
|
|
"CurrentPositionLift" "\x00"
|
|
"CurrentPositionTilt" "\x00"
|
|
"NumberofActuationsLift" "\x00"
|
|
"NumberofActuationsTilt" "\x00"
|
|
"ConfigStatus" "\x00"
|
|
"CurrentPositionLiftPercentage" "\x00"
|
|
"CurrentPositionTiltPercentage" "\x00"
|
|
"InstalledOpenLimitLift" "\x00"
|
|
"InstalledClosedLimitLift" "\x00"
|
|
"InstalledOpenLimitTilt" "\x00"
|
|
"InstalledClosedLimitTilt" "\x00"
|
|
"VelocityLift" "\x00"
|
|
"AccelerationTimeLift" "\x00"
|
|
"DecelerationTimeLift" "\x00"
|
|
"IntermediateSetpointsLift" "\x00"
|
|
"IntermediateSetpointsTilt" "\x00"
|
|
"LocalTemperature" "\x00"
|
|
"OutdoorTemperature" "\x00"
|
|
"PICoolingDemand" "\x00"
|
|
"PIHeatingDemand" "\x00"
|
|
"LocalTemperatureCalibration" "\x00"
|
|
"OccupiedCoolingSetpoint" "\x00"
|
|
"OccupiedHeatingSetpoint" "\x00"
|
|
"UnoccupiedCoolingSetpoint" "\x00"
|
|
"UnoccupiedHeatingSetpoint" "\x00"
|
|
"RemoteSensing" "\x00"
|
|
"ControlSequenceOfOperation" "\x00"
|
|
"SystemMode" "\x00"
|
|
"TRVMode" "\x00"
|
|
"ValvePosition" "\x00"
|
|
"EurotronicErrors" "\x00"
|
|
"CurrentTemperatureSetPoint" "\x00"
|
|
"ThSetpoint" "\x00"
|
|
"TempTarget" "\x00"
|
|
"Hue" "\x00"
|
|
"Sat" "\x00"
|
|
"RemainingTime" "\x00"
|
|
"X" "\x00"
|
|
"Y" "\x00"
|
|
"DriftCompensation" "\x00"
|
|
"CompensationText" "\x00"
|
|
"CT" "\x00"
|
|
"ColorMode" "\x00"
|
|
"NumberOfPrimaries" "\x00"
|
|
"Primary1X" "\x00"
|
|
"Primary1Y" "\x00"
|
|
"Primary1Intensity" "\x00"
|
|
"Primary2X" "\x00"
|
|
"Primary2Y" "\x00"
|
|
"Primary2Intensity" "\x00"
|
|
"Primary3X" "\x00"
|
|
"Primary3Y" "\x00"
|
|
"Primary3Intensity" "\x00"
|
|
"WhitePointX" "\x00"
|
|
"WhitePointY" "\x00"
|
|
"ColorPointRX" "\x00"
|
|
"ColorPointRY" "\x00"
|
|
"ColorPointRIntensity" "\x00"
|
|
"ColorPointGX" "\x00"
|
|
"ColorPointGY" "\x00"
|
|
"ColorPointGIntensity" "\x00"
|
|
"ColorPointBX" "\x00"
|
|
"ColorPointBY" "\x00"
|
|
"ColorPointBIntensity" "\x00"
|
|
"Illuminance" "\x00"
|
|
"IlluminanceMinMeasuredValue" "\x00"
|
|
"IlluminanceMaxMeasuredValue" "\x00"
|
|
"IlluminanceTolerance" "\x00"
|
|
"IlluminanceLightSensorType" "\x00"
|
|
"IlluminanceLevelStatus" "\x00"
|
|
"IlluminanceTargetLevel" "\x00"
|
|
"Temperature" "\x00"
|
|
"TemperatureMinMeasuredValue" "\x00"
|
|
"TemperatureMaxMeasuredValue" "\x00"
|
|
"TemperatureTolerance" "\x00"
|
|
"Pressure" "\x00"
|
|
"PressureMinMeasuredValue" "\x00"
|
|
"PressureMaxMeasuredValue" "\x00"
|
|
"PressureTolerance" "\x00"
|
|
"PressureScaledValue" "\x00"
|
|
"PressureMinScaledValue" "\x00"
|
|
"PressureMaxScaledValue" "\x00"
|
|
"PressureScaledTolerance" "\x00"
|
|
"PressureScale" "\x00"
|
|
"SeaPressure" "\x00"
|
|
"FlowRate" "\x00"
|
|
"FlowMinMeasuredValue" "\x00"
|
|
"FlowMaxMeasuredValue" "\x00"
|
|
"FlowTolerance" "\x00"
|
|
"Humidity" "\x00"
|
|
"HumidityMinMeasuredValue" "\x00"
|
|
"HumidityMaxMeasuredValue" "\x00"
|
|
"HumidityTolerance" "\x00"
|
|
"Occupancy" "\x00"
|
|
"OccupancySensorType" "\x00"
|
|
"ZoneState" "\x00"
|
|
"ZoneType" "\x00"
|
|
"ZoneStatus" "\x00"
|
|
"CIE" "\x00"
|
|
"Contact" "\x00"
|
|
"Fire" "\x00"
|
|
"Water" "\x00"
|
|
"CO" "\x00"
|
|
"PersonalAlarm" "\x00"
|
|
"Movement" "\x00"
|
|
"Panic" "\x00"
|
|
"GlassBreak" "\x00"
|
|
"EnergyTotal" "\x00"
|
|
"CompanyName" "\x00"
|
|
"MeterTypeID" "\x00"
|
|
"DataQualityID" "\x00"
|
|
"CustomerName" "\x00"
|
|
"Model" "\x00"
|
|
"PartNumber" "\x00"
|
|
"ProductRevision" "\x00"
|
|
"SoftwareRevision" "\x00"
|
|
"UtilityName" "\x00"
|
|
"POD" "\x00"
|
|
"AvailablePower" "\x00"
|
|
"PowerThreshold" "\x00"
|
|
"RMSVoltage" "\x00"
|
|
"RMSCurrent" "\x00"
|
|
"ActivePower" "\x00"
|
|
"ReactivePower" "\x00"
|
|
"ApparentPower" "\x00"
|
|
"NumberOfResets" "\x00"
|
|
"PersistentMemoryWrites" "\x00"
|
|
"LastMessageLQI" "\x00"
|
|
"LastMessageRSSI" "\x00"
|
|
"TuyaScheduleWorkdays" "\x00"
|
|
"TuyaScheduleHolidays" "\x00"
|
|
"Power2" "\x00"
|
|
"Power3" "\x00"
|
|
"Power4" "\x00"
|
|
"TuyaChildLock" "\x00"
|
|
"TuyaWindowDetection" "\x00"
|
|
"TuyaValveDetection" "\x00"
|
|
"TuyaAutoLock" "\x00"
|
|
"TuyaTempTarget" "\x00"
|
|
"TuyaBattery" "\x00"
|
|
"TuyaMinTemp" "\x00"
|
|
"TuyaMaxTemp" "\x00"
|
|
"TuyaBoostTime" "\x00"
|
|
"TuyaComfortTemp" "\x00"
|
|
"TuyaEcoTemp" "\x00"
|
|
"TuyaValvePosition" "\x00"
|
|
"TuyaAwayTemp" "\x00"
|
|
"TuyaAwayDays" "\x00"
|
|
"TuyaPreset" "\x00"
|
|
"TuyaFanMode" "\x00"
|
|
"TuyaForceMode" "\x00"
|
|
"TuyaWeekSelect" "\x00"
|
|
"TerncyDuration" "\x00"
|
|
"TerncyRotate" "\x00"
|
|
"Identify" "\x00"
|
|
"xxxx" "\x00"
|
|
"IdentifyQuery" "\x00"
|
|
"AddGroup" "\x00"
|
|
"xxxx00" "\x00"
|
|
"ViewGroup" "\x00"
|
|
"GetGroup" "\x00"
|
|
"01xxxx" "\x00"
|
|
"GetAllGroups" "\x00"
|
|
"00" "\x00"
|
|
"RemoveGroup" "\x00"
|
|
"RemoveAllGroups" "\x00"
|
|
"ViewScene" "\x00"
|
|
"xxxxyy" "\x00"
|
|
"RemoveScene" "\x00"
|
|
"RemoveAllScenes" "\x00"
|
|
"RecallScene" "\x00"
|
|
"GetSceneMembership" "\x00"
|
|
"PowerOffEffect" "\x00"
|
|
"xxyy" "\x00"
|
|
"PowerOnRecall" "\x00"
|
|
"PowerOnTimer" "\x00"
|
|
"xxyyyyzzzz" "\x00"
|
|
"xx0A00" "\x00"
|
|
"DimmerUp" "\x00"
|
|
"00190200" "\x00"
|
|
"DimmerDown" "\x00"
|
|
"01190200" "\x00"
|
|
"DimmerStop" "\x00"
|
|
"ResetAlarm" "\x00"
|
|
"xxyyyy" "\x00"
|
|
"ResetAllAlarms" "\x00"
|
|
"xx000A00" "\x00"
|
|
"HueSat" "\x00"
|
|
"xxyy0A00" "\x00"
|
|
"Color" "\x00"
|
|
"xxxxyyyy0A00" "\x00"
|
|
"xxxx0A00" "\x00"
|
|
"ShutterOpen" "\x00"
|
|
"ShutterClose" "\x00"
|
|
"ShutterStop" "\x00"
|
|
"ShutterLift" "\x00"
|
|
"xx" "\x00"
|
|
"ShutterTilt" "\x00"
|
|
"Shutter" "\x00"
|
|
"DimmerMove" "\x00"
|
|
"xx0A" "\x00"
|
|
"DimmerStepUp" "\x00"
|
|
"00xx0A00" "\x00"
|
|
"DimmerStepDown" "\x00"
|
|
"01xx0A00" "\x00"
|
|
"DimmerStep" "\x00"
|
|
"xx190A00" "\x00"
|
|
"01" "\x00"
|
|
"HueMove" "\x00"
|
|
"xx19" "\x00"
|
|
"HueStepUp" "\x00"
|
|
"HueStepDown" "\x00"
|
|
"03xx0A00" "\x00"
|
|
"HueStep" "\x00"
|
|
"SatMove" "\x00"
|
|
"SatStep" "\x00"
|
|
"xx190A" "\x00"
|
|
"ColorMove" "\x00"
|
|
"xxxxyyyy" "\x00"
|
|
"ColorStep" "\x00"
|
|
"ColorTempMoveUp" "\x00"
|
|
"01xxxx000000000000" "\x00"
|
|
"ColorTempMoveDown" "\x00"
|
|
"03xxxx000000000000" "\x00"
|
|
"ColorTempMoveStop" "\x00"
|
|
"00xxxx000000000000" "\x00"
|
|
"ColorTempMove" "\x00"
|
|
"xxyyyy000000000000" "\x00"
|
|
"ColorTempStepUp" "\x00"
|
|
"01xxxx0A0000000000" "\x00"
|
|
"ColorTempStepDown" "\x00"
|
|
"03xxxx0A0000000000" "\x00"
|
|
"ColorTempStep" "\x00"
|
|
"xxyyyy0A0000000000" "\x00"
|
|
"ArrowClick" "\x00"
|
|
"ArrowHold" "\x00"
|
|
"ArrowRelease" "\x00"
|
|
"ZoneStatusChange" "\x00"
|
|
"xxxxyyzz" "\x00"
|
|
"xxyyzzzz" "\x00"
|
|
"AddScene" "\x00"
|
|
"xxyyyyzz" "\x00"
|
|
"StoreScene" "\x00"
|
|
;
|
|
|
|
enum Z_offsets {
|
|
Zo_ = 0,
|
|
Zo_ZCLVersion = 1,
|
|
Zo_AppVersion = 12,
|
|
Zo_StackVersion = 23,
|
|
Zo_HWVersion = 36,
|
|
Zo_Manufacturer = 46,
|
|
Zo_ModelId = 59,
|
|
Zo_DateCode = 67,
|
|
Zo_PowerSource = 76,
|
|
Zo_GenericDeviceClass = 88,
|
|
Zo_GenericDeviceType = 107,
|
|
Zo_ProductCode = 125,
|
|
Zo_ProductURL = 137,
|
|
Zo_SWBuildID = 148,
|
|
Zo_MainsVoltage = 158,
|
|
Zo_MainsFrequency = 171,
|
|
Zo_BatteryVoltage = 186,
|
|
Zo_BatteryPercentage = 201,
|
|
Zo_CurrentTemperature = 219,
|
|
Zo_MinTempExperienced = 238,
|
|
Zo_MaxTempExperienced = 257,
|
|
Zo_OverTempTotalDwell = 276,
|
|
Zo_IdentifyTime = 295,
|
|
Zo_GroupNameSupport = 308,
|
|
Zo_SceneCount = 325,
|
|
Zo_CurrentScene = 336,
|
|
Zo_CurrentGroup = 349,
|
|
Zo_SceneValid = 362,
|
|
Zo_Power = 373,
|
|
Zo_StartUpOnOff = 379,
|
|
Zo_SwitchType = 392,
|
|
Zo_Dimmer = 403,
|
|
Zo_DimmerOptions = 410,
|
|
Zo_DimmerRemainingTime = 424,
|
|
Zo_OnOffTransitionTime = 444,
|
|
Zo_AlarmCount = 464,
|
|
Zo_Time = 475,
|
|
Zo_TimeStatus = 480,
|
|
Zo_TimeZone = 491,
|
|
Zo_DstStart = 500,
|
|
Zo_DstEnd = 509,
|
|
Zo_DstShift = 516,
|
|
Zo_StandardTime = 525,
|
|
Zo_LocalTime = 538,
|
|
Zo_LastSetTime = 548,
|
|
Zo_ValidUntilTime = 560,
|
|
Zo_TimeEpoch = 575,
|
|
Zo_LocationType = 585,
|
|
Zo_LocationMethod = 598,
|
|
Zo_LocationAge = 613,
|
|
Zo_QualityMeasure = 625,
|
|
Zo_NumberOfDevices = 640,
|
|
Zo_AnalogInDescription = 656,
|
|
Zo_AnalogInMaxValue = 676,
|
|
Zo_AnalogInMinValue = 693,
|
|
Zo_AnalogInOutOfService = 710,
|
|
Zo_AqaraRotate = 731,
|
|
Zo_AnalogInReliability = 743,
|
|
Zo_AnalogInResolution = 763,
|
|
Zo_AnalogInStatusFlags = 782,
|
|
Zo_AnalogInEngineeringUnits = 802,
|
|
Zo_AnalogInApplicationType = 827,
|
|
Zo_Aqara_FF05 = 851,
|
|
Zo_AnalogOutDescription = 862,
|
|
Zo_AnalogOutMaxValue = 883,
|
|
Zo_AnalogOutMinValue = 901,
|
|
Zo_AnalogOutOutOfService = 919,
|
|
Zo_AnalogOutValue = 941,
|
|
Zo_AnalogOutReliability = 956,
|
|
Zo_AnalogOutRelinquishDefault = 977,
|
|
Zo_AnalogOutResolution = 1004,
|
|
Zo_AnalogOutStatusFlags = 1024,
|
|
Zo_AnalogOutEngineeringUnits = 1045,
|
|
Zo_AnalogOutApplicationType = 1071,
|
|
Zo_AnalogDescription = 1096,
|
|
Zo_AnalogOutOfService = 1114,
|
|
Zo_AnalogValue = 1133,
|
|
Zo_AnalogPriorityArray = 1145,
|
|
Zo_AnalogReliability = 1165,
|
|
Zo_AnalogRelinquishDefault = 1183,
|
|
Zo_AnalogStatusFlags = 1207,
|
|
Zo_AnalogEngineeringUnits = 1225,
|
|
Zo_AnalogApplicationType = 1248,
|
|
Zo_BinaryInActiveText = 1270,
|
|
Zo_BinaryInDescription = 1289,
|
|
Zo_BinaryInInactiveText = 1309,
|
|
Zo_BinaryInOutOfService = 1330,
|
|
Zo_BinaryInPolarity = 1351,
|
|
Zo_BinaryInValue = 1368,
|
|
Zo_BinaryInReliability = 1382,
|
|
Zo_BinaryInStatusFlags = 1402,
|
|
Zo_BinaryInApplicationType = 1422,
|
|
Zo_BinaryOutActiveText = 1446,
|
|
Zo_BinaryOutDescription = 1466,
|
|
Zo_BinaryOutInactiveText = 1487,
|
|
Zo_BinaryOutMinimumOffTime = 1509,
|
|
Zo_BinaryOutMinimumOnTime = 1533,
|
|
Zo_BinaryOutOutOfService = 1556,
|
|
Zo_BinaryOutPolarity = 1578,
|
|
Zo_BinaryOutValue = 1596,
|
|
Zo_BinaryOutReliability = 1611,
|
|
Zo_BinaryOutRelinquishDefault = 1632,
|
|
Zo_BinaryOutStatusFlags = 1659,
|
|
Zo_BinaryOutApplicationType = 1680,
|
|
Zo_BinaryActiveText = 1705,
|
|
Zo_BinaryDescription = 1722,
|
|
Zo_BinaryInactiveText = 1740,
|
|
Zo_BinaryMinimumOffTime = 1759,
|
|
Zo_BinaryMinimumOnTime = 1780,
|
|
Zo_BinaryOutOfService = 1800,
|
|
Zo_BinaryValue = 1819,
|
|
Zo_BinaryReliability = 1831,
|
|
Zo_BinaryRelinquishDefault = 1849,
|
|
Zo_BinaryStatusFlags = 1873,
|
|
Zo_BinaryApplicationType = 1891,
|
|
Zo_MultiInDescription = 1913,
|
|
Zo_MultiInNumberOfStates = 1932,
|
|
Zo_MultiInOutOfService = 1954,
|
|
Zo_MultiInValue = 1974,
|
|
Zo_MultiInReliability = 1987,
|
|
Zo_MultiInStatusFlags = 2006,
|
|
Zo_MultiInApplicationType = 2025,
|
|
Zo_MultiOutDescription = 2048,
|
|
Zo_MultiOutNumberOfStates = 2068,
|
|
Zo_MultiOutOutOfService = 2091,
|
|
Zo_MultiOutValue = 2112,
|
|
Zo_MultiOutReliability = 2126,
|
|
Zo_MultiOutRelinquishDefault = 2146,
|
|
Zo_MultiOutStatusFlags = 2172,
|
|
Zo_MultiOutApplicationType = 2192,
|
|
Zo_MultiDescription = 2216,
|
|
Zo_MultiNumberOfStates = 2233,
|
|
Zo_MultiOutOfService = 2253,
|
|
Zo_MultiValue = 2271,
|
|
Zo_MultiReliability = 2282,
|
|
Zo_MultiRelinquishDefault = 2299,
|
|
Zo_MultiStatusFlags = 2322,
|
|
Zo_MultiApplicationType = 2339,
|
|
Zo_TotalProfileNum = 2360,
|
|
Zo_MultipleScheduling = 2376,
|
|
Zo_EnergyFormatting = 2395,
|
|
Zo_EnergyRemote = 2412,
|
|
Zo_ScheduleMode = 2425,
|
|
Zo_CheckinInterval = 2438,
|
|
Zo_LongPollInterval = 2454,
|
|
Zo_ShortPollInterval = 2471,
|
|
Zo_FastPollTimeout = 2489,
|
|
Zo_CheckinIntervalMin = 2505,
|
|
Zo_LongPollIntervalMin = 2524,
|
|
Zo_FastPollTimeoutMax = 2544,
|
|
Zo_PhysicalClosedLimit = 2563,
|
|
Zo_MotorStepSize = 2583,
|
|
Zo_Status = 2597,
|
|
Zo_ClosedLimit = 2604,
|
|
Zo_Mode = 2616,
|
|
Zo_LockState = 2621,
|
|
Zo_LockType = 2631,
|
|
Zo_ActuatorEnabled = 2640,
|
|
Zo_DoorState = 2656,
|
|
Zo_DoorOpenEvents = 2666,
|
|
Zo_DoorClosedEvents = 2681,
|
|
Zo_OpenPeriod = 2698,
|
|
Zo_AqaraVibrationMode = 2709,
|
|
Zo_AqaraVibrationsOrAngle = 2728,
|
|
Zo_AqaraVibration505 = 2751,
|
|
Zo_AqaraAccelerometer = 2769,
|
|
Zo_WindowCoveringType = 2788,
|
|
Zo_PhysicalClosedLimitLift = 2807,
|
|
Zo_PhysicalClosedLimitTilt = 2831,
|
|
Zo_CurrentPositionLift = 2855,
|
|
Zo_CurrentPositionTilt = 2875,
|
|
Zo_NumberofActuationsLift = 2895,
|
|
Zo_NumberofActuationsTilt = 2918,
|
|
Zo_ConfigStatus = 2941,
|
|
Zo_CurrentPositionLiftPercentage = 2954,
|
|
Zo_CurrentPositionTiltPercentage = 2984,
|
|
Zo_InstalledOpenLimitLift = 3014,
|
|
Zo_InstalledClosedLimitLift = 3037,
|
|
Zo_InstalledOpenLimitTilt = 3062,
|
|
Zo_InstalledClosedLimitTilt = 3085,
|
|
Zo_VelocityLift = 3110,
|
|
Zo_AccelerationTimeLift = 3123,
|
|
Zo_DecelerationTimeLift = 3144,
|
|
Zo_IntermediateSetpointsLift = 3165,
|
|
Zo_IntermediateSetpointsTilt = 3191,
|
|
Zo_LocalTemperature = 3217,
|
|
Zo_OutdoorTemperature = 3234,
|
|
Zo_PICoolingDemand = 3253,
|
|
Zo_PIHeatingDemand = 3269,
|
|
Zo_LocalTemperatureCalibration = 3285,
|
|
Zo_OccupiedCoolingSetpoint = 3313,
|
|
Zo_OccupiedHeatingSetpoint = 3337,
|
|
Zo_UnoccupiedCoolingSetpoint = 3361,
|
|
Zo_UnoccupiedHeatingSetpoint = 3387,
|
|
Zo_RemoteSensing = 3413,
|
|
Zo_ControlSequenceOfOperation = 3427,
|
|
Zo_SystemMode = 3454,
|
|
Zo_TRVMode = 3465,
|
|
Zo_ValvePosition = 3473,
|
|
Zo_EurotronicErrors = 3487,
|
|
Zo_CurrentTemperatureSetPoint = 3504,
|
|
Zo_ThSetpoint = 3531,
|
|
Zo_TempTarget = 3542,
|
|
Zo_Hue = 3553,
|
|
Zo_Sat = 3557,
|
|
Zo_RemainingTime = 3561,
|
|
Zo_X = 3575,
|
|
Zo_Y = 3577,
|
|
Zo_DriftCompensation = 3579,
|
|
Zo_CompensationText = 3597,
|
|
Zo_CT = 3614,
|
|
Zo_ColorMode = 3617,
|
|
Zo_NumberOfPrimaries = 3627,
|
|
Zo_Primary1X = 3645,
|
|
Zo_Primary1Y = 3655,
|
|
Zo_Primary1Intensity = 3665,
|
|
Zo_Primary2X = 3683,
|
|
Zo_Primary2Y = 3693,
|
|
Zo_Primary2Intensity = 3703,
|
|
Zo_Primary3X = 3721,
|
|
Zo_Primary3Y = 3731,
|
|
Zo_Primary3Intensity = 3741,
|
|
Zo_WhitePointX = 3759,
|
|
Zo_WhitePointY = 3771,
|
|
Zo_ColorPointRX = 3783,
|
|
Zo_ColorPointRY = 3796,
|
|
Zo_ColorPointRIntensity = 3809,
|
|
Zo_ColorPointGX = 3830,
|
|
Zo_ColorPointGY = 3843,
|
|
Zo_ColorPointGIntensity = 3856,
|
|
Zo_ColorPointBX = 3877,
|
|
Zo_ColorPointBY = 3890,
|
|
Zo_ColorPointBIntensity = 3903,
|
|
Zo_Illuminance = 3924,
|
|
Zo_IlluminanceMinMeasuredValue = 3936,
|
|
Zo_IlluminanceMaxMeasuredValue = 3964,
|
|
Zo_IlluminanceTolerance = 3992,
|
|
Zo_IlluminanceLightSensorType = 4013,
|
|
Zo_IlluminanceLevelStatus = 4040,
|
|
Zo_IlluminanceTargetLevel = 4063,
|
|
Zo_Temperature = 4086,
|
|
Zo_TemperatureMinMeasuredValue = 4098,
|
|
Zo_TemperatureMaxMeasuredValue = 4126,
|
|
Zo_TemperatureTolerance = 4154,
|
|
Zo_Pressure = 4175,
|
|
Zo_PressureMinMeasuredValue = 4184,
|
|
Zo_PressureMaxMeasuredValue = 4209,
|
|
Zo_PressureTolerance = 4234,
|
|
Zo_PressureScaledValue = 4252,
|
|
Zo_PressureMinScaledValue = 4272,
|
|
Zo_PressureMaxScaledValue = 4295,
|
|
Zo_PressureScaledTolerance = 4318,
|
|
Zo_PressureScale = 4342,
|
|
Zo_SeaPressure = 4356,
|
|
Zo_FlowRate = 4368,
|
|
Zo_FlowMinMeasuredValue = 4377,
|
|
Zo_FlowMaxMeasuredValue = 4398,
|
|
Zo_FlowTolerance = 4419,
|
|
Zo_Humidity = 4433,
|
|
Zo_HumidityMinMeasuredValue = 4442,
|
|
Zo_HumidityMaxMeasuredValue = 4467,
|
|
Zo_HumidityTolerance = 4492,
|
|
Zo_Occupancy = 4510,
|
|
Zo_OccupancySensorType = 4520,
|
|
Zo_ZoneState = 4540,
|
|
Zo_ZoneType = 4550,
|
|
Zo_ZoneStatus = 4559,
|
|
Zo_CIE = 4570,
|
|
Zo_Contact = 4574,
|
|
Zo_Fire = 4582,
|
|
Zo_Water = 4587,
|
|
Zo_CO = 4593,
|
|
Zo_PersonalAlarm = 4596,
|
|
Zo_Movement = 4610,
|
|
Zo_Panic = 4619,
|
|
Zo_GlassBreak = 4625,
|
|
Zo_EnergyTotal = 4636,
|
|
Zo_CompanyName = 4648,
|
|
Zo_MeterTypeID = 4660,
|
|
Zo_DataQualityID = 4672,
|
|
Zo_CustomerName = 4686,
|
|
Zo_Model = 4699,
|
|
Zo_PartNumber = 4705,
|
|
Zo_ProductRevision = 4716,
|
|
Zo_SoftwareRevision = 4732,
|
|
Zo_UtilityName = 4749,
|
|
Zo_POD = 4761,
|
|
Zo_AvailablePower = 4765,
|
|
Zo_PowerThreshold = 4780,
|
|
Zo_RMSVoltage = 4795,
|
|
Zo_RMSCurrent = 4806,
|
|
Zo_ActivePower = 4817,
|
|
Zo_ReactivePower = 4829,
|
|
Zo_ApparentPower = 4843,
|
|
Zo_NumberOfResets = 4857,
|
|
Zo_PersistentMemoryWrites = 4872,
|
|
Zo_LastMessageLQI = 4895,
|
|
Zo_LastMessageRSSI = 4910,
|
|
Zo_TuyaScheduleWorkdays = 4926,
|
|
Zo_TuyaScheduleHolidays = 4947,
|
|
Zo_Power2 = 4968,
|
|
Zo_Power3 = 4975,
|
|
Zo_Power4 = 4982,
|
|
Zo_TuyaChildLock = 4989,
|
|
Zo_TuyaWindowDetection = 5003,
|
|
Zo_TuyaValveDetection = 5023,
|
|
Zo_TuyaAutoLock = 5042,
|
|
Zo_TuyaTempTarget = 5055,
|
|
Zo_TuyaBattery = 5070,
|
|
Zo_TuyaMinTemp = 5082,
|
|
Zo_TuyaMaxTemp = 5094,
|
|
Zo_TuyaBoostTime = 5106,
|
|
Zo_TuyaComfortTemp = 5120,
|
|
Zo_TuyaEcoTemp = 5136,
|
|
Zo_TuyaValvePosition = 5148,
|
|
Zo_TuyaAwayTemp = 5166,
|
|
Zo_TuyaAwayDays = 5179,
|
|
Zo_TuyaPreset = 5192,
|
|
Zo_TuyaFanMode = 5203,
|
|
Zo_TuyaForceMode = 5215,
|
|
Zo_TuyaWeekSelect = 5229,
|
|
Zo_TerncyDuration = 5244,
|
|
Zo_TerncyRotate = 5259,
|
|
Zo_Identify = 5272,
|
|
Zo_xxxx = 5281,
|
|
Zo_IdentifyQuery = 5286,
|
|
Zo_AddGroup = 5300,
|
|
Zo_xxxx00 = 5309,
|
|
Zo_ViewGroup = 5316,
|
|
Zo_GetGroup = 5326,
|
|
Zo_01xxxx = 5335,
|
|
Zo_GetAllGroups = 5342,
|
|
Zo_00 = 5355,
|
|
Zo_RemoveGroup = 5358,
|
|
Zo_RemoveAllGroups = 5370,
|
|
Zo_ViewScene = 5386,
|
|
Zo_xxxxyy = 5396,
|
|
Zo_RemoveScene = 5403,
|
|
Zo_RemoveAllScenes = 5415,
|
|
Zo_RecallScene = 5431,
|
|
Zo_GetSceneMembership = 5443,
|
|
Zo_PowerOffEffect = 5462,
|
|
Zo_xxyy = 5477,
|
|
Zo_PowerOnRecall = 5482,
|
|
Zo_PowerOnTimer = 5496,
|
|
Zo_xxyyyyzzzz = 5509,
|
|
Zo_xx0A00 = 5520,
|
|
Zo_DimmerUp = 5527,
|
|
Zo_00190200 = 5536,
|
|
Zo_DimmerDown = 5545,
|
|
Zo_01190200 = 5556,
|
|
Zo_DimmerStop = 5565,
|
|
Zo_ResetAlarm = 5576,
|
|
Zo_xxyyyy = 5587,
|
|
Zo_ResetAllAlarms = 5594,
|
|
Zo_xx000A00 = 5609,
|
|
Zo_HueSat = 5618,
|
|
Zo_xxyy0A00 = 5625,
|
|
Zo_Color = 5634,
|
|
Zo_xxxxyyyy0A00 = 5640,
|
|
Zo_xxxx0A00 = 5653,
|
|
Zo_ShutterOpen = 5662,
|
|
Zo_ShutterClose = 5674,
|
|
Zo_ShutterStop = 5687,
|
|
Zo_ShutterLift = 5699,
|
|
Zo_xx = 5711,
|
|
Zo_ShutterTilt = 5714,
|
|
Zo_Shutter = 5726,
|
|
Zo_DimmerMove = 5734,
|
|
Zo_xx0A = 5745,
|
|
Zo_DimmerStepUp = 5750,
|
|
Zo_00xx0A00 = 5763,
|
|
Zo_DimmerStepDown = 5772,
|
|
Zo_01xx0A00 = 5787,
|
|
Zo_DimmerStep = 5796,
|
|
Zo_xx190A00 = 5807,
|
|
Zo_01 = 5816,
|
|
Zo_HueMove = 5819,
|
|
Zo_xx19 = 5827,
|
|
Zo_HueStepUp = 5832,
|
|
Zo_HueStepDown = 5842,
|
|
Zo_03xx0A00 = 5854,
|
|
Zo_HueStep = 5863,
|
|
Zo_SatMove = 5871,
|
|
Zo_SatStep = 5879,
|
|
Zo_xx190A = 5887,
|
|
Zo_ColorMove = 5894,
|
|
Zo_xxxxyyyy = 5904,
|
|
Zo_ColorStep = 5913,
|
|
Zo_ColorTempMoveUp = 5923,
|
|
Zo_01xxxx000000000000 = 5939,
|
|
Zo_ColorTempMoveDown = 5958,
|
|
Zo_03xxxx000000000000 = 5976,
|
|
Zo_ColorTempMoveStop = 5995,
|
|
Zo_00xxxx000000000000 = 6013,
|
|
Zo_ColorTempMove = 6032,
|
|
Zo_xxyyyy000000000000 = 6046,
|
|
Zo_ColorTempStepUp = 6065,
|
|
Zo_01xxxx0A0000000000 = 6081,
|
|
Zo_ColorTempStepDown = 6100,
|
|
Zo_03xxxx0A0000000000 = 6118,
|
|
Zo_ColorTempStep = 6137,
|
|
Zo_xxyyyy0A0000000000 = 6151,
|
|
Zo_ArrowClick = 6170,
|
|
Zo_ArrowHold = 6181,
|
|
Zo_ArrowRelease = 6191,
|
|
Zo_ZoneStatusChange = 6204,
|
|
Zo_xxxxyyzz = 6221,
|
|
Zo_xxyyzzzz = 6230,
|
|
Zo_AddScene = 6239,
|
|
Zo_xxyyyyzz = 6248,
|
|
Zo_StoreScene = 6257,
|
|
};
|
|
|
|
|
|
/*
|
|
DO NOT EDIT
|
|
*/
|
|
|
|
|
|
#endif // USE_ZIGBEE
|