I've run into this problem, which crashes Node Red:
TypeError: Cannot read property 'heartBeat' of null
at Hub.onMessage (/Users/Admin/.node-red/node_modules/node-xiaomi-smart-home/build/Hub.js:70:16)
at Socket.emit (events.js:127:13)
at UDP.onMessage [as onmessage] (dgram.js:659:8)
I've tried using the backup flow json and also unistalling the node, but no success. What do I need to remove from my flow json or other file for the flow not to run and crash Node Red at start up?