| shellybutton2 | Shelly Button 2 | SHBTN-2 |
| shellysense | Shelly Motion and IR Controller | SHSEN-1 |
| shellytrv | Shelly TRV | SHTRV-01 |
-| shellydevice | A password protected Shelly device or an unknown type | |
### Generation 2 Plus series
| shellyplusplug | Shelly Plug-S | SNPL-00112EU |
| shellyplusplug | Shelly Plug-IT | SNPL-00110IT |
| shellyplusplug | Shelly Plug-UK | SNPL-00112UK |
-| shellyplusplug | Shelly Plug-US | SNPL-00116US |
+| shellyplusplugus | Shelly Plug-US | SNPL-00116US |
| shellyplusi4 | Shelly Plus i4 with 4x AC input | SNSN-0024X |
| shellyplusi4dc | Shelly Plus i4 with 4x DC input | SNSN-0D24X |
| shellyplusht | Shelly Plus HT with temperature + humidity sensor | SNSN-0013A |
| shellyplussmoke | Shelly Plus Smoke sensor | SNSN-0031Z |
| shellypluswdus | Shelly Plus Wall Dimmer US | SNDM-0013US |
| shellywalldisplay | Shelly Plus Wall Display | SAWD-0A1XX10EU1 |
+| shellyblugw | SHelly BLU Gateway | SNGW-BT01 |
### Generation 2 Plus Mini series (incl. Gen 3)
| shellypro2pm-roller | Shelly Pro 2 PM with 2x relay + power meter, roller mode | SPSW-002PE16EU, SPSW-102PE16EU, SPSW-202PE16EU |
| shellypro3 | Shelly Pro 3 with 3x relay (dry contacts) | SPSW-003XE16EU |
| shellypro3em | Shelly Pro 3 with 3 integrated power meters | SPEM-003CEBEU |
+| shellyproem50 | Shelly Pro EM50 with 3 integrated power meters | SPEM-002CEBEU50 |
| shellypro4pm | Shelly Pro 4 PM with 4x relay + power meter | SPSW-004PE16EU, SPSW-104PE16EU |
### Shelly BLU
| shellyblumotion | Shelly BLU Motion | SBMO |
| shellybluht | Shelly BLU H&T | SBMO |
+### Special Thing Types
+
+| thing-type | Model | Vendor ID |
+| ----------------- | ------------------------------------------------------ | --------- |
+| shellydevice | A password protected Shelly device or an unknown type | |
+| shellyunknown | An unknown Shelly device / model has been detected | |
+
## Binding Configuration
The binding has the following configuration options:
| battery | batteryLevel | Number | yes | Battery Level in % |
| | lowBattery | Switch | yes | Low battery alert (< 20%) |
+## Shelly BLU Gateway (thing-type: shellyblugw)
+
+There are no additional channels beside the device group.
+
## Shelly Wall Displays
| Group | Channel | Type | read-only | Description |
this.config = getConfigAs(ShellyThingConfiguration.class);
this.httpClient = httpClient;
- Map<String, String> properties = thing.getProperties();
- String gen = getString(properties.get(PROPERTY_DEV_GEN));
+ // Create thing handler depending on device generation
String thingType = getThingType();
blu = ShellyDeviceProfile.isBluSeries(thingType);
- gen2 = "2".equals(gen) || "3".equals(gen) || blu || ShellyDeviceProfile.isGeneration2(thingType);
- this.api = !blu ? !gen2 ? new Shelly1HttpApi(thingName, this) : new Shelly2ApiRpc(thingName, thingTable, this)
- : new ShellyBluApi(thingName, thingTable, this);
+ gen2 = ShellyDeviceProfile.isGeneration2(thingType);
+ if (blu) {
+ this.api = new ShellyBluApi(thingName, thingTable, this);
+ } else if (gen2) {
+ this.api = new Shelly2ApiRpc(thingName, thingTable, this);
+ } else {
+ this.api = new Shelly1HttpApi(thingName, this);
+ }
if (gen2) {
config.eventsCoIoT = false;
}