logo elektroda
logo elektroda
X
logo elektroda

SNT961W CO+CH4 Gas Sensor with TYWE3S (ESP8266). TuyaMCU Reboot Loop.

lynxchat 264 6
ADVERTISEMENT
  • #1 21753691
    lynxchat
    Level 2  
    Good afternoon!
    I bought a CO CH4 (gas) sensor for my boiler room a while ago.
    Here's the link to AliExpress.
    https://aliexpress.ru/item/1005009156680185.html

    The marking inside is SNT961W.
    Chip TYWE3S (ESP8266 2MB)

    I flashed the OpenBK, but after activating the TuyaMCU in autoexec, the sensor blinks blue twice, then purple, and beeps, repeating indefinitely. I think the TuyaMCU chip itself is rebooting. ESP works without rebooting.
    The same thing happened when I tried to restore the original firmware without filling all the bytes with zeros first.
    The logs that were running at that moment only show 2 dpID.
    You can see it in the screenshot.

    What do you recommend?

    I collected the dpID information from the original firmware.

    {"18":"Auto-Detect",
    "19":"Auto-Detect Result",
    "20":"Preheat",
    "21":"Fault Alarm",
    "24":"Silence",
    "25":"Gas Detection State",
    "26":"Detected Gas",
    "29":"Alarm state",
    "34":"CO state",
    "35":"CO value",
    "101":"Alarm push interval",
    "102":"Alarm push times",
    "103":"CO Warning",
    "104":"Button alarm",
    "105":"Gas warning"}

    self_checking Boolean
    "{true,false}"

    checking_result Enum
    {
    "range": [
    "checking",
    "check_success",
    "check_failure",
    "others"
    ]
    }

    preheat Boolean
    "{true,false}"

    muffling Boolean
    "{true,false}"

    gas_sensor_state Enum
    {
    "range": [
    "alarm",
    "normal"
    ]
    }

    gas_sensor_value Integer
    {
    "unit": "",
    "min": 0,
    "max": 10000,
    "scale": 1,
    "step": 1
    }

    alarm_state Enum
    {
    "range": [
    "alarm_sound",
    "alarm_light",
    "alarm_sound_light",
    "normal"
    ]
    }

    co_state Enum
    {
    "range": [
    "alarm",
    "normal"
    ]
    }

    co_value Integer
    {
    "min": 0,
    "max": 1000,
    "scale": 1,
    "step": 1
    }
    Screenshot of TuyaMCU Explorer/Analyzer with decoded hex and data packets
    Close-up of a circuit board with electronic components and connected wires
    Printed circuit board with electronic components and connected wires
    AI: Which exact version of OpenBK did you flash, and could you share your configuration settings (especially any changes made before enabling TuyaMCU)?
    Last versoin on github for ESP8266 chip
    AI: How are you activating TuyaMCU in your autoexec—could you provide the specific commands or configuration steps you used?

    // Start TuyaMCu driver
    startDriver TuyaMCU

    // Set baud (as key was 9600)
    tuyaMCU_setBaudRate 9600

    // If using MQTT comment out tuyaMcu_defWiFiState 4
    // waitFor MQTTState 1
    tuyaMcu_defWiFiState 4

    // Mappings [dpID] [varType] [tgChannel]

    // CO - map dpID 35, type var(2) to Ch 1
    setChannelLabel 1 "CO value"
    setChannelType 1 ReadOnly
    linkTuyaMCUOutputToChannel 35 2 1

    // co_state - map dpID 34, type enum(4) to Ch 2
    setChannelLabel 2 "CO state (1 Alarm, 0 Normal)"
    setChannelType 2 ReadOnly
    linkTuyaMCUOutputToChannel 34 4 2

    // Detected Gas" dpID 26, type var(2) to Ch 1
    setChannelLabel 3 "Gas value"
    setChannelType 3 ReadOnly
    linkTuyaMCUOutputToChannel 26 2 1

    // Gas Detection State - map dpID 25, type enum(4) to Ch 2
    setChannelLabel 4 "Gas detection state (1 Alarm, 0 Normal)"
    setChannelType 4 ReadOnly
    linkTuyaMCUOutputToChannel 25 4 2
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 21754021
    lynxchat
    Level 2  
    >>21753891

    If log level 0 1 2 - buzzer is off.
    If log level 3 - error MQTT and buzzer on.

    The sound plays after each portion of data like this:
    Quote:

    Info:MAIN:Time 367, idle 0/s, free 13900, MQTT 1(19), bWifi 1, secondsWithNoPing 301, socks 0/0
    Info:TuyaMCU:Received: 55 AA 03 07 00 05 12 01 00 01 00 00
    Info:TuyaMCU:ProcessIncoming: discarding packet bad expected checksum, expected 0 and got checksum 34
    Info:TuyaMCU:Consumed 108 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 4F 00 4E 01 00 5E 00 00 32 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 7B 7B 0E 01 00 FF 00 00 00 07 00 00 00 00 96 01 40 AA 55 B4 FF 00 8B 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 1D 1B 1B FF 00 03 00 00 00 00 00 40 21 00 20 00 00 00 00 00 00 96 01 1F 4D 01 00 00 00 00 00 10 00 10 00 00 20 55 22 01 00 F0 80 E4 3A 33 03 00 01 41
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 F1 03 00 00 00 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 4F 00 4E 01 00 5E 00 00 32 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 7B 7B 30 01 00 FF 00 00 00 07 00 00 00 00 96 01 40 AA
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 15 1B 1B FF 00 03 00 00 00 00 00 40 21 00 20 00 00 00 00 00 00 96 01 1F 4D 01 00 00 00 00 00 10 00 10
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 81 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 F1 03 00 00 00 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 4F 00 4E 01 00 5E 00 00 32 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 7B 7B
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 00 00 00 00 00 34 00 5E 00 00 00 00 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 1D 1B 1B FF 00 03 00 00 00 00 00 40 21 00 20 00 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 93 88 00 02 00 00 A8 00 96 01 99 00 00 00 71 02 81 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 F1 03 00 00 00 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 4F 00 4E 01 00 5E 00 00 32
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 8B 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 5E 00 00 00 00 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 15 1B
    Info:MAIN:Time 368, idle 0/s, free 13724, MQTT 1(19), bWifi 1, secondsWithNoPing 302, socks 0/0
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 55 22 01 00 F0 80 E4 39 33 03 00 01 41 30 02 00 93 88 00 02 00 00 A8 00 96 01 99 00 00 00 71 02 80 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 F1 03 00 00 00 41 01 B2 00 04 00 00 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) FE 00 00 00 07 00 00 00 00 96 01 40 AA 55 B4 FF 00 8B 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 5E 00 00 00 00 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 96 01 1F 4D 01 00 00 00 00 00 10 00 10 00 00 20 55 22 01 00 F0 80 E4 32 33 03 00 01 41 30 02 00 93 88 00 02 00 00 A8 00 96 01 99 00 00 00 71 02 80 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 00 00 00 00 00 00 07 7B 7B 3B 01 00 FE 00 00 00 07 00 00 00 00 96 01 40 AA 55 B4 FF 00 8B 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 5E 00 00 00 00 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 03 00 00 00 00 00 40 21 00 20 00 00 00 00 00 00 96 01 1F 4D 01 00 00 00 00 00 10 00 10 00 00 20 55 22 01 00 F0 80 E4 0D 33 03 00 01 41 30 02 00 93 88 00 02 00 00 A8 00 96 01 99 00 00 00 71 02 80 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 4F 00 4E 01 00 5E 00 00 32 00 00 00 00 00 00 00 00 00 00 00 00 00 07 7B 7B 5C 01 00 FE 00 00 00 07 00 00 00 00 96 01 40 AA 55 B4 FF 00 8B 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 5E 00 00 00 00 50 01 0C 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 04 00 80 03 0B 0D B7 05 00 15 1B 1B FF 00 03 00 00 00 00 00 40 21 00 20 00 00 00 00 00 00 96 01 1F 4D 01 00 00 00 00 00 10 00 10 00 00 20 55 22 01 00 F0 80 E4 34 33 03 00 01 41 30 02 00 93 88 00 02 00 00 A8 00 96 01 99 00 00 00 71 02 80 05 05 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 03 00 00 00 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 4F 00 4E 01 00 5E 00 00 32 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 7B 7B 03 01 00 FE 00 00 00 07 00 00 00 00 96 01 40 AA 55 B4 FF 00 8B 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00
    Info:TuyaMCU:Consumed 38 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 15 1B 1B FF 00 03 00 00 00 00 00


    Added after 20 [minutes]:

    I have settings for some channels:
    Channel CO value = 0
    Channel CO state (1 Alarm, 0 Normal) = 0
    Channel Gas value = 0
    Channel Gas detection state (1 Alarm, 0 Normal) = 0

    Try to make alarm with CH4 gas.
    The device is clearly working and has started an alarm, but the parameters I'm receiving haven't changed at all.
    Moreover, when I changed the alarm to log3 instead of log0, the alarm stopped. And as long as it's log3 and there are sounds, the device isn't working properly.

    Added after 1 [hours] 10 [minutes]:

    Thanks, I figured it all out, I'll add the configuration for this device this evening.
  • #4 21754447
    divadiow
    Level 37  
    cool. out of interest, what's the product ID returned when sending command tuyaMcu_sendQueryState
  • ADVERTISEMENT
  • #5 21755597
    lynxchat
    Level 2  
    >>21754447
    Debug:CMD:cmd [tuyaMcu_sendQueryState]
    Info:CMD:[WebApp Cmd 'tuyaMcu_sendQueryState' Result] OK >>21754447

    Reply is only OK. No more information in console.
  • ADVERTISEMENT
  • #6 21756878
    lynxchat
    Level 2  
    >>21754447
    No more usefull information

    Debug:CMD:cmd [tuyaMcu_sendQueryState]
    Info:CMD:[WebApp Cmd 'tuyaMcu_sendQueryState' Result] OK
    ExtraDebug:TuyaMCU:TuyaMCU heartbeat_valid = 0, product_information_valid=0, self_processing_mode = 1, wifi_state_valid = 0, wifi_state_timer=45
    Info:TuyaMCU:Received: 55 AA 03 07 00 05 12 01 00 01 00 00
    Info:TuyaMCU:ProcessIncoming: discarding packet bad expected checksum, expected 0 and got checksum 34
    Info:TuyaMCU:Consumed 108 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 5F 00 5E 01 00 67 00 00 37 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 7B 7B 0E 01 00 FF 00 00 00 07 00 00 00 00 BC 01 40 AA 55 B4 FF 00 8A 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 15 1B 1B FF 00 03 00 00 00 00 00 40 21 00 20 00 00 00 00 00 00 BC 01 1F 4D 01 00 00 00 00 00 10 00 10 00 00 20 55 22 01 00 F0 80 E4 F5 33 03 00 01 41
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 F1 03 00 00 00 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 5F 00 5E 01 00 67 00 00 37 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 7B 7B 30 01 00 FF 00 00 00 07 00 00 00 00 BC 01 40 AA
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 15 1B 1B FF 00 03 00 00 00 00 00 40 21 00 20 00 00 00 00 00 00 BC 01 1F 4D 01 00 00 00 00 00 10 00 10
    ExtraDebug:TuyaMCU:TuyaMCU heartbeat_valid = 0, product_information_valid=0, self_processing_mode = 1, wifi_state_valid = 0, wifi_state_timer=45
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 81 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 F1 03 00 00 00 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 5F 00 5E 01 00 67 00 00 37 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 7B 7B
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 00 00 00 00 00 34 00 67 00 00 00 00 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 15 1B 1B FF 00 03 00 00 00 00 00 40 21 00 20 00 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 93 88 00 02 00 00 A8 00 96 01 65 00 00 00 71 02 81 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 F1 03 00 00 00 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 5F 00 5E 01 00 67 00 00 37
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 8A 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 67 00 00 00 00 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 15 1B
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 55 22 01 00 F0 80 E4 82 33 03 00 01 41 30 02 00 93 88 00 02 00 00 A8 00 96 01 65 00 00 00 71 02 80 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 82 F1 03 00 00 00 41 01 B2 00 04 00 00 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) FE 00 00 00 07 00 00 00 00 BC 01 40 AA 55 B4 FF 00 8A 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 67 00 00 00 00 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02 02 00 02 00 00 00 00 00 00 03 00 00 FB 59 55 0F
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) BC 01 1F 4D 01 00 00 00 00 00 10 00 10 00 00 20 55 22 01 00 F0 80 E4 9A 33 03 00 01 41 30 02 00 93 88 00 02 00 00 A8 00 96 01 65 00 00 00 71 02 80 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 00 00 00 00 00 00 07 7B 7B 3B 01 00 FE 00 00 00 07 00 00 00 00 BC 01 40 AA 55 B4 FF 00 8A 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 67 00 00 00 00 50 01 0C 00 00 7E 21 00 00 00 00 00 00 00 34 22 02 00 00 0D 02
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 03 00 00 00 00 00 40 21 00 20 00 00 00 00 00 00 BC 01 1F 4D 01 00 00 00 00 00 10 00 10 00 00 20 55 22 01 00 F0 80 E4 91 33 03 00 01 41 30 02 00 93 88 00 02 00 00 A8 00 96 01 65 00 00 00 71 02 80 05 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    ExtraDebug:TuyaMCU:TuyaMCU heartbeat_valid = 0, product_information_valid=0, self_processing_mode = 1, wifi_state_valid = 0, wifi_state_timer=45
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 5F 00 5E 01 00 67 00 00 37 00 00 00 00 00 00 00 00 00 00 00 00 00 07 7B 7B 5C 01 00 FE 00 00 00 07 00 00 00 00 BC 01 40 AA 55 B4 FF 00 8A 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 67 00 00 00 00 50 01 0C 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 04 00 80 03 0B 0D B7 05 00 15 1B 1B FF 00 03 00 00 00 00 00 40 21 00 20 00 00 00 00 00 00 BC 01 1F 4D 01 00 00 00 00 00 10 00 10 00 00 20 55 22 01 00 F0 80 E4 8A 33 03 00 01 41 30 02 00 93 88 00 02 00 00 A8 00 96 01 65 00 00 00 71 02 80 05 05 00 00
    Info:TuyaMCU:Consumed 120 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 03 00 00 00 41 01 B2 00 04 00 00 00 00 00 02 85 00 00 00 00 5F 00 5E 01 00 67 00 00 37 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 7B 7B 03 01 00 FE 00 00 00 07 00 00 00 00 BC 01 40 AA 55 B4 FF 00 8A 00 00 00 00 72 02 9E 00 00 12 00 00 00 00 00 00 00 00 00
    Info:TuyaMCU:Consumed 38 unwanted non-header byte in Tuya MCU buffer
    Info:TuyaMCU:Skipped data (part) 00 00 00 00 00 00 03 00 00 FB 59 55 0F 00 00 00 00 00 04 00 80 03 0B 0D B7 05 00 15 1B 1B FF 00 03 00 00 00 00 FF

Topic summary

A user purchased a CO and CH4 gas sensor module marked SNT961W with a TYWE3S chip (ESP8266 2MB) from AliExpress for boiler room monitoring. After flashing OpenBK firmware and enabling TuyaMCU in autoexec, the sensor enters a reboot loop indicated by blue and purple LED blinking and beeping, suggesting the TuyaMCU chip is rebooting while the ESP8266 remains stable. Attempts to restore the original firmware without zero-filling the flash also failed. The device logs show only two dpIDs active, despite the original firmware containing multiple dpIDs related to gas detection, alarms, and sensor states. The user seeks recommendations to resolve the TuyaMCU reboot loop and properly interface with the sensor’s dpIDs for stable operation.
Summary generated by the language model.
ADVERTISEMENT