-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
FEIT BPA800/RGBW/AG/2(P) Template issues #6534
Comments
Paging Dr. @shantur :) |
Don't think that's going to work as they used the SM16716 before. If that is indeed the LED controller, they definitely shifted to a new chip. Anyone had any luck googling for datasheets? |
@Resterday : Can you try to get a clearer photo of chip U1 or the name on it. |
@shantur - I'll borrow a friend's dslr and try and get a better picture tonight. That was the best I could do with my phone. I think the text is: SM726EC but I have been unable to find anything on Google with that. |
I found this comment:
However, I have not had much luck with changing the definitions around. |
I am also seeing this issue with the Costco Feit bulb. I tried 504 combinations for the SM16716's and none of them worked. |
This is getting closer:
Note on the older models we needed Something is still off on the Cold to Warm white LEDs. All the way over for Warm look right, however, as you move toward the center it goes to Cold White then as you move further down it dims. |
I just tried this and can confirm I am getting color now but as you mentioned the cold white is acting strangely |
Looks like the BP800/RGBW/AG/2(P) has two key chips for controlling the WarmWhite and ColdWhite LEDs, the BP5926 and MT7816CS. The BP5926 appears to control the ratio of Cold White to Warm White by PWM input. Here is a relevant clip from google translate:
The MT7816CS appears to be a PWM dimmable constant current LED driver.
|
After setting setoption68 1 I now have 5 toggles on the main screen however they don't control anything until I enter a color command in the console. Is this the expected behavior? If a enter color 0,0,255,0,255 I can then click on/off the 3rd channel button for the blue color or I can click on/off for the 5th channel button for full WW but I can't turn on/off any other color channel. Is the intent to send a color command like color 255,255,255,255,255 so it allows control through the buttons and sliders on the main page? Although if I want to vary the color I'd still have to send it via the color command. |
That is not the behavior I got. You seem to have a different screen than I. I only have one toggle. I am going to do a "Backup Configuration" and "Reset Configuration". Then reapplied the following to be sure I know where I started from. I applied these to "6.6.0(release-sonoff)".
I still only see 1 Toggle on my main menu. And a brightness and CT slider. Results starting after a
I only have one Toggle button and that appears to turn on an off all channels at once. Does anyone know of an option that allows for using one channel for White Brightness and a separate channel to adjust White Color Temperature w/o affecting brightness? |
That's weird because I definitely got 5 toggles. I switched back to Setoption68 0 and see the one toggle now again. I am also using this within Home Assistant and everything appears to be working correctly using this sample template -> https://github.com/arendst/Sonoff-Tasmota/wiki/Home-Assistant-‐-Manual-Config-(Legacy)#rgbw-lights |
@mhightower83 thanks for referencing the other issue. Here is what I have
Home Assistant Config
I can confirm that I am now able to change all colors, initiate effects, and begin to slide the toggle towards 'cool white', but as noted by @mhightower83 as I get about halfway to cool white it starts dimming and the bulb goes dark when about 75% of the way to 'cool white' |
Until better settings are available I am using this:
This creates 4 channels, RGBW, and assigns GPIO5(Warm/Cold) to inverted relay1. A side note, the white brightness range seems to have shrunk on me. In channel terms, the lowest setting before turn off for channel4 is ~40%. It seemed to be lower when 1st turned on. Since the Warm/Cold PWM duty cycle is used to alternately select between Warm or Cold LEDs, I set GPIO5 to relay1 so I could select one or the other with Toggle1. Updated: I misread SetOption68. Removed option. |
@Photo64 Sorry, it looks like I was misreading |
This bahevior for White color temp is similar to Xiaomi Philips bulb from Module 48. Can you try seperately module 48 to only CW and WW GPIO (momentarily dropping RGB) to check it works. If so I can add a SetOption to toggle the cold/Warm mode since we're seeing more bulbs like this. |
@s-hadinger can you give more instructions on what you want to see? We need a model for transmitting color BBGGRRDDCT instead of BBGGRRWWCW. |
As suggested above, probably just an option that treat the excepted (WW,WC) channels as (DD (white dimmer),CT (color temp)) is all that is necessary. I think it should fix both issues. Aside, will HA integration need changes to control this new method? |
@DSuds Can you please test with the following template based on Module 48:
If I read well what's above, GPIO4 controls white brightness and GPIO5 the white temperature color. This template disables RGB all together and will not solve your issue. It's just to confirm that White control works correctly before doing the changes in the code. #6563 is closed and we're continuing discussions in this issue. |
I've tried this template modified for my bulb: I would says it works from the sliders. I have the bulb open. You can see the transition between leds. |
Ok. Thanks for testing. I will see how to integrate in the code. Stay tuned |
Using this template I'm unable to turn the light on/off using the toggle edit: moving it to cold seems to turn the bulb purple. going to warm dims it to off. |
the closest I've been able to get is with this template where the toggle button works, sliding from warm to cold does make it bluer, but when you get all the way over to "cold" it dims to off:
|
Integration of my bulb (just the two channels dimmer and temp) worked fine into HA using digiblur 2 channel mqtt code : https://github.com/digiblur/Sonoff-Tasmota/wiki/Smart-Bulbs @CWhits I had similar behavour with my bulb (just cold and warm light leds). The solution was "base:48" and having the pwm's in the correct order. My final solution is now up: To debug, set your pwm's to relays. You find one relay that will turn on one color of the white leds (set this one to pwm1(37)), and you'll find another that will toggle between the two white colors (pwm2(38)). |
I did not use rgbtable. |
@s-hadinger {"LedTable":"OFF"} Bulb that's listed in the title; from Costco. 🤷 |
@CWhits - there are multiple bulbs with that part number. We're working on the newer ones where the FCC ID ends in G2 For me Version 6.6.0(release-sonoff)-2_3_0 is working pretty well. When set to CT 500 the light comes on at 0000000011 and stays on until it drops below 000000000d. At CT 175 and below the light is out. |
@DSuds, I think you're referring to FCC ID SYW-A19RGBWAGT2 which from my sampling of bulbs carries a model number on the bulb of BPA800/RGBW/AG/2(P). The older bulbs from Costco do not have the "(2)" at the end and have an FCC ID of FCC ID SYW-A19RGBWAGT1. The print is small and it is easy to mistake what you are looking at. It should also be pointed out that the default for Currently, I am running Just did these console commands to start over.
Wait for restart
Wait for restart
At this point, all 5 channels appear to be tracking the Dim/Bright slider. Additional observations: Setting Channel1 through Channel3 resets Channel4 & 5 - IMO this is good. However, setting channel4 and channel5 does not reset channels1 through 3. Regarding RGBW option: The bulb is rated at 9 Watts. The Cold/Warm LED blend draws 9 Watts at full brightness. The RGB LEDs draw 3 Watts at full brightness. The two combined is 12 Watts, exceeding the power rating. The cone base gets pretty hot at 9 Watts. I don't have the original Feit software installed to compare against/reverify; however, I don't think RBG and White combined was an option. I think it was RGB or Warm/Cold. Can anyone confirm this? |
@mhightower83 you nailed it. We know now for sure that this bulb has hardware Gamma correction. Ledtable should be off. Using CT command should automatically turn RGB off. I understand you used Channel command for 4 and 5. Piece of warning, using the Color command gives you unrestricted access to channel values. I.e. |
Even though its closed, it seems like this discussion is still active. Since I haven't been able to find photos online and i bricked my device, I decided to open it up to take some pictures and share. Hope these help! EDIT: These pictures are from a BPA800/RGBW/AG/2(P) from Costco Managed to get the LED board off without any damage using a paint can opener down the hole in the middle. I thought it might crack while I was pulling it out, but it turns out its a solid piece of aluminum and not a PCB. here are some pictures: |
The FCC ID on my bulb is |
@CWhits then you want this template.
@CWhits this goes double for your bulb. With a fresh config reset, template ..., module 0, etc. The bulb starts off with {"Color":"1A1A1AFFFF"}. This is a bad default setting. Channels 4 and 5 at FF, places the Warm and Cold LEDs at full brightness. At full brightness, you have a 9 Watt string of Warm LEDs and a 9 Watt string of Cold LEDs on at the same time. That would be 18 Watts, I measure 16 Watt so the power supply is already being strained. A change in Warm/Cold slider will correct this or a To avoid this, after flashing a new bulb or a config reset. Make sure if reports power I think this latter approach should also be used with the BPA800/RGBW/AG/2(P) (FCC ID SYW-A19RGBWAGT2) as well. I observed that bulb starting off at 12-13 Watts after the |
@mhightower83 Thanks for the dive deep. It's a surprise to me that the bulbs starts with {"Color":"1A1A1AFFFF"}. I will try to find out why and potentially fix it. |
Hmm, I guess people will have to take the approach if one template doesn't work try the other. @CWhits what is the date code on your bulb. My ...GT2 bulb is 228-19-24, which I take to be the 24th week of the year 2019. My ...GT1 is 228-19-21 |
mine is also 228-19-24 |
@mhightower83 #6162 fixes the initial value of Color after flashing the firmware or doing a Default value is now Thanks for reporting the issue. |
@raptordemon, I sometimes have to resort to using a Chinese search engine and rely on google translate to help me get through. I found this datasheet for the BP5778DJ. Excerpt from Google translate:
|
Hello! I'm here to comment that the bulb Nexxt AHIBUSO4U1 also works fine with the template:
linked here in the comments. |
Is it to be expected that the white brightness level greater than 50 doesnt actually change the brightness with gamma correction off, LEDTABLE 0? With LEDTABLE 1, my brightness was opposite, 100 > 50 worked, but anything less than 50 it turned off. Now with LEDTABLE 1, 100 > 50 doesnt change the brightness at all and stays at 100% brightness. 50 > 0 changes the brightness. However, when I am using the RGB colors, the brightness scale seems to be fully operational from 100 > 0. |
So guys, here I am 10 months after the original discussion. Just flashed one of my four Costco-purchased FEIT Electric BPA800/RGBW/AG/2(P) bulbs using Tuya-convert. I wasn't going to do the rest until I get this thing dialed-in. The template in the Blakadder page worked pretty well but I felt like the CW wasn't blue enough. (I did not compare with a stock bulb at that moment.) I tried upgrading the Tasmota firmware to 8.4.0. Overall I would say it works as expected... except for one thing. The CW <-> WW slider is reversed. Based on this thread, I changed GPIO5 to PWM2i. So, 0,0,0,0,37,47,0,0,141,142,140,0,0. Works perfectly, aside from what other posters have said about the brightness cutting off at about 35% on the slider. I compared the brightness side-by-side with an un-flashed bulb in the FEIT Electric app. NOW... interestingly... if I turn the stock bulb down to 1% in the app, it's about the same as ~42% in the Tasmota GUI. I CAN get the Tasmota bulb a LITTLE dimmer than that. Maybe down to 38% or so. I can actually get it to dim a little more, but it cuts off after about a second. Hope this is helpful to anyone coming after me. :) |
@JaimeZX The difference in dimmer is probably due to Gamma correction. You can turn it on or off with Choose whichever feels the most visually linear when setting birghtness to 25%, 50%, 75%. |
That's a great input. I thought I was at ledtable 0 already, but I tried it again and now the bulb cuts off at just under 10% on the slider, which is much more natural. Thank you! |
Good morning all, I recently flashed some FEIT BPA800/RGBW/AG/2(P) bulbs I bought at Costco with kueblc's new-api branch of tuya-convert. I then updated to 6.6.0.
I have tried the following template for FEIT bulbs
{"NAME":"OM60/RGBW","GPIO":[255,255,255,255,140,37,0,0,38,142,141,255,255],"FLAG":0,"BASE":18}
but when the bulb first re-sets and I toggle it on, nothing happens, and there are no errors or other messages in the console. If I put incolor 0,0,50,0,0
into console then teh bulb turns on at 20% brightness and a cool white. At this point, I can toggle it on and off but if I try to change any other settings the bulb just goes dark and I cant do anything until i putcolor 0,0,50,0,0
into console again. I have tried other template settings, but so far nothings working.I opened up the bulb when trying to get the tuya convert to work and noticed that it appears the led driver might be different from other FEIT bulbs, but Im not sure. Maybe this has something to do with my issues? Its really hard to see whats written on the component but I have included the pictures that I took.
Hoping someone can help me identify next steps for getting these bulbs to work. Thanks!
The text was updated successfully, but these errors were encountered: