digiblur / esphome_lohas_led Goto Github PK
View Code? Open in Web Editor NEWSample configuration to copy 2 channels of the same light type needed with ESPHome on the LOHAS Smart Bulbs
License: MIT License
Sample configuration to copy 2 channels of the same light type needed with ESPHome on the LOHAS Smart Bulbs
License: MIT License
Hi Travis,
I will get one of these delivered tomorrow [(https://www.amazon.co.uk/gp/product/B07LBQYLTH/ref=ppx_od_dt_b_asin_title_s00?ie=UTF8&psc=1)]
It might be a bit of a leap without you having one but how would you expect the ESP Home code to need to change for these?
Thanks
I copied the lohas_cct.yaml exactly. I updated the Wifi information and the mqtt information (though I would prefer not to use mqtt with ESPhome). Compiled the yaml and tried to upload to the bulb through the firmware page on Tasmota and keep getting an error saying "Upload Failed Not compatible".
Any thoughts?
Hi I updated my lohas warmwhite lamps recently after the release of esphome 1.20. Unfortunatly all of them are dead after the update. they give a short flicker, no wifi or even captive portal. so sth seems to go wrong. no issues before that with other esphome versions.
I use a barebone version of your lohas_cw_ww.yaml, so nothing special here. so be warned and if anyone has any ideas I would be glad.
Using the ESPHome code, I'm just getting the light barely flashing on and then back off regardless of what I do. Any suggestions on what could be done?
Upgraded Lohas Color bulbs to ESPHome v1.15, after upgrade the white and color values are no longer controlled separately. I was able to downgrade back to v1.14.5 to restore.
I used your guide and I have the LOHAS RGBW bulbs in Home Assistant 0.109.6 without much fuss...so thanks for that!
I was wondering if there is a way to get the "warm white" effect with these same bulbs. Normally I just want a normal 40 - 60w warm white effect in my bedroom, but sometimes I also want to be able to change the color. IS that possible?
@digiblur
I am a Newbie and I would like to commend you on your utube video explaining tuya convert and ESPHome yaml for the Lohas bulbs. They were at a perfect level for my understanding! I have a Lohas br30 and 6" downlights which both have an additional channel of CW which I was able to get running by modifying your code as follows:
copychan.h
`using namespace esphomelib::output;
class CopyOutput : public FloatOutput {
public:
FloatOutput *channel_a;
FloatOutput *channel_b;
FloatOutput *channel_c;
void write_state (float state) override {
channel_a->set_level (state);
channel_b->set_level (state);
channel_c->set_level (state);
}
};
`
lohasbr30.yaml
`my9231:
data_pin: GPIO13
clock_pin: GPIO15
num_channels: 6
num_chips: 2
update_on_boot: TRUE
output:
However I cannot figure out how to make the bulb turn on to the previous setting after switching off and on with the normal light switch per Tasmoto operation. I tried both TRUE and FALSE for the update_on_boot setting to no avail and cannot find anything else in the ESPHome documentation. Is this an issue or just a Newbie user error?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.