mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-29 12:34:21 +02:00
[shelly] Add support for Shelly BLU Gateway Gen3 (#18174)
* Support for Shelly BLU Gateway Gen3 Signed-off-by: Markus Michels <markus7017@gmail.com>
This commit is contained in:
@@ -127,12 +127,14 @@ See section [Discovery](#discovery) for details.
|
||||
|
||||
### Shelly BLU
|
||||
|
||||
| thing-type | Model | Vendor ID |
|
||||
| ----------------- | ------------------------------------------------------ | --------- |
|
||||
| shellyblubutton | Shelly BLU Button 1 | SBBT |
|
||||
| shellybludw | Shelly BLU Door/Windows | SBDW |
|
||||
| shellyblumotion | Shelly BLU Motion | SBMO |
|
||||
| shellybluht | Shelly BLU H&T | SBMO |
|
||||
| thing-type | Model | Vendor ID |
|
||||
| ----------------- | ------------------------------------------------------ | ----------------------- |
|
||||
| shellyblubutton | Shelly BLU Button 1 | SBBT |
|
||||
| shellybludw | Shelly BLU Door/Windows | SBDW |
|
||||
| shellyblumotion | Shelly BLU Motion | SBMO |
|
||||
| shellybluht | Shelly BLU H&T | SBMO |
|
||||
| shellyblugw | Shelly BLU Gateway | SNGW-BT01 |
|
||||
| shellyblugw3 | Shelly BLU Gateway 3 | S3GW-1DBT001 |
|
||||
|
||||
### Special Thing Types
|
||||
|
||||
@@ -1607,7 +1609,7 @@ See notes on discovery of Shelly BLU devices above.
|
||||
| battery | batteryLevel | Number | yes | Battery Level in % |
|
||||
| | lowBattery | Switch | yes | Low battery alert (< 20%) |
|
||||
|
||||
## Shelly BLU Gateway (thing-type: shellyblugw)
|
||||
## Shelly BLU Gateway (thing-type: shellyblugw, shellyblugw3)
|
||||
|
||||
There are no additional channels beside the device group.
|
||||
|
||||
|
||||
+10
@@ -135,6 +135,7 @@ public class ShellyThingCreator {
|
||||
public static final String SHELLYDT_BLUMOTION = "SBMO";
|
||||
public static final String SHELLYDT_BLUHT = "SBHT";
|
||||
public static final String SHELLYDT_BLUGW = "SNGW-BT01";
|
||||
public static final String SHELLYDT_BLUGWG3 = "S3GW-1DBT001";
|
||||
|
||||
// Thing names
|
||||
public static final String THING_TYPE_SHELLY1_STR = "shelly1";
|
||||
@@ -226,6 +227,7 @@ public class ShellyThingCreator {
|
||||
public static final String THING_TYPE_SHELLYBLUMOTION_STR = THING_TYPE_SHELLYBLU_PREFIX + "motion";
|
||||
public static final String THING_TYPE_SHELLYBLUHT_STR = THING_TYPE_SHELLYBLU_PREFIX + "ht";
|
||||
public static final String THING_TYPE_SHELLYBLUGW_STR = THING_TYPE_SHELLYBLU_PREFIX + "gw";
|
||||
public static final String THING_TYPE_SHELLYBLUGWG3_STR = THING_TYPE_SHELLYBLU_PREFIX + "gwg3";
|
||||
|
||||
// Password protected or unknown device
|
||||
public static final String THING_TYPE_SHELLYPROTECTED_STR = "shellydevice";
|
||||
@@ -454,6 +456,7 @@ public class ShellyThingCreator {
|
||||
THING_TYPE_MAPPING.put(SHELLYDT_BLUMOTION, THING_TYPE_SHELLYBLUMOTION_STR);
|
||||
THING_TYPE_MAPPING.put(SHELLYDT_BLUHT, THING_TYPE_SHELLYBLUHT_STR);
|
||||
THING_TYPE_MAPPING.put(SHELLYDT_BLUGW, THING_TYPE_SHELLYBLUGW_STR);
|
||||
THING_TYPE_MAPPING.put(SHELLYDT_BLUGWG3, THING_TYPE_SHELLYBLUGW_STR);
|
||||
|
||||
// Wall displays
|
||||
THING_TYPE_MAPPING.put(SHELLYDT_PLUSWALLDISPLAY, THING_TYPE_SHELLYPLUSWALLDISPLAY_STR);
|
||||
@@ -527,6 +530,13 @@ public class ShellyThingCreator {
|
||||
THING_TYPE_MAPPING.put(THING_TYPE_SHELLYPRO3_STR, THING_TYPE_SHELLYPRO3_STR);
|
||||
THING_TYPE_MAPPING.put(THING_TYPE_SHELLYPRO4PM_STR, THING_TYPE_SHELLYPRO4PM_STR);
|
||||
|
||||
THING_TYPE_MAPPING.put(THING_TYPE_SHELLYBLUBUTTON_STR, THING_TYPE_SHELLYBLUBUTTON_STR);
|
||||
THING_TYPE_MAPPING.put(THING_TYPE_SHELLYBLUDW_STR, THING_TYPE_SHELLYBLUDW_STR);
|
||||
THING_TYPE_MAPPING.put(THING_TYPE_SHELLYBLUMOTION_STR, THING_TYPE_SHELLYBLUMOTION_STR);
|
||||
THING_TYPE_MAPPING.put(THING_TYPE_SHELLYBLUHT_STR, THING_TYPE_SHELLYBLUHT_STR);
|
||||
THING_TYPE_MAPPING.put(THING_TYPE_SHELLYBLUGW_STR, THING_TYPE_SHELLYBLUGW_STR);
|
||||
THING_TYPE_MAPPING.put(THING_TYPE_SHELLYBLUGWG3_STR, THING_TYPE_SHELLYBLUGW_STR);
|
||||
|
||||
THING_TYPE_MAPPING.put(THING_TYPE_SHELLYPROTECTED_STR, THING_TYPE_SHELLYPROTECTED_STR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user