| a14 | Connection to the Rotel A14 or A14MKII integrated amplifier |
| cd11 | Connection to the Rotel CD11 CD player |
| cd14 | Connection to the Rotel CD14 or CD14MKII CD player |
+| m8 | Connection to the Rotel Michi M8 monoblock amplifier |
| p5 | Connection to the Rotel Michi P5 stereo preamplifier |
| ra11 | Connection to the Rotel RA-11 integrated amplifier |
| ra12 | Connection to the Rotel RA-12 integrated amplifier |
| rt09 | Connection to the Rotel RT-09 tuner |
| rt11 | Connection to the Rotel RT-11 tuner |
| rt1570 | Connection to the Rotel RT-1570 tuner |
+| s5 | Connection to the Rotel Michi S5 stereo amplifier |
| t11 | Connection to the Rotel T11 tuner |
| t14 | Connection to the Rotel T14 tuner |
| x3 | Connection to the Rotel Michi X3 integrated amplifier |
| a14 | power, source, volume, mute, bass, treble, frequency, brightness, tcbypass, balance, speakera, speakerb |
| cd11 | power, playControl, track, brightness |
| cd14 | power, playControl, track, brightness |
+| m8 | power, brightness |
| p5 | power, source, volume, mute, bass, treble, frequency, brightness, tcbypass, balance |
| ra11 | power, source, volume, mute, bass, treble, playControl, frequency, brightness, tcbypass, balance |
| ra12 | power, source, volume, mute, bass, treble, playControl, frequency, brightness, tcbypass, balance |
| rt09 | power, source, playControl, brightness |
| rt11 | power, source, brightness |
| rt1570 | power, source, brightness |
+| s5 | power, brightness |
| t11 | power, source, brightness |
| t14 | power, source, brightness |
| x3 | power, source, volume, mute, bass, treble, frequency, brightness, tcbypass, balance |
public static final String THING_TYPE_ID_RT1570 = "rt1570";
public static final String THING_TYPE_ID_T11 = "t11";
public static final String THING_TYPE_ID_T14 = "t14";
+ public static final String THING_TYPE_ID_M8 = "m8";
public static final String THING_TYPE_ID_P5 = "p5";
+ public static final String THING_TYPE_ID_S5 = "s5";
public static final String THING_TYPE_ID_X3 = "x3";
public static final String THING_TYPE_ID_X5 = "x5";
public static final ThingTypeUID THING_TYPE_RT1570 = new ThingTypeUID(BINDING_ID, THING_TYPE_ID_RT1570);
public static final ThingTypeUID THING_TYPE_T11 = new ThingTypeUID(BINDING_ID, THING_TYPE_ID_T11);
public static final ThingTypeUID THING_TYPE_T14 = new ThingTypeUID(BINDING_ID, THING_TYPE_ID_T14);
+ public static final ThingTypeUID THING_TYPE_M8 = new ThingTypeUID(BINDING_ID, THING_TYPE_ID_M8);
public static final ThingTypeUID THING_TYPE_P5 = new ThingTypeUID(BINDING_ID, THING_TYPE_ID_P5);
+ public static final ThingTypeUID THING_TYPE_S5 = new ThingTypeUID(BINDING_ID, THING_TYPE_ID_S5);
public static final ThingTypeUID THING_TYPE_X3 = new ThingTypeUID(BINDING_ID, THING_TYPE_ID_X3);
public static final ThingTypeUID THING_TYPE_X5 = new ThingTypeUID(BINDING_ID, THING_TYPE_ID_X5);
THING_TYPE_RA12, THING_TYPE_RA1570, THING_TYPE_RA1572, THING_TYPE_RA1592, THING_TYPE_RAP1580,
THING_TYPE_RC1570, THING_TYPE_RC1572, THING_TYPE_RC1590, THING_TYPE_RCD1570, THING_TYPE_RCD1572,
THING_TYPE_RCX1500, THING_TYPE_RDD1580, THING_TYPE_RDG1520, THING_TYPE_RSP1576, THING_TYPE_RSP1582,
- THING_TYPE_RT09, THING_TYPE_RT11, THING_TYPE_RT1570, THING_TYPE_T11, THING_TYPE_T14, THING_TYPE_P5,
- THING_TYPE_X3, THING_TYPE_X5)
+ THING_TYPE_RT09, THING_TYPE_RT11, THING_TYPE_RT1570, THING_TYPE_T11, THING_TYPE_T14, THING_TYPE_M8,
+ THING_TYPE_P5, THING_TYPE_S5, THING_TYPE_X3, THING_TYPE_X5)
.collect(Collectors.toSet()));
private final SerialPortManager serialPortManager;
RT1570("RT-1570", 115200, 14, null, false, null, false, -1, false, true, 6, 0, NO_SPECIAL_CHARACTERS),
T11("T11", 115200, 12, null, false, null, false, -1, false, true, 6, 0, NO_SPECIAL_CHARACTERS),
T14("T14", 115200, 13, null, false, null, false, -1, false, true, 6, 0, NO_SPECIAL_CHARACTERS),
+ M8("M8", 115200, 0, null, false, null, false, -1, false, true, 4, 0, NO_SPECIAL_CHARACTERS),
P5("P5", 115200, 20, 96, true, 10, 10, false, -1, true, false, true, 4, 0, NO_SPECIAL_CHARACTERS),
+ S5("S5", 115200, 0, null, false, null, false, -1, false, true, 4, 0, NO_SPECIAL_CHARACTERS),
X3("X3", 115200, 18, 96, true, 10, 10, false, -1, true, false, true, 4, 0, NO_SPECIAL_CHARACTERS),
X5("X5", 115200, 19, 96, true, 10, 10, false, -1, true, false, true, 4, 0, NO_SPECIAL_CHARACTERS);
case THING_TYPE_ID_T14:
model = RotelModel.T14;
break;
+ case THING_TYPE_ID_M8:
+ model = RotelModel.M8;
+ break;
case THING_TYPE_ID_P5:
model = RotelModel.P5;
break;
+ case THING_TYPE_ID_S5:
+ model = RotelModel.S5;
+ break;
case THING_TYPE_ID_X3:
model = RotelModel.X3;
break;
thing-type.rotel.cd11.description = Connection to the Rotel CD11 CD player
thing-type.rotel.cd14.label = CD14 CD Player
thing-type.rotel.cd14.description = Connection to the Rotel CD14 or CD14MKII CD player
+thing-type.rotel.m8.label = M8 Monoblock Amplifier
+thing-type.rotel.m8.description = Connection to the Rotel Michi M8 monoblock amplifier
thing-type.rotel.p5.label = P5 Stereo Preamplifier
thing-type.rotel.p5.description = Connection to the Rotel Michi P5 stereo preamplifier
thing-type.rotel.ra11.label = RA-11 Integrated Amplifier
thing-type.rotel.rt11.description = Connection to the Rotel RT-11 tuner
thing-type.rotel.rt1570.label = RT-1570 Tuner
thing-type.rotel.rt1570.description = Connection to the Rotel RT-1570 tuner
+thing-type.rotel.s5.label = S5 Stereo Amplifier
+thing-type.rotel.s5.description = Connection to the Rotel Michi S5 stereo amplifier
thing-type.rotel.t11.label = T11 Tuner
thing-type.rotel.t11.description = Connection to the Rotel T11 tuner
thing-type.rotel.t14.label = T14 Tuner
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<thing:thing-descriptions bindingId="rotel"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
+ xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
+
+ <!-- Rotel M8 Connection Thing Type -->
+ <thing-type id="m8">
+ <label>M8 Monoblock Amplifier</label>
+ <description>Connection to the Rotel Michi M8 monoblock amplifier</description>
+
+ <channels>
+ <channel id="power" typeId="system.power"/>
+ <channel id="brightness" typeId="brightness"/>
+ </channels>
+
+ <properties>
+ <property name="protocol">ASCII_V2</property>
+ </properties>
+
+ <config-description-ref uri="thing-type:rotel:serialandip"/>
+ </thing-type>
+
+</thing:thing-descriptions>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<thing:thing-descriptions bindingId="rotel"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
+ xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
+
+ <!-- Rotel S5 Connection Thing Type -->
+ <thing-type id="s5">
+ <label>S5 Stereo Amplifier</label>
+ <description>Connection to the Rotel Michi S5 stereo amplifier</description>
+
+ <channels>
+ <channel id="power" typeId="system.power"/>
+ <channel id="brightness" typeId="brightness"/>
+ </channels>
+
+ <properties>
+ <property name="protocol">ASCII_V2</property>
+ </properties>
+
+ <config-description-ref uri="thing-type:rotel:serialandip"/>
+ </thing-type>
+
+</thing:thing-descriptions>