Issue with "node-red-contrib-gree-hvac"

Hello all,

I am trying to play with "node-red-contrib-gree-hvac". I am able to install the palette and configure one device. Once deployed I can see in debut information from the AC unit:

Once I start to do anything else I have got this error message and NR is gong into restart.

7 Feb 22:18:55 - [red] Uncaught Exception:
7 Feb 22:18:55 - [error] TypeError: Cannot read properties of undefined (reading '0')
at /home/openhabian/.node-red/node_modules/gree-hvac-client/lib/client.js:383:46
at Array.forEach ()
at Client._handleUpdateConfirmResponse (/home/openhabian/.node-red/node_modules/gree-hvac-client/lib/client.js:382:18)
at Client._handleResponse (/home/openhabian/.node-red/node_modules/gree-hvac-client/lib/client.js:312:29)
at Socket. (/home/openhabian/.node-red/node_modules/gree-hvac-client/lib/client.js:113:52)
at Socket.emit (node:events:513:28)
at UDP.onMessage [as onmessage] (node:dgram:930:8)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Consumed 8.968s CPU time.
nodered.service: Scheduled restart job, restart counter is at 4.
Stopped Node-RED graphical event wiring tool.
nodered.service: Consumed 8.968s CPU time.

Any idea what could be wrong?

Thanks

Jan K.

You may want to look here.

Thanks, seems to be working. I have the same change to client.js file and all my four units are working, accepting commands from NR.

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