node-red-contrib-knx-ultimate 5.2.4 → 6.0.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.
Files changed (79) hide show
  1. package/CHANGELOG.md +21 -8
  2. package/README.md +10 -3
  3. package/img/readmemain.png +0 -0
  4. package/nodes/commonFunctions.js +40 -3
  5. package/nodes/knxUltimate-config.js +379 -335
  6. package/nodes/knxUltimate.html +8 -9
  7. package/nodes/knxUltimate.js +5 -5
  8. package/nodes/knxUltimateAI.js +1 -1
  9. package/nodes/knxUltimateHueLight.html +3 -3
  10. package/nodes/knxUltimateHueLight.js +1 -1
  11. package/nodes/knxUltimateMatterBridge.html +321 -247
  12. package/nodes/knxUltimateMatterBridge.js +48 -1
  13. package/nodes/knxUltimateMatterControllerDevice.html +2119 -0
  14. package/nodes/knxUltimateMatterControllerDevice.js +1701 -0
  15. package/nodes/locales/de/knxUltimateMatterBridge.html +6 -2
  16. package/nodes/locales/de/knxUltimateMatterBridge.json +14 -1
  17. package/nodes/locales/de/knxUltimateMatterControllerDevice.html +27 -0
  18. package/nodes/locales/de/knxUltimateMatterControllerDevice.json +97 -0
  19. package/nodes/locales/de/matter-config.json +5 -1
  20. package/nodes/locales/de/matterbridge-config.json +1 -0
  21. package/nodes/locales/en/knxUltimateMatterBridge.html +6 -2
  22. package/nodes/locales/en/knxUltimateMatterBridge.json +14 -1
  23. package/nodes/locales/en/knxUltimateMatterControllerDevice.html +27 -0
  24. package/nodes/locales/en/knxUltimateMatterControllerDevice.json +97 -0
  25. package/nodes/locales/en/matter-config.json +6 -1
  26. package/nodes/locales/en/matterbridge-config.json +1 -0
  27. package/nodes/locales/es/knxUltimateMatterBridge.html +6 -2
  28. package/nodes/locales/es/knxUltimateMatterBridge.json +14 -1
  29. package/nodes/locales/es/knxUltimateMatterControllerDevice.html +27 -0
  30. package/nodes/locales/es/knxUltimateMatterControllerDevice.json +97 -0
  31. package/nodes/locales/es/matter-config.json +5 -1
  32. package/nodes/locales/es/matterbridge-config.json +1 -0
  33. package/nodes/locales/fr/knxUltimateMatterBridge.html +6 -2
  34. package/nodes/locales/fr/knxUltimateMatterBridge.json +14 -1
  35. package/nodes/locales/fr/knxUltimateMatterControllerDevice.html +27 -0
  36. package/nodes/locales/fr/knxUltimateMatterControllerDevice.json +89 -0
  37. package/nodes/locales/fr/matter-config.json +5 -1
  38. package/nodes/locales/fr/matterbridge-config.json +1 -0
  39. package/nodes/locales/it/knxUltimateMatterBridge.html +6 -2
  40. package/nodes/locales/it/knxUltimateMatterBridge.json +14 -1
  41. package/nodes/locales/it/knxUltimateMatterControllerDevice.html +27 -0
  42. package/nodes/locales/it/knxUltimateMatterControllerDevice.json +97 -0
  43. package/nodes/locales/it/matter-config.json +6 -1
  44. package/nodes/locales/it/matterbridge-config.json +1 -0
  45. package/nodes/locales/zh-CN/knxUltimateMatterBridge.html +6 -2
  46. package/nodes/locales/zh-CN/knxUltimateMatterBridge.json +14 -1
  47. package/nodes/locales/zh-CN/knxUltimateMatterControllerDevice.html +27 -0
  48. package/nodes/locales/zh-CN/knxUltimateMatterControllerDevice.json +89 -0
  49. package/nodes/locales/zh-CN/matter-config.json +5 -1
  50. package/nodes/locales/zh-CN/matterbridge-config.json +1 -0
  51. package/nodes/matter-config.html +58 -6
  52. package/nodes/matter-config.js +7 -2
  53. package/nodes/matterbridge-config.html +1 -0
  54. package/nodes/utils/lightEngines/canonicalLight.js +75 -0
  55. package/nodes/utils/lightEngines/hueLightEngine.js +51 -0
  56. package/nodes/utils/lightEngines/index.js +25 -0
  57. package/nodes/utils/lightEngines/knxLightCommand.js +79 -0
  58. package/nodes/utils/lightEngines/lightEngine.js +46 -0
  59. package/nodes/utils/lightEngines/matterHueShim.js +59 -0
  60. package/nodes/utils/lightEngines/matterLightEngine.js +117 -0
  61. package/nodes/utils/matterEngine.mjs +185 -14
  62. package/nodes/utils/matterKnxConverter.js +1 -1
  63. package/package.json +21 -3
  64. package/resources/KNXSendSnippets.js +53 -53
  65. package/resources/htmlUtils.js +6 -4
  66. package/nodes/knxUltimateMatterDevice.html +0 -632
  67. package/nodes/knxUltimateMatterDevice.js +0 -308
  68. package/nodes/locales/de/knxUltimateMatterDevice.html +0 -56
  69. package/nodes/locales/de/knxUltimateMatterDevice.json +0 -109
  70. package/nodes/locales/en/knxUltimateMatterDevice.html +0 -56
  71. package/nodes/locales/en/knxUltimateMatterDevice.json +0 -109
  72. package/nodes/locales/es/knxUltimateMatterDevice.html +0 -56
  73. package/nodes/locales/es/knxUltimateMatterDevice.json +0 -109
  74. package/nodes/locales/fr/knxUltimateMatterDevice.html +0 -56
  75. package/nodes/locales/fr/knxUltimateMatterDevice.json +0 -109
  76. package/nodes/locales/it/knxUltimateMatterDevice.html +0 -56
  77. package/nodes/locales/it/knxUltimateMatterDevice.json +0 -109
  78. package/nodes/locales/zh-CN/knxUltimateMatterDevice.html +0 -56
  79. package/nodes/locales/zh-CN/knxUltimateMatterDevice.json +0 -109
