Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SKU to products.json (LIFX Mini variant?) #9

Closed
danielHHHH opened this issue Jul 9, 2018 · 1 comment
Closed

Add SKU to products.json (LIFX Mini variant?) #9

danielHHHH opened this issue Jul 9, 2018 · 1 comment

Comments

@danielHHHH
Copy link

I have a LIFX Mini (productID 59) that's not properly loaded since products.json doesn't include its metadata. However, LIFX doesn't include this product ID in their API documentation. I'm not sure if this is an updated SKU or variant of LIFX Mini (productID 49). The bulb was purchased as part of their multi-pack so maybe it's defined as a separate product ID? Let me know if I should include any additional info about the light.

Model # L3A19MC08E26

Here's the payload from LifxLanParser._parsePayload (without modifying products.json):

{ vendorId: 1,
  vendorName: 'LIFX',
  productId: 59,
  productName: '',
  hwVersion: 0,
  features: null }

I'm currently working around this by appending the following in products.json:

{
  "pid": 59,
  "name": "LIFX Mini",
  "features": {
    "color": true,
    "infrared": false,
    "multizone": false
  }
}
@futomi
Copy link
Owner

futomi commented Jul 10, 2018

Thank you so much for your feedback. I updated the products.json. Try the latest version.

@futomi futomi closed this as completed Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants