node-red-contrib-knx-ultimate 3.2.10 → 3.2.12

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 (36) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/KNXUltimateDebugLog.txt +154 -0
  3. package/nodes/commonFunctions.js +12 -0
  4. package/nodes/hue-config.html +10 -0
  5. package/nodes/knxUltimate-config copy.html +10 -0
  6. package/nodes/knxUltimate-config.html +28 -13
  7. package/nodes/knxUltimate-config.js +55 -63
  8. package/nodes/knxUltimate.html +15 -0
  9. package/nodes/knxUltimate.js +22 -28
  10. package/nodes/knxUltimateAlerter.html +10 -0
  11. package/nodes/knxUltimateAutoResponder.html +15 -0
  12. package/nodes/knxUltimateAutoResponder.js +4 -9
  13. package/nodes/knxUltimateGarageDoorBarrierOpener.html +15 -0
  14. package/nodes/knxUltimateGlobalContext.html +15 -0
  15. package/nodes/knxUltimateHATranslator.html +10 -0
  16. package/nodes/knxUltimateHueBattery.html +15 -0
  17. package/nodes/knxUltimateHueButton.html +15 -0
  18. package/nodes/knxUltimateHueContactSensor.html +15 -0
  19. package/nodes/knxUltimateHueLight.html +15 -0
  20. package/nodes/knxUltimateHueLightSensor.html +15 -0
  21. package/nodes/knxUltimateHueMotion.html +15 -0
  22. package/nodes/knxUltimateHueScene.html +15 -0
  23. package/nodes/knxUltimateHueScene.js +4 -11
  24. package/nodes/knxUltimateHueTapDial.html +15 -0
  25. package/nodes/knxUltimateHueTemperatureSensor.html +15 -0
  26. package/nodes/knxUltimateHueZigbeeConnectivity.html +15 -0
  27. package/nodes/knxUltimateHuedevice_software_update.html +15 -0
  28. package/nodes/knxUltimateLoadControl.html +10 -0
  29. package/nodes/knxUltimateLoadControl.js +4 -8
  30. package/nodes/knxUltimateLogger.html +10 -0
  31. package/nodes/knxUltimateSceneController.html +10 -0
  32. package/nodes/knxUltimateSceneController.js +5 -8
  33. package/nodes/knxUltimateViewer.html +15 -0
  34. package/nodes/knxUltimateWatchDog.html +10 -0
  35. package/nodes/utils/sysLogger.js +101 -18
  36. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@
6
6
 
7
7
  # CHANGELOG
8
8
 
9
+ **Version 3.2.12** - October 2024<br/>
10
+ - Bump knxultimate engine to v. 3.0.4.<br/>
11
+
12
+ **Version 3.2.11** - October 2024<br/>
13
+ - Fixed help texts in various nodes.<br/>
14
+ - When you open a node, the node red's site bar goest into the help panel. Then, it goes into the info panel once closed.<br/>
15
+ - Gather debug infos + log to be pasted into a new gitHub Issue. See the "Utility" TAB of the KNX Gateway config node. See DISCUSSIONS on gitHub.<br/>
16
+
9
17
  **Version 3.2.10** - October 2024<br/>
10
18
  - Fixed a race condition happening whenever FULL DEPLOY is pressed in the node-red interface, preventing the HUE bridge node to gracefully disconnect from the HUE Bridge.<br/>
11
19
 