@@ -1,109 +0,0 @@
1
- {
2
- "knxUltimateMatterDevice": {
3
- "title": "Matter 设备 (BETA)",
4
- "paletteLabel": "Matter Device (BETA)",
5
- "matter_controller": "Matter 控制器",
6
- "matter_device": "设备",
7
- "device_placeholder": "点击选择已配对的 Matter 设备",
8
- "mapping_help": "每个映射添加一行。\"KNX → Matter\" 在组地址收到报文时调用集群命令(或写入属性)。\"Matter → KNX\" 在属性变化时将其值写入组地址(读请求以缓存值应答)。",
9
- "select_target": "-- 选择 Matter 目标 --",
10
- "stored_target": "已保存",
11
- "read_status_startup": "启动时读取状态",
12
- "opt_yes_emit": "是,并发送 KNX 报文。",
13
- "opt_no": "否",
14
- "node_pins": "节点输入/输出引脚",
15
- "node_pins_hide": "隐藏",
16
- "node_pins_show": "显示节点输入/输出引脚",
17
- "direction": {
18
- "command": "KNX → Matter(命令)",
19
- "status": "Matter → KNX(状态)"
20
- },
21
- "fields": {
22
- "direction": "方向",
23
- "target": "Matter 端点 / 集群 / 目标",
24
- "ga": "组地址",
25
- "dpt": "DPT",
26
- "ganame": "名称"
27
- },
28
- "no_simple_targets": "此设备上未找到支持的功能(或设备尚未连接)。",
29
- "endpoint": "端点",
30
- "friendly": {
31
- "onoff_switch": "开/关(打开/关闭)",
32
- "onoff_toggle": "切换状态(toggle)",
33
- "onoff_state": "开/关状态",
34
- "level_set": "设置亮度 / 级别 (%)",
35
- "level_state": "当前亮度 / 级别 (%)",
36
- "colortemp_set": "设置色温(开尔文)",
37
- "colortemp_state": "当前色温(开尔文)",
38
- "cover_updown": "窗帘 上/下",
39
- "cover_stop": "窗帘 停止",
40
- "cover_position_set": "窗帘移动到位置 (%)",
41
- "cover_position_state": "当前窗帘位置 (%)",
42
- "cover_tilt_set": "叶片倾斜 (%)",
43
- "cover_tilt_state": "当前叶片倾斜 (%)",
44
- "thermo_localtemp": "室内温度 (°C)",
45
- "thermo_heatsp_set": "设置采暖设定点 (°C)",
46
- "thermo_coolsp_set": "设置制冷设定点 (°C)",
47
- "thermo_heatsp_state": "采暖设定点 (°C)",
48
- "thermo_coolsp_state": "制冷设定点 (°C)",
49
- "fan_speed_set": "设置风扇速度 (%)",
50
- "fan_speed_state": "当前风扇速度 (%)",
51
- "lock_cmd": "上锁/解锁",
52
- "lock_state": "锁状态(已上锁)",
53
- "temp_measured": "测量温度 (°C)",
54
- "humidity_measured": "相对湿度 (%)",
55
- "illuminance_measured": "照度 (Lux)",
56
- "occupancy_state": "检测到人员",
57
- "contact_state": "触点状态(闭合/断开)",
58
- "battery_percent": "电池电量 (%)",
59
- "power_active": "瞬时功率 (W)",
60
- "power_voltage": "电压 (V)",
61
- "power_current": "电流 (A)",
62
- "energy_imported": "累计耗电量 (kWh)",
63
- "identify_cmd": "识别设备(闪烁)",
64
- "switch_position": "按钮位置"
65
- },
66
- "devtype": {
67
- "onofflight": "开关灯",
68
- "dimmablelight": "调光灯",
69
- "colortemperaturelight": "色温灯",
70
- "extendedcolorlight": "彩色灯",
71
- "onoffpluginunit": "插座(开/关)",
72
- "dimmablepluginunit": "插座(可调光)",
73
- "smartplug": "智能插座",
74
- "contactsensor": "门磁传感器",
75
- "lightsensor": "光照传感器",
76
- "occupancysensor": "人体传感器",
77
- "temperaturesensor": "温度传感器",
78
- "humiditysensor": "湿度传感器",
79
- "pressuresensor": "压力传感器",
80
- "flowsensor": "流量传感器",
81
- "doorlock": "门锁",
82
- "windowcovering": "窗帘",
83
- "thermostat": "温控器",
84
- "fan": "风扇",
85
- "genericswitch": "按钮/开关",
86
- "airqualitysensor": "空气质量传感器",
87
- "smokecoalarm": "烟雾/CO 报警器",
88
- "waterleakdetector": "漏水探测器",
89
- "roomairconditioner": "空调",
90
- "airpurifier": "空气净化器",
91
- "speaker": "音箱",
92
- "pumpcontroller": "水泵",
93
- "onofflightswitch": "灯开关",
94
- "dimmerswitch": "调光开关",
95
- "colordimmerswitch": "彩色调光开关",
96
- "powersource": "电源",
97
- "electricalsensor": "电量传感器",
98
- "bridgednode": "桥接设备",
99
- "aggregator": "桥接器/聚合器",
100
- "rootnode": "根节点"
101
- }
102
- },
103
- "common": {
104
- "ga": "GA",
105
- "dpt": "DPT",
106
- "name": "名称",
107
- "knx_gw": "KNX 网关"
108
- }
109
- }