You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having RM Pro but the code is not inside your index.js. I temporary change the last line
else{
...
dev.rm();
return dev;;
}
then the problem resolved. The IR is working but the RF is not working...
I will try to get the devgeneration code for you.
When I tried to run the homebridge, it throw me this error. May I know what happen?
dev.on("deviceReady", () => { this.emit("deviceReady", dev); });
^
TypeError: Cannot read property 'on' of undefined
at Socket.cs.on (/usr/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:183:16)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:194:7)
at UDP.onMessage [as onmessage] (dgram.js:545:8)
root@mediahub:~/.homebridge# dev.on("deviceReady", () => { this.emit("deviceReady", dev); });
bash: syntax error near unexpected token `"deviceReady",'
The text was updated successfully, but these errors were encountered: