-
Notifications
You must be signed in to change notification settings - Fork 639
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
GU10 Lamp - Similar to AI-Thinker #1549
Comments
I have this same bulb from Tuya. I flashed the ESP with Tasmota 6.4.1
If using HASS, it will then operate as a light with fully adjustable colour and white light. You can use the web interface (IP address) to turn on/off/brightness in white or MQTT in HASS to operate. |
@albyg, @jkalousek says it has a LED driver on board, it doesn't make sense that it can be directly controller using PWM from the microcontroller.... |
The SLM211a is exactly that. A LED driver that uses PWM directly from the MCU. It also limits the total current to the LEDs by use of a setting resistor on one of the input pins.
|
I just got a light bulb that uses the same control board and am wondering what firmware to use on it? Thanks. |
There are no suitable devices currently defined in espurna that will work with this device, so someone will need to test and add it via pull request. I'd suggest using something like the definitions for the IWOOLE_LED_TABLE_LAMP (RGBW over pwm) as a base to start on. Ignoring my accidental change to Readme.md and poor git skills, take a look at PR #1198 of you're unsure what should be changed. |
Tasmota will support this board with set up mentioned earlier. |
@albyg - based on the gpio pinout above I've built the attached firmware (unimaginatively called "generic gu10". @Wferr - if your bulb is based on the exact same board then it might work for you too. Please test if you can and confirm/deny if any changes need to be made, I could probably do a PR for you. EDIT: you will need to unzip the file before flashing it. |
@ColinShorts Just flashed and working perfectly! RGB is correct and white channel works! Thanks! Maybe its a good idea to start classifying firmware based off the controller board and not the name of the bulbs? |
No worries, I'll submit a pull request sometime tomorrow. Do you have a manufacturer and device name for this bulb/controller? |
Don't really have a name for the bulb or controller, the aliexpress link where I bought it from is above, its all super generic. |
I was starting to think a naming convention based on purpose and gpio assignment might make sense, but I'd bow to @xoseperez and @mcspr for guidance on that. Version 2.0 will likely resolve most of these device configuration issues, but I don't know how far off it is. |
@jkalousek may I ask how you removed the plastic top cover from this GU10 style bulb? Is it easily removable without much damage to the bulb? |
To answer my own question, there is no need to remove the cover. These can now be flashed with tuya-convert |
With the espurna 1.14.0 release I cant update my light that used the generic GU10 bulb without getting "There was an error trying to upload the new image, please try again (ERROR 8)." Which I think is due to a issue with flash size #433 but I don't know. |
@Wferr It is. Error codes are from the Core, device flash config is set to >1MB. |
@mcspr Is there no way to OTA a flash to correct? I have to reconnect the light to a serial adapter and flash? |
@Wferr Yes. Updater class won't allow OTA and there is no mechanism to avoid that check. Just make sure to either specify 1MB size or, if using esptool.py, allow it to autodetect that value by using |
I have got this GU10 led lamp from Ebay .
I assumed that it will be similar to AI-Thinker lamps as it uses same mobile app etc.
Board is in fact very similar, well half of it...
I tried to flash espurna-1.13.3-aithinker-ai-light.bin but no matter what I do in the web interface light is still at maximum brightness.
Chip at the top left is SLM211A (LED PWM driver) which is controlling white channel on GPIO4.
It is using GPIO0, GPIO2 & GPIO15 for RGB, I cannot say exactly which one is which but I'm going to figure it out.I will add more info.
The text was updated successfully, but these errors were encountered: