This module allows you to control the IR and RF interfaces within Broadlink RM devices.
Import lib and listen on devices
const BroadlinkJS = require("broadlinkjs-rm");
const broadlink = new BroadlinkJS();
broadlink.on("deviceReady", device => {
// new device
});
broadlink.discover();
This work is based on https://github.com/lprhodes/broadlinkjs-rm