@@ -0,0 +1,154 @@
1
+ START LOG FILE --------------------------------------------
2
+ -> 10/5/2024, 12:14:53 PM [knxUltimate <08b25df88e6668d3>] [info] Close: node id 08b25df88e6668d3 with topic 5/6/7 has been removed from the server.
3
+ -> 10/5/2024, 12:14:53 PM [knxUltimate <Universal KNX>] [info] Close: node id 94644e7ae5ca6002 with topic has been removed from the server.
4
+ -> 10/5/2024, 12:14:53 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
5
+ -> 10/5/2024, 12:14:53 PM [knxUltimate-config <KNX Gateway senza csv>] [info] KNXClient socket closed.
6
+ -> 10/5/2024, 12:16:37 PM [knxUltimate-config <KNX Gateway senza csv>] NEW LOG SESSION --------------------------------------------
7
+ -> 10/5/2024, 12:16:37 PM [knxUltimate-config <KNX Gateway senza csv>] [info] payload cache set to /Users/massimosaccani/.node-red/knxultimatestorage/knxpersistvalues
8
+ -> 10/5/2024, 12:16:37 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Autoconnection: yes Node KNX Gateway senza csv
9
+ -> 10/5/2024, 12:16:37 PM [knxUltimate <08b25df88e6668d3>] NEW LOG SESSION --------------------------------------------
10
+ -> 10/5/2024, 12:16:37 PM [knxUltimate <Universal KNX>] NEW LOG SESSION --------------------------------------------
11
+ -> 10/5/2024, 12:16:40 PM [knxUltimate <08b25df88e6668d3>] [info] Close: node id 08b25df88e6668d3 with topic 5/6/7 has been removed from the server.
12
+ -> 10/5/2024, 12:16:40 PM [knxUltimate <Universal KNX>] [info] Close: node id 94644e7ae5ca6002 with topic has been removed from the server.
13
+ -> 10/5/2024, 12:16:40 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
14
+ -> 10/5/2024, 12:16:40 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
15
+ -> 10/5/2024, 12:16:44 PM [knxUltimate-config <KNX Gateway senza csv>] NEW LOG SESSION --------------------------------------------
16
+ -> 10/5/2024, 12:16:44 PM [knxUltimate-config <KNX Gateway senza csv>] [info] payload cache set to /Users/massimosaccani/.node-red/knxultimatestorage/knxpersistvalues
17
+ -> 10/5/2024, 12:16:44 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Autoconnection: yes Node KNX Gateway senza csv
18
+ -> 10/5/2024, 12:16:44 PM [knxUltimate <08b25df88e6668d3>] NEW LOG SESSION --------------------------------------------
19
+ -> 10/5/2024, 12:16:44 PM [knxUltimate <Universal KNX>] NEW LOG SESSION --------------------------------------------
20
+ -> 10/5/2024, 12:16:48 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Auto Reconect by timerKNXUltimateCheckState in progress. node.LinkStatus: disconnected, node.autoReconnect:true
21
+ -> 10/5/2024, 12:16:48 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Bind KNX Bus to interface (Auto). Node KNX Gateway senza csv
22
+ -> 10/5/2024, 12:16:48 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
23
+ -> 10/5/2024, 12:16:48 PM [knxUltimate-config <KNX Gateway senza csv>] [info] perform websocket connection on KNX Gateway senza csv
24
+ -> 10/5/2024, 12:16:48 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting... KNX Gateway senza csv
25
+ -> 10/5/2024, 12:16:48 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting to224.0.23.12
26
+ -> 10/5/2024, 12:16:48 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Connected to %o {"physAddr":"15.15.22","connectionKeepAliveTimeout":60,"ipAddr":"224.0.23.12","ipPort":3671,"hostProtocol":"Multicast","isSecureKNXEnabled":false,"suppress_ack_ldatareq":false,"loglevel":"info","localEchoInTunneling":true,"localIPAddress":"192.168.1.198","interface":"","jKNXSecureKeyring":null,"KNXQueueSendIntervalMilliseconds":25}
27
+ -> 10/5/2024, 12:16:49 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Loaded saved GA values 142
28
+ -> 10/5/2024, 12:16:49 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Do DoInitialReadFromKNXBusOrFile
29
+ -> 10/5/2024, 12:16:53 PM [knxUltimate <08b25df88e6668d3>] [info] Close: node id 08b25df88e6668d3 with topic 5/6/7 has been removed from the server.
30
+ -> 10/5/2024, 12:16:53 PM [knxUltimate <Universal KNX>] [info] Close: node id 94644e7ae5ca6002 with topic has been removed from the server.
31
+ -> 10/5/2024, 12:16:53 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
32
+ -> 10/5/2024, 12:16:54 PM [knxUltimate-config <KNX Gateway senza csv>] NEW LOG SESSION --------------------------------------------
33
+ -> 10/5/2024, 12:16:54 PM [knxUltimate-config <KNX Gateway senza csv>] [info] payload cache set to /Users/massimosaccani/.node-red/knxultimatestorage/knxpersistvalues
34
+ -> 10/5/2024, 12:16:54 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Autoconnection: yes Node KNX Gateway senza csv
35
+ -> 10/5/2024, 12:16:54 PM [knxUltimate <08b25df88e6668d3>] NEW LOG SESSION --------------------------------------------
36
+ -> 10/5/2024, 12:16:54 PM [knxUltimate <Universal KNX>] NEW LOG SESSION --------------------------------------------
37
+ -> 10/5/2024, 12:16:58 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Auto Reconect by timerKNXUltimateCheckState in progress. node.LinkStatus: disconnected, node.autoReconnect:true
38
+ -> 10/5/2024, 12:16:58 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Bind KNX Bus to interface (Auto). Node KNX Gateway senza csv
39
+ -> 10/5/2024, 12:16:58 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
40
+ -> 10/5/2024, 12:16:58 PM [knxUltimate-config <KNX Gateway senza csv>] [info] perform websocket connection on KNX Gateway senza csv
41
+ -> 10/5/2024, 12:16:58 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting... KNX Gateway senza csv
42
+ -> 10/5/2024, 12:16:58 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting to224.0.23.12
43
+ -> 10/5/2024, 12:16:58 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Connected to %o {"physAddr":"15.15.22","connectionKeepAliveTimeout":60,"ipAddr":"224.0.23.12","ipPort":3671,"hostProtocol":"Multicast","isSecureKNXEnabled":false,"suppress_ack_ldatareq":false,"loglevel":"info","localEchoInTunneling":true,"localIPAddress":"192.168.1.198","interface":"","jKNXSecureKeyring":null,"KNXQueueSendIntervalMilliseconds":25}
44
+ -> 10/5/2024, 12:16:59 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Loaded saved GA values 142
45
+ -> 10/5/2024, 12:16:59 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Do DoInitialReadFromKNXBusOrFile
46
+ -> 10/5/2024, 12:22:23 PM [knxUltimate <08b25df88e6668d3>] [info] Close: node id 08b25df88e6668d3 with topic 5/6/7 has been removed from the server.
47
+ -> 10/5/2024, 12:22:23 PM [knxUltimate <Universal KNX>] [info] Close: node id 94644e7ae5ca6002 with topic has been removed from the server.
48
+ -> 10/5/2024, 12:22:23 PM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
49
+ -> 10/5/2024, 12:22:23 PM [knxUltimate-config <KNX Gateway senza csv>] [info] KNXClient socket closed.
50
+ -> 10/7/2024, 8:22:33 AM [knxUltimate-config <KNX Gateway senza csv>] NEW LOG SESSION --------------------------------------------
51
+ -> 10/7/2024, 8:22:33 AM [knxUltimate-config <KNX Gateway senza csv>] [info] payload cache set to /Users/massimosaccani/.node-red/knxultimatestorage/knxpersistvalues
52
+ -> 10/7/2024, 8:22:33 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Autoconnection: yes Node KNX Gateway senza csv
53
+ -> 10/7/2024, 8:22:33 AM [knxUltimate <08b25df88e6668d3>] NEW LOG SESSION --------------------------------------------
54
+ -> 10/7/2024, 8:22:33 AM [knxUltimate <Universal KNX>] NEW LOG SESSION --------------------------------------------
55
+ -> 10/7/2024, 8:22:37 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Auto Reconect by timerKNXUltimateCheckState in progress. node.LinkStatus: disconnected, node.autoReconnect:true
56
+ -> 10/7/2024, 8:22:37 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Bind KNX Bus to interface (Auto). Node KNX Gateway senza csv
57
+ -> 10/7/2024, 8:22:37 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
58
+ -> 10/7/2024, 8:22:37 AM [knxUltimate-config <KNX Gateway senza csv>] [info] perform websocket connection on KNX Gateway senza csv
59
+ -> 10/7/2024, 8:22:37 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting... KNX Gateway senza csv
60
+ -> 10/7/2024, 8:22:37 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting to224.0.23.12
61
+ -> 10/7/2024, 8:22:37 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connected to %o {"physAddr":"15.15.22","connectionKeepAliveTimeout":60,"ipAddr":"224.0.23.12","ipPort":3671,"hostProtocol":"Multicast","isSecureKNXEnabled":false,"suppress_ack_ldatareq":false,"loglevel":"info","localEchoInTunneling":true,"localIPAddress":"192.168.1.198","interface":"","jKNXSecureKeyring":null,"KNXQueueSendIntervalMilliseconds":25}
62
+ -> 10/7/2024, 8:22:38 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Loaded saved GA values 160
63
+ -> 10/7/2024, 8:22:38 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Do DoInitialReadFromKNXBusOrFile
64
+ -> 10/7/2024, 8:37:07 AM [knxUltimate <08b25df88e6668d3>] [info] Close: node id 08b25df88e6668d3 with topic 5/6/7 has been removed from the server.
65
+ -> 10/7/2024, 8:37:07 AM [knxUltimate <Universal KNX>] [info] Close: node id 94644e7ae5ca6002 with topic has been removed from the server.
66
+ -> 10/7/2024, 8:37:07 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
67
+ -> 10/7/2024, 8:37:07 AM [knxUltimate-config <KNX Gateway senza csv>] [info] KNXClient socket closed.
68
+ -> 10/8/2024, 8:11:23 AM [knxUltimate-config <KNX Gateway senza csv>] NEW LOG SESSION --------------------------------------------
69
+ -> 10/8/2024, 8:11:23 AM [knxUltimate-config <KNX Gateway senza csv>] [info] payload cache set to /Users/massimosaccani/.node-red/knxultimatestorage/knxpersistvalues
70
+ -> 10/8/2024, 8:11:23 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Autoconnection: yes Node KNX Gateway senza csv
71
+ -> 10/8/2024, 8:11:23 AM [knxUltimate <08b25df88e6668d3>] NEW LOG SESSION --------------------------------------------
72
+ -> 10/8/2024, 8:11:23 AM [knxUltimate <Universal KNX>] NEW LOG SESSION --------------------------------------------
73
+ -> 10/8/2024, 8:11:27 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Auto Reconect by timerKNXUltimateCheckState in progress. node.LinkStatus: disconnected, node.autoReconnect:true
74
+ -> 10/8/2024, 8:11:27 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Bind KNX Bus to interface (Auto). Node KNX Gateway senza csv
75
+ -> 10/8/2024, 8:11:27 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
76
+ -> 10/8/2024, 8:11:27 AM [knxUltimate-config <KNX Gateway senza csv>] [info] perform websocket connection on KNX Gateway senza csv
77
+ -> 10/8/2024, 8:11:27 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting... KNX Gateway senza csv
78
+ -> 10/8/2024, 8:11:27 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting to224.0.23.12
79
+ -> 10/8/2024, 8:11:27 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connected to %o {"physAddr":"15.15.22","connectionKeepAliveTimeout":60,"ipAddr":"224.0.23.12","ipPort":3671,"hostProtocol":"Multicast","isSecureKNXEnabled":false,"suppress_ack_ldatareq":false,"loglevel":"info","localEchoInTunneling":true,"localIPAddress":"192.168.1.198","interface":"","jKNXSecureKeyring":null,"KNXQueueSendIntervalMilliseconds":25}
80
+ -> 10/8/2024, 8:11:28 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Loaded saved GA values 166
81
+ -> 10/8/2024, 8:11:28 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Do DoInitialReadFromKNXBusOrFile
82
+ -> 10/8/2024, 8:13:19 AM [knxUltimate <b3e73a4f0615889e>] NEW LOG SESSION --------------------------------------------
83
+ -> 10/8/2024, 8:13:30 AM [knxUltimate <b3e73a4f0615889e>] [info] Close: node id b3e73a4f0615889e with topic temper has been removed from the server.
84
+ -> 10/8/2024, 8:13:30 AM [knxUltimate <b3e73a4f0615889e>] NEW LOG SESSION --------------------------------------------
85
+ -> 10/8/2024, 8:15:13 AM [knxUltimate-config <KNX Gateway senza csv>] [info] buildInputMessage: received a wrong datagram form KNX BUS, from device 15.15.22 Destination 5/6/7 Event GroupValue_Write GA's Datapoint 1.001 Devicename Topic 5/6/7 NodeID 08b25df88e6668d3
86
+ -> 10/8/2024, 8:15:27 AM [knxUltimate-config <KNX Gateway senza csv>] [info] node.knxConnection.write: Payload: 21.5 GA:5/6/7 DPT:9.001 TypeError: value.toFixed is not a function
87
+ at Object.formatAPDU (/Users/massimosaccani/Documents/GitHub/KNXUltimate/src/dptlib/dpt9.ts:21:18)
88
+ at Object.populateAPDU (/Users/massimosaccani/Documents/GitHub/KNXUltimate/src/dptlib/index.ts:168:19)
89
+ at KNXClient.getKNXDataBuffer (/Users/massimosaccani/Documents/GitHub/KNXUltimate/src/KNXClient.ts:378:10)
90
+ at KNXClient.write (/Users/massimosaccani/Documents/GitHub/KNXUltimate/src/KNXClient.ts:615:26)
91
+ at knxUltimateConfigNode.node.sendKNXTelegramToKNXEngine (/Users/massimosaccani/Documents/GitHub/node-red-contrib-knx-ultimate/nodes/knxUltimate-config.js:1253:30)
92
+ at knxUltimate._inputCallback (/Users/massimosaccani/Documents/GitHub/node-red-contrib-knx-ultimate/nodes/knxUltimate.js:566:30)
93
+ at /usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:214:26
94
+ at Object.trigger (/usr/local/lib/node_modules/node-red/node_modules/@node-red/util/lib/hooks.js:166:13)
95
+ at knxUltimate.Node._emitInput (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:206:11)
96
+ at knxUltimate.Node.emit (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:190:25)
97
+ -> 10/8/2024, 8:17:29 AM [knxUltimate <b3e73a4f0615889e>] [info] Close: node id b3e73a4f0615889e with topic 5/6/7 has been removed from the server.
98
+ -> 10/8/2024, 8:17:29 AM [knxUltimate <b3e73a4f0615889e>] NEW LOG SESSION --------------------------------------------
99
+ -> 10/8/2024, 8:17:31 AM [knxUltimate-config <KNX Gateway senza csv>] [info] node.knxConnection.write: Payload: 21.5 GA:5/6/7 DPT:9.001 TypeError: value.toFixed is not a function
100
+ at Object.formatAPDU (/Users/massimosaccani/Documents/GitHub/KNXUltimate/src/dptlib/dpt9.ts:21:18)
101
+ at Object.populateAPDU (/Users/massimosaccani/Documents/GitHub/KNXUltimate/src/dptlib/index.ts:168:19)
102
+ at KNXClient.getKNXDataBuffer (/Users/massimosaccani/Documents/GitHub/KNXUltimate/src/KNXClient.ts:378:10)
103
+ at KNXClient.write (/Users/massimosaccani/Documents/GitHub/KNXUltimate/src/KNXClient.ts:615:26)
104
+ at knxUltimateConfigNode.node.sendKNXTelegramToKNXEngine (/Users/massimosaccani/Documents/GitHub/node-red-contrib-knx-ultimate/nodes/knxUltimate-config.js:1253:30)
105
+ at knxUltimate._inputCallback (/Users/massimosaccani/Documents/GitHub/node-red-contrib-knx-ultimate/nodes/knxUltimate.js:566:30)
106
+ at /usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:214:26
107
+ at Object.trigger (/usr/local/lib/node_modules/node-red/node_modules/@node-red/util/lib/hooks.js:166:13)
108
+ at knxUltimate.Node._emitInput (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:206:11)
109
+ at knxUltimate.Node.emit (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:190:25)
110
+ -> 10/8/2024, 8:20:42 AM [knxUltimate-config <KNX Gateway senza csv>] [info] buildInputMessage: received a wrong datagram form KNX BUS, from device 15.15.22 Destination 5/6/7 Event GroupValue_Write GA's Datapoint 1.001 Devicename Topic 5/6/7 NodeID 08b25df88e6668d3
111
+ -> 10/8/2024, 8:20:59 AM [knxUltimate <08b25df88e6668d3>] [info] Close: node id 08b25df88e6668d3 with topic 5/6/7 has been removed from the server.
112
+ -> 10/8/2024, 8:20:59 AM [knxUltimate <Universal KNX>] [info] Close: node id 94644e7ae5ca6002 with topic has been removed from the server.
113
+ -> 10/8/2024, 8:20:59 AM [knxUltimate <b3e73a4f0615889e>] [info] Close: node id b3e73a4f0615889e with topic 5/6/7 has been removed from the server.
114
+ -> 10/8/2024, 8:20:59 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
115
+ -> 10/8/2024, 8:20:59 AM [knxUltimate-config <KNX Gateway senza csv>] [info] KNXClient socket closed.
116
+ -> 10/8/2024, 8:21:06 AM [knxUltimate-config <KNX Gateway senza csv>] NEW LOG SESSION --------------------------------------------
117
+ -> 10/8/2024, 8:21:06 AM [knxUltimate-config <KNX Gateway senza csv>] [info] payload cache set to /Users/massimosaccani/.node-red/knxultimatestorage/knxpersistvalues
118
+ -> 10/8/2024, 8:21:06 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Autoconnection: yes Node KNX Gateway senza csv
119
+ -> 10/8/2024, 8:21:06 AM [knxUltimate <08b25df88e6668d3>] NEW LOG SESSION --------------------------------------------
120
+ -> 10/8/2024, 8:21:06 AM [knxUltimate <Universal KNX>] NEW LOG SESSION --------------------------------------------
121
+ -> 10/8/2024, 8:21:06 AM [knxUltimate <b3e73a4f0615889e>] NEW LOG SESSION --------------------------------------------
122
+ -> 10/8/2024, 8:21:10 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Auto Reconect by timerKNXUltimateCheckState in progress. node.LinkStatus: disconnected, node.autoReconnect:true
123
+ -> 10/8/2024, 8:21:10 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Bind KNX Bus to interface (Auto). Node KNX Gateway senza csv
124
+ -> 10/8/2024, 8:21:10 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
125
+ -> 10/8/2024, 8:21:10 AM [knxUltimate-config <KNX Gateway senza csv>] [info] perform websocket connection on KNX Gateway senza csv
126
+ -> 10/8/2024, 8:21:10 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting... KNX Gateway senza csv
127
+ -> 10/8/2024, 8:21:10 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting to224.0.23.12
128
+ -> 10/8/2024, 8:21:10 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connected to %o {"physAddr":"15.15.22","connectionKeepAliveTimeout":60,"ipAddr":"224.0.23.12","ipPort":3671,"hostProtocol":"Multicast","isSecureKNXEnabled":false,"suppress_ack_ldatareq":false,"loglevel":"info","localEchoInTunneling":true,"localIPAddress":"192.168.1.198","interface":"","jKNXSecureKeyring":null,"KNXQueueSendIntervalMilliseconds":25}
129
+ -> 10/8/2024, 8:21:12 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Loaded saved GA values 174
130
+ -> 10/8/2024, 8:21:12 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Do DoInitialReadFromKNXBusOrFile
131
+ -> 10/8/2024, 8:21:12 AM [knxUltimate-config <KNX Gateway senza csv>] [info] buildInputMessage: received a wrong datagram form KNX BUS, from device 15.15.22 Destination 5/6/7 Event GroupValue_Write GA's Datapoint 1.001 Devicename Topic 5/6/7 NodeID 08b25df88e6668d3
132
+ -> 10/8/2024, 8:22:08 AM [knxUltimate <08b25df88e6668d3>] [info] Close: node id 08b25df88e6668d3 with topic 5/6/7 has been removed from the server.
133
+ -> 10/8/2024, 8:26:06 AM [knxUltimate <Universal KNX>] [info] Close: node id 94644e7ae5ca6002 with topic has been removed from the server.
134
+ -> 10/8/2024, 8:26:06 AM [knxUltimate <b3e73a4f0615889e>] [info] Close: node id b3e73a4f0615889e with topic 5/6/7 has been removed from the server.
135
+ -> 10/8/2024, 8:26:06 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
136
+ -> 10/8/2024, 8:26:06 AM [knxUltimate-config <KNX Gateway senza csv>] [info] KNXClient socket closed.
137
+ -> 10/8/2024, 8:28:41 AM [knxUltimate-config <KNX Gateway senza csv>] NEW LOG SESSION --------------------------------------------
138
+ -> 10/8/2024, 8:28:41 AM [knxUltimate-config <KNX Gateway senza csv>] [info] payload cache set to /Users/massimosaccani/.node-red/knxultimatestorage/knxpersistvalues
139
+ -> 10/8/2024, 8:28:41 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Autoconnection: yes Node KNX Gateway senza csv
140
+ -> 10/8/2024, 8:28:41 AM [knxUltimate <Universal KNX>] NEW LOG SESSION --------------------------------------------
141
+ -> 10/8/2024, 8:28:41 AM [knxUltimate <b3e73a4f0615889e>] NEW LOG SESSION --------------------------------------------
142
+ -> 10/8/2024, 8:28:45 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Auto Reconect by timerKNXUltimateCheckState in progress. node.LinkStatus: disconnected, node.autoReconnect:true
143
+ -> 10/8/2024, 8:28:45 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Bind KNX Bus to interface (Auto). Node KNX Gateway senza csv
144
+ -> 10/8/2024, 8:28:45 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
145
+ -> 10/8/2024, 8:28:45 AM [knxUltimate-config <KNX Gateway senza csv>] [info] perform websocket connection on KNX Gateway senza csv
146
+ -> 10/8/2024, 8:28:45 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting... KNX Gateway senza csv
147
+ -> 10/8/2024, 8:28:45 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connecting to224.0.23.12
148
+ -> 10/8/2024, 8:28:45 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Connected to %o {"physAddr":"15.15.22","connectionKeepAliveTimeout":60,"ipAddr":"224.0.23.12","ipPort":3671,"hostProtocol":"Multicast","isSecureKNXEnabled":false,"suppress_ack_ldatareq":false,"loglevel":"info","localEchoInTunneling":true,"localIPAddress":"192.168.1.198","interface":"","jKNXSecureKeyring":null,"KNXQueueSendIntervalMilliseconds":25}
149
+ -> 10/8/2024, 8:28:46 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Loaded saved GA values 175
150
+ -> 10/8/2024, 8:28:46 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Do DoInitialReadFromKNXBusOrFile
151
+ -> 10/8/2024, 8:28:50 AM [knxUltimate <Universal KNX>] [info] Close: node id 94644e7ae5ca6002 with topic has been removed from the server.
152
+ -> 10/8/2024, 8:28:50 AM [knxUltimate <b3e73a4f0615889e>] [info] Close: node id b3e73a4f0615889e with topic 5/6/7 has been removed from the server.
153
+ -> 10/8/2024, 8:28:50 AM [knxUltimate-config <KNX Gateway senza csv>] [info] Disconnect: already not connected:disconnected, node.autoReconnect:true
154
+ -> 10/8/2024, 8:28:50 AM [knxUltimate-config <KNX Gateway senza csv>] [info] KNXClient socket closed.
@@ -307,6 +307,18 @@ module.exports = (RED) => {
307
307
  res.json(jListInterfaces);
308
308
  });
