Unify Framework Lib 1.6.0
dotdot_mqtt_helpers.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2022 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13// This file is generated by ZCL Advanced Platform generator. Please don't edit manually.
14
23#ifndef DOTDOT_MQTT_HELPERS_HPP
24#define DOTDOT_MQTT_HELPERS_HPP
25
26#include "uic_typedefs.h"
27
28#include <string>
29#include <functional>
30#include <map>
31#include <optional>
32
33#define AOX_LOCATOR_ANTENNA_MODE_ENUM_NAME_AVAILABLE 1
34
41 uint32_t value);
42
48uint32_t aox_locator_antenna_mode_get_enum_value_number(const std::string &str);
49
50#define AOX_LOCATOR_AOX_MODE_ENUM_NAME_AVAILABLE 1
51
58 uint32_t value);
59
65uint32_t aox_locator_aox_mode_get_enum_value_number(const std::string &str);
66
67#define AOX_LOCATOR_CTE_MODE_ENUM_NAME_AVAILABLE 1
68
75 uint32_t value);
76
82uint32_t aox_locator_cte_mode_get_enum_value_number(const std::string &str);
83
84#define AOX_LOCATOR_REPORTING_MODE_ENUM_NAME_AVAILABLE 1
85
92 uint32_t value);
93
99uint32_t aox_locator_reporting_mode_get_enum_value_number(const std::string &str);
100
101#define ARM_ARM_MODE_ENUM_NAME_AVAILABLE 1
102
109 uint32_t value);
110
116uint32_t arm_arm_mode_get_enum_value_number(const std::string &str);
117
118#define ARM_RESPONSE_ARM_NOTIFICATION_ENUM_NAME_AVAILABLE 1
119
126 uint32_t value);
127
134
135#define BARRIER_CONTROL_MOVING_STATE_ENUM_NAME_AVAILABLE 1
136
143 uint32_t value);
144
151
152#define BASIC_GENERIC_DEVICE_CLASS_ENUM_NAME_AVAILABLE 1
153
160 uint32_t value);
161
168
169#define BASIC_GENERIC_DEVICE_TYPE_ENUM_NAME_AVAILABLE 1
170
177 uint32_t value);
178
184uint32_t basic_generic_device_type_get_enum_value_number(const std::string &str);
185
186#define BASIC_PHYSICAL_ENVIRONMENT_ENUM_NAME_AVAILABLE 1
187
194 uint32_t value);
195
202
203#define BASIC_POWER_SOURCE_ENUM_NAME_AVAILABLE 1
204
211 uint32_t value);
212
218uint32_t basic_power_source_get_enum_value_number(const std::string &str);
219
220#define BATTERY_SIZE_ENUM_NAME_AVAILABLE 1
221
228 uint32_t value);
229
235uint32_t battery_size_get_enum_value_number(const std::string &str);
236
237#define BYPASS_RESPONSE_ZONE_ID_BYPASS_RESULT_ENUM_NAME_AVAILABLE 1
238
245 uint32_t value);
246
253
254#define CC_COLOR_LOOP_DIRECTION_ENUM_NAME_AVAILABLE 1
255
262 uint32_t value);
263
269uint32_t cc_color_loop_direction_get_enum_value_number(const std::string &str);
270
271#define CC_DIRECTION_ENUM_NAME_AVAILABLE 1
272
279 uint32_t value);
280
286uint32_t cc_direction_get_enum_value_number(const std::string &str);
287
288#define CC_MOVE_MODE_ENUM_NAME_AVAILABLE 1
289
296 uint32_t value);
297
303uint32_t cc_move_mode_get_enum_value_number(const std::string &str);
304
305#define CC_STEP_MODE_ENUM_NAME_AVAILABLE 1
306
313 uint32_t value);
314
320uint32_t cc_step_mode_get_enum_value_number(const std::string &str);
321
322#define COLOR_CONTROL_COLOR_LOOP_ACTIVE_ENUM_NAME_AVAILABLE 1
323
330 uint32_t value);
331
338
339#define COLOR_CONTROL_COLOR_LOOP_DIRECTION_ENUM_NAME_AVAILABLE 1
340
347 uint32_t value);
348
355
356#define COLOR_CONTROL_COLOR_MODE_ENUM_NAME_AVAILABLE 1
357
364 uint32_t value);
365
371uint32_t color_control_color_mode_get_enum_value_number(const std::string &str);
372
373#define COLOR_CONTROL_DRIFT_COMPENSATION_ENUM_NAME_AVAILABLE 1
374
381 uint32_t value);
382
389
390#define COLOR_CONTROL_ENHANCED_COLOR_MODE_ENUM_NAME_AVAILABLE 1
391
398 uint32_t value);
399
406
407#define COLOR_LOOP_SET_ACTION_ENUM_NAME_AVAILABLE 1
408
415 uint32_t value);
416
422uint32_t color_loop_set_action_get_enum_value_number(const std::string &str);
423
424#define COMMISSIONING_NETWORK_KEY_TYPE_ENUM_NAME_AVAILABLE 1
425
432 uint32_t value);
433
440
441#define COMMISSIONING_PROTOCOL_VERSION_ENUM_NAME_AVAILABLE 1
442
449 uint32_t value);
450
457
458#define COMMISSIONING_STACK_PROFILE_ENUM_NAME_AVAILABLE 1
459
466 uint32_t value);
467
474
475#define COMMISSIONING_STARTUP_CONTROL_ENUM_NAME_AVAILABLE 1
476
483 uint32_t value);
484
491
492#define CREDENTIAL_RULE_ENUM_ENUM_NAME_AVAILABLE 1
493
500 uint32_t value);
501
507uint32_t credential_rule_enum_get_enum_value_number(const std::string &str);
508
509#define CREDENTIAL_TYPE_ENUM_ENUM_NAME_AVAILABLE 1
510
517 uint32_t value);
518
524uint32_t credential_type_enum_get_enum_value_number(const std::string &str);
525
526#define DATA_OPERATION_TYPE_ENUM_ENUM_NAME_AVAILABLE 1
527
534 uint32_t value);
535
541uint32_t data_operation_type_enum_get_enum_value_number(const std::string &str);
542
543#define DEHUMIDIFICATION_CONTROL_DEHUMIDIFICATION_LOCKOUT_ENUM_NAME_AVAILABLE 1
544
551 uint32_t value);
552
559
560#define DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY_DISPLAY_ENUM_NAME_AVAILABLE 1
561
568 uint32_t value);
569
576
577#define DEHUMIDIFICATION_CONTROL_RELATIVE_HUMIDITY_MODE_ENUM_NAME_AVAILABLE 1
578
585 uint32_t value);
586
593
594#define DEV_TYPE_ID_ENUM_NAME_AVAILABLE 1
595
602 uint32_t value);
603
609uint32_t dev_type_id_get_enum_value_number(const std::string &str);
610
611#define DOOR_LOCK_DOOR_STATE_ENUM_NAME_AVAILABLE 1
612
619 uint32_t value);
620
626uint32_t door_lock_door_state_get_enum_value_number(const std::string &str);
627
628#define DOOR_LOCK_LED_SETTINGS_ENUM_NAME_AVAILABLE 1
629
636 uint32_t value);
637
643uint32_t door_lock_led_settings_get_enum_value_number(const std::string &str);
644
645#define DOOR_LOCK_LOCK_STATE_ENUM_NAME_AVAILABLE 1
646
653 uint32_t value);
654
660uint32_t door_lock_lock_state_get_enum_value_number(const std::string &str);
661
662#define DOOR_LOCK_LOCK_TYPE_ENUM_NAME_AVAILABLE 1
663
670 uint32_t value);
671
677uint32_t door_lock_lock_type_get_enum_value_number(const std::string &str);
678
679#define DOOR_LOCK_SECURITY_LEVEL_ENUM_NAME_AVAILABLE 1
680
687 uint32_t value);
688
694uint32_t door_lock_security_level_get_enum_value_number(const std::string &str);
695
696#define DOOR_LOCK_SOUND_VOLUME_ENUM_NAME_AVAILABLE 1
697
704 uint32_t value);
705
711uint32_t door_lock_sound_volume_get_enum_value_number(const std::string &str);
712
713#define DRLK_OPER_EVENT_SOURCE_ENUM_NAME_AVAILABLE 1
714
721 uint32_t value);
722
728uint32_t drlk_oper_event_source_get_enum_value_number(const std::string &str);
729
730#define DRLK_OPER_MODE_ENUM_NAME_AVAILABLE 1
731
738 uint32_t value);
739
745uint32_t drlk_oper_mode_get_enum_value_number(const std::string &str);
746
747#define DRLK_PASS_FAIL_STATUS_ENUM_NAME_AVAILABLE 1
748
755 uint32_t value);
756
762uint32_t drlk_pass_fail_status_get_enum_value_number(const std::string &str);
763
764#define DRLK_SET_CODE_STATUS_ENUM_NAME_AVAILABLE 1
765
772 uint32_t value);
773
779uint32_t drlk_set_code_status_get_enum_value_number(const std::string &str);
780
781#define DRLK_SETTABLE_USER_STATUS_ENUM_NAME_AVAILABLE 1
782
789 uint32_t value);
790
796uint32_t drlk_settable_user_status_get_enum_value_number(const std::string &str);
797
798#define DRLK_USER_STATUS_ENUM_NAME_AVAILABLE 1
799
806 uint32_t value);
807
813uint32_t drlk_user_status_get_enum_value_number(const std::string &str);
814
815#define DRLK_USER_TYPE_ENUM_NAME_AVAILABLE 1
816
823 uint32_t value);
824
830uint32_t drlk_user_type_get_enum_value_number(const std::string &str);
831
832#define FAN_CONTROL_FAN_MODE_ENUM_NAME_AVAILABLE 1
833
840 uint32_t value);
841
847uint32_t fan_control_fan_mode_get_enum_value_number(const std::string &str);
848
849#define FAN_CONTROL_FAN_MODE_SEQUENCE_ENUM_NAME_AVAILABLE 1
850
857 uint32_t value);
858
865
866#define GET_LOG_RECORD_RESPONSE_EVENT_TYPE_ENUM_NAME_AVAILABLE 1
867
874 uint32_t value);
875
882
883#define GET_MEASUREMENT_PROFILE_RESPONSE_STATUS_ENUM_NAME_AVAILABLE 1
884
891 uint32_t value);
892
899
900#define HVAC_SYSTEM_TYPE_CONFIGURATION_COOLING_SYSTEM_STAGE_ENUM_NAME_AVAILABLE 1
901
908 uint32_t value);
909
916
917#define HVAC_SYSTEM_TYPE_CONFIGURATION_HEATING_FUEL_SOURCE_ENUM_NAME_AVAILABLE 1
918
925 uint32_t value);
926
933
934#define HVAC_SYSTEM_TYPE_CONFIGURATION_HEATING_SYSTEM_STAGE_ENUM_NAME_AVAILABLE 1
935
942 uint32_t value);
943
950
951#define HVAC_SYSTEM_TYPE_CONFIGURATION_HEATING_SYSTEM_TYPE_ENUM_NAME_AVAILABLE 1
952
959 uint32_t value);
960
967
968#define IAS_ZONE_ZONE_STATE_ENUM_NAME_AVAILABLE 1
969
976 uint32_t value);
977
983uint32_t ias_zone_zone_state_get_enum_value_number(const std::string &str);
984
985#define IAS_ZONE_TYPE_ENUM_NAME_AVAILABLE 1
986
993 uint32_t value);
994
1000uint32_t ias_zone_type_get_enum_value_number(const std::string &str);
1001
1002#define IASAC_PANEL_STATUS_ENUM_NAME_AVAILABLE 1
1003
1010 uint32_t value);
1011
1017uint32_t iasac_panel_status_get_enum_value_number(const std::string &str);
1018
1019#define IASACE_ALARM_STATUS_ENUM_NAME_AVAILABLE 1
1020
1027 uint32_t value);
1028
1034uint32_t iasace_alarm_status_get_enum_value_number(const std::string &str);
1035
1036#define IASACE_AUDIBLE_NOTIFICATION_ENUM_NAME_AVAILABLE 1
1037
1044 uint32_t value);
1045
1052
1053#define IASWD_LEVEL_ENUM_NAME_AVAILABLE 1
1054
1061 uint32_t value);
1062
1068uint32_t iaswd_level_get_enum_value_number(const std::string &str);
1069
1070#define ILLUMINANCE_LEVEL_SENSING_LEVEL_STATUS_ENUM_NAME_AVAILABLE 1
1071
1078 uint32_t value);
1079
1086
1087#define ILLUMINANCE_LEVEL_SENSING_LIGHT_SENSOR_TYPE_ENUM_NAME_AVAILABLE 1
1088
1095 uint32_t value);
1096
1103
1104#define ILLUMINANCE_MEASUREMENT_LIGHT_SENSOR_TYPE_ENUM_NAME_AVAILABLE 1
1105
1112 uint32_t value);
1113
1120
1121#define IMAGE_NOTIFY_PAYLOAD_TYPE_ENUM_NAME_AVAILABLE 1
1122
1129 uint32_t value);
1130
1137
1138#define LOGGING_LEVEL_ENUM_ENUM_NAME_AVAILABLE 1
1139
1146 uint32_t value);
1147
1153uint32_t logging_level_enum_get_enum_value_number(const std::string &str);
1154
1155#define METERING_ENERGY_CARRIER_UNIT_OF_MEASURE_ENUM_NAME_AVAILABLE 1
1156
1163 uint32_t value);
1164
1171
1172#define METERING_METERING_DEVICE_TYPE_ENUM_NAME_AVAILABLE 1
1173
1180 uint32_t value);
1181
1188
1189#define METERING_SUPPLY_STATUS_ENUM_NAME_AVAILABLE 1
1190
1197 uint32_t value);
1198
1204uint32_t metering_supply_status_get_enum_value_number(const std::string &str);
1205
1206#define METERING_TEMPERATURE_UNIT_OF_MEASURE_ENUM_NAME_AVAILABLE 1
1207
1214 uint32_t value);
1215
1222
1223#define METERING_UNITOF_MEASURE_ENUM_NAME_AVAILABLE 1
1224
1231 uint32_t value);
1232
1238uint32_t metering_unitof_measure_get_enum_value_number(const std::string &str);
1239
1240#define MODE_TYPE_ENUM_NAME_AVAILABLE 1
1241
1248 uint32_t value);
1249
1255uint32_t mode_type_get_enum_value_number(const std::string &str);
1256
1257#define MOVE_STEP_MODE_ENUM_NAME_AVAILABLE 1
1258
1265 uint32_t value);
1266
1272uint32_t move_step_mode_get_enum_value_number(const std::string &str);
1273
1274#define NM_STATE_ENUM_NAME_AVAILABLE 1
1275
1282 uint32_t value);
1283
1289uint32_t nm_state_get_enum_value_number(const std::string &str);
1290
1291#define NODE_STATE_NETWORK_STATUS_ENUM_NAME_AVAILABLE 1
1292
1299 uint32_t value);
1300
1307
1308#define NODE_STATE_SECURITY_ENUM_NAME_AVAILABLE 1
1309
1316 uint32_t value);
1317
1323uint32_t node_state_security_get_enum_value_number(const std::string &str);
1324
1325#define OTA_DEVICE_SPECIFIC_IMAGE_TYPE_ENUM_NAME_AVAILABLE 1
1326
1333 uint32_t value);
1334
1341
1342#define OTA_UPGRADE_IMAGE_UPGRADE_STATUS_ENUM_NAME_AVAILABLE 1
1343
1350 uint32_t value);
1351
1358
1359#define OTA_UPGRADE_UPGRADE_ACTIVATION_POLICY_ENUM_NAME_AVAILABLE 1
1360
1367 uint32_t value);
1368
1375
1376#define OTA_UPGRADE_UPGRADE_TIMEOUT_POLICY_ENUM_NAME_AVAILABLE 1
1377
1384 uint32_t value);
1385
1392
1393#define OCCUPANCY_SENSING_OCCUPANCY_SENSOR_TYPE_ENUM_NAME_AVAILABLE 1
1394
1401 uint32_t value);
1402
1409
1410#define OFF_WITH_EFFECT_EFFECT_IDENTIFIER_ENUM_NAME_AVAILABLE 1
1411
1418 uint32_t value);
1419
1426
1427#define ON_OFF_START_UP_ON_OFF_ENUM_NAME_AVAILABLE 1
1428
1435 uint32_t value);
1436
1442uint32_t on_off_start_up_on_off_get_enum_value_number(const std::string &str);
1443
1444#define OPERATING_EVENT_NOTIFICATION_OPERATION_EVENT_CODE_ENUM_NAME_AVAILABLE 1
1445
1452 uint32_t value);
1453
1460
1461#define OPTIONS_STARTUP_MODE_ENUM_NAME_AVAILABLE 1
1462
1469 uint32_t value);
1470
1476uint32_t options_startup_mode_get_enum_value_number(const std::string &str);
1477
1478#define PROFILE_INTERVAL_PERIOD_ENUM_NAME_AVAILABLE 1
1479
1486 uint32_t value);
1487
1493uint32_t profile_interval_period_get_enum_value_number(const std::string &str);
1494
1495#define PROGRAMMING_EVENT_NOTIFICATION_PROGRAM_EVENT_CODE_ENUM_NAME_AVAILABLE 1
1496
1503 uint32_t value);
1504
1511
1512#define PROGRAMMING_EVENT_NOTIFICATION_PROGRAM_EVENT_SOURCE_ENUM_NAME_AVAILABLE 1
1513
1520 uint32_t value);
1521
1528
1529#define PUMP_CONTROL_MODE_ENUM_NAME_AVAILABLE 1
1530
1537 uint32_t value);
1538
1544uint32_t pump_control_mode_get_enum_value_number(const std::string &str);
1545
1546#define PUMP_OPERATION_MODE_ENUM_NAME_AVAILABLE 1
1547
1554 uint32_t value);
1555
1561uint32_t pump_operation_mode_get_enum_value_number(const std::string &str);
1562
1563#define SHDCFG_DIRECTION_ENUM_NAME_AVAILABLE 1
1564
1571 uint32_t value);
1572
1578uint32_t shdcfg_direction_get_enum_value_number(const std::string &str);
1579
1580#define SCALE_TYPE_ENUM_NAME_AVAILABLE 1
1581
1588 uint32_t value);
1589
1595uint32_t scale_type_get_enum_value_number(const std::string &str);
1596
1597#define SETPOINT_RAISE_OR_LOWER_MODE_ENUM_NAME_AVAILABLE 1
1598
1605 uint32_t value);
1606
1613
1614#define SETPOINT_TYPE_ENUM_NAME_AVAILABLE 1
1615
1622 uint32_t value);
1623
1629uint32_t setpoint_type_get_enum_value_number(const std::string &str);
1630
1631#define SHADE_CONFIGURATION_MODE_ENUM_NAME_AVAILABLE 1
1632
1639 uint32_t value);
1640
1646uint32_t shade_configuration_mode_get_enum_value_number(const std::string &str);
1647
1648#define SIREN_CONFIGURATION_STROBE_ENUM_NAME_AVAILABLE 1
1649
1656 uint32_t value);
1657
1664
1665#define SIREN_CONFIGURATION_WARNING_MODE_ENUM_NAME_AVAILABLE 1
1666
1673 uint32_t value);
1674
1681
1682#define SQUAWK_CONFIGURATION_SQUAWK_MODE_ENUM_NAME_AVAILABLE 1
1683
1690 uint32_t value);
1691
1698
1699#define THERMOSTAT_AC_CAPACITY_FORMAT_ENUM_NAME_AVAILABLE 1
1700
1707 uint32_t value);
1708
1715
1716#define THERMOSTAT_AC_COMPRESSOR_TYPE_ENUM_NAME_AVAILABLE 1
1717
1724 uint32_t value);
1725
1732
1733#define THERMOSTAT_AC_LOUVER_POSITION_ENUM_NAME_AVAILABLE 1
1734
1741 uint32_t value);
1742
1749
1750#define THERMOSTAT_AC_REFRIGERANT_TYPE_ENUM_NAME_AVAILABLE 1
1751
1758 uint32_t value);
1759
1766
1767#define THERMOSTAT_AC_TYPE_ENUM_NAME_AVAILABLE 1
1768
1775 uint32_t value);
1776
1782uint32_t thermostat_ac_type_get_enum_value_number(const std::string &str);
1783
1784#define THERMOSTAT_CONTROL_SEQUENCE_OF_OPERATION_ENUM_NAME_AVAILABLE 1
1785
1792 uint32_t value);
1793
1800
1801#define THERMOSTAT_PROGRAMMING_OPERATION_MODE_PROGRAMMING_MODE_ENUM_NAME_AVAILABLE 1
1802
1809 uint32_t value);
1810
1817
1818#define THERMOSTAT_SETPOINT_CHANGE_SOURCE_ENUM_NAME_AVAILABLE 1
1819
1826 uint32_t value);
1827
1834
1835#define THERMOSTAT_START_OF_WEEK_ENUM_NAME_AVAILABLE 1
1836
1843 uint32_t value);
1844
1850uint32_t thermostat_start_of_week_get_enum_value_number(const std::string &str);
1851
1852#define THERMOSTAT_SYSTEM_MODE_ENUM_NAME_AVAILABLE 1
1853
1860 uint32_t value);
1861
1867uint32_t thermostat_system_mode_get_enum_value_number(const std::string &str);
1868
1869#define THERMOSTAT_TEMPERATURE_SETPOINT_HOLD_ENUM_NAME_AVAILABLE 1
1870
1877 uint32_t value);
1878
1885
1886#define THERMOSTAT_THERMOSTAT_RUNNING_MODE_ENUM_NAME_AVAILABLE 1
1887
1894 uint32_t value);
1895
1902
1903#define THERMOSTAT_USER_INTERFACE_CONFIGURATION_KEYPAD_LOCKOUT_ENUM_NAME_AVAILABLE 1
1904
1911 uint32_t value);
1912
1919
1920#define THERMOSTAT_USER_INTERFACE_CONFIGURATION_SCHEDULE_PROGRAMMING_VISIBILITY_ENUM_NAME_AVAILABLE 1
1921
1928 uint32_t value);
1929
1936
1937#define THERMOSTAT_USER_INTERFACE_CONFIGURATION_TEMPERATURE_DISPLAY_MODE_ENUM_NAME_AVAILABLE 1
1938
1945 uint32_t value);
1946
1953
1954#define TRIGGER_EFFECT_EFFECT_IDENTIFIER_ENUM_NAME_AVAILABLE 1
1955
1962 uint32_t value);
1963
1970
1971#define TRIGGER_EFFECT_EFFECT_VARIANT_ENUM_NAME_AVAILABLE 1
1972
1979 uint32_t value);
1980
1987
1988#define TX_REPORT_TRANSMISSION_SPEED_ENUM_NAME_AVAILABLE 1
1989
1996 uint32_t value);
1997
2004
2005#define UNIFY_HUMIDITY_CONTROL_CURRENT_STATE_ENUM_NAME_AVAILABLE 1
2006
2013 uint32_t value);
2014
2021
2022#define UNIFY_THERMOSTAT_OPERATING_STATE_ENUM_NAME_AVAILABLE 1
2023
2030 uint32_t value);
2031
2038
2039#define UNIFY_THERMOSTAT_THERMOSTAT_MODE_ENUM_NAME_AVAILABLE 1
2040
2047 uint32_t value);
2048
2055
2056#define WINDOW_COVERING_WINDOW_COVERING_TYPE_ENUM_NAME_AVAILABLE 1
2057
2064 uint32_t value);
2065
2072
2073#define Z_WAVE_FAN_MODE_ENUM_ENUM_NAME_AVAILABLE 1
2074
2081 uint32_t value);
2082
2088uint32_t z_wave_fan_mode_enum_get_enum_value_number(const std::string &str);
2089
2090#define Z_WAVE_FAN_STATE_ENUM_ENUM_NAME_AVAILABLE 1
2091
2098 uint32_t value);
2099
2105uint32_t z_wave_fan_state_enum_get_enum_value_number(const std::string &str);
2106
2107#define ZONE_ENROLL_RESPONSE_ENROLL_RESPONSE_CODE_ENUM_NAME_AVAILABLE 1
2108
2115 uint32_t value);
2116
2123
2124#define ATTRIBUTE_REPORTING_STATUS_ENUM_NAME_AVAILABLE 1
2125
2132 uint32_t value);
2133
2140
2141#define ZCL_STATUS_ENUM_NAME_AVAILABLE 1
2142
2149 uint32_t value);
2150
2156uint32_t zcl_status_get_enum_value_number(const std::string &str);
2157
2158#define ZCL_TYPE_ENUM_NAME_AVAILABLE 1
2159
2166 uint32_t value);
2167
2173uint32_t zcl_type_get_enum_value_number(const std::string &str);
2174
2175
2188 dotdot_cluster_id_t cluster_id,
2189 dotdot_attribute_id_t attribute_id,
2190 uint32_t value);
2191
2203 dotdot_cluster_id_t cluster_id,
2204 dotdot_attribute_id_t attribute_id,
2205 const std::string &name);
2206
2207namespace unify {
2215std::optional<std::string> unid_from_mqtt_topic(const std::string &topic);
2216}
2217#endif //DOTDOT_MQTT_HELPERS_HPP
uint32_t arm_arm_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ArmArmMode enum.
uint32_t window_covering_window_covering_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the WindowCoveringWindowCoveringType enum.
uint32_t ota_upgrade_upgrade_activation_policy_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the OTAUpgradeUpgradeActivationPolicy enum.
std::string drlk_set_code_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the DrlkSetCodeStatus enum.
uint32_t shdcfg_direction_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the SHDCFGDirection enum.
uint32_t aox_locator_cte_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the AoXLocatorCTEMode enum.
uint32_t node_state_security_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the NodeStateSecurity enum.
std::string get_measurement_profile_response_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the GetMeasurementProfileResponseStatus enum.
std::string arm_arm_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the ArmArmMode enum.
uint32_t ota_upgrade_image_upgrade_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the OTAUpgradeImageUpgradeStatus enum.
uint32_t programming_event_notification_program_event_source_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ProgrammingEventNotificationProgramEventSour...
std::string image_notify_payload_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the ImageNotifyPayloadType enum.
uint32_t scale_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ScaleType enum.
std::string illuminance_measurement_light_sensor_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the IlluminanceMeasurementLightSensorType enum.
uint32_t drlk_user_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DrlkUserType enum.
std::string shdcfg_direction_get_enum_value_name(uint32_t value)
Finds the name of a field for the SHDCFGDirection enum.
std::string trigger_effect_effect_variant_get_enum_value_name(uint32_t value)
Finds the name of a field for the TriggerEffectEffectVariant enum.
std::string pump_operation_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the PumpOperationMode enum.
std::string hvac_system_type_configuration_heating_system_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the HVACSystemTypeConfigurationHeatingSystemType enum.
std::string door_lock_lock_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the DoorLockLockType enum.
uint32_t ias_zone_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the IasZoneType enum.
std::string ias_zone_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the IasZoneType enum.
std::string color_control_color_loop_direction_get_enum_value_name(uint32_t value)
Finds the name of a field for the ColorControlColorLoopDirection enum.
std::string unify_thermostat_thermostat_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the UnifyThermostatThermostatMode enum.
std::string tx_report_transmission_speed_get_enum_value_name(uint32_t value)
Finds the name of a field for the TxReportTransmissionSpeed enum.
std::string logging_level_enum_get_enum_value_name(uint32_t value)
Finds the name of a field for the LoggingLevelEnum enum.
std::string dehumidification_control_relative_humidity_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the DehumidificationControlRelativeHumidityMode enum.
std::string metering_supply_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the MeteringSupplyStatus enum.
std::string battery_size_get_enum_value_name(uint32_t value)
Finds the name of a field for the BatterySize enum.
uint32_t hvac_system_type_configuration_heating_system_stage_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the HVACSystemTypeConfigurationHeatingSystemStag...
std::string trigger_effect_effect_identifier_get_enum_value_name(uint32_t value)
Finds the name of a field for the TriggerEffectEffectIdentifier enum.
std::string arm_response_arm_notification_get_enum_value_name(uint32_t value)
Finds the name of a field for the ArmResponseArmNotification enum.
std::string node_state_network_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the NodeStateNetworkStatus enum.
uint32_t squawk_configuration_squawk_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the SquawkConfigurationSquawkMode enum.
uint32_t aox_locator_reporting_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the AoXLocatorReportingMode enum.
uint32_t thermostat_programming_operation_mode_programming_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatProgrammingOperationModeProgrammin...
uint32_t thermostat_ac_compressor_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatACCompressorType enum.
std::string get_enum_value_name(dotdot_cluster_id_t cluster_id, dotdot_attribute_id_t attribute_id, uint32_t value)
Generic function to get the Value Name of a Cluster/Attribute/Value.
uint32_t dehumidification_control_relative_humidity_display_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DehumidificationControlRelativeHumidityDispl...
uint32_t get_enum_name_value(dotdot_cluster_id_t cluster_id, dotdot_attribute_id_t attribute_id, const std::string &name)
Generic function to get the Value from a Value Name of a Cluster/Attribute.
std::string move_step_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the MoveStepMode enum.
uint32_t get_measurement_profile_response_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the GetMeasurementProfileResponseStatus enum.
std::string thermostat_ac_louver_position_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatACLouverPosition enum.
uint32_t cc_move_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CCMoveMode enum.
std::string drlk_oper_event_source_get_enum_value_name(uint32_t value)
Finds the name of a field for the DrlkOperEventSource enum.
std::string cc_step_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the CCStepMode enum.
std::string basic_power_source_get_enum_value_name(uint32_t value)
Finds the name of a field for the BasicPowerSource enum.
std::string iasace_audible_notification_get_enum_value_name(uint32_t value)
Finds the name of a field for the IasaceAudibleNotification enum.
uint32_t thermostat_user_interface_configuration_keypad_lockout_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatUserInterfaceConfigurationKeypadLo...
uint32_t unify_humidity_control_current_state_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the UnifyHumidityControlCurrentState enum.
uint32_t unify_thermostat_operating_state_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the UnifyThermostatOperatingState enum.
uint32_t thermostat_ac_capacity_format_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatACCapacityFormat enum.
uint32_t dev_type_id_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DevTypeId enum.
std::string window_covering_window_covering_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the WindowCoveringWindowCoveringType enum.
uint32_t off_with_effect_effect_identifier_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the OffWithEffectEffectIdentifier enum.
std::string fan_control_fan_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the FanControlFanMode enum.
uint32_t nm_state_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the NM_State enum.
uint32_t color_loop_set_action_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ColorLoopSetAction enum.
uint32_t metering_temperature_unit_of_measure_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the MeteringTemperatureUnitOfMeasure enum.
uint32_t mode_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ModeType enum.
uint32_t hvac_system_type_configuration_cooling_system_stage_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the HVACSystemTypeConfigurationCoolingSystemStag...
std::string drlk_user_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the DrlkUserType enum.
std::string unify_humidity_control_current_state_get_enum_value_name(uint32_t value)
Finds the name of a field for the UnifyHumidityControlCurrentState enum.
uint32_t cc_step_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CCStepMode enum.
uint32_t basic_generic_device_class_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the BasicGenericDevice-Class enum.
uint32_t basic_physical_environment_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the BasicPhysicalEnvironment enum.
uint32_t fan_control_fan_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the FanControlFanMode enum.
std::string occupancy_sensing_occupancy_sensor_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the OccupancySensingOccupancySensorType enum.
uint32_t logging_level_enum_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the LoggingLevelEnum enum.
uint32_t iaswd_level_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the IaswdLevel enum.
std::string ota_upgrade_image_upgrade_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the OTAUpgradeImageUpgradeStatus enum.
std::string programming_event_notification_program_event_source_get_enum_value_name(uint32_t value)
Finds the name of a field for the ProgrammingEventNotificationProgramEventSource enum.
std::string credential_type_enum_get_enum_value_name(uint32_t value)
Finds the name of a field for the CredentialTypeEnum enum.
std::string metering_temperature_unit_of_measure_get_enum_value_name(uint32_t value)
Finds the name of a field for the MeteringTemperatureUnitOfMeasure enum.
std::string door_lock_lock_state_get_enum_value_name(uint32_t value)
Finds the name of a field for the DoorLockLockState enum.
std::string node_state_security_get_enum_value_name(uint32_t value)
Finds the name of a field for the NodeStateSecurity enum.
std::string iaswd_level_get_enum_value_name(uint32_t value)
Finds the name of a field for the IaswdLevel enum.
std::string ota_upgrade_upgrade_activation_policy_get_enum_value_name(uint32_t value)
Finds the name of a field for the OTAUpgradeUpgradeActivationPolicy enum.
std::string fan_control_fan_mode_sequence_get_enum_value_name(uint32_t value)
Finds the name of a field for the FanControlFanModeSequence enum.
uint32_t commissioning_startup_control_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CommissioningStartupControl enum.
std::string basic_generic_device_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the BasicGenericDevice-Type enum.
uint32_t drlk_user_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DrlkUserStatus enum.
uint32_t commissioning_stack_profile_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CommissioningStackProfile enum.
std::string thermostat_programming_operation_mode_programming_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatProgrammingOperationModeProgrammingMode enum.
uint32_t profile_interval_period_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ProfileIntervalPeriod enum.
std::string commissioning_stack_profile_get_enum_value_name(uint32_t value)
Finds the name of a field for the CommissioningStackProfile enum.
uint32_t attribute_reporting_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the attributeReportingStatus enum.
std::string thermostat_temperature_setpoint_hold_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatTemperatureSetpointHold enum.
std::string siren_configuration_warning_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the SirenConfigurationWarningMode enum.
uint32_t dehumidification_control_relative_humidity_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DehumidificationControlRelativeHumidityMode ...
std::string iasac_panel_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the IasacPanelStatus enum.
std::string thermostat_user_interface_configuration_schedule_programming_visibility_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatUserInterfaceConfigurationScheduleProgrammingVisibility e...
std::string options_startup_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the OptionsStartupMode enum.
uint32_t metering_unitof_measure_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the MeteringUnitofMeasure enum.
std::string operating_event_notification_operation_event_code_get_enum_value_name(uint32_t value)
Finds the name of a field for the OperatingEventNotificationOperationEventCode enum.
uint32_t aox_locator_antenna_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the AoXLocatorAntennaMode enum.
std::string aox_locator_antenna_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the AoXLocatorAntennaMode enum.
uint32_t hvac_system_type_configuration_heating_system_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the HVACSystemTypeConfigurationHeatingSystemType...
std::string setpoint_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the SetpointType enum.
uint32_t metering_energy_carrier_unit_of_measure_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the MeteringEnergyCarrierUnitOfMeasure enum.
std::string thermostat_ac_capacity_format_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatACCapacityFormat enum.
std::string basic_generic_device_class_get_enum_value_name(uint32_t value)
Finds the name of a field for the BasicGenericDevice-Class enum.
uint32_t barrier_control_moving_state_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the BarrierControlMovingState enum.
uint32_t thermostat_setpoint_change_source_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatSetpointChangeSource enum.
std::string thermostat_system_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatSystemMode enum.
uint32_t zcl_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the zclStatus enum.
uint32_t door_lock_door_state_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DoorLockDoorState enum.
uint32_t programming_event_notification_program_event_code_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ProgrammingEventNotificationProgramEventCode...
uint32_t unify_thermostat_thermostat_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the UnifyThermostatThermostatMode enum.
uint32_t drlk_oper_event_source_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DrlkOperEventSource enum.
uint32_t node_state_network_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the NodeStateNetworkStatus enum.
uint32_t ias_zone_zone_state_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the IASZoneZoneState enum.
uint32_t operating_event_notification_operation_event_code_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the OperatingEventNotificationOperationEventCode...
std::string zone_enroll_response_enroll_response_code_get_enum_value_name(uint32_t value)
Finds the name of a field for the ZoneEnrollResponseEnrollResponseCode enum.
std::string attribute_reporting_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the attributeReportingStatus enum.
uint32_t basic_generic_device_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the BasicGenericDevice-Type enum.
std::string siren_configuration_strobe_get_enum_value_name(uint32_t value)
Finds the name of a field for the SirenConfigurationStrobe enum.
uint32_t thermostat_ac_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatACType enum.
std::string color_control_color_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the ColorControlColorMode enum.
std::string setpoint_raise_or_lower_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the SetpointRaiseOrLowerMode enum.
uint32_t move_step_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the MoveStepMode enum.
std::string metering_unitof_measure_get_enum_value_name(uint32_t value)
Finds the name of a field for the MeteringUnitofMeasure enum.
std::string get_log_record_response_event_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the GetLogRecordResponseEventType enum.
uint32_t iasace_audible_notification_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the IasaceAudibleNotification enum.
std::string credential_rule_enum_get_enum_value_name(uint32_t value)
Finds the name of a field for the CredentialRuleEnum enum.
uint32_t ota_device_specific_image_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the OTADeviceSpecificImageType enum.
uint32_t commissioning_network_key_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CommissioningNetworkKeyType enum.
std::string z_wave_fan_state_enum_get_enum_value_name(uint32_t value)
Finds the name of a field for the ZWaveFanStateEnum enum.
uint32_t options_startup_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the OptionsStartupMode enum.
std::string commissioning_protocol_version_get_enum_value_name(uint32_t value)
Finds the name of a field for the CommissioningProtocolVersion enum.
uint32_t z_wave_fan_mode_enum_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ZWaveFanModeEnum enum.
std::string squawk_configuration_squawk_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the SquawkConfigurationSquawkMode enum.
std::string commissioning_startup_control_get_enum_value_name(uint32_t value)
Finds the name of a field for the CommissioningStartupControl enum.
uint32_t color_control_drift_compensation_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ColorControlDriftCompensation enum.
uint32_t door_lock_lock_state_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DoorLockLockState enum.
uint32_t ota_upgrade_upgrade_timeout_policy_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the OTAUpgradeUpgradeTimeoutPolicy enum.
std::string door_lock_security_level_get_enum_value_name(uint32_t value)
Finds the name of a field for the DoorLockSecurityLevel enum.
uint32_t setpoint_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the SetpointType enum.
std::string thermostat_thermostat_running_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatThermostatRunningMode enum.
std::string aox_locator_aox_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the AoXLocatorAoXMode enum.
uint32_t cc_color_loop_direction_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CCColorLoopDirection enum.
uint32_t door_lock_lock_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DoorLockLockType enum.
std::string door_lock_sound_volume_get_enum_value_name(uint32_t value)
Finds the name of a field for the DoorLockSoundVolume enum.
uint32_t occupancy_sensing_occupancy_sensor_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the OccupancySensingOccupancySensorType enum.
std::string barrier_control_moving_state_get_enum_value_name(uint32_t value)
Finds the name of a field for the BarrierControlMovingState enum.
uint32_t metering_supply_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the MeteringSupplyStatus enum.
uint32_t pump_control_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the PumpControlMode enum.
std::string profile_interval_period_get_enum_value_name(uint32_t value)
Finds the name of a field for the ProfileIntervalPeriod enum.
uint32_t drlk_oper_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DrlkOperMode enum.
uint32_t thermostat_start_of_week_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatStartOfWeek enum.
uint32_t commissioning_protocol_version_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CommissioningProtocolVersion enum.
std::string illuminance_level_sensing_light_sensor_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the IlluminanceLevelSensingLightSensorType enum.
uint32_t trigger_effect_effect_identifier_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the TriggerEffectEffectIdentifier enum.
std::string drlk_user_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the DrlkUserStatus enum.
uint32_t thermostat_temperature_setpoint_hold_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatTemperatureSetpointHold enum.
std::string door_lock_door_state_get_enum_value_name(uint32_t value)
Finds the name of a field for the DoorLockDoorState enum.
uint32_t color_control_color_loop_direction_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ColorControlColorLoopDirection enum.
std::string aox_locator_cte_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the AoXLocatorCTEMode enum.
std::string hvac_system_type_configuration_heating_system_stage_get_enum_value_name(uint32_t value)
Finds the name of a field for the HVACSystemTypeConfigurationHeatingSystemStage enum.
uint32_t on_off_start_up_on_off_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the OnOffStartUpOnOff enum.
uint32_t siren_configuration_strobe_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the SirenConfigurationStrobe enum.
std::string ota_device_specific_image_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the OTADeviceSpecificImageType enum.
uint32_t color_control_color_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ColorControlColorMode enum.
uint32_t thermostat_system_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatSystemMode enum.
uint32_t hvac_system_type_configuration_heating_fuel_source_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the HVACSystemTypeConfigurationHeatingFuelSource...
uint32_t cc_direction_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CCDirection enum.
std::string cc_move_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the CCMoveMode enum.
std::string off_with_effect_effect_identifier_get_enum_value_name(uint32_t value)
Finds the name of a field for the OffWithEffectEffectIdentifier enum.
uint32_t bypass_response_zone_id_bypass_result_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the BypassResponseZoneIDBypassResult enum.
std::string hvac_system_type_configuration_cooling_system_stage_get_enum_value_name(uint32_t value)
Finds the name of a field for the HVACSystemTypeConfigurationCoolingSystemStage enum.
std::string basic_physical_environment_get_enum_value_name(uint32_t value)
Finds the name of a field for the BasicPhysicalEnvironment enum.
std::string illuminance_level_sensing_level_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the IlluminanceLevelSensingLevelStatus enum.
uint32_t get_log_record_response_event_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the GetLogRecordResponseEventType enum.
std::string drlk_pass_fail_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the DrlkPassFailStatus enum.
std::string thermostat_start_of_week_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatStartOfWeek enum.
uint32_t color_control_color_loop_active_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ColorControlColorLoopActive enum.
uint32_t drlk_settable_user_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DrlkSettableUserStatus enum.
uint32_t iasac_panel_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the IasacPanelStatus enum.
std::string metering_metering_device_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the MeteringMeteringDeviceType enum.
uint32_t zcl_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the zclType enum.
uint32_t door_lock_led_settings_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DoorLockLEDSettings enum.
uint32_t credential_type_enum_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CredentialTypeEnum enum.
uint32_t thermostat_user_interface_configuration_temperature_display_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatUserInterfaceConfigurationTemperat...
std::string cc_direction_get_enum_value_name(uint32_t value)
Finds the name of a field for the CCDirection enum.
uint32_t aox_locator_aox_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the AoXLocatorAoXMode enum.
std::string commissioning_network_key_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the CommissioningNetworkKeyType enum.
uint32_t zone_enroll_response_enroll_response_code_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ZoneEnrollResponseEnrollResponseCode enum.
uint32_t illuminance_level_sensing_light_sensor_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the IlluminanceLevelSensingLightSensorType enum.
uint32_t image_notify_payload_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ImageNotifyPayloadType enum.
uint32_t tx_report_transmission_speed_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the TxReportTransmissionSpeed enum.
std::string scale_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the ScaleType enum.
uint32_t door_lock_sound_volume_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DoorLockSoundVolume enum.
uint32_t shade_configuration_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ShadeConfigurationMode enum.
std::string color_control_color_loop_active_get_enum_value_name(uint32_t value)
Finds the name of a field for the ColorControlColorLoopActive enum.
uint32_t drlk_set_code_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DrlkSetCodeStatus enum.
std::string dehumidification_control_dehumidification_lockout_get_enum_value_name(uint32_t value)
Finds the name of a field for the DehumidificationControlDehumidificationLockout enum.
std::string thermostat_setpoint_change_source_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatSetpointChangeSource enum.
std::string nm_state_get_enum_value_name(uint32_t value)
Finds the name of a field for the NM_State enum.
std::string ias_zone_zone_state_get_enum_value_name(uint32_t value)
Finds the name of a field for the IASZoneZoneState enum.
std::string shade_configuration_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the ShadeConfigurationMode enum.
std::string bypass_response_zone_id_bypass_result_get_enum_value_name(uint32_t value)
Finds the name of a field for the BypassResponseZoneIDBypassResult enum.
std::string ota_upgrade_upgrade_timeout_policy_get_enum_value_name(uint32_t value)
Finds the name of a field for the OTAUpgradeUpgradeTimeoutPolicy enum.
std::string mode_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the ModeType enum.
std::string dehumidification_control_relative_humidity_display_get_enum_value_name(uint32_t value)
Finds the name of a field for the DehumidificationControlRelativeHumidityDisplay enum.
uint32_t setpoint_raise_or_lower_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the SetpointRaiseOrLowerMode enum.
std::string door_lock_led_settings_get_enum_value_name(uint32_t value)
Finds the name of a field for the DoorLockLEDSettings enum.
std::string data_operation_type_enum_get_enum_value_name(uint32_t value)
Finds the name of a field for the DataOperationTypeEnum enum.
std::string color_loop_set_action_get_enum_value_name(uint32_t value)
Finds the name of a field for the ColorLoopSetAction enum.
std::string zcl_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the zclStatus enum.
std::string thermostat_ac_compressor_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatACCompressorType enum.
std::string aox_locator_reporting_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the AoXLocatorReportingMode enum.
uint32_t battery_size_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the BatterySize enum.
std::string metering_energy_carrier_unit_of_measure_get_enum_value_name(uint32_t value)
Finds the name of a field for the MeteringEnergyCarrierUnitOfMeasure enum.
uint32_t illuminance_level_sensing_level_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the IlluminanceLevelSensingLevelStatus enum.
std::string thermostat_user_interface_configuration_keypad_lockout_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatUserInterfaceConfigurationKeypadLockout enum.
std::string on_off_start_up_on_off_get_enum_value_name(uint32_t value)
Finds the name of a field for the OnOffStartUpOnOff enum.
std::string color_control_drift_compensation_get_enum_value_name(uint32_t value)
Finds the name of a field for the ColorControlDriftCompensation enum.
std::string cc_color_loop_direction_get_enum_value_name(uint32_t value)
Finds the name of a field for the CCColorLoopDirection enum.
uint32_t pump_operation_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the PumpOperationMode enum.
uint32_t z_wave_fan_state_enum_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ZWaveFanStateEnum enum.
uint32_t credential_rule_enum_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the CredentialRuleEnum enum.
std::string pump_control_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the PumpControlMode enum.
std::string dev_type_id_get_enum_value_name(uint32_t value)
Finds the name of a field for the DevTypeId enum.
uint32_t thermostat_thermostat_running_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatThermostatRunningMode enum.
uint32_t thermostat_user_interface_configuration_schedule_programming_visibility_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatUserInterfaceConfigurationSchedule...
std::string programming_event_notification_program_event_code_get_enum_value_name(uint32_t value)
Finds the name of a field for the ProgrammingEventNotificationProgramEventCode enum.
uint32_t basic_power_source_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the BasicPowerSource enum.
uint32_t siren_configuration_warning_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the SirenConfigurationWarningMode enum.
std::string drlk_oper_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the DrlkOperMode enum.
std::string zcl_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the zclType enum.
uint32_t metering_metering_device_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the MeteringMeteringDeviceType enum.
uint32_t color_control_enhanced_color_mode_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ColorControlEnhancedColorMode enum.
uint32_t iasace_alarm_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the IasaceAlarmStatus enum.
uint32_t illuminance_measurement_light_sensor_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the IlluminanceMeasurementLightSensorType enum.
std::string z_wave_fan_mode_enum_get_enum_value_name(uint32_t value)
Finds the name of a field for the ZWaveFanModeEnum enum.
uint32_t fan_control_fan_mode_sequence_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the FanControlFanModeSequence enum.
std::string thermostat_user_interface_configuration_temperature_display_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatUserInterfaceConfigurationTemperatureDisplayMode enum.
uint32_t thermostat_control_sequence_of_operation_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatControlSequenceOfOperation enum.
std::string thermostat_control_sequence_of_operation_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatControlSequenceOfOperation enum.
std::string unify_thermostat_operating_state_get_enum_value_name(uint32_t value)
Finds the name of a field for the UnifyThermostatOperatingState enum.
uint32_t door_lock_security_level_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DoorLockSecurityLevel enum.
uint32_t thermostat_ac_refrigerant_type_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatACRefrigerantType enum.
std::string hvac_system_type_configuration_heating_fuel_source_get_enum_value_name(uint32_t value)
Finds the name of a field for the HVACSystemTypeConfigurationHeatingFuelSource enum.
uint32_t trigger_effect_effect_variant_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the TriggerEffectEffectVariant enum.
uint32_t thermostat_ac_louver_position_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ThermostatACLouverPosition enum.
std::string color_control_enhanced_color_mode_get_enum_value_name(uint32_t value)
Finds the name of a field for the ColorControlEnhancedColorMode enum.
std::string thermostat_ac_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatACType enum.
uint32_t drlk_pass_fail_status_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DrlkPassFailStatus enum.
uint32_t data_operation_type_enum_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DataOperationTypeEnum enum.
std::string thermostat_ac_refrigerant_type_get_enum_value_name(uint32_t value)
Finds the name of a field for the ThermostatACRefrigerantType enum.
std::string drlk_settable_user_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the DrlkSettableUserStatus enum.
uint32_t arm_response_arm_notification_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the ArmResponseArmNotification enum.
std::string iasace_alarm_status_get_enum_value_name(uint32_t value)
Finds the name of a field for the IasaceAlarmStatus enum.
uint32_t dehumidification_control_dehumidification_lockout_get_enum_value_number(const std::string &str)
Finds the enum number of a string representation for the DehumidificationControlDehumidificationLocko...
Definition: dotdot_mqtt_helpers.hpp:2207
std::optional< std::string > unid_from_mqtt_topic(const std::string &topic)
Get UNID from MQTT topic.
Generic type definitions for Unify.
uint16_t dotdot_attribute_id_t
Definition: uic_typedefs.h:44
uint16_t dotdot_cluster_id_t
Definition: uic_typedefs.h:43