Hi,
A new variation Door/Window sensor from Tuya.
This sensor coming without a bi-metal but still working with a magnet for open or closed showing.
The module is CB3S so have the BK7231N inside.
I have flashing this BK7231N with the version 1.15.203 and the connection vcc, gnd, tx1 and rx1 straight on the modele CB3S.
After flashing i get this log file.
Have we working here with TP ?
Added after 5 [minutes]:
A new variation Door/Window sensor from Tuya.
This sensor coming without a bi-metal but still working with a magnet for open or closed showing.
The module is CB3S so have the BK7231N inside.
I have flashing this BK7231N with the version 1.15.203 and the connection vcc, gnd, tx1 and rx1 straight on the modele CB3S.
After flashing i get this log file.
55AA 00 00 00 01 01 01
55AA 00 02 00 00 01
From what i can understand from this is that the ID not changed but that the TP changed when i bring the magnet to the sensor.
Code:
Info:MAIN:Main_Init_Before_Delay
Info:CFG:####### Boot Count 54 #######
Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 9 changes count.
Error:CMD:no file early.bat err -2
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
Info:MAIN:Using
Info:MQTT:MQTT_RegisterCallback called for bT obk8C123456/ subT obk8C123456/+/set
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obk8C123456/ subT cmnd/obk8C123456/+
Info:MAIN:Started TuyaMCU.
Info:MAIN:Started tmSensor.
Info:GEN:Channel 1 type changed to readonly
Error:CMD:cmd // NOT found (args link dpid to channel 1)
Info:MAIN:Main_Init_After_Delay done
Info:MAIN:Time 1, idle 296349/s, free 82936, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 2, idle 191052/s, free 82936, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 3, idle 192883/s, free 82936, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 4, idle 192718/s, free 82936, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 5, idle 191262/s, free 82936, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:ssid:
Info:MAIN:Time 6, idle 192175/s, free 77968, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 7, idle 189932/s, free 77048, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 8, idle 113575/s, free 76792, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 9, idle 0/s, free 76792, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 10, idle 0/s, free 76792, 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=38:1f:8d:db:33:ff
Info:GEN:sta: 0, softap: 0, b/g/n
Info:MAIN:wl_status 3
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING
Info:MAIN:wl_status 10
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED
Info:MAIN:wl_status 11
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED
Info:MAIN:Time 11, idle 66360/s, free 77448, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 12, idle 191124/s, free 77328, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MQTT:
mqtt_pass
mqtt_clientID obk8C123456
mqtt_host 192.168.1.19:1883
Info:MAIN:Time 13, idle 381993/s, free 77048, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 14, idle 189453/s, free 77240, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 15, idle 188894/s, free 77240, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 16, idle 193992/s, free 77240, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 17, idle 193232/s, free 77240, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MQTT:mqtt_connection_cb: Successfully connected
Info:MQTT:mqtt_subscribed to obk8C123456/+/set
Info:MQTT:mqtt_subscribed to cmnd/obk8C123456/+
Info:MQTT:MQTT client "obk8C123456" request cb: err 0
Info:MQTT:MQTT client "obk8C123456" request cb: err 0
Info:MAIN:Time 18, idle 186001/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 19, idle 194223/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 20, idle 193245/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.1.46 gate=192.168.1.1 mask=255.255.255.0 mac=38:1f:8d:db:33:ff
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-41,ssid=CAUBERG_2.4,bssid=e8:01:8d:2b:f3:a3 ,channel=11,cipher_type:CCMP
Info:MAIN:Time 21, idle 189182/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 22, idle 199201/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 23, idle 203427/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 24, idle 190102/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 25, idle 192335/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 26, idle 192872/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 27, idle 191994/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 28, idle 191337/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 29, idle 202631/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 30, idle 191316/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.1.46 gate=192.168.1.1 mask=255.255.255.0 mac=38:1f:8d:db:33:ff
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-38,ssid=CAUBERG_2.4,bssid=e8:01:8d:2b:f3:a3 ,channel=11,cipher_type:CCMP
Info:MAIN:Time 31, idle 201279/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Boot complete time reached (30 seconds)
Info:CFG:####### Set Boot Complete #######
Info:MAIN:Time 32, idle 188066/s, free 65536, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 33, idle 194713/s, free 65536, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 34, idle 186149/s, free 77024, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:MAIN:Time 35, idle 191273/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 36, idle 193933/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 37, idle 193019/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:TuyaMCU:TUYAMCU received: 55 AA 00 00 00 01 01 01
Info:TuyaMCU:TuyaMCU_ProcessIncoming[ver=0]: processing command 0 (Hearbeat) with 8 bytes
Info:MAIN:Time 38, idle 207838/s, free 65536, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38
Info:TuyaMCU:TUYAMCU received: 55 AA 00 01 00 24 7B 22 70 22 3A 22 33 73 6C 70 69 72 6C 6E 6C 71 70 30 62 71 6F 31 22 2C 22 76 22 3A 22 31 2E 31 2E 30 22 7D C7
Info:TuyaMCU:TuyaMCU_ProcessIncoming[ver=0]: processing command 1 (QueryProductInformation) with 43 bytes
Info:TuyaMCU:TuyaMCU_ParseQueryProductInformation: received {"p":"3slpirlnlqp0bqo1","v":"1.1.0"}
Info:MAIN:Time 39, idle 187975/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:TuyaMCU:TUYAMCU received: 55 AA 00 02 00 00 01
Info:TuyaMCU:TuyaMCU_ProcessIncoming[ver=0]: processing command 2 (MCUconf) with 7 bytes
Info:TuyaMCU:TuyaMCU_ProcessIncoming: TUYA_CMD_MCU_CONF, TODO!
Info:MAIN:Time 40, idle 375275/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:GEN:dhcp=0 ip=192.168.1.46 gate=192.168.1.1 mask=255.255.255.0 mac=38:1f:8d:db:33:ff
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-39,ssid=CAUBERG_2.4,bssid=e8:01:8d:2b:f3:a3 ,channel=11,cipher_type:CCMP
Info:MAIN:Time 41, idle 184668/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:TuyaMCU:TUYAMCU received: 55 AA 00 00 00 01 01 01
Info:TuyaMCU:TuyaMCU_ProcessIncoming[ver=0]: processing command 0 (Hearbeat) with 8 bytes
Info:MAIN:Time 42, idle 187785/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 43, idle 192206/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 44, idle 195498/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 45, idle 190333/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:TuyaMCU:TUYAMCU received: 55 AA 00 00 00 01 01 01
Info:TuyaMCU:TuyaMCU_ProcessIncoming[ver=0]: processing command 0 (Hearbeat) with 8 bytes
Info:MAIN:Time 46, idle 192660/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 47, idle 194085/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 48, idle 196769/s, free 77240, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38
Info:MAIN:Time 49, idle 194485/s, free 77240, MQTT 1(1), bWifi 1
Have we working here with TP ?
Added after 5 [minutes]:






