New hackable ESP gadgets in local budget store "action" !!!

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
FanOfHue
Normal user
Posts: 96
Joined: 06 Oct 2018, 10:08

Re: New hackable ESP gadgets in local budget store "action" !!!

#101 Post by FanOfHue » 03 Feb 2020, 20:01

tim wrote: 02 Feb 2020, 15:05 @fanofhue: Do you have something like a roadmap for ESPCoreRules?
I recently needed JSON support within the event engine and also wanted to get the usage of uservars and timers more flexible and be able to resize limits at runtime. This looks ready by now and will be published as build nr 7.

KISS and YAGNI keep me from building features that i don't need, so no roadmap.

chib
New user
Posts: 3
Joined: 27 Jan 2020, 20:05

Re: New hackable ESP gadgets in local budget store "action" !!!

#102 Post by chib » 06 Feb 2020, 19:43

today my first pir battery went flat, after only 2,5 months running time.
it's at a busy spot so it's also firing a lot, but still, 2,5 months is too short i think.

@fanofhue what's the battery life you're getting out of your pir's ?

ddrmax
New user
Posts: 5
Joined: 20 Feb 2020, 14:25

Re: New hackable ESP gadgets in local budget store "action" !!!

#103 Post by ddrmax » 20 Feb 2020, 15:04

FanOfHue wrote: 03 Sep 2019, 08:23 Chip/Module used:

Switch Plug ESP8285-TYWE2S
Door Sensor ESP8266-TYWE3S
PIR Sensor ESP8266-TYWE3S
Hand Remote RTL8710BN-WR3
Sirene RTL8710BN-WR3
Led Strip ESP8266-TYWE3L

At least the ESP editions can be flashed with ESP Easy or similar stuff. I'm not aware of any custom firmware for the RTL modules.
The ceiling light uses the RTL8710BN-WR3 but can be easily converted with a few tools
I'm not the first one to do it I've done it today
In the end in tasmota ( I will play with ESPEasy another day)
The swap can be easily done with some tools ( hot hair station and soldering iron ) as the modulecan be removed from the lamp with no soldering and replaced with a esp01 and wires but I think it dangerous
For me I removed the WR3 from its little board with only a soldering iron and put a freshly programmed esp-12S (no pads in the bottom over the esp-12E/F that could short on the capacitors on the board)
here a link on github of someone that opened ithttps://github.com/ct-Open-Source/tuya- ... -536748421
Here the result of my mod
Image