309
309
 
310
+ // 14/08/2019 Endpoint for retrieving the ethernet interfaces
311
+ RED.httpAdmin.get("/KNUltimateGetLogFile", (req, res) => {
312
+ try {
313
+ const log = fs.readFileSync('./KNXUltimateDebugLog.txt')
314
+ res.json(log.toString());
315
+ } catch (error) {
316
+ res.json(error.message);
317
+ }
318
+
319
+ });
320
+
321
+
310
322
  // 12/08/2021 Endpoint for deleting the GA persistent file for the current gateway
311
323
  RED.httpAdmin.get("/deletePersistGAFile", RED.auth.needsPermission("knxUltimate-config.read"), (req, res) => {
312
324
  try {
@@ -14,6 +14,11 @@
14
14
  clientkey: { type: "password" }
15
15
  },
16
16
  oneditprepare: function () {
17
+ // Go to the help panel
18
+ try {
19
+ RED.sidebar.show("help");
20
+ } catch (error) { }
21
+
17
22
 
18
23
  var node = this;
19
24
 
@@ -144,6 +149,11 @@
144
149
  })
145
150
  },
146
151
  oneditsave: function () {
152
+ // Return to the info tab
153
+ try {
154
+ RED.sidebar.show("info");
155
+ } catch (error) { }
156
+
147
157
 
148
158
  },
