Node red not working in openhab

Hello I have not been able to et node red to work with openhab. following the messages I get in openhabian. can anyone point me in the right direction please?

21 Jun 05:58:30 - [info] Node-RED version: v2.2.2
21 Jun 05:58:30 - [info] Node.js version: v14.19.3
21 Jun 05:58:30 - [info] Linux 5.10.103-v7+ arm LE
21 Jun 05:58:31 - [info] Loading palette nodes
21 Jun 05:58:36 - [info] Settings file : /home/openhabian/.node-red/settings.js
21 Jun 05:58:36 - [info] Context store : ‘default’ [module=memory]
21 Jun 05:58:36 - [info] User directory : /home/openhabian/.node-red
21 Jun 05:58:36 - [warn] Projects disabled : editorTheme.projects.enabled=false
21 Jun 05:58:36 - [info] Flows file : /home/openhabian/.node-red/flows.json
21 Jun 05:58:36 - [info] Server now running at http://127.0.0.1:1880/
21 Jun 05:58:36 - [info] Starting flows
21 Jun 05:58:36 - [info] [openhab2-controller:OH-Localhost] {“id”:“498a1319.6fc92c”,“type”:“openhab2-controller”,“name”:“OH-Localhost”,“protocol”:“http”,“host”:“localhost”,“port”:“8080”,“path”:"",“username”:"",“password”:"","_users":[“6cf62b01.aec3f4”,“c30a2538.215bd8”,“aed8d4b.18bbd28”,“25789acb.3c53f6”,“4b96cce4.188114”,“411f4660.a12ed8”,“8e3e03c7.22308”,“32cb0816.576328”,“a2f4f88b.b153d8”,“6d2dabe9.350334”,“465d9135.a93aa”,“59fbfd5d.e92254”,“18667410.67c8cc”,“c8409913.f22078”,“e7dc7e70.0e1a2”,“190ed66e.0b3eea”,“2b4224b8.f0527c”,“b320a1fe.f70df”,“ec883ca6.9cea9”,“60fa95d4.7027ac”,“36b03202.d8675e”,“64cc65e3.578fcc”,“9e4104f.ce1fcf8”,“4dbf908f.d8559”,“d44d9fe0.bfa16”,“ed87d573.e65608”,“8b6c64e9.aee8f8”,“247a5a8f.61a516”,“6af919fc.5cff28”,“314df3da.9721ac”,“486a9b7f.fd49b4”,“b68d9b89.f44688”,“889441d9.d6821”,“189d1881.c95fd7”,“5c4803ed.62d60c”,“1cce772.7b6aa89”,“a72f43d5.9fcc4”,“cc337a12.2c23a8”,“19759bde.6737f4”,“27e35352.81d7ec”,“8f004563.9e2508”,“54f3ddf8.cc4b54”,“dc77de0f.2bdf1”,“9b97e826.8bc758”,“d7dfd3a6.21887”,“7e64d35e.a81cac”,“ee15fd0f.85ecf”,“d58fd3b6.8f4fb”,“d03db7d7.7ecb68”,“16a85827.1dd4f8”,“c719d203.51a3a”,“1f61cb9e.80f0d4”,“ee1c926c.dbb3”,“ae5ae0be.a128b”,“605c5e40.d3bcd”,“d094663d.54eb48”,“85447ffc.15ebf”,“cbc7eaea.bee3f8”,“73a01a7a.d3b014”,“4ba47de8.3bfe34”,“22766e35.c1b502”,“3be41bbf.e12894”,“2ef643f.67389bc”,“bc5b0732.53f1a8”,“afe28b7c.16c5f8”,“bb416cad.a9f33”,“d62fb790.03a5a8”,“c821ec18.88f7”,“ebaa7694.02d2b8”,“78cc179.a889de8”,“e2e102af.83da2”,“b0d27728.a360b8”,“287fbaf5.714cc6”,“1bfa2907.9356d7”,“190e4c55.fe7e74”,“f4bdef3e.c8b95”,“9e52b5de.f822c8”,“952cca73.4fa648”,“d0d37db7.893b8”,“ded086fe.c78c78”,“d97a5c23.c2001”,“92983bf8.f5b0b8”,“bb58e7ba.ddabb8”,“35d7133b.c2e6cc”,“ec3a8b0f.b92168”,“f49a6191.9b7d2”,“9f6620d9.d1b46”,“dbd7666e.7aeee8”,“d4c67fed.80043”,“18c97b4e.ae1795”,“5a47c086.97913”,“415e3c18.365b94”,“c09f5a59.035c88”,“4acd7374.d9781c”,“9529b330.889e7”,“fe459429.7a2ab8”,“63841812.6c90e8”,“ad58ba11.da4718”,“9e577031.1014e”,“38fd6418.ac71bc”,“e79b552.996a9a8”,“d69090d8.cde6d”,“bc96568d.3f3548”,“ee02e7d.e2bee18”,“c616ecb.8d1b21”,“21ecc95b.6f6046”,“a098e71a.8a1398”,“abd0f655.9d6008”,“5cdb34af.c9659c”,“6db67d36.0dd234”,“934db744.ae7f28”,“fc22be3.637b64”,“4a10d7ad.f3f9b8”,“40d5a3c7.cf24ac”,“55346990.c0a6e8”,“c23171af.df30c”,“a2fd426c.4d268”,“ee7abf33.211a2”,“b151dc63.f16fd”,“301c5e10.ab717e”,“57bd3f20.f6ba8c”,“c37f013.986f54”,“2a898fca.586964”,“2f6b7f49.49706”,“15bfaecf.741171”,“5e0648d.62800b8”,“c0a062d9.df877”,“a57e9dbc.99a0d”,“338041b8.3b1c2e”,“ef7a80f3.18b49”,“d7a76616.e3eab8”,“28d7d894.e150b8”,“88e0e3d9.f61b4”,“75ebb7a7.dc0a18”,“3b98ce7f.75cdf2”,“c433dd52.bbb81”,“76d832b7.a8e57c”,“ef8ff066.a58e8”,“2c43b3f6.587b1c”,“4a9be5a5.8b788c”,“3f878b78.db2dd4”,“3593253.015d4da”,“3db3625a.8da3be”,“34250f9c.664a4”,“e19c55d0.32dd48”,“8e6a5ab8.1869d8”,“36f34956.23ad36”,“2a4f5e7d.bbb692”,“bfc23f47.3c8a3”,“87d07c25.32df6”,“d79c4492.efc038”,“64da1863.d89f68”,“ea9ecb3f.c34658”,“d41b6c3f.a1087”,“3084b997.be8ff6”,“2ef6e850.07ecb8”,“e37d655e.41c2f8”,“21f6551a.f15d9e”,“dd7f68cb.ce33a8”,“53817dfd.0b9f34”,“d8ab141e.98c188”,“e4a81136.5209f”,“6d1b89a0.4199e8”]}
21 Jun 05:58:37 - [info] Started flows
(node:32667) UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘state’ of null
at /usr/lib/node_modules/node-red/node_modules/@node-red/util/lib/util.js:430:29
at Array.reduce ()
at getObjectProperty (/usr/lib/node_modules/node-red/node_modules/@node-red/util/lib/util.js:429:18)
at getMessageProperty (/usr/lib/node_modules/node-red/node_modules/@node-red/util/lib/util.js:401:12)
at Object.evaluateNodeProperty (/usr/lib/node_modules/node-red/node_modules/@node-red/util/lib/util.js:647:22)
at /home/openhabian/.node-red/node_modules/node-red-contrib-bool-gate/lib/RuleManager.js:109:37
at new Promise ()
at RuleManager.updateState (/home/openhabian/.node-red/node_modules/node-red-contrib-bool-gate/lib/RuleManager.js:106:16)
at andGateNode._inputCallback (/home/openhabian/.node-red/node_modules/node-red-contrib-bool-gate/nodes/and.js:27:30)
at /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:210:26
(Use node --trace-warnings ... to show where the warning was created)
(node:32667) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see Command-line API | Node.js v18.4.0 Documentation). (rejection id: 2)
(node:32667) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
21 Jun 05:58:37 - [error] [openhab2-get:3f878b78.db2dd4] ReferenceError: headers is not defined
21 Jun 05:58:37 - [red] Uncaught Exception:
21 Jun 05:58:37 - [error] Error: Module did not self-register: ‘/home/openhabian/.node-red/node_modules/@serialport/bindings/build/Release/bindings.node’.
at Object.Module._extensions…node (internal/modules/cjs/loader.js:1144:18)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at bindings (/home/openhabian/.node-red/node_modules/bindings/bindings.js:112:48)
at Object. (/home/openhabian/.node-red/node_modules/@serialport/bindings/lib/linux.js:2:36)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.