This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const EventEmitter = require('events'); | |
const dgram = require('dgram'); | |
const os = require('os'); | |
const crypto = require('crypto'); | |
const assert = require('assert'); | |
// RM Devices (without RF support) | |
const rmDeviceTypes = {}; | |
rmDeviceTypes[parseInt(0x2737, 16)] = "Broadlink RM Mini"; | |
rmDeviceTypes[parseInt(0x27c7, 16)] = 'Broadlink RM Mini 3 A'; |