Thanks. Did that (solved that problem), and did full update just to be sure. But I still get the exact same crash as before:
16:17:28.041 SILLY after push packet: 255,0,255,165,10,16,34,209,1,10,1,189 Message: 165,10,16,34,209,1,10,1,189
16:17:28.049 VERBOSE Just Queued Message to send: 255,0,255,165,10,16,34,209,1,11,1,190
16:17:28.056 SILLY after push packet: 255,0,255,165,10,16,34,209,1,11,1,190 Message: 165,10,16,34,209,1,11,1,190
16:17:28.064 VERBOSE Just Queued Message to send: 255,0,255,165,10,16,34,209,1,12,1,191
16:17:28.072 SILLY after push packet: 255,0,255,165,10,16,34,209,1,12,1,191 Message: 165,10,16,34,209,1,12,1,191
16:17:28.089 VERBOSE Wrote 255,0,255,165,10,16,34,200,1,0,1,170 and # of bytes undefined Error?: null
/home/pi/pool2/index.js:618
if (b.data == 0) {
^
TypeError: Cannot read property '0' of undefined
at SerialPort.<anonymous> (/home/pi/pool2/index.js:618:35)
at SerialPort.emit (events.js:95:17)
at SerialPort.module.exports.raw (/home/pi/pool2/node_modules/serialport/lib/parsers.js:7:13)
at SerialPort._emitData (/home/pi/pool2/node_modules/serialport/lib/serialport.js:310:18)
at SerialPort.<anonymous> (/home/pi/pool2/node_modules/serialport/lib/serialport.js:290:14)
at SerialPort.<anonymous> (/home/pi/pool2/node_modules/serialport/lib/serialport.js:303:7)
at Object.wrapper [as oncomplete] (fs.js:466:17)
What version of node and npm are you using?
16:17:28.041 SILLY after push packet: 255,0,255,165,10,16,34,209,1,10,1,189 Message: 165,10,16,34,209,1,10,1,189
16:17:28.049 VERBOSE Just Queued Message to send: 255,0,255,165,10,16,34,209,1,11,1,190
16:17:28.056 SILLY after push packet: 255,0,255,165,10,16,34,209,1,11,1,190 Message: 165,10,16,34,209,1,11,1,190
16:17:28.064 VERBOSE Just Queued Message to send: 255,0,255,165,10,16,34,209,1,12,1,191
16:17:28.072 SILLY after push packet: 255,0,255,165,10,16,34,209,1,12,1,191 Message: 165,10,16,34,209,1,12,1,191
16:17:28.089 VERBOSE Wrote 255,0,255,165,10,16,34,200,1,0,1,170 and # of bytes undefined Error?: null
/home/pi/pool2/index.js:618
if (b.data == 0) {
^
TypeError: Cannot read property '0' of undefined
at SerialPort.<anonymous> (/home/pi/pool2/index.js:618:35)
at SerialPort.emit (events.js:95:17)
at SerialPort.module.exports.raw (/home/pi/pool2/node_modules/serialport/lib/parsers.js:7:13)
at SerialPort._emitData (/home/pi/pool2/node_modules/serialport/lib/serialport.js:310:18)
at SerialPort.<anonymous> (/home/pi/pool2/node_modules/serialport/lib/serialport.js:290:14)
at SerialPort.<anonymous> (/home/pi/pool2/node_modules/serialport/lib/serialport.js:303:7)
at Object.wrapper [as oncomplete] (fs.js:466:17)
What version of node and npm are you using?