Skip to content

Add support for Lohas 9W bulbs #1135

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

Merged
merged 1 commit into from
Aug 25, 2018
Merged

Add support for Lohas 9W bulbs #1135

merged 1 commit into from
Aug 25, 2018

Conversation

steveway
Copy link
Contributor

It seems to be very similar to the ITead Sonoff B1, so it's based on that.
This should be the official product page if I'm not mistaken:
http://www.lohasled.com/9w-a19-p00064p1.html

It seems to be very similar to the ITead Sonoff B1, so it's based on that.
@Wikibear
Copy link

Wikibear commented Aug 22, 2018

Tried out today... Found ITead is similar but not same.

#elif defined(LOHAS 7W RGBW E27)

// Info
#define MANUFACTURER        "LOHAS"
#define DEVICE              "7W RGBW E27"
#define RELAY_PROVIDER      RELAY_PROVIDER_LIGHT
#define LIGHT_PROVIDER      LIGHT_PROVIDER_MY92XX
#define DUMMY_RELAY_COUNT   1

// Light
#define LIGHT_CHANNELS      5
#define MY92XX_MODEL        MY92XX_MODEL_MY9231
#define MY92XX_CHIPS        2
#define MY92XX_DI_PIN       13
#define MY92XX_DCKI_PIN     15
#define MY92XX_COMMAND      MY92XX_COMMAND_DEFAULT
#define MY92XX_MAPPING      0, 1, 2, 3, 4
#define LIGHT_WHITE_FACTOR  (0.1)

You have then 5 Channels: R,G,B and 2 White LED's and at this Point i don't understand if that is well or not.

@xoseperez xoseperez merged commit cfd5368 into xoseperez:dev Aug 25, 2018
@solbergw
Copy link

I tried this out on E26 9W, RGB Works, White temperature does not change. Are there further possible outputs that can be mapped beyond 0-4.

@steveway
Copy link
Contributor Author

Mhh, I moved recently and can't test my light at the moment.
I need to reflash it for that, currently I don't have the ability because I'm missing a place to solder here.
I think if I remember correctly the temperature is controlled by two different sets of white LEDs, I'm not sure if Espurna does support controlling that this way yet.

@Wikibear
Copy link

Are you sure that there is a real white channel??? This Lamp ist RGB only...

@solbergw
Copy link

I cracked open the bulb to find out what was really happening. Channels 0-2 control the RGB LEDs, channel 3 controls (4 white LEDs) and channel 4 controls (4 white LEDs). All 8 of the white LEDs are the same temperature. With the factory installed firmware, I set the bulb to a warm temperature and it uses the white LEDs + the red LEDs. When I set the bulb to a cool temperature it only uses the white LEDs.

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

Successfully merging this pull request may close these issues.

4 participants