GPIO 13 serves as Brightness and on / off switch and GPIO 5 serves as White color temperature (pwm at 0 is full warm light and pwm 255 is full cold white and in the middle, either are on
Last edited by ddrmax on 20 Feb 2020, 17:27, edited 1 time in total.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: New hackable ESP gadgets in local budget store "action" !!!

#104 Post by TD-er » 20 Feb 2020, 16:28

Sadly the image is not visible. It shows a "stop sign"

ddrmax
New user
Posts: 5
Joined: 20 Feb 2020, 14:25

Re: New hackable ESP gadgets in local budget store "action" !!!

#105 Post by ddrmax » 20 Feb 2020, 17:27

TD-er wrote: 20 Feb 2020, 16:28 Sadly the image is not visible. It shows a "stop sign"
link corrected (posted on imgur)

ddrmax
New user
Posts: 5
Joined: 20 Feb 2020, 14:25

Re: New hackable ESP gadgets in local budget store "action" !!!

#106 Post by ddrmax » 24 Feb 2020, 08:37

I also bought the siren and the remote of the same brand that I already know their using the Rtl counterpart of the esp 12 thanks to your forum
When I finish to have my workshop neat and tidy I will make a video (in a livestream setup or if I can't do a livestream (internet upload is pretty poor and I have actually some heavy lag due that my workshop is only connected via a wifi repeater)) in a more standardized fashion, where I do some measurements, surgery and heart replacement with ESPEasy flashed ESP-12 on the siren, remote control and ceiling lights
Other lights having RTL8710BN daughter boards are not in my interest since opening them results in breaking them)
For best results I will do some basic reverse engineering about all the boards like ommiting most of the passives and the power supply section to better know their internals
For example the remote has the tuya mcu (little stm chip) that I will try to dump its firmware via my ST-Link V2

FanOfHue
Normal user
Posts: 96
Joined: 06 Oct 2018, 10:08

Re: New hackable ESP gadgets in local budget store "action" !!!

#107 Post by FanOfHue » 30 Mar 2020, 11:49

rola25 wrote: 27 Jan 2020, 11:23 It was indeed the serial console speed - I don't know why, but I had to set it to 74880 to get it work :o

Thanks
@rola: I've answered your PM quite late, but better late than never.
To others who are looking into building a modded sensor:
Repo for ATTiny85 is here: https://github.com/FanOfHue/Other/tree/ ... nyExtender

countcobolt
Normal user
Posts: 32
Joined: 12 Jun 2017, 11:12

Re: New hackable ESP gadgets in local budget store "action" !!!

#108 Post by countcobolt » 02 Apr 2020, 14:27

Hi all

after a few months I decided to give this project another go. Now, I was struggling to get some information so I thought I'd leave my experiences here
1. All flashing was done by soldering the cables and adding the Tasmota firmware using Esptool
2. The idea of the rules is actually very simple, but ... you need to be careful. When reading the Tuya specs and using either TuyaSend or SerialSend, do not connect you usb to serial with RX/TX. This might be common to most people, but yours truly lots a few hours trying to see the output from Tuya (basically read what tuyareceived sends back. If the serial is connected, this does nothing
3. The rules on page 2 work for the LSC version, but I also had another version from Aliexpress which used other serial commands. I simply moved the magnet closer and further to capture what Tuya sends back.
4. The rules on page 2 basically send an MQTT message. I asked in a previous post what the events were , but I focussed on making rules based on TuyaReceived.
5. Check you wifi connection. For some stupid reason, I lost time thinking the Tuya didn't work, but actually the wifi connect was having problem.
6. I have them working use both TuyaMCU with GPIO 1/3 being either tuyaRX/TuyaTX and SerialRX/SerialTX.

Will dive deeper in other modules as I get further in the Tuya story

Iedipipeau
New user
Posts: 1
Joined: 28 Aug 2020, 21:09

Re: New hackable ESP gadgets in local budget store "action" !!!

#109 Post by Iedipipeau » 28 Aug 2020, 21:10

Hi,

Has anyone tried any of the RGBW light bulbs?
Is it feasible? easy to open and to connect the wires?

HomeJCL
Normal user
Posts: 89
Joined: 03 Feb 2018, 10:42

Re: New hackable ESP gadgets in local budget store "action" !!!

#110 Post by HomeJCL » 29 Aug 2020, 13:35

Haven’t really looked into it but thé Mikrocontroller.net german forum is “well stocked” with data and pointers.

Your best bet would be to have a go there
Belgium and land of ESP ... counting :D

FlorisK-Delft
New user
Posts: 1
Joined: 18 Sep 2020, 21:28

Re: New hackable ESP gadgets in local budget store "action" !!!

#111 Post by FlorisK-Delft » 18 Sep 2020, 21:47

Dear readers,

Did someone get the new Action, LSC Smart home, GU10 CWWW (white ambiance)(tuya) to work?

I have multiple GU10-Lights, I installed ESP-Home on some and on another one I installed Tasmota (by deassembling them and then flashing them). They both show up on my network and can be controlled. But I can't manage to find the right settings to make the spots give light.

I tried the following with Tasmota (and the same with ESP-Home, PWM and SM2135):

Code: Select all

{"NAME":"GU10_LSC","GPIO":[0,0,0,0,0,0,0,0,38,0,37,0,0],"FLAG":0,"BASE":18}
and

Code: Select all

{"NAME":"LSC RGBCW GU10","GPIO":[0,0,0,0,0,0,0,0,181,0,180,0,0],"FLAG":0,"BASE":18}
To be clear, it is about the white ambiance light and not te RGB lights. With disassembly I got so far to conclude that there is no SM2135 chip but a BP5778 chip. And has as brain the TUYA TYLC5 (ESP8285). And got the schematics of the PCB. See the pictures for more information.

Mvg,
Floris
Scematics TUYA TYLC5 (ESP8285).png
Scematics TUYA TYLC5 (ESP8285).png (168.67 KiB) Viewed 19835 times
Scematics LED PCB.jpg
Scematics LED PCB.jpg (458.98 KiB) Viewed 19835 times
Led PCB.jpg
Led PCB.jpg (2.25 MiB) Viewed 19835 times
GU10 Action.jpg
GU10 Action.jpg (3.3 MiB) Viewed 19835 times
Power_PCB_1.jpg
Power_PCB_1.jpg (1.62 MiB) Viewed 19835 times
Power_PCB_2.jpg
Power_PCB_2.jpg (3.45 MiB) Viewed 19835 times
Verpakking.jpg
Verpakking.jpg (4.2 MiB) Viewed 19835 times

Jeryci
New user
Posts: 1
Joined: 03 Mar 2021, 15:21

Re: New hackable ESP gadgets in local budget store "action" !!!

#112 Post by Jeryci » 03 Mar 2021, 15:23

ddrmax wrote: 24 Feb 2020, 08:37 I also bought the siren and the remote of the same brand that I already know their using the Rtl counterpart of the esp 12 thanks to your forum
When I finish to have my workshop neat and tidy I will make a video (in a livestream setup or if I can't do a livestream (internet upload is pretty poor and I have actually some heavy lag due that my workshop is only connected via a wifi repeater)) in a more standardized fashion, where I do some measurements, surgery and heart replacement with ESPEasy flashed ESP-12 on the siren, remote control and ceiling lights
Other lights having RTL8710BN daughter boards are not in my interest since opening them results in breaking them)
For best results I will do some basic reverse engineering about all the boards like ommiting most of the passives and the power supply section to better know their internals
For example the remote has the tuya mcu (little stm chip) that I will try to dump its firmware via my ST-Link V2
Hello,

i also have bought the remote, did you have any luck ?

Thank you !

HumbleDeer
New user
Posts: 1
Joined: 06 Mar 2022, 12:45

Re: New hackable ESP gadgets in local budget store "action" !!!

#113 Post by HumbleDeer » 06 Mar 2022, 12:48

LSC Smart Plug
Article Nr. 2578677
Purchase Date: February 2022

After disassembly, I have noted these units use a SoC and no longer come with an ESP.
http://www.bekencorp.com/en/goods/detail/cid/7.html

The module is a lot smaller, and is now labeled "CB2S" (as opposed to WB2S.)

Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests