Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ For the first generation, see [node-shellies](https://github.com/alexryd/node-sh

## Supported devices

* [Shelly Plus 1](https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPlus1)
* [Shelly Plus 1 PM](https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPlus1PM)
* [Shelly Plus 1 (Mini)](https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPlus1)
* [Shelly Plus 1 PM (Mini)](https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPlus1PM)
* [Shelly Plus 2 PM](https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPlus2PM)
* [Shelly Plus I4](https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPlusI4)
* [Shelly Plus Plug US](https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPlugUS)
Expand Down
7 changes: 7 additions & 0 deletions src/devices/shelly-plus-1-pm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,10 @@ export class ShellyPlus1PmUl extends ShellyPlus1Pm {
}

Device.registerClass(ShellyPlus1PmUl);

export class ShellyPlus1PmMini extends ShellyPlus1Pm {
static readonly model: string = 'SNSW-001P8EU';
}

Device.registerClass(ShellyPlus1PmMini);

6 changes: 6 additions & 0 deletions src/devices/shelly-plus-1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,9 @@ export class ShellyPlus1Ul extends ShellyPlus1 {
}

Device.registerClass(ShellyPlus1Ul);

export class ShellyPlus1Mini extends ShellyPlus1 {
static readonly model: string = 'SNSW-001X8EU';
}

Device.registerClass(ShellyPlus1Mini);