zigbee-herdsman-converters 26.86.0 → 26.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [26.87.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v26.86.0...v26.87.0) (2026-07-26)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** TS0201-LCD-SlD, Router-ZG-807Z-SlD ([#12765](https://github.com/Koenkk/zigbee-herdsman-converters/issues/12765)) ([9fa1bf0](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9fa1bf0ff9eedaf99026c9997755ca24578495be))
9
+ * Philips Hue plugs: expose Power-on behavior ([#12764](https://github.com/Koenkk/zigbee-herdsman-converters/issues/12764)) ([92b017e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/92b017e2fe95ca7dcf9edbe759c534529bf844ba))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **detect:** Detect `_TZ3210_r3wubmyh` as Nous P8Z ([#12762](https://github.com/Koenkk/zigbee-herdsman-converters/issues/12762)) ([be5b2fa](https://github.com/Koenkk/zigbee-herdsman-converters/commit/be5b2fab52b9695d290494fc103a5034cfa25ca9))
15
+ * HOBEIAN ZG-302ZM: fix auto on/off lookup ([#12760](https://github.com/Koenkk/zigbee-herdsman-converters/issues/12760)) ([1d80375](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1d8037594d70d65a906b99f04a58dfe8c56d3d27))
16
+ * **ignore:** bump zigbee-herdsman from 10.6.3 to 10.7.0 in the minor-patch group ([#12766](https://github.com/Koenkk/zigbee-herdsman-converters/issues/12766)) ([d8553a5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d8553a5dd769cc95020c312741c385fad2f787e7))
17
+
3
18
  ## [26.86.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v26.85.0...v26.86.0) (2026-07-24)
4
19
 
5
20
 
@@ -1 +1 @@
1
- {"version":3,"file":"slacky_diy.d.ts","sourceRoot":"","sources":["../../src/devices/slacky_diy.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAwB,oBAAoB,EAA0D,MAAM,cAAc,CAAC;AAk0CvI,eAAO,MAAM,WAAW,EAAE,oBAAoB,EA27K7C,CAAC"}
1
+ {"version":3,"file":"slacky_diy.d.ts","sourceRoot":"","sources":["../../src/devices/slacky_diy.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAwB,oBAAoB,EAA0D,MAAM,cAAc,CAAC;AA00CvI,eAAO,MAAM,WAAW,EAAE,oBAAoB,EAorL7C,CAAC"}
@@ -34,6 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.definitions = void 0;
37
+ const zigbee_herdsman_1 = require("zigbee-herdsman");
37
38
  const fz = __importStar(require("../converters/fromZigbee"));
38
39
  const tz = __importStar(require("../converters/toZigbee"));
39
40
  const exposes = __importStar(require("../lib/exposes"));
@@ -2905,6 +2906,145 @@ exports.definitions = [
2905
2906
  ],
2906
2907
  ota: true,
2907
2908
  },
2909
+ {
2910
+ zigbeeModel: ["TS0201-z2C-SlD"],
2911
+ model: "TS0201-LCD-SlD",
2912
+ vendor: "Slacky-DIY",
2913
+ description: "Tuya temperature and humidity sensor with LCD display and custom firmware",
2914
+ extend: [
2915
+ m.deviceEndpoints({
2916
+ endpoints: {
2917
+ "1": 1,
2918
+ "2": 2,
2919
+ },
2920
+ }),
2921
+ m.battery({
2922
+ voltage: true,
2923
+ voltageReporting: true,
2924
+ percentageReportingConfig: batteryReporting,
2925
+ voltageReportingConfig: batteryReporting,
2926
+ }),
2927
+ m.temperature({ reporting: temperatureReporting }),
2928
+ m.humidity({ reporting: humidityReporting }),
2929
+ m.numeric({
2930
+ name: "temperature_offset",
2931
+ cluster: "msTemperatureMeasurement",
2932
+ attribute: { ID: attrTemperatureOffset, type: 0x29 },
2933
+ unit: "°C",
2934
+ valueMin: -5,
2935
+ valueMax: 5,
2936
+ valueStep: 0.1,
2937
+ scale: 100,
2938
+ description: "Offset to add/subtract to the inside temperature",
2939
+ }),
2940
+ m.numeric({
2941
+ name: "humidity_offset",
2942
+ cluster: "msRelativeHumidity",
2943
+ attribute: { ID: attrHumidityOffset, type: 0x29 },
2944
+ unit: "%",
2945
+ valueMin: -10,
2946
+ valueMax: 10,
2947
+ valueStep: 1,
2948
+ scale: 100,
2949
+ description: "Offset to add/subtract to the inside humidity",
2950
+ }),
2951
+ m.numeric({
2952
+ name: "read_interval",
2953
+ cluster: "msTemperatureMeasurement",
2954
+ attribute: { ID: attrSensorReadPeriod, type: 0x21 },
2955
+ unit: "Sec",
2956
+ valueMin: 5,
2957
+ valueMax: 600,
2958
+ valueStep: 1,
2959
+ description: "Sensors reading period",
2960
+ }),
2961
+ m.binary({
2962
+ name: "enabling_repeat_command",
2963
+ cluster: "msTemperatureMeasurement",
2964
+ attribute: { ID: attrRepeatCommand, type: 0x10 },
2965
+ description: "Enables/disables repeat command",
2966
+ valueOn: ["ON", 0x01],
2967
+ valueOff: ["OFF", 0x00],
2968
+ }),
2969
+ m.binary({
2970
+ name: "enabling_temperature_control",
2971
+ cluster: "msTemperatureMeasurement",
2972
+ attribute: { ID: attrTemperatureOnOff, type: 0x10 },
2973
+ description: "Enables/disables Tempearure control",
2974
+ valueOn: ["ON", 0x01],
2975
+ valueOff: ["OFF", 0x00],
2976
+ }),
2977
+ m.numeric({
2978
+ name: "low_temperature",
2979
+ cluster: "msTemperatureMeasurement",
2980
+ attribute: { ID: attrTemperatureLow, type: 0x29 },
2981
+ unit: "°C",
2982
+ valueMin: -40,
2983
+ valueMax: 125,
2984
+ valueStep: 0.1,
2985
+ scale: 100,
2986
+ description: "Temperature low turn-off limit",
2987
+ }),
2988
+ m.numeric({
2989
+ name: "high_temperature",
2990
+ cluster: "msTemperatureMeasurement",
2991
+ attribute: { ID: attrTemperatureHigh, type: 0x29 },
2992
+ unit: "°C",
2993
+ valueMin: -40,
2994
+ valueMax: 125,
2995
+ valueStep: 0.1,
2996
+ scale: 100,
2997
+ description: "Temperature high turn-on limit",
2998
+ }),
2999
+ m.enumLookup({
3000
+ name: "temperature_actions",
3001
+ endpointName: "1",
3002
+ lookup: { heat: 0, cool: 1 },
3003
+ cluster: "genOnOffSwitchCfg",
3004
+ attribute: "switchActions",
3005
+ description: "Heat or cool",
3006
+ }),
3007
+ m.binary({
3008
+ name: "enabling_humidity_control",
3009
+ cluster: "msRelativeHumidity",
3010
+ attribute: { ID: attrHumidityOnOff, type: 0x10 },
3011
+ description: "Enables/disables Humidity control",
3012
+ valueOn: ["ON", 0x01],
3013
+ valueOff: ["OFF", 0x00],
3014
+ }),
3015
+ m.numeric({
3016
+ name: "low_humidity",
3017
+ cluster: "msRelativeHumidity",
3018
+ attribute: { ID: attrHumidityLow, type: 0x29 },
3019
+ unit: "%",
3020
+ valueMin: 1,
3021
+ valueMax: 100,
3022
+ valueStep: 1,
3023
+ scale: 100,
3024
+ description: "Humidity low turn-off limit",
3025
+ }),
3026
+ m.numeric({
3027
+ name: "high_humidity",
3028
+ cluster: "msRelativeHumidity",
3029
+ attribute: { ID: attrHumidityHigh, type: 0x29 },
3030
+ unit: "%",
3031
+ valueMin: 1,
3032
+ valueMax: 100,
3033
+ valueStep: 1,
3034
+ scale: 100,
3035
+ description: "Humidity high turn-on limit",
3036
+ }),
3037
+ m.enumLookup({
3038
+ name: "humidity_actions",
3039
+ endpointName: "2",
3040
+ lookup: { wet: 0, dry: 1 },
3041
+ cluster: "genOnOffSwitchCfg",
3042
+ attribute: "switchActions",
3043
+ description: "Wet or dry",
3044
+ }),
3045
+ ],
3046
+ ota: true,
3047
+ },
2908
3048
  {
2909
3049
  zigbeeModel: ["ZG-222ZA-z-SlD", "ZG-222Z-z-SlD", "SNZB-05-z-SlD"],
2910
3050
  model: "ZG-222ZA-z-SlD",
@@ -3668,7 +3808,7 @@ exports.definitions = [
3668
3808
  ota: true,
3669
3809
  },
3670
3810
  {
3671
- zigbeeModel: ["TSM1-0025-SlD"],
3811
+ zigbeeModel: ["TSM1-0025-SlD", "TSM1-SlD"],
3672
3812
  model: "TSM1-SlD",
3673
3813
  vendor: "Slacky-DIY",
3674
3814
  description: "Tuya switch module 1 gang with custom firmware",
@@ -3702,9 +3842,39 @@ exports.definitions = [
3702
3842
  commands: {},
3703
3843
  commandsResponse: {},
3704
3844
  }),
3845
+ m.deviceAddCustomCluster("genLevelCtrl", {
3846
+ name: "genLevelCtrl",
3847
+ ID: 0x0008,
3848
+ attributes: {
3849
+ minLevel: {
3850
+ name: "minLevel",
3851
+ ID: 0x0002,
3852
+ type: 0x20,
3853
+ write: true,
3854
+ max: 0xff,
3855
+ },
3856
+ maxLevel: {
3857
+ name: "maxLevel",
3858
+ ID: 0x0003,
3859
+ type: 0x20,
3860
+ write: true,
3861
+ max: 0xff,
3862
+ },
3863
+ },
3864
+ commands: {},
3865
+ commandsResponse: {},
3866
+ }),
3867
+ m.text({
3868
+ name: "model_number",
3869
+ cluster: "genBasic",
3870
+ attribute: "productLabel",
3871
+ access: "STATE_GET",
3872
+ description: "Switch model number",
3873
+ }),
3705
3874
  m.onOff({ powerOnBehavior: true }),
3706
3875
  m.commandsOnOff(),
3707
- localActionExtend(),
3876
+ localActionExtend({ reporting: false }),
3877
+ m.commandsLevelCtrl(),
3708
3878
  m.enumLookup({
3709
3879
  name: "switch_actions",
3710
3880
  lookup: { off: 0, on: 1 },
@@ -3714,7 +3884,12 @@ exports.definitions = [
3714
3884
  }),
3715
3885
  m.enumLookup({
3716
3886
  name: "switch_type",
3717
- lookup: { toggle: 0, momentary: 1, multifunction: 2 },
3887
+ lookup: {
3888
+ toggle: 0,
3889
+ momentary: 1,
3890
+ multifunction: 2,
3891
+ brightness_level: 3,
3892
+ },
3718
3893
  cluster: "genOnOffSwitchCfg",
3719
3894
  attribute: "customSwitchType",
3720
3895
  description: "Switch type",
@@ -3727,12 +3902,30 @@ exports.definitions = [
3727
3902
  reporting: { min: 0, max: 65000, change: 0 },
3728
3903
  description: "Relay decoupled",
3729
3904
  }),
3905
+ m.numeric({
3906
+ name: "min_level",
3907
+ access: "ALL",
3908
+ cluster: "genLevelCtrl",
3909
+ attribute: "minLevel",
3910
+ valueMin: 1,
3911
+ valueMax: 255,
3912
+ description: "Minimum level when decreasing",
3913
+ }),
3914
+ m.numeric({
3915
+ name: "max_level",
3916
+ access: "ALL",
3917
+ cluster: "genLevelCtrl",
3918
+ attribute: "maxLevel",
3919
+ valueMin: 1,
3920
+ valueMax: 255,
3921
+ description: "Maximum level when increasing",
3922
+ }),
3730
3923
  ],
3731
3924
  meta: {},
3732
3925
  ota: true,
3733
3926
  },
3734
3927
  {
3735
- zigbeeModel: ["TS0203-z20-Sld"],
3928
+ zigbeeModel: ["TS0203-z20-SlD"],
3736
3929
  model: "TS0203-z-Sld",
3737
3930
  vendor: "Slacky-DIY",
3738
3931
  description: "Tuya door/window sensor with custom firmware",
@@ -6840,5 +7033,62 @@ exports.definitions = [
6840
7033
  meta: {},
6841
7034
  ota: true,
6842
7035
  },
7036
+ {
7037
+ zigbeeModel: ["Router-ZG-807Z-SlD"],
7038
+ model: "Router-ZG-807Z-SlD",
7039
+ vendor: "Slacky-DIY",
7040
+ description: "Tuya router with custom firmware",
7041
+ extend: [
7042
+ m.deviceAddCustomCluster("SlackyDiyCustomCluster", {
7043
+ name: "SlackyDiyCustomCluster",
7044
+ ID: 0xff65,
7045
+ manufacturerCode: 0x6565,
7046
+ attributes: {
7047
+ txPower: {
7048
+ name: "txPower",
7049
+ ID: 0x0000,
7050
+ type: zigbee_herdsman_1.Zcl.DataType.ENUM8,
7051
+ write: true,
7052
+ max: 0xff,
7053
+ },
7054
+ },
7055
+ commands: {},
7056
+ commandsResponse: {},
7057
+ }),
7058
+ m.battery({
7059
+ voltage: true,
7060
+ voltageReporting: true,
7061
+ lowStatus: true,
7062
+ percentageReportingConfig: { min: 5, max: 3600, change: 0 },
7063
+ voltageReportingConfig: { min: 5, max: 3600, change: 0 },
7064
+ lowStatusReportingConfig: { min: 0, max: 3600, change: 0 },
7065
+ }),
7066
+ m.numeric({
7067
+ name: "uptime_time",
7068
+ access: "STATE_GET",
7069
+ cluster: "genTime",
7070
+ attribute: "time",
7071
+ reporting: { min: 60, max: 3600, change: 15 },
7072
+ unit: "sec",
7073
+ description: "Uptime of device",
7074
+ }),
7075
+ m.enumLookup({
7076
+ name: "tx_power",
7077
+ cluster: "SlackyDiyCustomCluster",
7078
+ attribute: "txPower",
7079
+ lookup: { "0 dBm": 0, "5 dBm": 1, "10 dBm": 2 },
7080
+ reporting: false,
7081
+ description: "Rf power config",
7082
+ }),
7083
+ m.enumLookup({
7084
+ name: "switch_actions",
7085
+ lookup: { on_off: 0, off_on: 1, toggle: 2 },
7086
+ cluster: "genOnOffSwitchCfg",
7087
+ attribute: "switchActions",
7088
+ description: "Actions switch",
7089
+ }),
7090
+ ],
7091
+ ota: true,
7092
+ },
6843
7093
  ];
6844
7094
  //# sourceMappingURL=slacky_diy.js.map