Skip to content

Commit

Permalink
Update lsc_smart_connect_ceiling_light (#1915)
Browse files Browse the repository at this point in the history
* Update lsc_smart_connect_ceiling_light

Update code adaption according to newer Tasmota versions. 
Modify template with new Tasmota standard.
Add chip replacement option.

* Update lsc_smart_connect_ceiling_light

---------

Co-authored-by: blakadder <[email protected]>
  • Loading branch information
mihaimacarie98 and blakadder authored Jan 13, 2025
1 parent 00422ac commit ad015f8
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions _templates/lsc_smart_connect_ceiling_light
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
date_added: 2020-07-05
date_updated: 2025-01-10
title: LSC 20W 1400lm White Ambiance
model: 3000842 (970789 v1.0)
image: /assets/device_images/lsc_smart_connect_ceiling_light.webp
template: '{"NAME":"LSC RGBCW LED","GPIO":[0,0,0,0,0,0,0,0,181,0,180,0,0],"FLAG":0,"BASE":18}'
template_9: '{"NAME":"LSC RGBCW LED","GPIO":[0,0,0,0,0,0,0,0,4065,0,4032,0,0,0],"FLAG":0,"BASE":18}'
link: https://www.action.com/fr-be/lsc-smart-connect/
link2:
mlink: https://www.action.com/fr-be/p/lsc-smart-connect-slimme-plafonniere--47d4b32a/
Expand All @@ -14,22 +15,14 @@ standard: eu
unsupported: true
---

Custom fimware need. Cause: Colors inversed and weak white light.
Custom fimware needed as the white light is weak.
Modification of the SM2135 driver (xlgt_04_sm2135.ino):

const uint8_t SM2135_CURRENT = (SM2135_20MA << 4) | SM2135_60MA; //increased white to 60mA (19W)
Sm2135.current = (SM2135_20MA << 4) | SM2135_60MA; //increased white to 60mA (19W) (Line 242)

data[0] = SM2135_ADDR_MC;
data[1] = SM2135_CURRENT;
data[2] = SM2135_RGB;
data[3] = cur_col[2]; // change that
data[4] = cur_col[1]; // change that
data[5] = cur_col[0]; // change that
Sm2135Send(data, 6);


<h3>Warning</h3>
- Some models come with an [incompatible Realtek](/unsupported/lsc_ceiling_light) WiFi module.
- You have to unsolder the TYLC5 chip for the flash. Do not supply the circuit with the electrical network during flashing.
- The TYLC5 can be replaced with ESP-01D.
- purchased:may 2021 970789.1 v1.0 contains a WBLC5 td with incompatible Beken BK7231T chip

0 comments on commit ad015f8

Please sign in to comment.