Skip to content

Commit

Permalink
[rfxcom] New sub types for undecoded messages (openhab#10834)
Browse files Browse the repository at this point in the history
New subtypes have been added to the firmware, these are taken from the
RFXtrx SDK documentation.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
  • Loading branch information
Jamstah authored and frederictobiasc committed Oct 26, 2021
1 parent 2951a14 commit 984e275
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bundles/org.openhab.binding.rfxcom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,10 @@ Any messages that RFXCOM can receive but not decode.
* RTS - RTS
* SELECT\_PLUS - Select Plus
* HOME\_CONFORT - Home Confort

* EDISIO - Edisio
* HONEYWELL - Honeywell
* FUNKBUS - Gira Funk-Bussystem
* BYRONSX - Byron SX

### uv - RFXCOM UV/Temperature Sensor

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ public enum SubType implements ByteEnumWrapper {
RTS(0x14),
SELECT_PLUS(0x15),
HOME_CONFORT(0x16),
EDISIO(0x17),
HONEYWELL(0x18),
FUNKBUS(0x19),
BYRONSX(0x1A),

UNKNOWN(0xFF);

Expand All @@ -85,7 +89,7 @@ public static SubType fromByte(int input) {
}

public SubType subType;
public byte[] rawPayload = new byte[0];
public byte[] rawPayload;

public RFXComUndecodedRFMessage() {
super(UNDECODED_RF_MESSAGE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
<option value="RTS">RTS</option>
<option value="SELECT_PLUS">Select Plus</option>
<option value="HOME_CONFORT">Home Confort</option>
<option value="EDISIO">Edisio</option>
<option value="HONEYWELL">Honeywell</option>
<option value="FUNKBUS">Gira Funk-Bussystem</option>
<option value="BYRONSX">Byron SX</option>
</options>
</parameter>
</config-description>
Expand Down

0 comments on commit 984e275

Please sign in to comment.