@willieee802/zigbee-herdsman-converters 15.0.8-4.1

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.
Files changed (312) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -0
  3. package/converters/fromZigbee.js +8439 -0
  4. package/converters/toZigbee.js +7162 -0
  5. package/devices/ITCommander.js +37 -0
  6. package/devices/RMC002.js +20 -0
  7. package/devices/acova.js +101 -0
  8. package/devices/acuity_brands_lighting.js +11 -0
  9. package/devices/adeo.js +256 -0
  10. package/devices/adurosmart.js +130 -0
  11. package/devices/aeotec.js +13 -0
  12. package/devices/airam.js +59 -0
  13. package/devices/ajax_online.js +49 -0
  14. package/devices/akuvox.js +28 -0
  15. package/devices/alchemy.js +18 -0
  16. package/devices/aldi.js +53 -0
  17. package/devices/alecto.js +98 -0
  18. package/devices/anchor.js +17 -0
  19. package/devices/atlantic.js +110 -0
  20. package/devices/atsmart.js +28 -0
  21. package/devices/aubess.js +21 -0
  22. package/devices/aurora_lighting.js +292 -0
  23. package/devices/automaton.js +44 -0
  24. package/devices/awox.js +184 -0
  25. package/devices/axis.js +22 -0
  26. package/devices/bankamp.js +11 -0
  27. package/devices/bega.js +22 -0
  28. package/devices/belkin.js +11 -0
  29. package/devices/bitron.js +334 -0
  30. package/devices/blaupunkt.js +27 -0
  31. package/devices/blitzwolf.js +47 -0
  32. package/devices/bosch.js +702 -0
  33. package/devices/brimate.js +15 -0
  34. package/devices/bseed.js +17 -0
  35. package/devices/bticino.js +118 -0
  36. package/devices/busch-jaeger.js +140 -0
  37. package/devices/byun.js +24 -0
  38. package/devices/calex.js +37 -0
  39. package/devices/candeo.js +49 -0
  40. package/devices/casaia.js +52 -0
  41. package/devices/centralite.js +359 -0
  42. package/devices/cleode.js +20 -0
  43. package/devices/cleverio.js +36 -0
  44. package/devices/climax.js +138 -0
  45. package/devices/commercial_electric.js +16 -0
  46. package/devices/connecte.js +46 -0
  47. package/devices/cree.js +11 -0
  48. package/devices/ctm.js +999 -0
  49. package/devices/current_products_corp.js +24 -0
  50. package/devices/custom_devices_diy.js +850 -0
  51. package/devices/cy-lighting.js +11 -0
  52. package/devices/danalock.js +26 -0
  53. package/devices/danfoss.js +340 -0
  54. package/devices/databyte.ch.js +55 -0
  55. package/devices/datek.js +246 -0
  56. package/devices/dawon_dns.js +338 -0
  57. package/devices/develco.js +868 -0
  58. package/devices/digi.js +14 -0
  59. package/devices/diyruz.js +305 -0
  60. package/devices/dlink.js +37 -0
  61. package/devices/dnake.js +11 -0
  62. package/devices/dresden_elektronik.js +47 -0
  63. package/devices/easyaccess.js +27 -0
  64. package/devices/eatonhalo_led.js +11 -0
  65. package/devices/echostar.js +25 -0
  66. package/devices/ecodim.js +145 -0
  67. package/devices/ecolink.js +21 -0
  68. package/devices/ecosmart.js +64 -0
  69. package/devices/ecozy.js +31 -0
  70. package/devices/edp.js +39 -0
  71. package/devices/eglo.js +25 -0
  72. package/devices/elko.js +176 -0
  73. package/devices/enbrighten.js +163 -0
  74. package/devices/enocean.js +52 -0
  75. package/devices/envilar.js +73 -0
  76. package/devices/essentialb.js +87 -0
  77. package/devices/eurotronic.js +48 -0
  78. package/devices/evanell.js +29 -0
  79. package/devices/evn.js +31 -0
  80. package/devices/evology.js +24 -0
  81. package/devices/evvr.js +17 -0
  82. package/devices/ewelink.js +184 -0
  83. package/devices/ezex.js +24 -0
  84. package/devices/fantem.js +77 -0
  85. package/devices/feibit.js +172 -0
  86. package/devices/fireangel.js +15 -0
  87. package/devices/frankever.js +23 -0
  88. package/devices/garza.js +11 -0
  89. package/devices/ge.js +111 -0
  90. package/devices/gewiss.js +48 -0
  91. package/devices/gidealed.js +11 -0
  92. package/devices/giderwel.js +11 -0
  93. package/devices/giex.js +222 -0
  94. package/devices/girier.js +19 -0
  95. package/devices/gledopto.js +756 -0
  96. package/devices/gmy.js +11 -0
  97. package/devices/gs.js +29 -0
  98. package/devices/halemeier.js +18 -0
  99. package/devices/hampton_bay.js +37 -0
  100. package/devices/heiman.js +805 -0
  101. package/devices/hej.js +107 -0
  102. package/devices/hfh.js +11 -0
  103. package/devices/hgkg.js +54 -0
  104. package/devices/hilux.js +11 -0
  105. package/devices/hive.js +524 -0
  106. package/devices/home_control_as.js +27 -0
  107. package/devices/hommyn.js +24 -0
  108. package/devices/honyar.js +29 -0
  109. package/devices/hornbach.js +53 -0
  110. package/devices/hzc.js +21 -0
  111. package/devices/hzc_electric.js +42 -0
  112. package/devices/icasa.js +121 -0
  113. package/devices/idinio.js +19 -0
  114. package/devices/ihorn.js +61 -0
  115. package/devices/ikea.js +1168 -0
  116. package/devices/ilightsin.js +11 -0
  117. package/devices/iluminize.js +262 -0
  118. package/devices/ilux.js +11 -0
  119. package/devices/immax.js +203 -0
  120. package/devices/innr.js +705 -0
  121. package/devices/inovelli.js +1315 -0
  122. package/devices/insta.js +110 -0
  123. package/devices/iolloi.js +20 -0
  124. package/devices/iotperfect.js +20 -0
  125. package/devices/iris.js +180 -0
  126. package/devices/istar.js +20 -0
  127. package/devices/jasco.js +55 -0
  128. package/devices/javis.js +37 -0
  129. package/devices/jethome.js +48 -0
  130. package/devices/jiawen.js +18 -0
  131. package/devices/jumitech.js +18 -0
  132. package/devices/jxuan.js +49 -0
  133. package/devices/kami.js +15 -0
  134. package/devices/keen_home.js +80 -0
  135. package/devices/klikaanklikuit.js +17 -0
  136. package/devices/kmpcil.js +148 -0
  137. package/devices/konke.js +141 -0
  138. package/devices/ksentry.js +17 -0
  139. package/devices/kurvia.js +17 -0
  140. package/devices/kwikset.js +120 -0
  141. package/devices/lanesto.js +11 -0
  142. package/devices/lds.js +11 -0
  143. package/devices/led_trading.js +69 -0
  144. package/devices/ledvance.js +353 -0
  145. package/devices/leedarson.js +130 -0
  146. package/devices/legrand.js +554 -0
  147. package/devices/lellki.js +146 -0
  148. package/devices/letsled.js +11 -0
  149. package/devices/letv.js +18 -0
  150. package/devices/leviton.js +142 -0
  151. package/devices/lg.js +18 -0
  152. package/devices/lidl.js +1000 -0
  153. package/devices/lifecontrol.js +92 -0
  154. package/devices/lightsolutions.js +37 -0
  155. package/devices/linkind.js +205 -0
  156. package/devices/livingwise.js +59 -0
  157. package/devices/livolo.js +286 -0
  158. package/devices/lixee.js +779 -0
  159. package/devices/lonsonho.js +218 -0
  160. package/devices/lubeez.js +18 -0
  161. package/devices/lupus.js +74 -0
  162. package/devices/lutron.js +32 -0
  163. package/devices/lux.js +40 -0
  164. package/devices/m-elec.js +18 -0
  165. package/devices/makegood.js +51 -0
  166. package/devices/matcall_bv.js +18 -0
  167. package/devices/meazon.js +47 -0
  168. package/devices/mercator.js +225 -0
  169. package/devices/miboxer.js +72 -0
  170. package/devices/micromatic.js +29 -0
  171. package/devices/moes.js +400 -0
  172. package/devices/mycket.js +11 -0
  173. package/devices/m/303/274ller_licht.js +220 -0
  174. package/devices/namron.js +774 -0
  175. package/devices/nanoleaf.js +11 -0
  176. package/devices/neo.js +86 -0
  177. package/devices/net2grid.js +29 -0
  178. package/devices/netvox.js +35 -0
  179. package/devices/niko.js +314 -0
  180. package/devices/ninja_blocks.js +24 -0
  181. package/devices/niviss.js +11 -0
  182. package/devices/nodon.js +109 -0
  183. package/devices/nordtronic.js +30 -0
  184. package/devices/nous.js +88 -0
  185. package/devices/novo.js +17 -0
  186. package/devices/nue_3a.js +417 -0
  187. package/devices/nyce.js +67 -0
  188. package/devices/onesti.js +59 -0
  189. package/devices/openlumi.js +22 -0
  190. package/devices/orvibo.js +515 -0
  191. package/devices/osram.js +519 -0
  192. package/devices/oujiabao.js +15 -0
  193. package/devices/owon.js +352 -0
  194. package/devices/ozsmartthings.js +11 -0
  195. package/devices/paul_neuhaus.js +96 -0
  196. package/devices/paulmann.js +158 -0
  197. package/devices/peq.js +24 -0
  198. package/devices/perenio.js +413 -0
  199. package/devices/philips.js +3118 -0
  200. package/devices/plaid.js +25 -0
  201. package/devices/plugwise.js +173 -0
  202. package/devices/popp.js +10 -0
  203. package/devices/profalux.js +47 -0
  204. package/devices/prolight.js +54 -0
  205. package/devices/qmotion.js +33 -0
  206. package/devices/qoto.js +113 -0
  207. package/devices/quotra.js +18 -0
  208. package/devices/rademacher.js +18 -0
  209. package/devices/rgb_genie.js +119 -0
  210. package/devices/robb.js +335 -0
  211. package/devices/roome.js +15 -0
  212. package/devices/rtx.js +90 -0
  213. package/devices/salus_controls.js +137 -0
  214. package/devices/samotech.js +93 -0
  215. package/devices/saswell.js +58 -0
  216. package/devices/scanproducts.js +32 -0
  217. package/devices/schlage.js +24 -0
  218. package/devices/schneider_electric.js +1039 -0
  219. package/devices/schwaiger.js +62 -0
  220. package/devices/seastar_intelligence.js +16 -0
  221. package/devices/securifi.js +39 -0
  222. package/devices/sengled.js +332 -0
  223. package/devices/sercomm.js +140 -0
  224. package/devices/shenzhen_homa.js +53 -0
  225. package/devices/shinasystem.js +686 -0
  226. package/devices/siglis.js +440 -0
  227. package/devices/sinope.js +1257 -0
  228. package/devices/siterwell.js +46 -0
  229. package/devices/skydance.js +112 -0
  230. package/devices/slv.js +27 -0
  231. package/devices/smart9.js +27 -0
  232. package/devices/smart_home_pty.js +18 -0
  233. package/devices/smartenit.js +42 -0
  234. package/devices/smartthings.js +495 -0
  235. package/devices/smartwings.js +24 -0
  236. package/devices/sohan_electric.js +13 -0
  237. package/devices/solaredge.js +11 -0
  238. package/devices/somgoms.js +47 -0
  239. package/devices/sonoff.js +262 -0
  240. package/devices/spotmau.js +36 -0
  241. package/devices/sprut.js +317 -0
  242. package/devices/stelpro.js +216 -0
  243. package/devices/sunricher.js +625 -0
  244. package/devices/swann.js +33 -0
  245. package/devices/sylvania.js +200 -0
  246. package/devices/tci.js +25 -0
  247. package/devices/technicolor.js +47 -0
  248. package/devices/terncy.js +64 -0
  249. package/devices/the_light_group.js +70 -0
  250. package/devices/third_reality.js +195 -0
  251. package/devices/titan_products.js +22 -0
  252. package/devices/tplink.js +42 -0
  253. package/devices/trust.js +114 -0
  254. package/devices/tubeszb.js +20 -0
  255. package/devices/tuya.js +4215 -0
  256. package/devices/ubisys.js +938 -0
  257. package/devices/uhome.js +25 -0
  258. package/devices/universal_electronics_inc.js +119 -0
  259. package/devices/urlighting.js +12 -0
  260. package/devices/useelink.js +52 -0
  261. package/devices/vbled.js +18 -0
  262. package/devices/vesternet.js +188 -0
  263. package/devices/viessmann.js +51 -0
  264. package/devices/villeroy_boch.js +18 -0
  265. package/devices/vimar.js +78 -0
  266. package/devices/visonic.js +80 -0
  267. package/devices/vrey.js +18 -0
  268. package/devices/wally.js +25 -0
  269. package/devices/waxman.js +45 -0
  270. package/devices/weiser.js +67 -0
  271. package/devices/weten.js +13 -0
  272. package/devices/wisdom.js +11 -0
  273. package/devices/woox.js +177 -0
  274. package/devices/wyze.js +23 -0
  275. package/devices/xiaomi.js +3223 -0
  276. package/devices/xinghuoyuan.js +11 -0
  277. package/devices/yale.js +227 -0
  278. package/devices/ynoa.js +68 -0
  279. package/devices/yookee.js +23 -0
  280. package/devices/ysrsai.js +26 -0
  281. package/devices/zemismart.js +254 -0
  282. package/devices/zen.js +34 -0
  283. package/devices/zipato.js +11 -0
  284. package/index.js +242 -0
  285. package/lib/color.js +784 -0
  286. package/lib/configureKey.js +944 -0
  287. package/lib/constants.js +316 -0
  288. package/lib/exposes.js +677 -0
  289. package/lib/extend.js +180 -0
  290. package/lib/kelvinToXy.js +1912 -0
  291. package/lib/legacy.js +2223 -0
  292. package/lib/light.js +111 -0
  293. package/lib/ota/OTA_URLs.md +119 -0
  294. package/lib/ota/common.js +476 -0
  295. package/lib/ota/index.js +10 -0
  296. package/lib/ota/inovelli.js +72 -0
  297. package/lib/ota/ledvance.js +52 -0
  298. package/lib/ota/lixee.js +57 -0
  299. package/lib/ota/salus.js +82 -0
  300. package/lib/ota/securifi.js +25 -0
  301. package/lib/ota/tradfri.js +45 -0
  302. package/lib/ota/ubisys.js +61 -0
  303. package/lib/ota/zigbeeOTA.js +161 -0
  304. package/lib/philips.js +667 -0
  305. package/lib/reporting.js +234 -0
  306. package/lib/store.js +57 -0
  307. package/lib/tuya.js +2027 -0
  308. package/lib/utils.js +527 -0
  309. package/lib/xiaomi.d.ts +11 -0
  310. package/lib/xiaomi.js +1288 -0
  311. package/lib/zosung.js +243 -0
  312. package/package.json +39 -0