149
159
  label: function () {
@@ -29,6 +29,11 @@
29
29
  keyringFilePassword: { type: "password" }
30
30
  },
31
31
  oneditprepare: function () {
32
+ // Go to the help panel
33
+ try {
34
+ RED.sidebar.show("help");
35
+ } catch (error) { }
36
+
32
37
  var node = this;
33
38
 
34
39
  // 22/07/2021 Main tab
@@ -113,6 +118,11 @@
113
118
 
114
119
  },
115
120
  oneditsave: function () {
121
+ // Return to the info tab
122
+ try {
123
+ RED.sidebar.show("info");
124
+ } catch (error) { }
125
+
116
126
  var node = this;
117
127
  // Check if the csv file contains errors
118
128
  if (($("#node-config-input-csv").val() != 'undefined' && $("#node-config-input-csv").val() != "") || ($("#node-config-input-keyring").val() != 'undefined' && $("#node-config-input-keyring").val() != "")) {
@@ -28,6 +28,11 @@
28
28
  keyringFilePassword: { type: "password" }
29
29
  },
30
30
  oneditprepare: function () {
31
+ // Go to the help panel
32
+ try {
33
+ RED.sidebar.show("help");
34
+ } catch (error) { }
35
+
31
36
  var node = this;
32
37
 
33
38
  // 22/07/2021 Main tab
@@ -91,8 +96,13 @@
91
96
  for (const [key, value] of Object.entries(node)) {
92
97
  sRetDebugText += (`-> ${key}: ${value}\r`);
93
98
  }
94
- sRetDebugText = 'Open a new github issue and paste this text into it. https://github.com/Supergiovane/node-red-contrib-knx-ultimate/issues/new?assignees=Supergiovane&labels=&template=bug_report.md&title=KNXDebugText\r\r' + sRetDebugText;
95
- $("#debugText").val(sRetDebugText); // Store the config-node);
99
+ // Add log file
100
+ $.getJSON("KNUltimateGetLogFile", (data) => {
101
+ sRetDebugText += "\r\r" + data;
102
+ sRetDebugText = 'INSTRUCTIONS: COPY THE LINK BELOW AND PASTE IT INTO THE ADDRESS BAR OF YOUR BROWSER.\rhttps://github.com/Supergiovane/node-red-contrib-knx-ultimate/issues/new?assignees=Supergiovane&labels=&template=bug_report.md&title=KNXDebugText\r\r THEN PASTE THIS TEXT INTO THE ISSUE\'S BODY, USING THE <> BRACKETS.\r\r' + sRetDebugText;
103
+ $("#debugText").val(sRetDebugText); // Store the config-node);
104
+ });
105
+
96
106
  });
