TypeError:dev.device is not a function
I got the same problem.
It still go like this after run `npm i broadlinkjs@"git+https://github.com/lprhodes/broadlinkjs.git" -g`
/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:98 dev.device();
^
TypeError:dev.device is not a function at module.exports.Broadlink.genDevice (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:98:13)
at Socket.cs.on (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:187:29) at emitTwo (events.js:106:13)
at Socket.emit (events.js:194:7) at UDP.onMessage [as onmessage] (dgram.js:545:8)

maybe because I got an Glanz airconditioner oemed by broadlink?