Teardown of the S09 clock/thermometer/hygrometer/IR bridge (upgrade from TH06) #17562
ortegafernando
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI, I bought a S09 eMylo clock/thermometer/hygrometer and IR capable device.
It is like TH06 but with IR reciever and sender (several).
I have take lots of photos during my test process. Finally I get managed to work it with tasmota.
It cames with WB3S IC that is almost pin compatible with ESP12F
I flashed last version of tasmota in a ESP12F, desoldered WB3S and solder the new ESP12F as you see in photos (it has a gap to the pcb that I have left willfully.
Also, I have a problem, I don't know why. If I select TUYA DEVICE in module configuration..... I get my config reseted because of a boot loop.
So I have updated the firmware to IR firmware and work with TUYA IC directly.
ESP12F pin --- PCB pin
3.3v 3.3v
EN EN (already have a 10k resistor in pcb)
RST EN (already have a 10k resistor in pcb)
GND GND
RX direct to pcb (RX)
TX direct to pcb(TX)
GPIO15 10K - GND
GPIO0 10K - 3.3V
GPIO5 IRrecv. direct to pcb
GPIO14 IRsend, direct to pcb
Firmware: IR version
Module GENERIC
you only need to configure GPIO5 and PGIO14
baudrate 9600
rule1 ON System#Init DO ruletimer1 20 ENDON ON Rules#Timer=1 DO Backlog serialsend5 55aa00000000ff; ruletimer1 0 ENDON
rule1 1
#With only this command, you can recieve data from TUYA IC, it is the heartbeat command for tuya devices.
restart 1
This is the serial data recieved, sometimes arrives both in a row, sometimes only one. Usually I get that every minute (aprox)
{"SerialReceived":"55AA0307000865020004000000C44055AA030700086602000400000046C3"}
55AA0307 0008 length 65 dpId(101) 02 dataType 0004 length 000000C6 value(=198) 42 (checksum) --> 19.8ªC temp
55AA0307 0008 length 66 dpId(102) 02 dataType 0004 length 0000003F value(=63) BC (checksum) --> 63% hum
Clock:
With this command (serialsend5 55AA001C000801160C1E0C1A00058F) I can set the time:
1C is type to set time command
0008 length
01: valid time
160C1E0C1A0005: in decimal is 22 12 30 12 26 00 05 === 2012/12/30 12:26:00 Friday
8F checksum as Tuya calcs.
I need to program this in nodered, when I recive the start up of this device, I will send from nodered the command to update the time, or I could also do a periodic message to update/refresh time
I hope you can find this usefull. (before closing it I put some hot glur to avoid contacts, also, probably becuase I damaged gpio0 during flash, I have put another resistor to 3.3v, not 10k, but with a good ESP12F it will be no problem with 10k pull up resistor)
Beta Was this translation helpful? Give feedback.
All reactions