I’ve got the filament lamp right now. What exactly do I need to add to my configuration?
I did flash it with tuya convert first tasmota and the uploaded the above esphome config
thnx for this config ! i flashed this to the LSC ledstrip. But at the moment the only thing that doesn’t work is the dimming the white LEDs ? Or is this maybe my fault ?
You can add this
light:
- platform: cwww
name: "filament Lamp"
cold_white: output_component1
warm_white: output_component2
cold_white_color_temperature: 3500 K
warm_white_color_temperature: 2000 K
# default_transition_length: 5s
output:
- platform: esp8266_pwm
id: output_component1
pin: 14
- platform: esp8266_pwm
id: output_component2
pin: 12
You’re right Pim. I noticed this also.
Maybe the most stupid question in the world… but what is CWWW platform? Mine runs on tasmota, MQTT…
CWWW stands for Cold White + Warm White Light. It’s a platform on ESPHome: https://esphome.io/components/light/cwww.html.
Regarding GU10 and E14 Smart LED, it can’t, currently, be used with ESPHome. There is no SM2135 driver available at the moment.
I don’t get this working via ESPHome, unfortunatly. But I do get something via MQTT. Only dimming and setting cold- or warm white doesn’t work…
{
"Time":"2019-10-29T18:42:44",
"Uptime":"0T00:10:17",
"UptimeSec":617,
"Heap":27,
"SleepMode":"Dynamic",
"Sleep":50,"
LoadAvg":19,
"MqttCount":1,
"POWER":"OFF",
"Dimmer":27,
"Color":"0745",
"HSBColor":"0,0,0",
"Channel":[
3,
27
],
"CT":469,
"Fade":"OFF",
"Speed":1,
"LedTable":"ON",
"Wifi":{
"AP":2,"SSId":
"********",
"BSSId":"VB:EE:1E:D7:1C:U1",
"Channel":11,
"RSSI":64,
"LinkCount":1,
"Downtime":"0T00:00:05"
}
}
MQTT code in my configuration so far
- platform: mqtt
name: "Filament gang lamp"
command_topic: "cmnd/sonoff_filament/power"
state_topic: "stat/sonoff_filament/POWER"
payload_on: "on"
payload_off: "off"
retain: true
qos: 2
Above is just “borrowed” from my sonoff switch… So I have no what is right and what is wrong…
Never mind. Just a little trial and error… For those who want this via MQTT
- platform: mqtt
name: "Filament gang lamp"
command_topic: "cmnd/sonoff_filament/power"
state_topic: "stat/sonoff_filament/POWER"
payload_on: "ON"
payload_off: "OFF"
brightness_state_topic: "stat/sonoff_filament/Dimmer"
brightness_command_topic: "cmnd/sonoff_filament/Dimmer"
brightness_scale: 100
color_temp_command_topic: "cmnd/sonoff_filament/CT"
color_temp_state_topic: "stat/sonoff_filament/CT"
retain: true
qos: 2
One other thing you can try is to use the Tuya app to adopt the products instead of the lsc app… in that way you link the LSC (which are just tuya devices) to a tuya account. And for tuya there is an existing integration in HA. I did just reset my LSC and did the adoption with the tuya app… that worked… now I added tuya and the tuya credentials in the config file of HA and it shows up. As it is a webservice it is a bit wonky (compared to local devices) but it seams to work…
LSC Smart components are available in the offer of the week in Germany:
https://www.action.com/de-de/suche/?q=lsc+smart+connectin the NL also @ local Action stores
Already know why this is happening ?
I still didn’t get it - is it possible to flush it with Tasmota or not?
The LSC Smart Plug is: https://github.com/arendst/Tasmota/wiki/LSC-Smart-Connect-Smart-Power-Plug.
thanks! but not sure if it is better option than sonoff. what about other devices?
I don’t know. I went down the ESPHome route and not the Tasmota. You could ask this in the Tasmota forum.
I have the led strip now working with wled.
You of course only have 1 led to control as they are all the same but it works.
Even the remote works when you enable it
Here is the bin file https://www.dropbox.com/s/6v1c666c3r9av7u/wled00-action.rar?dl=0
Tried it. Upload through the internal webserver of ESPHome. But it failed with this message:
Update Failed: ERROR[4]: Not Enough Space
Is there an other way to install your bin file?
I did run into this also and what i did was uploaded the tasmota sonoff minimal bin first and then uploaded this wled bin and that worked
https://github.com/arendst/Tasmota/releases/download/v6.7.1/sonoff-minimal.bin