[rfxcom] Updates / small fixes (#12037)

* [rfxcom] Updates / small fixes

Added support for:
 - CHIME - Alfawise, dBell
 - HUMIDITY - HUM3 - Inovalley S80 plant humidity sensor
 - LIGHTING1 - Oase Inscenio FM Master

Fixes #10251

Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
This commit is contained in:
Martin van Wingerden 2022-01-13 14:12:19 +01:00 committed by GitHub
parent a4c579b753
commit 71011b2431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 34 additions and 21 deletions

View File

@ -324,11 +324,12 @@ A Chime device
* subType - Sub Type
* Specifies device sub type.
* BYRONSX - Byron SX
* BYRONMP001 - Byron MP001
* SELECTPLUS - SelectPlus
* SELECTPLUS3 - SelectPlus3
* ENVIVO - Envivo
* BYRONSX - Byron SX
* BYRONMP001 - Byron MP001
* SELECTPLUS - SelectPlus
* SELECTPLUS3 - SelectPlus3
* ENVIVO - Envivo
* ALFAWISE_DBELL - Alfawise, dBell
### current - RFXCOM Current Sensor
@ -609,6 +610,7 @@ A Humidity device
* HUM1 - LaCrosse TX3
* HUM2 - LaCrosse WS2300
* HUM3 - Inovalley S80 plant humidity sensor
### lighting1 - RFXCOM Lighting1 Actuator
@ -642,18 +644,19 @@ A Lighting1 device
* subType - Sub Type
* Specifies device sub type.
* X10 - X10 lighting
* ARC - ARC
* AB400D - ELRO AB400D (Flamingo)
* WAVEMAN - Waveman
* EMW200 - Chacon EMW200
* IMPULS - IMPULS
* RISINGSUN - RisingSun
* PHILIPS - Philips SBC
* ENERGENIE - Energenie ENER010
* ENERGENIE\_5 - Energenie 5-gang
* COCO - COCO GDR2-2000R
* HQ\_COCO20 - HQ COCO-20
* X10 - X10 lighting
* ARC - ARC
* AB400D - ELRO AB400D (Flamingo)
* WAVEMAN - Waveman
* EMW200 - Chacon EMW200
* IMPULS - IMPULS
* RISINGSUN - RisingSun
* PHILIPS - Philips SBC
* ENERGENIE - Energenie ENER010
* ENERGENIE\_5 - Energenie 5-gang
* COCO - COCO GDR2-2000R
* HQ\_COCO20 - HQ COCO-20
* OASE_INSCENIO_FM_N - Oase Inscenio FM Master
### lighting2 - RFXCOM Lighting2 Actuator

View File

@ -37,7 +37,8 @@ public class RFXComChimeMessage extends RFXComDeviceMessageImpl<RFXComChimeMessa
BYRONMP001(1),
SELECTPLUS(2),
SELECTPLUS3(3),
ENVIVO(4);
ENVIVO(4),
ALFAWISE_DBELL(5);
private final int subType;
@ -91,6 +92,7 @@ public class RFXComChimeMessage extends RFXComDeviceMessageImpl<RFXComChimeMessa
case SELECTPLUS:
case SELECTPLUS3:
case ENVIVO:
case ALFAWISE_DBELL:
sensorId = (data[4] & 0xFF) << 16 | (data[5] & 0xFF) << 8 | (data[6] & 0xFF);
chimeSound = 1;
break;
@ -118,6 +120,7 @@ public class RFXComChimeMessage extends RFXComDeviceMessageImpl<RFXComChimeMessa
case SELECTPLUS:
case SELECTPLUS3:
case ENVIVO:
case ALFAWISE_DBELL:
data[4] = (byte) ((sensorId & 0xFF0000) >> 16);
data[5] = (byte) ((sensorId & 0x00FF00) >> 8);
data[6] = (byte) ((sensorId & 0x0000FF));

View File

@ -49,7 +49,8 @@ public class RFXComLighting1Message extends RFXComDeviceMessageImpl<RFXComLighti
ENERGENIE(8),
ENERGENIE_5(9),
COCO(10),
HQ_COCO20(11);
HQ_COCO20(11),
OASE_INSCENIO_FM_N(12);
private final int subType;

View File

@ -119,6 +119,7 @@ thing-type.config.rfxcom.chime.subType.option.BYRONMP001 = Byron MP001
thing-type.config.rfxcom.chime.subType.option.SELECTPLUS = SelectPlus
thing-type.config.rfxcom.chime.subType.option.SELECTPLUS3 = SelectPlus3
thing-type.config.rfxcom.chime.subType.option.ENVIVO = Envivo
thing-type.config.rfxcom.chime.subType.option.ALFAWISE_DBELL = Alfawise, dBell
thing-type.config.rfxcom.current.deviceId.description = Sensor Id. Example 5693
thing-type.config.rfxcom.current.subType.option.ELEC1 = CM113
thing-type.config.rfxcom.currentenergy.deviceId.description = Sensor Id. Example 47104
@ -162,6 +163,7 @@ thing-type.config.rfxcom.homeconfort.deviceId.description = Device Id. Unit ID +
thing-type.config.rfxcom.humidity.deviceId.description = Sensor Id. Example 5693
thing-type.config.rfxcom.humidity.subType.option.HUM1 = LaCrosse TX3
thing-type.config.rfxcom.humidity.subType.option.HUM2 = LaCrosse WS2300
thing-type.config.rfxcom.humidity.subType.option.HUM3 = Inovalley S80 plant humidity sensor
thing-type.config.rfxcom.lighting1.deviceId.description = Device Id. House code + unit code, separated by dot. Example A.1
thing-type.config.rfxcom.lighting1.subType.option.X10 = X10 lighting
thing-type.config.rfxcom.lighting1.subType.option.ARC = ARC
@ -175,6 +177,7 @@ thing-type.config.rfxcom.lighting1.subType.option.ENERGENIE = Energenie ENER010
thing-type.config.rfxcom.lighting1.subType.option.ENERGENIE_5 = Energenie 5-gang
thing-type.config.rfxcom.lighting1.subType.option.COCO = COCO GDR2-2000R
thing-type.config.rfxcom.lighting1.subType.option.HQ_COCO20 = HQ COCO-20
thing-type.config.rfxcom.lighting1.subType.option.OASE_INSCENIO_FM_N = Oase Inscenio FM Master
thing-type.config.rfxcom.lighting2.deviceId.description = Remote/switch/unit Id + unit code, separated by dot. Example 8773718.10
thing-type.config.rfxcom.lighting2.subType.option.AC = AC
thing-type.config.rfxcom.lighting2.subType.option.HOME_EASY_EU = HomeEasy EU

View File

@ -173,7 +173,7 @@
<item-type>Number</item-type>
<label>Total Usage</label>
<description>Used energy in Watt hours</description>
<state pattern="%d Wh" readOnly="true"></state>
<state pattern="%.2f Wh" readOnly="true"></state>
</channel-type>
<channel-type id="instantamp" advanced="true">

View File

@ -29,11 +29,12 @@
<label>@text/config.subType.label</label>
<description>@text/config.subType.description</description>
<options>
<option value="ALFAWISE_DBELL">Alfawise, dBell</option>
<option value="BYRONSX">Byron SX</option>
<option value="BYRONMP001">Byron MP001</option>
<option value="ENVIVO">Envivo</option>
<option value="SELECTPLUS">SelectPlus</option>
<option value="SELECTPLUS3">SelectPlus3</option>
<option value="ENVIVO">Envivo</option>
</options>
</parameter>
</config-description>

View File

@ -34,6 +34,7 @@
<options>
<option value="HUM1">LaCrosse TX3</option>
<option value="HUM2">LaCrosse WS2300</option>
<option value="HUM3">Inovalley S80 plant humidity sensor</option>
</options>
</parameter>
</config-description>

View File

@ -44,6 +44,7 @@
<option value="ENERGENIE_5">Energenie 5-gang</option>
<option value="COCO">COCO GDR2-2000R</option>
<option value="HQ_COCO20">HQ COCO-20</option>
<option value="OASE_INSCENIO_FM_N">Oase Inscenio FM Master</option>
</options>
</parameter>
</config-description>