alexryd / node-shellies-ng

Handles communication with the next generation of Shelly devices
GNU General Public License v3.0
14 stars 30 forks source link

Shelly Pro4PM V2- Device Model "SPSW-104PE16EU" Missing - #1

Open CorsicaPaT opened 1 year ago

CorsicaPaT commented 1 year ago

Hello Guru !

The V2 of Shelly's Pro4PM device type is missing in package "\node-shellies-ng-main\src\devices" . On package we can find an object that support the model V1 or Pro4PM (model: "SPSW-004PE16EU") V2 of Pro4PM's model is "SPSW-104PE16EU"

See in source code (\node-shellies-ng-main\src\devices\shelly-pro-4-pm.ts) ==> export class ShellyPro4Pm extends Device { static readonly model: string = 'SPSW-004PE16EU'; static readonly modelName: string = 'Shelly Pro 4 PM';

Kindly, asking you to add the support of Pro4PM V2 please ?! In advance, thank you.

May the force be with you ! PaT,

PaddeK commented 1 year ago

I added a PR (#2 ) that should add support for this