@@ -0,0 +1,705 @@
1
+ const exposes = require('../lib/exposes');
2
+ const fz = require('../converters/fromZigbee');
3
+ const tz = require('../converters/toZigbee');
4
+ const reporting = require('../lib/reporting');
5
+ const extend = require('../lib/extend');
6
+ const e = exposes.presets;
7
+ const ota = require('../lib/ota');
8
+
9
+ module.exports = [
10
+ {
11
+ zigbeeModel: ['RC 210'],
12
+ model: 'RC 210',
13
+ vendor: 'Innr',
14
+ description: 'Remote control',
15
+ fromZigbee: [fz.command_on, fz.command_off, fz.command_move, fz.command_stop, fz.command_move_to_level,
16
+ fz.command_move_to_color_temp],
17
+ toZigbee: [],
18
+ exposes: [e.action(['on', 'off', 'brightness_move_up', 'brightness_move_down', 'brightness_stop', 'brightness_move_to_level',
19
+ 'color_temperature_move'])],
20
+ configure: async (device, coordinatorEndpoint, logger) => {
21
+ const ep = device.getEndpoint(1);
22
+ await reporting.bind(ep, coordinatorEndpoint, ['genBasic', 'genOnOff', 'genLevelCtrl', 'lightingColorCtrl']);
23
+ },
24
+ },
25
+ {
26
+ zigbeeModel: ['RC 250'],
27
+ model: 'RC 250',
28
+ vendor: 'Innr',
29
+ description: 'Remote control',
30
+ fromZigbee: [fz.command_step, fz.command_on, fz.command_off, fz.command_move_to_level, fz.command_move_to_color_temp],
31
+ toZigbee: [],
32
+ exposes: [e.action(['on', 'off', 'brightness_step_up', 'brightness_step_down',
33
+ 'brightness_move_to_level', 'color_temperature_move'])],
34
+ configure: async (device, coordinatorEndpoint, logger) => {
35
+ const ep = device.getEndpoint(1);
36
+ await reporting.bind(ep, coordinatorEndpoint, ['genBasic', 'genGroups', 'genScenes',
37
+ 'genOnOff', 'genLevelCtrl', 'lightingColorCtrl']);
38
+ },
39
+ },
40
+ {
41
+ zigbeeModel: ['RCL 240 T'],
42
+ model: 'RCL 240 T',
43
+ vendor: 'Innr',
44
+ description: 'Smart round ceiling lamp comfort',
45
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [200, 454]}),
46
+ meta: {turnsOffAtBrightness1: true},
47
+ ota: ota.zigbeeOTA,
48
+ },
49
+ {
50
+ zigbeeModel: ['FL 140 C'],
51
+ model: 'FL 140 C',
52
+ vendor: 'Innr',
53
+ description: 'Color Flex LED strip 4m 1200lm',
54
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
55
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
56
+ },
57
+ {
58
+ zigbeeModel: ['FL 130 C'],
59
+ model: 'FL 130 C',
60
+ vendor: 'Innr',
61
+ description: 'Color Flex LED strip',
62
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
63
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
64
+ },
65
+ {
66
+ zigbeeModel: ['FL 120 C'],
67
+ model: 'FL 120 C',
68
+ vendor: 'Innr',
69
+ description: 'Color Flex LED strip',
70
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
71
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
72
+ },
73
+ {
74
+ zigbeeModel: ['BF 263'],
75
+ model: 'BF 263',
76
+ vendor: 'Innr',
77
+ description: 'B22 filament bulb dimmable',
78
+ extend: extend.light_onoff_brightness(),
79
+ meta: {turnsOffAtBrightness1: true},
80
+ ota: ota.zigbeeOTA,
81
+ },
82
+ {
83
+ zigbeeModel: ['OGL 130 C'],
84
+ model: 'OGL 130 C',
85
+ vendor: 'Innr',
86
+ description: 'Outdoor smart globe lights',
87
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [100, 1000], supportsHS: true}),
88
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
89
+ },
90
+ {
91
+ zigbeeModel: ['OPL 130 C'],
92
+ model: 'OPL 130 C',
93
+ vendor: 'Innr',
94
+ description: 'Outdoor smart pedestal light colour',
95
+ extend: extend.light_onoff_brightness_colortemp_color(
96
+ {colorTempRange: [153, 555], supportsHS: true, disableColorTempStartup: true}),
97
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
98
+ },
99
+ {
100
+ zigbeeModel: ['RB 185 C'],
101
+ model: 'RB 185 C',
102
+ vendor: 'Innr',
103
+ description: 'E27 bulb RGBW',
104
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
105
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
106
+ },
107
+ {
108
+ zigbeeModel: ['BY 185 C'],
109
+ model: 'BY 185 C',
110
+ vendor: 'Innr',
111
+ description: 'B22 bulb RGBW',
112
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
113
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
114
+ },
115
+ {
116
+ zigbeeModel: ['RB 250 C'],
117
+ model: 'RB 250 C',
118
+ vendor: 'Innr',
119
+ description: 'E14 bulb RGBW',
120
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
121
+ meta: {enhancedHue: false, applyRedFix: true, turnsOffAtBrightness1: true},
122
+ },
123
+ {
124
+ zigbeeModel: ['RB 251 C'],
125
+ model: 'RB 251 C',
126
+ vendor: 'Innr',
127
+ description: 'E14 bulb RGBW',
128
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
129
+ meta: {enhancedHue: false, applyRedFix: true, turnsOffAtBrightness1: true},
130
+ ota: ota.zigbeeOTA,
131
+ },
132
+ {
133
+ zigbeeModel: ['RB 265'],
134
+ model: 'RB 265',
135
+ vendor: 'Innr',
136
+ description: 'E27 bulb',
137
+ extend: extend.light_onoff_brightness(),
138
+ meta: {turnsOffAtBrightness1: true},
139
+ },
140
+ {
141
+ zigbeeModel: ['BY 266'],
142
+ model: 'BY 266',
143
+ vendor: 'Innr',
144
+ description: 'B22 (Bayonet) bulb, dimmable',
145
+ extend: extend.light_onoff_brightness(),
146
+ meta: {turnsOffAtBrightness1: true},
147
+ ota: ota.zigbeeOTA,
148
+ },
149
+ {
150
+ zigbeeModel: ['RB 266'],
151
+ model: 'RB 266',
152
+ vendor: 'Innr',
153
+ description: 'E27 bulb',
154
+ extend: extend.light_onoff_brightness(),
155
+ meta: {turnsOffAtBrightness1: true},
156
+ ota: ota.zigbeeOTA,
157
+ },
158
+ {
159
+ zigbeeModel: ['RF 265'],
160
+ model: 'RF 265',
161
+ vendor: 'Innr',
162
+ description: 'E27 bulb filament clear',
163
+ extend: extend.light_onoff_brightness(),
164
+ meta: {turnsOffAtBrightness1: true},
165
+ ota: ota.zigbeeOTA,
166
+ },
167
+ {
168
+ zigbeeModel: ['BF 265'],
169
+ model: 'BF 265',
170
+ vendor: 'Innr',
171
+ description: 'B22 bulb filament clear',
172
+ extend: extend.light_onoff_brightness(),
173
+ meta: {turnsOffAtBrightness1: true},
174
+ ota: ota.zigbeeOTA,
175
+ },
176
+ {
177
+ zigbeeModel: ['RB 278 T'],
178
+ model: 'RB 278 T',
179
+ vendor: 'Innr',
180
+ description: 'Smart bulb tunable white E27',
181
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 555]}),
182
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
183
+ },
184
+ {
185
+ zigbeeModel: ['RB 279 T'],
186
+ model: 'RB 279 T',
187
+ vendor: 'Innr',
188
+ description: 'Smart bulb tunable white E27',
189
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 555]}),
190
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
191
+ ota: ota.zigbeeOTA,
192
+ },
193
+ {
194
+ zigbeeModel: ['RB 285 C'],
195
+ model: 'RB 285 C',
196
+ vendor: 'Innr',
197
+ description: 'E27 bulb RGBW',
198
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
199
+ meta: {enhancedHue: false, applyRedFix: true, turnsOffAtBrightness1: true},
200
+ },
201
+ {
202
+ zigbeeModel: ['RB 286 C'],
203
+ model: 'RB 286 C',
204
+ vendor: 'Innr',
205
+ description: 'E27 bulb RGBW',
206
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
207
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
208
+ ota: ota.zigbeeOTA,
209
+ },
210
+ {
211
+ zigbeeModel: ['BY 285 C'],
212
+ model: 'BY 285 C',
213
+ vendor: 'Innr',
214
+ description: 'B22 bulb RGBW',
215
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
216
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
217
+ },
218
+ {
219
+ zigbeeModel: ['BY 286 C'],
220
+ model: 'BY 286 C',
221
+ vendor: 'Innr',
222
+ description: 'B22 bulb RGBW',
223
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
224
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
225
+ ota: ota.zigbeeOTA,
226
+ },
227
+ {
228
+ zigbeeModel: ['RB 165'],
229
+ model: 'RB 165',
230
+ vendor: 'Innr',
231
+ description: 'E27 bulb',
232
+ extend: extend.light_onoff_brightness(),
233
+ meta: {turnsOffAtBrightness1: true},
234
+ },
235
+ {
236
+ zigbeeModel: ['RB 162'],
237
+ model: 'RB 162',
238
+ vendor: 'Innr',
239
+ description: 'E27 bulb',
240
+ extend: extend.light_onoff_brightness(),
241
+ meta: {turnsOffAtBrightness1: true},
242
+ },
243
+ {
244
+ zigbeeModel: ['RB 172 W'],
245
+ model: 'RB 172 W',
246
+ vendor: 'Innr',
247
+ description: 'ZigBee E27 retrofit bulb, warm dimmable 2200-2700K, 806 Lm',
248
+ extend: extend.light_onoff_brightness(),
249
+ meta: {turnsOffAtBrightness1: true},
250
+ },
251
+ {
252
+ zigbeeModel: ['RB 175 W'],
253
+ model: 'RB 175 W',
254
+ vendor: 'Innr',
255
+ description: 'E27 bulb warm dimming',
256
+ extend: extend.light_onoff_brightness(),
257
+ meta: {turnsOffAtBrightness1: true},
258
+ },
259
+ {
260
+ zigbeeModel: ['RB 178 T'],
261
+ model: 'RB 178 T',
262
+ vendor: 'Innr',
263
+ description: 'Smart bulb tunable white E27',
264
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 555]}),
265
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
266
+ },
267
+ {
268
+ zigbeeModel: ['BY 178 T'],
269
+ model: 'BY 178 T',
270
+ vendor: 'Innr',
271
+ description: 'Smart bulb tunable white B22',
272
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 555]}),
273
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
274
+ },
275
+ {
276
+ zigbeeModel: ['RS 122'],
277
+ model: 'RS 122',
278
+ vendor: 'Innr',
279
+ description: 'GU10 spot',
280
+ extend: extend.light_onoff_brightness(),
281
+ meta: {turnsOffAtBrightness1: true},
282
+ },
283
+ {
284
+ zigbeeModel: ['RS 125'],
285
+ model: 'RS 125',
286
+ vendor: 'Innr',
287
+ description: 'GU10 spot',
288
+ extend: extend.light_onoff_brightness(),
289
+ meta: {turnsOffAtBrightness1: true},
290
+ },
291
+ {
292
+ zigbeeModel: ['RS 225'],
293
+ model: 'RS 225',
294
+ vendor: 'Innr',
295
+ description: 'GU10 Spot',
296
+ extend: extend.light_onoff_brightness(),
297
+ meta: {turnsOffAtBrightness1: true},
298
+ },
299
+ {
300
+ zigbeeModel: ['RS 226'],
301
+ model: 'RS 226',
302
+ vendor: 'Innr',
303
+ description: 'GU10 Spot',
304
+ extend: extend.light_onoff_brightness(),
305
+ meta: {turnsOffAtBrightness1: true},
306
+ ota: ota.zigbeeOTA,
307
+ },
308
+ {
309
+ zigbeeModel: ['RS 227 T'],
310
+ model: 'RS 227 T',
311
+ vendor: 'Innr',
312
+ description: 'GU10 spot 420 lm, dimmable, white spectrum',
313
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [200, 454]}),
314
+ meta: {turnsOffAtBrightness1: true},
315
+ ota: ota.zigbeeOTA,
316
+ },
317
+ {
318
+ zigbeeModel: ['RS 128 T'],
319
+ model: 'RS 128 T',
320
+ vendor: 'Innr',
321
+ description: 'GU10 spot 350 lm, dimmable, white spectrum',
322
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 555]}),
323
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
324
+ },
325
+ {
326
+ zigbeeModel: ['RS 228 T'],
327
+ model: 'RS 228 T',
328
+ vendor: 'Innr',
329
+ description: 'GU10 spot 350 lm, dimmable, white spectrum',
330
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [200, 454]}),
331
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
332
+ },
333
+ {
334
+ zigbeeModel: ['RS 229 T'],
335
+ model: 'RS 229 T',
336
+ vendor: 'Innr',
337
+ description: 'GU10 spot 350 lm, dimmable, white spectrum',
338
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [200, 454]}),
339
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
340
+ ota: ota.zigbeeOTA,
341
+ },
342
+ {
343
+ zigbeeModel: ['RS 230 C'],
344
+ model: 'RS 230 C',
345
+ vendor: 'Innr',
346
+ description: 'GU10 spot 350 lm, dimmable, RGBW',
347
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
348
+ exposes: [e.light_brightness_colortemp_color()],
349
+ meta: {enhancedHue: false, applyRedFix: true, turnsOffAtBrightness1: true},
350
+ ota: ota.zigbeeOTA,
351
+ },
352
+ {
353
+ zigbeeModel: ['RB 145'],
354
+ model: 'RB 145',
355
+ vendor: 'Innr',
356
+ description: 'E14 candle',
357
+ extend: extend.light_onoff_brightness(),
358
+ meta: {turnsOffAtBrightness1: true},
359
+ },
360
+ {
361
+ zigbeeModel: ['RB 245'],
362
+ model: 'RB 245',
363
+ vendor: 'Innr',
364
+ description: 'E14 candle',
365
+ extend: extend.light_onoff_brightness(),
366
+ meta: {turnsOffAtBrightness1: true},
367
+ ota: ota.zigbeeOTA,
368
+ },
369
+ {
370
+ zigbeeModel: ['RB 248 T'],
371
+ model: 'RB 248 T',
372
+ vendor: 'Innr',
373
+ description: 'E14 candle with white spectrum',
374
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 555]}),
375
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
376
+ ota: ota.zigbeeOTA,
377
+ },
378
+ {
379
+ zigbeeModel: ['RB 249 T'],
380
+ model: 'RB 249 T',
381
+ vendor: 'Innr',
382
+ description: 'E14 candle, dimmable with, color temp',
383
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [200, 454]}),
384
+ meta: {turnsOffAtBrightness1: true},
385
+ ota: ota.zigbeeOTA,
386
+ },
387
+ {
388
+ zigbeeModel: ['RB 148 T'],
389
+ model: 'RB 148 T',
390
+ vendor: 'Innr',
391
+ description: 'E14 candle with white spectrum',
392
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 555]}),
393
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
394
+ },
395
+ {
396
+ zigbeeModel: ['RF 261'],
397
+ model: 'RF 261',
398
+ vendor: 'Innr',
399
+ description: 'E27 filament bulb dimmable',
400
+ extend: extend.light_onoff_brightness(),
401
+ meta: {turnsOffAtBrightness1: true},
402
+ ota: ota.zigbeeOTA,
403
+ },
404
+ {
405
+ zigbeeModel: ['RF 263'],
406
+ model: 'RF 263',
407
+ vendor: 'Innr',
408
+ description: 'E27 filament bulb dimmable',
409
+ extend: extend.light_onoff_brightness(),
410
+ meta: {turnsOffAtBrightness1: true},
411
+ ota: ota.zigbeeOTA,
412
+ },
413
+ {
414
+ zigbeeModel: ['RF 264'],
415
+ model: 'RF 264',
416
+ vendor: 'Innr',
417
+ description: 'E27 filament bulb dimmable',
418
+ extend: extend.light_onoff_brightness(),
419
+ meta: {turnsOffAtBrightness1: true},
420
+ ota: ota.zigbeeOTA,
421
+ },
422
+ {
423
+ zigbeeModel: ['BY 165', 'BY 265'],
424
+ model: 'BY 165',
425
+ vendor: 'Innr',
426
+ description: 'B22 bulb dimmable',
427
+ extend: extend.light_onoff_brightness(),
428
+ meta: {turnsOffAtBrightness1: true},
429
+ },
430
+ {
431
+ zigbeeModel: ['RCL 110'],
432
+ model: 'RCL 110',
433
+ vendor: 'Innr',
434
+ description: 'Round ceiling light',
435
+ extend: extend.light_onoff_brightness(),
436
+ meta: {turnsOffAtBrightness1: true},
437
+ },
438
+ {
439
+ zigbeeModel: ['RSL 110'],
440
+ model: 'RSL 110',
441
+ vendor: 'Innr',
442
+ description: 'Recessed spot light',
443
+ extend: extend.light_onoff_brightness(),
444
+ meta: {turnsOffAtBrightness1: true},
445
+ },
446
+ {
447
+ zigbeeModel: ['RSL 115'],
448
+ model: 'RSL 115',
449
+ vendor: 'Innr',
450
+ description: 'Recessed spot light',
451
+ extend: extend.light_onoff_brightness(),
452
+ meta: {turnsOffAtBrightness1: true},
453
+ },
454
+ {
455
+ zigbeeModel: ['PL 110'],
456
+ model: 'PL 110',
457
+ vendor: 'Innr',
458
+ description: 'Puck Light',
459
+ extend: extend.light_onoff_brightness(),
460
+ meta: {turnsOffAtBrightness1: true},
461
+ },
462
+ {
463
+ zigbeeModel: ['PL 115'],
464
+ model: 'PL 115',
465
+ vendor: 'Innr',
466
+ description: 'Puck Light',
467
+ extend: extend.light_onoff_brightness(),
468
+ meta: {turnsOffAtBrightness1: true},
469
+ },
470
+ {
471
+ zigbeeModel: ['ST 110'],
472
+ model: 'ST 110',
473
+ vendor: 'Innr',
474
+ description: 'Strip Light',
475
+ extend: extend.light_onoff_brightness(),
476
+ meta: {turnsOffAtBrightness1: true},
477
+ },
478
+ {
479
+ zigbeeModel: ['UC 110'],
480
+ model: 'UC 110',
481
+ vendor: 'Innr',
482
+ description: 'Under cabinet light',
483
+ extend: extend.light_onoff_brightness(),
484
+ meta: {turnsOffAtBrightness1: true},
485
+ },
486
+ {
487
+ zigbeeModel: ['DL 110 N'],
488
+ model: 'DL 110 N',
489
+ vendor: 'Innr',
490
+ description: 'Spot narrow',
491
+ extend: extend.light_onoff_brightness(),
492
+ meta: {turnsOffAtBrightness1: true},
493
+ },
494
+ {
495
+ zigbeeModel: ['DL 110 W'],
496
+ model: 'DL 110 W',
497
+ vendor: 'Innr',
498
+ description: 'Spot wide',
499
+ extend: extend.light_onoff_brightness(),
500
+ meta: {turnsOffAtBrightness1: true},
501
+ },
502
+ {
503
+ zigbeeModel: ['SL 110 N'],
504
+ model: 'SL 110 N',
505
+ vendor: 'Innr',
506
+ description: 'Spot Flex narrow',
507
+ extend: extend.light_onoff_brightness(),
508
+ meta: {turnsOffAtBrightness1: true},
509
+ },
510
+ {
511
+ zigbeeModel: ['SL 110 M'],
512
+ model: 'SL 110 M',
513
+ vendor: 'Innr',
514
+ description: 'Spot Flex medium',
515
+ extend: extend.light_onoff_brightness(),
516
+ meta: {turnsOffAtBrightness1: true},
517
+ },
518
+ {
519
+ zigbeeModel: ['SL 110 W'],
520
+ model: 'SL 110 W',
521
+ vendor: 'Innr',
522
+ description: 'Spot Flex wide',
523
+ extend: extend.light_onoff_brightness(),
524
+ meta: {turnsOffAtBrightness1: true},
525
+ },
526
+ {
527
+ zigbeeModel: ['AE 260'],
528
+ model: 'AE 260',
529
+ vendor: 'Innr',
530
+ description: 'E26/24 bulb',
531
+ extend: extend.light_onoff_brightness(),
532
+ meta: {turnsOffAtBrightness1: true},
533
+ },
534
+ {
535
+ zigbeeModel: ['AE 280 C'],
536
+ model: 'AE 280 C',
537
+ vendor: 'Innr',
538
+ description: 'E26 bulb RGBW',
539
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
540
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
541
+ ota: ota.zigbeeOTA,
542
+ },
543
+ {
544
+ zigbeeModel: ['SP 120'],
545
+ model: 'SP 120',
546
+ vendor: 'Innr',
547
+ description: 'Smart plug',
548
+ fromZigbee: [fz.electrical_measurement, fz.on_off, fz.ignore_genLevelCtrl_report, fz.metering],
549
+ toZigbee: [tz.on_off],
550
+ configure: async (device, coordinatorEndpoint, logger) => {
551
+ const endpoint = device.getEndpoint(1);
552
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']);
553
+ await reporting.onOff(endpoint);
554
+ // Gives UNSUPPORTED_ATTRIBUTE on reporting.readEletricalMeasurementMultiplierDivisors.
555
+ endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', {
556
+ acCurrentDivisor: 1000,
557
+ acCurrentMultiplier: 1,
558
+ });
559
+ await reporting.activePower(endpoint);
560
+ await reporting.rmsCurrent(endpoint);
561
+ await reporting.rmsVoltage(endpoint);
562
+ // Gives UNSUPPORTED_ATTRIBUTE on reporting.readMeteringMultiplierDivisor.
563
+ endpoint.saveClusterAttributeKeyValue('seMetering', {multiplier: 1, divisor: 100});
564
+ await reporting.currentSummDelivered(endpoint);
565
+ },
566
+ exposes: [e.power(), e.current(), e.voltage(), e.switch(), e.energy()],
567
+ },
568
+ {
569
+ zigbeeModel: ['SP 110'],
570
+ model: 'SP 110',
571
+ vendor: 'Innr',
572
+ description: 'Smart plug',
573
+ extend: extend.switch(),
574
+ configure: async (device, coordinatorEndpoint, logger) => {
575
+ const endpoint = device.getEndpoint(1);
576
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
577
+ await reporting.onOff(endpoint);
578
+ },
579
+ },
580
+ {
581
+ zigbeeModel: ['SP 220'],
582
+ model: 'SP 220',
583
+ vendor: 'Innr',
584
+ description: 'Smart plug',
585
+ extend: extend.switch(),
586
+ configure: async (device, coordinatorEndpoint, logger) => {
587
+ const endpoint = device.getEndpoint(1);
588
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
589
+ await reporting.onOff(endpoint);
590
+ },
591
+ },
592
+ {
593
+ zigbeeModel: ['SP 222'],
594
+ model: 'SP 222',
595
+ vendor: 'Innr',
596
+ description: 'Smart plug',
597
+ extend: extend.switch(),
598
+ ota: ota.zigbeeOTA,
599
+ configure: async (device, coordinatorEndpoint, logger) => {
600
+ const endpoint = device.getEndpoint(1);
601
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
602
+ await reporting.onOff(endpoint);
603
+ },
604
+ },
605
+ {
606
+ zigbeeModel: ['SP 224'],
607
+ model: 'SP 224',
608
+ vendor: 'Innr',
609
+ description: 'Smart plug',
610
+ extend: extend.switch(),
611
+ ota: ota.zigbeeOTA,
612
+ configure: async (device, coordinatorEndpoint, logger) => {
613
+ const endpoint = device.getEndpoint(1);
614
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
615
+ await reporting.onOff(endpoint);
616
+ },
617
+ },
618
+ {
619
+ zigbeeModel: ['SP 234'],
620
+ model: 'SP 234',
621
+ vendor: 'Innr',
622
+ description: 'Smart plug',
623
+ fromZigbee: [fz.electrical_measurement, fz.on_off, fz.ignore_genLevelCtrl_report, fz.metering],
624
+ toZigbee: [tz.on_off],
625
+ configure: async (device, coordinatorEndpoint, logger) => {
626
+ const endpoint = device.getEndpoint(1);
627
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']);
628
+ await reporting.onOff(endpoint);
629
+ // Gives UNSUPPORTED_ATTRIBUTE on reporting.readEletricalMeasurementMultiplierDivisors.
630
+ endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', {
631
+ acCurrentDivisor: 1000,
632
+ acCurrentMultiplier: 1,
633
+ });
634
+ await reporting.activePower(endpoint);
635
+ await reporting.rmsCurrent(endpoint);
636
+ await reporting.rmsVoltage(endpoint);
637
+ // Gives UNSUPPORTED_ATTRIBUTE on reporting.readMeteringMultiplierDivisor.
638
+ endpoint.saveClusterAttributeKeyValue('seMetering', {multiplier: 1, divisor: 100});
639
+ await reporting.currentSummDelivered(endpoint);
640
+ },
641
+ ota: ota.zigbeeOTA,
642
+ exposes: [e.power(), e.current(), e.voltage(), e.switch(), e.energy()],
643
+ },
644
+ {
645
+ zigbeeModel: ['OFL 120 C'],
646
+ model: 'OFL 120 C',
647
+ vendor: 'Innr',
648
+ description: 'Outdoor flex light colour LED strip 2m, 550lm, RGBW',
649
+ extend: extend.light_onoff_brightness_colortemp_color({supportsHS: true}),
650
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
651
+ },
652
+ {
653
+ zigbeeModel: ['OFL 140 C'],
654
+ model: 'OFL 140 C',
655
+ vendor: 'Innr',
656
+ description: 'Outdoor flex light colour LED strip 4m, 1000lm, RGBW',
657
+ extend: extend.light_onoff_brightness_colortemp_color({supportsHS: true}),
658
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
659
+ },
660
+ {
661
+ zigbeeModel: ['OFL 142 C'],
662
+ model: 'OFL 142 C',
663
+ vendor: 'Innr',
664
+ description: 'Outdoor flex light colour LED strip 4m, 1440lm, RGBW',
665
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [100, 350], supportsHS: true}),
666
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
667
+ },
668
+ {
669
+ zigbeeModel: ['OSL 130 C'],
670
+ model: 'OSL 130 C',
671
+ vendor: 'Innr',
672
+ description: 'Outdoor smart spot colour, 230lm/spot, RGBW',
673
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555], supportsHS: true}),
674
+ meta: {applyRedFix: true, turnsOffAtBrightness1: true},
675
+ },
676
+ {
677
+ zigbeeModel: ['BE 220'],
678
+ model: 'BE 220',
679
+ vendor: 'Innr',
680
+ description: 'E26/E24 white bulb',
681
+ extend: extend.light_onoff_brightness(),
682
+ meta: {turnsOffAtBrightness1: true},
683
+ },
684
+ {
685
+ zigbeeModel: ['RC 110'],
686
+ model: 'RC 110',
687
+ vendor: 'Innr',
688
+ description: 'Innr RC 110 Remote Control',
689
+ fromZigbee: [fz.command_step, fz.command_move, fz.command_stop, fz.command_on, fz.command_off, fz.rc_110_level_to_scene],
690
+ toZigbee: [],
691
+ meta: {multiEndpoint: true},
692
+ endpoint: (device) => {
693
+ return {'all': 1, 'l1': 3, 'l2': 4, 'l3': 5, 'l4': 6, 'l5': 7, 'l6': 8};
694
+ },
695
+ exposes: [e.action(['on_*', 'off_*', 'brightness_*', 'scene_*'])],
696
+ configure: async (device, coordinatorEndpoint, logger) => {
697
+ await reporting.bind(device.getEndpoint(1), coordinatorEndpoint,
698
+ ['genBasic', 'genGroups', 'genScenes', 'genOnOff', 'genLevelCtrl']);
699
+ for (const ep of [3, 4, 5, 6, 7, 8]) {
700
+ const endpoint = device.getEndpoint(ep);
701
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
702
+ }
703
+ },
704
+ },
705
+ ];