peter-murray / node-hue-api

Node.js Library for interacting with the Philips Hue Bridge and Lights
Apache License 2.0
1.18k stars 145 forks source link

Living Whites Plug not controlable with v3 #141

Closed foxriver76 closed 4 years ago

foxriver76 commented 4 years ago

Like in our other conversation about Osram Smart Plugs one of my users is using an old Philips Living Whites Plug.

With node-hue-api v2 he could control it. With v3 the error is: Error: Unknown type, Dimmable plug-in unit

If you need more information, please let me know.

foxriver76 commented 4 years ago
{"state":{"on":true,"bri":254,"alert":"select","mode":"homeautomation","reachable":true},"swupdate":{"state":"notupdatable","lastinstall":null},"type":"Dimmable plug-in unit","name":"Weihnachten Terrassenfenster","modelid":"LWL001","manufacturername":"Philips","productname":"LivingWhites Plug","capabilities":{"certified":true,"control":{},"streaming":{"renderer":false,"proxy":false}},"config":{"archetype":"plug","function":"functional","direction":"omnidirectional"},"uniqueid":"00:17:88:01:00:2f:80:b1-0c","swversion":"1.0.1.4591"}
peter-murray commented 4 years ago

Thanks, will sort that tomorrow for you.

This was one of the reasons I did not originally go with matching of types to instance objects... starting to regret the decision to match to types as there is no definitive list of types that are supported.

peter-murray commented 4 years ago

3.3.2 is in the npm registry that should resolve this