Skip to content

Commit f3632c0

Browse files
committed
Add Plus/Pro Dimmers to the binding
Signed-off-by: Markus Michels <markus7017@gmail.com>
1 parent c417fe3 commit f3632c0

26 files changed

Lines changed: 793 additions & 685 deletions

bundles/org.openhab.binding.shelly/README.md

Lines changed: 50 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ See section [Discovery](#discovery) for details.
101101
| shellyplusstrip | Shelly Plus Power Strip 4 | S4PL-00416EU |
102102
| shellyplusi4 | Shelly Plus i4 with 4x AC input | SNSN-0024X, S3SN-0024X |
103103
| shellyplusi4dc | Shelly Plus i4 with 4x DC input | SNSN-0D24X |
104-
| shellyplus10v | Shelly Plus Dimmer 0/10V (Gen 2) or 0/1/10V (Gen 3) | SNDM-00100WW, S3DM-0010WW |
104+
| shellyplus10v | Shelly Plus Dimmer 0-10V (Gen 2) or 0/1-10V (Gen 3) | SNDM-00100WW, SNGW-0A11WW010, S3DM-0010WW |
105105
| shellyplusuni | Shelly Plus UNI | SNSN-0043X |
106106
| shellyplusht | Shelly Plus HT with temperature + humidity sensor | SNSN-0013A, S3SN-0U12A |
107107
| shellyplussmoke | Shelly Plus Smoke sensor | SNSN-0031Z |
108108
| shellypluswdus | Shelly Plus Wall Dimmer US | SNDM-0013US |
109-
| shellyplusdimmer | Shelly Plus Dimmer Gen 3 | S3DM-0A101WWL |
109+
| shellyplusdimmer | Shelly Plus Dimmer | S3DM-0A101WWL, S4DM-0A101WWL |
110110
| shellyplusrgbwpm | Shelly Plus RGBW PM | SNDC-0D4P10WW |
111111
| shellywalldisplay | Shelly Plus Wall Display | SAWD-0A1XX10EU1 |
112112
| shellyblugw | Shelly BLU Gateway | SNGW-BT01 |
@@ -123,20 +123,24 @@ See section [Discovery](#discovery) for details.
123123

124124
### Shelly Pro Series (Generation 2+3)
125125

126-
| thing-type | Model | Vendor ID |
127-
| ------------------- | -------------------------------------------------------- | ---------------------------------------------- |
128-
| shellypro1 | Shelly Pro 1 with 1x relay | SPSW-001XE16EU, SPSW-101XE16EU, SPSW-201XE16EU |
129-
| shellypro1pm | Shelly Pro 1 PM with 1x relay + power meter | SPSW-001PE16EU, SPSW-101PE16EU, SPSW-201PE16EU |
130-
| shellypro1cb | Shelly Pro 1 Circuit Breaker with 1x relay + volt meter | SPCB-01VENEU |
131-
| shellypro2-relay | Shelly Pro 2 with 2x relay, relay mode | SPSW-002XE16EU, SPSW-102XE16EU, SPSW-202XE16EU |
132-
| shellypro2pm-relay | Shelly Pro 2 PM with 2x relay + power meter, relay mode | SPSW-002PE16EU, SPSW-102PE16EU, SPSW-202PE16EU |
133-
| shellypro2pm-roller | Shelly Pro 2 PM with 2x relay + power meter, roller mode | SPSW-002PE16EU, SPSW-102PE16EU, SPSW-202PE16EU |
134-
| shellypro3 | Shelly Pro 3 with 3x relay (dry contacts) | SPSW-003XE16EU |
135-
| shellypro4pm | Shelly Pro 4 PM with 4x relay + power meter | SHPSW04P, SPSW-004PE16EU, SPSW-104PE16EU |
136-
| shellyproem50 | Shelly Pro EM-50 - 2 channel, single phase energy meter | SPEM-002CEBEU50 |
137-
| shellypro3em | Shelly Pro 3EM - 3-phase energy meter | SPEM-003CEBEU, SPEM-003CEBEU120 |
138-
| shellypro3em3ct63 | Shelly Pro 3EM-3CT63 - single or three-phase energy meter| SPEM-003CEBEU63 |
139-
| shellypro3em400 | Shelly Pro 3EM-400 - 3-phase energy meter | SPEM-003CEBEU400 |
126+
| thing-type | Model | Vendor ID |
127+
| --------------------- | ----------------------------------------------------------- | ---------------------------------------------- |
128+
| shellypro1 | Shelly Pro 1 with 1x relay | SPSW-001XE16EU, SPSW-101XE16EU, SPSW-201XE16EU |
129+
| shellypro1pm | Shelly Pro 1 PM with 1x relay + power meter | SPSW-001PE16EU, SPSW-101PE16EU, SPSW-201PE16EU |
130+
| shellypro1cb | Shelly Pro 1 Circuit Breaker with 1x relay + volt meter | SPCB-01VENEU |
131+
| shellypro2-relay | Shelly Pro 2 with 2x relay, relay mode | SPSW-002XE16EU, SPSW-102XE16EU, SPSW-202XE16EU |
132+
| shellypro2pm-relay | Shelly Pro 2 PM with 2x relay + power meter, relay mode | SPSW-002PE16EU, SPSW-102PE16EU, SPSW-202PE16EU |
133+
| shellypro2pm-roller | Shelly Pro 2 PM with 2x relay + power meter, roller mode | SPSW-002PE16EU, SPSW-102PE16EU, SPSW-202PE16EU |
134+
| shellypro3 | Shelly Pro 3 with 3x relay (dry contacts) | SPSW-003XE16EU |
135+
| shellypro4pm | Shelly Pro 4 PM with 4x relay + power meter | SHPSW04P, SPSW-004PE16EU, SPSW-104PE16EU |
136+
| shellyproem50 | Shelly Pro EM-50 - 2 channel, single phase energy meter | SPEM-002CEBEU50 |
137+
| shellypro3em | Shelly Pro 3EM - 3-phase energy meter | SPEM-003CEBEU, SPEM-003CEBEU120 |
138+
| shellypro3em3ct63 | Shelly Pro 3EM-3CT63 - single or three-phase energy meter | SPEM-003CEBEU63 |
139+
| shellypro3em400 | Shelly Pro 3EM-400 - 3-phase energy meter | SPEM-003CEBEU400 |
140+
| shellyproprodimmer1pm | Shelly Pro 1PM - Smart dimmer with power monitoring | SPDM-001PE01EU |
141+
| shellyproprodimmer2pm | Shelly Pro 1PM - Dual channel smart dimmer with power meter | SPDM-002PE01EU |
142+
| shellyproprodimmer10v | Shelly Pro 0/1-10VPM - Manage 0/1-10V dimming drivers | SPCC-001PE10EU |
143+
140144

141145
### Shelly BLU
142146

@@ -448,7 +452,6 @@ The following trigger types are sent:
448452
| LONG_PRESSED | The button was pressed for a longer time (lastEvent=L) |
449453
| SHORT_LONG_PRESSED | A short followed by a long button push (lastEvent=SL) |
450454
| LONG_SHORT_PRESSED | A long followed by a short button push (lastEvent=LS) |
451-
| HOLDING | Button held for at least 3 sec |
452455

453456
Check the channel definitions for the various devices to see if the device supports those events.
454457
You could use the Shelly App to set the timing for those events.
@@ -1521,6 +1524,36 @@ Channels lastEvent and eventCount are only available if input type is set to mom
15211524
| | lastUpdate | DateTime | yes | Timestamp of the last measurement |
15221525
| | frequency | Number | yes | Measure frequency (Hz) |
15231526

1527+
### Shelly Plus EM (thing-type: shellyemmini)
1528+
1529+
| Group | Channel | Type | read-only | Description |
1530+
| ------ | ------------- | -------- | --------- | --------------------------------------------------------------------------------- |
1531+
| relay | output | Switch | r/w | Controls the relay's output channel (on/off) |
1532+
| | outputName | String | yes | Logical name of this relay output as configured in the Shelly App |
1533+
| | input | Switch | yes | ON: Input/Button is powered, see general notes on channels |
1534+
| | button | Trigger | yes | Event trigger, see section Button Events |
1535+
| | lastEvent | String | yes | Last event type (S/SS/SSS/L) |
1536+
| | eventCount | Number | yes | Counter gets incremented every time the device issues a button event. |
1537+
| | autoOn | Number | r/w | Relay #1: Sets a timer to turn the device ON after every OFF command; in seconds |
1538+
| | autoOff | Number | r/w | Relay #1: Sets a timer to turn the device OFF after every ON command; in seconds |
1539+
| | timerActive | Switch | yes | Relay #1: ON: An auto-on/off timer is active |
1540+
| meter1 | currentWatts | Number | yes | Current power consumption in Watts |
1541+
| | totalKWH | Number | yes | Total energy consumption in kwh since the device powered up (resets on restart) |
1542+
| | returnedKWH | Number | yes | Total returned energy, kwh |
1543+
| | reactiveWatts | Number | yes | Instantaneous reactive power, Watts |
1544+
| | voltage | Number | yes | RMS voltage, Volts |
1545+
| | powerFactor | Number | yes | Power Factor in percent |
1546+
| | lastUpdate | DateTime | yes | Timestamp of the last measurement |
1547+
| | frequency | Number | yes | Measure frequency (Hz) |
1548+
| meter2 | currentWatts | Number | yes | Current power consumption in Watts |
1549+
| | totalKWH | Number | yes | Total energy consumption in kwh since the device powered up (resets on restart) |
1550+
| | returnedKWH | Number | yes | Total returned energy, kwh |
1551+
| | reactiveWatts | Number | yes | Instantaneous reactive power, Watts |
1552+
| | voltage | Number | yes | RMS voltage, Volts |
1553+
| | powerFactor | Number | yes | Power Factor in percent |
1554+
| | lastUpdate | DateTime | yes | Timestamp of the last measurement |
1555+
| | frequency | Number | yes | Measure frequency (Hz) |
1556+
15241557
## Shelly Pro Series
15251558

15261559
### Shelly Pro 1 (thing-type: shellypro1)

0 commit comments

Comments
 (0)