From 23272b047d50759df7de3ddd30181df7b472f87c Mon Sep 17 00:00:00 2001 From: Cameron <32912464+kiwi-cam@users.noreply.github.com> Date: Fri, 22 Jul 2022 08:05:55 +1200 Subject: [PATCH] v0.9.18 (#20) * Adds support for 0x520b and 0x520c Devices --- index.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 6c9f498..09c075d 100644 --- a/index.js +++ b/index.js @@ -46,6 +46,7 @@ rm4DeviceTypes[parseInt(0x610f, 16)] = "Broadlink RM4 Mini C"; rm4DeviceTypes[parseInt(0x6539, 16)] = "Broadlink RM4 Mini C"; rm4DeviceTypes[parseInt(0x648d, 16)] = "Broadlink RM4 Mini S"; rm4DeviceTypes[parseInt(0x5216, 16)] = "Broadlink RM4 Mini"; +rm4DeviceTypes[parseInt(0x520c, 16)] = "Broadlink RM4 Mini"; rm4DeviceTypes[parseInt(0x2225, 16)] = 'Manual RM4 Device'; // RM4 Devices (with RF support) @@ -55,6 +56,7 @@ rm4PlusDeviceTypes[parseInt(0x6026, 16)] = "Broadlink RM4 Pro"; rm4PlusDeviceTypes[parseInt(0x61a2, 16)] = "Broadlink RM4 Pro"; rm4PlusDeviceTypes[parseInt(0x649b, 16)] = "Broadlink RM4 Pro"; rm4PlusDeviceTypes[parseInt(0x653c, 16)] = "Broadlink RM4 Pro"; +rm4PlusDeviceTypes[parseInt(0x520b, 16)] = "Broadlink RM4 Pro"; rm4PlusDeviceTypes[parseInt(0x6184, 16)] = "Broadlink RM4C Pro"; rm4PlusDeviceTypes[parseInt(0x2227, 16)] = 'Manual RM4 Pro Device'; diff --git a/package.json b/package.json index e672ee6..3ace2c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kiwicam-broadlinkjs-rm", - "version": "0.9.17", + "version": "0.9.18", "description": "A Node.JS fork of broadlinkjs specifically intended for interacting with RM devices in homebridge-broadlink-rm", "main": "index.js", "scripts": {