@@ -108,6 +108,8 @@ public abstract class BLDevice implements Closeable {
108
108
109
109
public static final short DEV_RM_MINI = 0x2737 ;
110
110
111
+ public static final short DEV_RM_MINI_3 = 0x27c2 ;
112
+
111
113
public static final short DEV_RM_PRO_PHICOMM = 0x273d ;
112
114
113
115
public static final short DEV_RM_2_HOME_PLUS = 0x2783 ;
@@ -126,10 +128,10 @@ public abstract class BLDevice implements Closeable {
126
128
127
129
public static final short DEV_MP1 = 0x4EB5 ;
128
130
129
- public static final short DEV_HYSEN = 0x4EAD ;
130
-
131
- public static final short DEV_FLOUREON = 0xffffffad ;
132
-
131
+ public static final short DEV_HYSEN = 0x4EAD ;
132
+
133
+ public static final short DEV_FLOUREON = 0xffffffad ;
134
+
133
135
//
134
136
// Friendly device description
135
137
//
@@ -146,6 +148,8 @@ public abstract class BLDevice implements Closeable {
146
148
147
149
public static final String DESC_RM_MINI = "RM Mini" ;
148
150
151
+ public static final String DESC_RM_MINI_3 = "RM Mini 3" ;
152
+
149
153
public static final String DESC_RM_PRO_PHICOMM = "RM Pro" ;
150
154
151
155
public static final String DESC_RM_2_HOME_PLUS = "RM 2 Home Plus" ;
@@ -194,9 +198,9 @@ public abstract class BLDevice implements Closeable {
194
198
195
199
public static final String DESC_SPMINI_PLUS = "Smart Plug Mini Plus" ;
196
200
197
- public static final String DESC_HYSEN = "Hysen Thermostat" ;
198
-
199
- public static final String DESC_FLOUREON = "Floureon Thermostat" ;
201
+ public static final String DESC_HYSEN = "Hysen Thermostat" ;
202
+
203
+ public static final String DESC_FLOUREON = "Floureon Thermostat" ;
200
204
/**
201
205
* The destination port for discovery broadcasting (from __init__.py)
202
206
*/
@@ -562,6 +566,8 @@ public static BLDevice createInstance(short deviceType, String host, Mac mac) th
562
566
return new SP2Device (deviceType , desc , host , mac );
563
567
case DEV_RM_2 :
564
568
case DEV_RM_MINI :
569
+ case DEV_RM_MINI_3 :
570
+ return new RM2Device (deviceType , desc , host , mac );
565
571
case DEV_RM_PRO_PHICOMM :
566
572
case DEV_RM_2_HOME_PLUS :
567
573
case DEV_RM_2_2HOME_PLUS_GDT :
@@ -574,10 +580,10 @@ public static BLDevice createInstance(short deviceType, String host, Mac mac) th
574
580
return new A1Device (host , mac );
575
581
case DEV_MP1 :
576
582
return new MP1Device (host , mac );
577
- case DEV_FLOUREON :
578
- return new FloureonDevice (host , mac );
579
- case DEV_HYSEN :
580
- return new HysenDevice (host , mac );
583
+ case DEV_FLOUREON :
584
+ return new FloureonDevice (host , mac );
585
+ case DEV_HYSEN :
586
+ return new HysenDevice (host , mac );
581
587
}
582
588
return null ;
583
589
}
@@ -760,6 +766,8 @@ public static String getDescOfType(short devType){
760
766
return DESC_RM_2 ;
761
767
case BLDevice .DEV_RM_MINI :
762
768
return DESC_RM_MINI ;
769
+ case BLDevice .DEV_RM_MINI_3 :
770
+ return DESC_RM_MINI_3 ;
763
771
case BLDevice .DEV_RM_PRO_PHICOMM :
764
772
return DESC_RM_PRO_PHICOMM ;
765
773
case BLDevice .DEV_RM_2_HOME_PLUS :
@@ -808,10 +816,10 @@ public static String getDescOfType(short devType){
808
816
return BLDevice .DESC_MP1 ;
809
817
case BLDevice .DEV_A1 :
810
818
return BLDevice .DESC_A1 ;
811
- case BLDevice .DEV_HYSEN :
812
- return BLDevice .DESC_HYSEN ;
813
- case BLDevice .DEV_FLOUREON :
814
- return BLDevice .DESC_FLOUREON ;
819
+ case BLDevice .DEV_HYSEN :
820
+ return BLDevice .DESC_HYSEN ;
821
+ case BLDevice .DEV_FLOUREON :
822
+ return BLDevice .DESC_FLOUREON ;
815
823
//
816
824
// Unregonized
817
825
//
0 commit comments