97
107
  $("#getallgaused").click(function () {
98
108
  sRetDebugText = "";
@@ -112,6 +122,11 @@
112
122
 
113
123
  },
114
124
  oneditsave: function () {
125
+ // Return to the info tab
126
+ try {
127
+ RED.sidebar.show("info");
128
+ } catch (error) { }
129
+
115
130
  var node = this;
116
131
  // Check if the csv file contains errors
117
132
  if (($("#node-config-input-csv").val() != 'undefined' && $("#node-config-input-csv").val() != "") || ($("#node-config-input-keyring").val() != 'undefined' && $("#node-config-input-keyring").val() != "")) {
@@ -380,7 +395,7 @@
380
395
  <div id="tabs-4">
381
396
  <p>
382
397
  <div class="form-row">
383
- <label style="width:300px"><i class="fa fa-sign-in"></i> Gather debug info for troubleshoot</label>
398
+ <label style="width:300px"><i class="fa fa-sign-in"></i> Gather debug and log for troubleshoot</label>
384
399
  <input type="button" id="getinfocam" class="ui-button ui-corner-all ui-widget"
385
400
  style="background-color:#AEE1FF;width:150px" value="Read">
386
401
  </div>
@@ -411,22 +426,22 @@
411
426
  **Configuration**
412
427
  |Property|Description|
413
428
  |--|--|
414
- | IP Port | The port. |
415
- | IP Protocol | *Tunnel UDP* is for KNX/IP interfaces, *Multicast UDP* is for KNX/IP Routers. Leave **Auto** for auto detect. |
416
- | Bind to local interface | The Node will use this local interface for communications. Leave "Auto" for automatic selection. If you have more than one lan connection, for example Ethernet and Wifi, it's strongly recommended to manually select the interface, otherwise not all UDP telegram will reach your computer, thus the Node may not work as expected. |
417
- | Automatically connect to KNX BUS at start | Auto connect to the bus at start. You want to leave it enabled. |
418
- | KNX Physical Address | The physical KNX address, example 1.1.200 |
429
+ | IP Port | The port. Default is 3671. |
430
+ | IP Protocol | *Tunnel UDP* is for KNX/IP interfaces, *Multicast UDP* is for KNX/IP Routers. Leave **Auto** for auto detect. Default is "Auto". |
431
+ | KNX Physical Address | The physical KNX address, example 1.1.200. Default is "15.15.22".|
432
+ | Bind to local interface | The Node will use this local interface for communications. Leave "Auto" for automatic selection. If you have more than one lan connection, for example Ethernet and Wifi, it's strongly recommended to manually select the interface, otherwise not all UDP telegram will reach your computer, thus the Node may not work as expected. Default is "Auto". |
433
+ | Automatically connect to KNX BUS at start | Auto connect to the bus at start. Default is "Yes". |
419
434
 
420
435
  <br/>
421
436
 
422
437
  **Advanced**
423
438
  |Property|Description|
424
439
  |--|--|
425
- | Suppress repeated (R-Flag) telegrams fom BUS | Ignore repeated KNX telegrams coming from the bus. |
426
- | Suppress ACK request in tunneling mode | Enable it if you have a very old KNX/IP gateway. You want to leave it disabled. |
427
- | Delay between each telegram (in milliseconds) | Leave it 50ms, unless you're connecting to a remote KNX Gateway via a slow internet connection. |
428
- | and further multiply delay only between -read- telegrams | Multiply the delay for read requests to the KNX bus. Again, for slow KNX Gateways. |
429
- | Loglevel | Log level, in case you need to debug something with the dev. |
440
+ | Echo sent message to all node with same Group Address | Send the msg input coming from the flow, to all nodes having the same group address. The nodes will receive the new msg as if it's coming from the KNX bus. This is useful in case of using the KNX emulation and in case the connection to the KNX bus is not established. **This option will be deprecated in the next version and defaulted to checked.** Default is checked. |
441
+ | Suppress repeated (R-Flag) telegrams fom BUS | Ignore repeated KNX telegrams coming from the bus. Default is unchecked. |
442
+ | Suppress ACK request in tunneling mode | Enable it if you have a very old KNX/IP gateway. It ignores the ACK procedure and accepts all telegrams. Default is unchecked.|
443
+ | Delay between each telegram (in milliseconds) | KNX specs states, that the maximum telegram sending speed is 50 telegrams per second. A speed between 25 and 50ms should be fine, unless you're connecting to a remote KNX Gateway via a slow internet connection (in this case, you should increase the value by, for example, 200 to 500ms or more). |
444
+ | Loglevel | Log level, in case you need to debug something with the dev. Default is "Error", |
430
445
 
431
446
  <br/>
432
447