Hej @oskaremilsson and others using this, thanks for the code! I've been using this successfully for years, and uploaded it with some modifications to GitHub. Now it just stopped working and I don't understand why, but I suspect an API change? @emil maybe you can answer this? My flic hub is on version 4.3.4 and I'm getting this error
RangeError: host does not a contain a valid IPv4 address: undefined
at listen (core.js:1677)
at <anonymous> (root/IR Server/tcpServer.js:123)
at require (core.js:2902)
at <anonymous> (root/IR Server/main.js:3)
at require (core.js:2902)
at requireMain (core.js:2910)
at handlePacket (core.js:2944)
at onPipeData (core.js:3015)