haydendonald / hdl-automation-nodered

Provides control and feedback of the HDL Automation bus for Node Red https://www.hdlautomation.com/
Apache License 2.0
7 stars 1 forks source link

receiving channel status error #4

Open tenabiker opened 2 years ago

tenabiker commented 2 years ago

Hello, I'm trying to read a channel status but nodered crashes when receive channel status.

Above the error:

18 Aug 08:55:10 - [info] Started flows 18 Aug 08:55:10 - [info] [hdl-network:gatewifi] Successfully connected to the HDL network @ 192.168.1.6:6000 <Buffer 01 00> <Buffer 02 00 00> <Buffer 01 00> <Buffer 02 00 00> <Buffer 01 00> <Buffer 02 00 00> <Buffer 02 00 00> 18 Aug 08:55:29 - [red] Uncaught Exception: 18 Aug 08:55:29 - TypeError: Cannot set property '1' of undefined at Object.processData (C:\Users\Rafael\node_modules\hdl-automation-nodered\HDL\functions\singleChannelControl.js:29:39) at processReceiveBuffer (C:\Users\Rafael\node_modules\hdl-automation-nodered\nodes\network.js:491:71) at Timeout._onTimeout (C:\Users\Rafael\node_modules\hdl-automation-nodered\nodes\network.js:113:55) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7)