Only the T34 chip is directly soldered 3.3v on pin 8 and GND on pin 32 for this first attempt.
Only the T34 chip is directly soldered 3.3v on pin 8 and GND on pin 32 for this first attempt.
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamTilator wrote:Any chance to flash with cloudcutter?
divadiow wrote:The only other way I think is by boot log or firmware backup but if you can get those you're already one step away from UART flashing anyway.
Quote:Info:MAIN:Time 165, idle 186974/s, free 46976, MQTT 1(1), bWifi 1, secondsWithNoPing 95, socks 2/38
Info:MAIN:Module reboot in 1...
Info:MAIN:Main_Init_Before_Delay
Info:CFG:####### Boot Count 258 #######
Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 10 changes count.
Error:CMD:no file early.bat err -2
Info:EnergyMeter:Read ENERGYMETER status values. sizeof(ENERGY_METERING_DATA)=32
Info:MAIN:Started BL0937.
Info:GEN:PIN_SetupPins pins have been set up.
Info:MAIN:Main_Init_Before_Delay done
Info:MAIN:Main_Init_Delay
Info:MAIN:Main_Init_Delay done
Info:MAIN:Main_Init_After_Delay
Info:MAIN:Using SSID [xxxxxxxxxxxxxx]
Info:MAIN:Using Pass [xxxxxxxxxxxxxxxx]
Info:MQTT:MQTT_RegisterCallback called for bT OpenBK_T34_gniazdko3/ subT OpenBK_T34_gniazdko3/+/set
Info:MQTT:MQTT_RegisterCallback called for bT T34_gniazdko3/ subT T34_gniazdko3/+/set
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/OpenBK_T34_gniazdko3/ subT cmnd/OpenBK_T34_gniazdko3/+
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/T34_gniazdko3/ subT cmnd/T34_gniazdko3/+
Info:MQTT:MQTT_RegisterCallback called for bT OpenBK_T34_gniazdko3/ subT OpenBK_T34_gniazdko3/+/get
Info:CMD:CMD_StartScript: started autoexec.bat at the beginning
Info:GEN:CHANNEL_Set channel 0 has changed to 1 (flags 0)
Info:MQTT:Channel has changed! Publishing 1 to channel 0
Info:CFG:####### Flash Save Channel 0 as 1 #######
Info:NTP:NTP driver initialized with server=194.146.251.100, offset=0
Info:MAIN:Started NTP.
Info:NTP:NTP server set to 194.146.251.100
Info:NTP:NTP offset set
Info:MAIN:Main_Init_After_Delay done
Info:MAIN:Time 1, idle 255802/s, free 79856, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Time 2, idle 191915/s, free 79856, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Time 3, idle 185325/s, free 79856, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Time 4, idle 193511/s, free 79856, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Time 5, idle 185316/s, free 79856, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Registered for wifi changes
Info:MAIN:Connecting to SSID [xxxxxx]
Info:MAIN:ssid:silverro key:xxxxxxxxxxxxxxxxxxxxxx
Info:MAIN:Time 6, idle 182662/s, free 75120, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Boot complete time reached (5 seconds)
Info:CFG:####### Set Boot Complete #######
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Time 7, idle 185834/s, free 74272, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Time 8, idle 84885/s, free 74248, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Time 9, idle 0/s, free 74248, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Time 10, idle 0/s, free 74248, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=0.0.0.0 gate=0.0.0.0 mask=0.0.0.0 mac=b8:06:0d:28:61:99
Info:GEN:sta: 0, softap: 0, b/g/n
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
Info:MAIN:Time 11, idle 74910/s, free 74512, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:NTP:Seconds since Jan 1 1900 = 3939990605
Info:NTP:Unix time : 1731005405
Info:NTP:Local Time : 2024-11-07 18:50:05
Info:MAIN:Time 12, idle 187926/s, free 74760, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MQTT:mqtt_userName xxxxxxxxxxxxxxxxxxxxxx
mqtt_pass xxxxxxxxxxxxxxxxxxxxxxxx
mqtt_clientID OpenBK_T34_gniazdko3
mqtt_host xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Info:MAIN:Time 13, idle 196328/s, free 74672, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:HA discovery is scheduled, but MQTT connection is not present yet
Info:MQTT:mqtt_connection_cb: Successfully connected
Info:MQTT:mqtt_subscribed to OpenBK_T34_gniazdko3/+/set
Info:MQTT:mqtt_subscribed to T34_gniazdko3/+/set
Info:MQTT:mqtt_subscribed to cmnd/OpenBK_T34_gniazdko3/+
Info:MQTT:mqtt_subscribed to cmnd/T34_gniazdko3/+
Info:MQTT:mqtt_subscribed to OpenBK_T34_gniazdko3/+/get
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic OpenBK_T34_gniazdko3/0/set
Info:MQTT:MQTT client in mqtt_incoming_data_cb data is 0 for ch 0
Info:GEN:CHANNEL_Set channel 0 has changed to 0 (flags 0)
Info:MQTT:Channel has changed! Publishing 0 to channel 0
Info:MQTT:Publishing val 0 to OpenBK_T34_gniazdko3/0/get retain=0
Info:CFG:####### Flash Save Channel 0 as 0 #######
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic OpenBK_T34_gniazdko3/0/get
Info:MQTT:Publishing val OpenBK_T34_gniazdko3 to OpenBK_T34_gniazdko3/host retain=0
Info:MAIN:Time 14, idle 170270/s, free 74672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Will scheduled HA discovery in 9 seconds
Info:MQTT:Publishing val OpenBK7231N 1.17.766 Nov 6 2024 13:53:29 to OpenBK_T34_gniazdko3/build retain=0
Info:MAIN:Time 15, idle 183098/s, free 74672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Will scheduled HA discovery in 8 seconds
Info:MQTT:Publishing val b8:06:0d:28:61:99 to OpenBK_T34_gniazdko3/mac retain=0
Info:MAIN:Time 16, idle 190375/s, free 71880, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Will scheduled HA discovery in 7 seconds
Info:MQTT:Publishing val 60.05 to OpenBK_T34_gniazdko3/temp retain=0
Info:MAIN:Time 17, idle 205965/s, free 74672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Will scheduled HA discovery in 6 seconds
Info:MQTT:Publishing val silverro to OpenBK_T34_gniazdko3/ssid retain=0
Info:MQTT:Publishing val 228.1 to OpenBK_T34_gniazdko3/voltage/get retain=0
Info:MQTT:Publishing val 1.00 to OpenBK_T34_gniazdko3/power_factor/get retain=0
Info:MQTT:Publishing val 0.153 to OpenBK_T34_gniazdko3/energycounter_yesterday/get retain=0
Info:MQTT:Publishing val 3096.700 to OpenBK_T34_gniazdko3/energycounter_3_days_ago/get retain=0
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic OpenBK_T34_gniazdko3/voltage/get
Info:MAIN:Time 18, idle 187248/s, free 74296, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Will scheduled HA discovery in 5 seconds
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic OpenBK_T34_gniazdko3/power_factor/get
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic OpenBK_T34_gniazdko3/energycounter_yesterday/get
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic OpenBK_T34_gniazdko3/energycounter_3_days_ago/get
Info:MQTT:Publishing val 1731005411 to OpenBK_T34_gniazdko3/datetime retain=0
Info:MAIN:Time 19, idle 171636/s, free 74672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Will scheduled HA discovery in 4 seconds
Info:MQTT:Publishing val 2 to OpenBK_T34_gniazdko3/sockets retain=0
Info:MAIN:Time 20, idle 191345/s, free 74672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.10.131 gate=192.168.10.1 mask=255.255.255.0 mac=b8:06:0d:28:61:99
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-70,ssid=silverro,bssid=a8:6e:84:83:59:0f,channel=9,cipher_type:CCMP
Info:MAIN:Will scheduled HA discovery in 3 seconds
Info:MQTT:Publishing val -69 to OpenBK_T34_gniazdko3/rssi retain=0
Info:MAIN:Time 21, idle 191876/s, free 74672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Will scheduled HA discovery in 2 seconds
Info:MQTT:Publishing val 21 to OpenBK_T34_gniazdko3/uptime retain=0
Info:MAIN:Time 22, idle 195141/s, free 62976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Will scheduled HA discovery in 1 seconds
Info:MQTT:Publishing val 74672 to OpenBK_T34_gniazdko3/freeheap retain=0
Info:MAIN:Time 23, idle 192100/s, free 74672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Will do request HA discovery now.
Info:HTTP:HASS counts: 1 rels, 0 pwms, 0 inps, 0 excluded
silver_mc wrote:Info:CMD:CMD_StartScript: started autoexec.bat at the beginning
Info:GEN:CHANNEL_Set channel 0 has changed to 1 (flags 0)
Info:MQTT:Channel has changed! Publishing 1 to channel 0
Info:CFG:####### Flash Save Channel 0 as 1 #######
silver_mc wrote:Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic OpenBK_T34_gniazdko3/0/set
Info:MQTT:MQTT client in mqtt_incoming_data_cb data is 0 for ch 0
Info:GEN:CHANNEL_Set channel 0 has changed to 0 (flags 0)
Info:MQTT:Channel has changed! Publishing 0 to channel 0
Info:MQTT:Publishing val 0 to OpenBK_T34_gniazdko3/0/get retain=0
Info:CFG:####### Flash Save Channel 0 as 0 #######
Quote:
Is the channel set via mqtt?
aliexpress wrote:
I just wanted to mention that I also received this very same T34 type Smart Plug.
My strategy to get the device flashed:
- keep the T34 on the PCB
- use enameled copper wire to attach on the device side ("Kupferlackdraht" in German), I had one with 0.25 mm diameter. The advantage is that this wire is very thin and can fit better to pins of ICs. It also is light and quite flexible - when you move it, it does not provide high forces to the IC pins, so less chance of breaking them off, or stripping off the copper layer of the PCB. Disadvantage: To get the insulation layer off to be able to apply solder is sometimes a bit of a challenge. Then I used ordinary cables to extend these thin wires to attach to PSU and to Serial converter.
- For P25, I soldered directly to IC pin.
- For P26, I used the connection at the resistor
- 3.3V and GND I attached directly to Pins 1 and 2 of AMS1117
For flashing, I had to power cycle for like 5 times or so until the serial connection was established.
The dump of original firmware did not contain Tuya keys, according to flasher tool. The socket was Tuya activated before.
rmoriz wrote:>>21324546
My eyes and my hands are too bad to solder anything on that 0,2mm that is left. This looks like a hot air job which is currently not feasible for me. (hot air station is in storage, no space left)