LSC smart devices

LSC smart devices flashing to work with mqtt!

Door sensors and pir, 10 euro devices

2 Likes

You can also flash some bulbs and LED strips, using https://github.com/ct-Open-Source/tuya-convert is even easier.

@fedot Ok let me add some explanation here, the pir and door sensors are just 10 seconds connected before they go offline to save battery power, soldering is Needed to keep the esp chip online.

1 Like

Next to that some new firmwares are bypassing the mitm ota update process.

Hello,

Is there an English version of the instructions?
I have not found them in the provided link.

sorry fo the late reply, still looking for help? i can remote assist you.

my page moved to https://homehacker.nl/flashing-lsc-sensors/

1 Like

https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=https%3A%2F%2Fhomehacker.nl%2Fflashing-lsc-sensors%2F

1 Like

Hi

Your webpage its verry helpfull
I have the PIR device , i flashed succefull setup too
if i Desoldering the power cable end work with the internal battery
i can see the device in the network for same second end receve MQTT information
then his stop to work. the red Led stay on then off . if I pass my hand in front i see the red LED on end i not receve MQTT message et cant see the device online .
how i can solve this ? thanks

1 Like

i had this to with the pir, seemed like there is some time delay. put the pir in a room, leave for 5 minutes and check again if you walk in.

00:00:00 CFG: Loaded from flash at F5, Count 39
00:00:00 SER: Set to 8N1 9600 bit/s
00:00:00 QPC: Count 1
00:00:00 CFG: CR 352/699, Busy 0
00:00:00 SNS: Hardware Serial
00:00:00 TYA: Request MCU configuration at 9600 bps
00:00:00 SRC: Restart
00:00:00 TYA: Send “55aa0006000501010001000d”
00:00:00 Project tasmota Tasmota Version 9.2.0(tasmota)-2_7_4_9(2020-12-21T15:03:40)
00:00:00 TYA: Set WiFi LED 2 (-1)
00:00:00 TYA: Send “55aa000300010205”
00:00:00 WIF: Checking connection…
00:00:00 WIF: Attempting connection…
00:00:00 WIF: Connecting to AP1 Oenne Channel 6 BSSId 28:D1:27:4D:98:26 in mode 11n as tasmota_BF1386-4998…
00:00:01 WIF: Checking connection…
00:00:01 WIF: Attempting connection…
00:00:02 WIF: Checking connection…
00:00:02 WIF: Attempting connection…
00:00:03 WIF: Checking connection…
00:00:03 WIF: Connected
00:00:04 HTP: Web server active on tasmota_BF1386-4998 with IP address 192.168.1.87
00:00:04 HTP: Main Menu
22:50:57 RTC: UTC 2021-02-23T21:50:57, DST 2021-03-28T02:00:00, STD 2021-10-31T03:00:00
22:50:57 TYA: Set WiFi LED 3 (0)
22:50:57 TYA: Send “55aa000300010306”
22:50:58 MQT: Attempting connection…
22:50:58 MQT: Connected
22:50:58 MQT: tele/tasmota_BF1386/LWT = Online (retained)
22:50:58 MQT: cmnd/tasmota_BF1386/POWER =
22:50:58 MQT: Subscribe to cmnd/tasmota_BF1386/#
22:50:58 MQT: Subscribe to cmnd/tasmotas/#
22:50:58 MQT: Subscribe to cmnd/DVES_BF1386_fb/#
22:50:58 MQT: Unsubscribe from homeassistant/status
22:50:58 MQT: tele/tasmota_BF1386/INFO1 = {“Module”:“Tuya MCU”,“Version”:“9.2.0(tasmota)”,“FallbackTopic”:“cmnd/DVES_BF1386_fb/”,“GroupTopic”:“cmnd/tasmotas/”}
22:50:58 MQT: tele/tasmota_BF1386/INFO2 = {“WebServerMode”:“Admin”,“Hostname”:“tasmota_BF1386-4998”,“IPAddress”:“192.168.1.87”}
22:50:58 MQT: tele/tasmota_BF1386/INFO3 = {“RestartReason”:“Power On”}
22:50:58 MQT: stat/tasmota_BF1386/RESULT = {“POWER”:“OFF”}
22:50:58 MQT: stat/tasmota_BF1386/POWER = OFF
22:50:58 TYA: Send “55aa0001000000”
22:50:58 {“TuyaReceived”:{“Data”:“55AA000100247B2270223A2277717A39336E72646F6D656374796F7A222C2276223A22312E302E30227D2B”,“Cmnd”:1,“CmndData”:“7B2270223A2277717A39336E72646F6D656374796F7A222C2276223A22312E302E30227D”}}
22:50:58 TYA: MCU Product ID: {“p”:“wqz93nrdomectyoz”,“v”:“1.0.0”}
22:50:58 TYA: Send “55aa0002000001”
22:50:58 {“TuyaReceived”:{“Data”:“55AA0002000001”,“Cmnd”:2}}
22:50:58 TYA: RX MCU configuration Mode=0
22:50:58 TYA: Read MCU state
22:50:58 TYA: Send “55aa0008000007”
22:50:58 TYA: Set WiFi LED 4 (0)
22:50:58 TYA: Send “55aa000300010407”
22:50:59 QPC: Reset
22:50:59 HTP: Console

need to change something in the rule ?
23:18:09 MQT: stat/tasmota_BF1386/RESULT = {“Rule1”:“OFF”,“Once”:“OFF”,“StopOnError”:“OFF”,“Length”:161,“Free”:350,“Rules”:“ON Wifi#Connected DO backlog serialsend5 55 AA 00 01 00 00 00; delay 10; serialsend5 55 AA 00 02 00 01 04 06; delay 3; serialsend5 55 AA 00 05 00 01 00 05; ENDON”}

I would just let tasmota handle a timer when the devices comes online… what can you see in mqtt broker?

HI
Its working now , thanks

1 Like

np, please mark an answer so this topic can be closed.

Hello,

My PIR is now flashed, thanks for the instructions.
I only would like to make a suggestion: I had to compare with other Tywe3s pictures on Google to know which was VCC, GND, IO0 RX and TX on the device to know where to connect on my USB-serial adapter, for me it was not clear on the pictures. Or did I miss something?

There is no “on” stat of the switch. Is it the expected behavior?
Same question for a second switch named “Tasmota2” which make me surprised.

And a last question, I had a long Internet connection break this morning and since it is back, I had a lot of false detections.
Do you see a reason for that?

Thanks again for the instructions and for pointing me… Simply to Google translate :slight_smile: I always hesitate to use it to be sure not to have problem because of the automatic translation. Even if French the translation is OK.

Very happy to get away from Smart Life app!

1 Like

Puypo I flashed the same sensor as you with tasmota but I can’t configure it. Could you please share your configuration?

I’m really struggling.

Thanks in advance

Hello @puyoo

Is it possible to have the rules you have on the battery LSC powered sensor ?

Thanks a lot.

Website is gone.