sbidy / pywizlight

A python connector for WiZ devices
MIT License
463 stars 79 forks source link

Add support for ESP15_SHRGB1S_01I #34

Closed henryruhs closed 3 years ago

henryruhs commented 3 years ago

Hey,

this PR is related to bulb: https://www.amazon.de/gp/product/B07YLW52MK

Error

I got the exception using get_bulbtype():

raise WizLightNotKnownBulb("The bulb is unknown to the intergration.")

Config

So I debugged it using getBulbConfig and got the following config:

{
  'method': 'getSystemConfig',
  'env': 'pro',
  'result': {
    'mac': 'xxx',
    'homeId': 12345,
    'roomId': 12345,
    'moduleName': 'ESP15_SHRGB1S_01I',
    'fwVersion': '1.21.0',
    'groupId': 0,
    'drvConf': [
      36,
      1
    ],
    'ewf': [
      200,
      255,
      255,
      255,
      0,
      0,
      0
    ],
    'ewfHex': 'c8ffffff000000',
    'ping': 0
  }
}

Therfore extending the `BULBLIST``with the entry of this pull request solved the issue for me.

henryruhs commented 3 years ago

@sbidy It would be nice to create an release for that - otherwise this is a blocker to release Chroma Feedback 8.0.0

sbidy commented 3 years ago

See in 0.4.2

henryruhs commented 3 years ago

@sbidy Awesome - you are the best... I could now cleanup my code