logo elektroda
logo elektroda
X
logo elektroda

Experience? / ONENUO 228WTH Smoke Detector with Temp/Humidity: OBK Flashing, Chip Info, Battery Life

io2345 363 21
ADVERTISEMENT
  • #1 21567599
    io2345
    Level 7  
    Experience with ONENUO 228WTH Smoke-Detector with temperature and humidity function (this one: Link)?
    Did anyone already flash it to OBK? Which chip is inside, does power save still function well, as this a battery based device?
    I thought it might be useful to use it to observe a solar battery. If that has a problem, it might result in over-temperature first, before it produces smoke. So it might be possible to switch it off before it burns. And if it burns, there should be still alarm. Don't know if it's a good idea, honestly ;-)
  • ADVERTISEMENT
  • #2 21567720
    p.kaczmarek2
    Moderator Smart Home
    We had some smoke detectors on forum already. They are either TuyaMCU (tmSensor driver) or require a deep sleep feature on BK7321N. In general, battery powered devices are hard to flash and I am often trying to suggest Zigbee alternatives, but still, we can give it a go if you want.

    Alternatively you can just make a simple DIY device, any WiFi module + DHT11 or DHT22 or DS18B20 and attach temperature sensor to the part that may heat up...
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21567802
    io2345
    Level 7  
    Hmm, you mean something simple like an ESP8266? Or are you talking about Tuyas? And is a DIY device really better in terms of battery saving?

    Hinzugefügt nach 5 [Minuten]:

    In general I'm quite happy with this battery driven device Link , so why not give it another try? But if it turns out to be a MCU-device, it might be difficult to realise in OBK.
  • #4 21568113
    p.kaczmarek2
    Moderator Smart Home
    OBK does not run yet on ESP8266, but it does on ESP32. I was rather thinking on something powered from solar inverter, it must have 5V output, does it?

    We can give this smoke detector a go, I will do my best to help.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 21568187
    io2345
    Level 7  
    >>21568113 I see. No, the solar inverter is integrated in the battery, there is no output other than 230V (it's Nexa 2000 model). I think I'm curious enough to order some of these detectors. They are said to have a normal working mode power consumption of less than 10uA. Hard to believe, if there is really a kind of MCU inside.
  • #6 21576200
    io2345
    Level 7  
    It arrived now. Thes is what we get from Tuya Developer page:

    {
      "result": {
        "model": "{
    "modelId":"000004qnkn",
    "services":[
    {
    "actions":[],
    "code":"",
    "description":"",
    "events":[],
    "name":"默认服务",
    "properties":[
    {
    "abilityId":1,
    "accessMode":"ro",
    "code":"smoke_sensor_state",
    "description":"",
    "extensions":{
    "iconName":"icon-huoyan",
    "attribute":"1280",
    "trigger":"direct"},
    "name":"烟雾检测状态",
    "typeSpec":{
    "type":"enum",
    "range":["alarm",
    "normal"]
    }},{
    "abilityId":15,
    "accessMode":"ro",
    "code":"battery_percentage",
    "description":"",
    "extensions":{
    "iconName":"icon-dp_battery",
    "attribute":"1024",
    "trigger":"direct"},
    "name":"电池电量",
    "typeSpec":{
    "type":"value",
    "max":100,
    "min":0,
    "scale":0,
    "step":1,
    "unit":"%"}},{
    "abilityId":16,
    "accessMode":"rw",
    "code":"muffling",
    "description":"",
    "extensions":{
    "iconName":"icon-Mute",
    "attribute":"1024",
    "trigger":"direct"},
    "name":"消音",
    "typeSpec":{
    "type":"bool"}},{
    "abilityId":23,
    "accessMode":"ro",
    "code":"temp_current",
    "description":"",
    "extensions":{
    "iconName":"icon-dp_c",
    "attribute":"1154"},
    "name":"当前温度",
    "typeSpec":{
    "type":"value",
    "max":1000,
    "min":-100,
    "scale":1,
    "step":1,
    "unit":"℃"}},{
    "abilityId":24,
    "accessMode":"ro",
    "code":"humidity_value",
    "description":"",
    "extensions":{
    "iconName":"icon-shidu",
    "attribute":"1154"},
    "name":"当前湿度",
    "typeSpec":{
    "type":"value",
    "max":100,
    "min":1,
    "scale":0,
    "step":1,
    "unit":"%"}},{
    "abilityId":101,
    "accessMode":"ro",
    "code":"self_test",
    "description":"",
    "name":"自检测试状态",
    "typeSpec":{
    "type":"bool"}},{
    "abilityId":107,
    "accessMode":"ro",
    "code":"temp_alarm",
    "description":"",
    "extensions":{
    "iconName":"icon-baojing",
    "attribute":"4096"},
    "name":"温度报警",
    "typeSpec":{
    "type":"enum",
    "range":["loweralarm",
    "upperalarm",
    "cancel"]
    }}
    ]
    }
    ]
    }"
      },
      "success": true,
      "t": 1749643165427,
      "tid": "85091a9046bb11f0884d66005ac75605"
    }



    and also

    {
      "result": {
        "properties": [
          {
            "code": "smoke_sensor_state",
            "custom_name": "",
            "dp_id": 1,
            "time": 1749642836349,
            "type": "enum",
            "value": "normal"
          },
          {
            "code": "battery_percentage",
            "custom_name": "",
            "dp_id": 15,
            "time": 1749642855516,
            "type": "value",
            "value": 100
          },
          {
            "code": "muffling",
            "custom_name": "",
            "dp_id": 16,
            "time": 1749642833980,
            "type": "bool",
            "value": false
          },
          {
            "code": "temp_current",
            "custom_name": "",
            "dp_id": 23,
            "time": 1749642855125,
            "type": "value",
            "value": 238
          },
          {
            "code": "humidity_value",
            "custom_name": "",
            "dp_id": 24,
            "time": 1749642855291,
            "type": "value",
            "value": 62
          },
          {
            "code": "self_test",
            "custom_name": "",
            "dp_id": 101,
            "time": 1749642855406,
            "type": "bool",
            "value": true
          },
          {
            "code": "temp_alarm",
            "custom_name": "",
            "dp_id": 107,
            "time": 1749642837479,
            "type": "enum",
            "value": "cancel"
          }
        ]
      },
      "success": true,
      "t": 1749644127214,
      "tid": "c2522a3246bd11f0b492d6238a027bdd"

    }


    The inside:


    Round printed circuit board with Bluetooth module, various electronic components, and CR2032 battery holder.

    MCU is UM8005, Controller is CB3S

    Hinzugefügt nach 16 [Minuten]:

    Any chance with that combination to get it running on OBK?
  • #7 21576266
    p.kaczmarek2
    Moderator Smart Home
    Well, yes, more or less... it's a TuyaMCU + tmSensor device. You need to create autoexec.bat first. Map dpIDs to channels first in notepad, then triple check the config, and then try flashing it... you will need HA or some kind of server to store the results, of course, this device only wakes up from time to time to report data.

    You can also consider taking TuyaMCU traffic capture first (both RX->TX and TX->RX lanes).

    We have already some tmSensor-related guides on our forum.
    https://www.elektroda.com/rtvforum/find.php?q=tmSensor
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #8 21576311
    io2345
    Level 7  
    @divadiow The original firmware and the suggested Json:

    {
       "abi":"0",
       "id":"null",
       "swv":"2.1.12",
       "bv":"40.00",
       "pv":"2.2",
       "lpv":"3.4",
       "pk":"fzb5up2iehjcrnqy",
       "firmk":"keyr5qhaxgstx9ys",
       "cadv":"1.0.3",
       "cdv":"1.0.0",
       "dev_swv":"1.0.7",
       "s_id":"null",
       "dtp":"9",
       "sync":"0",
       "attr_num":"0",
       "mst_tp_0":"0",
       "mst_ver_0":"null",
       "mst_tp_1":"0",
       "mst_ver_1":"null",
       "mst_tp_2":"0",
       "mst_ver_2":"null",
       "mst_tp_3":"0",
       "mst_ver_3":"null "
    }
  • #9 21577001
    io2345
    Level 7  
    >>21576266 Can you give me an example of an autoexec.bat for tmSensor?

    I think the task shouldn't be to hard. This device is much less smart than expected. In fact it has only a handful of functions: Transmit temperature and humidity values (dpIDs 23 and 24), transmit battery percentage (15), send smoke and overtemperature alarms (1 and 107). Furthermore it has two hardware buttons "WiFi" and "Test". When pressing the later one, the device will give a short "Mi-Mi-Mi" alarm sound.
    The sensitivity of the smoke sensor should be adjustable at least in two grades. But there is no configuration button for that. Maybe it was intended to be implemented, but wasn't finally.

    Isn't it possible to keep the WiFi-module running by letting the smoke alarm sound? Or will it go to sleep again, anyway, after transmitting the alarm?
    Sensor settings screen showing notification options for errors, tests, alarms, and battery level.
    Screenshot of a mobile app showing temperature (23.8°C) and humidity (62%) readings from a WIFI TH&Smoke sensor.
  • #10 21577842
    p.kaczmarek2
    Moderator Smart Home
    I think I saw some pull request that improved TuyaMCU battery-powered configuration time. It was here:
    https://github.com/openshwprojects/OpenBK7231T_App/pull/1597
    TuyaMCU should supposedly wait 90 seconds if you press reset button, but I didn't test that myself. Can you test it while we will work on your device?

    We have some sample autoexec.bat for tmSensor on forum, search for "tmSensor". We can also go together through required channel types or just use ReadOnly if something is missing.

    The first step would be to check the used baud rate. If it's not in extracted config, then you can just connect USB to UART converter to battery-powered device and try to watch the packets. Our TuyaMCU analyzer will decode them only if selected baud is correct. There are two options - 9600 or 115200.;
    https://www.elektroda.com/rtvforum/topic3970199.html
    Helpful post? Buy me a coffee.
  • #11 21578215
    io2345
    Level 7  
    There is no reset button, but Values (like temperature) are actualized every 60 seconds.

    Baud rate is 9600. I did some tracking on the UARTs TX line. Normal operation on MCUs TX and RX, and triggering smoke alarm as well as triggering overtemperature alarm.

    Normal operation:

    TX-Line:
    
    
    55 AA	00	01		00 24	7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D	01	
    HEADER	VER=00	Product		LEN	{"p":"fzb5up2iehjcrnqy","v":"1.0.7"}	CHK	
    
    55 AA	00	02		00 00		01	
    HEADER	VER=00	McuConf		LEN		CHK	
    
    55 AA	00	02		00 00		01	
    HEADER	VER=00	McuConf		LEN		CHK	
    
    55 AA	00	05		00 05	0104000101	10	
    HEADER	VER=00	Unk		LEN	dpId=1 Enum V=1		CHK	
    
    55 AA	00	05		00 05	6501000101	71	
    HEADER	VER=00	Unk		LEN	dpId=101 Bool V=1		CHK	
    
    55 AA	00	05		00 08	17020004000000C0	E9	
    HEADER	VER=00	Unk		LEN	dpId=23 Val V=192		CHK	
    
    55 AA	00	05		00 08	1802000400000041	6B	
    HEADER	VER=00	Unk		LEN	dpId=24 Val V=65		CHK	
    
    55 AA	00	06		00 00		05	
    HEADER	VER=00	SetDP		LEN			CHK	
    
    55 AA	00	05		00 05	6501000101	71	
    HEADER	VER=00	Unk		LEN	dpId=101 Bool V=1		CHK	
    
    55 AA	00	05		00 08	0F0200040000003D	5E	
    HEADER	VER=00	Unk		LEN	dpId=15 Val V=61		CHK	
    
    55 AA	00	05		00 05	6B04000102	7B	
    HEADER	VER=00	Unk		LEN	dpId=107 Enum V=2		CHK	
    
    55 AA	00	05		00 08	17020004000000C0	E9	
    HEADER	VER=00	Unk		LEN	dpId=23 Val V=192		CHK	
    
    55 AA	00	05		00 08	1802000400000041	6B	
    HEADER	VER=00	Unk		LEN	dpId=24 Val V=65		CHK	
    
    ===========================================
    RX-Line:
    
    
    55 AA	00	01		00 00		00	
    HEADER	VER=00	Product		LEN		CHK	
    
    55 AA	00	02		00 01	02	04	
    HEADER	VER=00	McuConf		LEN	02	CHK	
    
    55 AA	00	02		00 01	03	05	
    HEADER	VER=00	McuConf		LEN	03	CHK	
    
    55 AA	00	02		00 01	04	06	
    HEADER	VER=00	McuConf		LEN	04	CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	06		00 08	0119060D0D340A05	8A	
    HEADER	VER=00	SetDP		LEN	bOk=1 25/6/13 13:52:10			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	01		00 00		00	
    HEADER	VER=00	Product		LEN		CHK	
    
    55 AA	00	02		00 01	03	05	
    HEADER	VER=00	McuConf		LEN	03	CHK	
    
    55 AA	00	02		00 01	04	06	
    HEADER	VER=00	McuConf		LEN	04	CHK	
    
    55 AA	00	10		00 02	0100	12	
    HEADER	VER=00	ObtainDPcache		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	06		00 08	0119060D0D350805	89	
    HEADER	VER=00	SetDP		LEN	bOk=1 25/6/13 13:53:8			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	



    Triggering smoke alarm:

    TX-Line:
    
    
    55 AA	00	01		00 24	7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D	01	
    HEADER	VER=00	Product		LEN	{"p":"fzb5up2iehjcrnqy","v":"1.0.7"}	CHK	
    
    55 AA	00	02		00 00		01	
    HEADER	VER=00	McuConf		LEN		CHK	
    
    55 AA	00	02		00 00		01	
    HEADER	VER=00	McuConf		LEN		CHK	
    
    55 AA	00	02		00 00		01	
    HEADER	VER=00	McuConf		LEN		CHK	
    
    55 AA	00	10		00 01	00	10	
    HEADER	VER=00	ObtainDPcache		LEN			CHK	
    
    55 AA	00	05		00 08	17020004000000CF	F8	
    HEADER	VER=00	Unk		LEN	dpId=23 Val V=207		CHK	
    
    55 AA	00	05		00 08	1802000400000040	6A	
    HEADER	VER=00	Unk		LEN	dpId=24 Val V=64		CHK	
    
    55 AA	00	06		00 00		05	
    HEADER	VER=00	SetDP		LEN			CHK	
    
    55 AA	00	05		00 05	0104000100	0F	
    HEADER	VER=00	Unk		LEN	dpId=1 Enum V=0		CHK	
    
    
    =========================================================
    RX-Line when pushing "Mute alarm" in the App:
    
    55 AA	00	09		00 05	1001000101	20	
    HEADER	VER=00	Unk		LEN	1001000101	CHK


    Triggering overtemperature alarm:

    TX-Line:
    
    55 AA	00	01		00 24	7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D	01	
    HEADER	VER=00	Product		LEN	{"p":"fzb5up2iehjcrnqy","v":"1.0.7"}	CHK	
    
    55 AA	00	02		00 00		01	
    HEADER	VER=00	McuConf		LEN		CHK	
    
    55 AA	00	02		00 00		01	
    HEADER	VER=00	McuConf		LEN		CHK	
    
    55 AA	00	02		00 00		01	
    HEADER	VER=00	McuConf		LEN		CHK	
    
    55 AA	00	10		00 01	00	10	
    HEADER	VER=00	ObtainDPcache		LEN			CHK	
    
    55 AA	00	05		00 08	1702000400000273	9E	
    HEADER	VER=00	Unk		LEN	dpId=23 Val V=627		CHK	
    
    55 AA	00	05		00 08	1802000400000006	30	
    HEADER	VER=00	Unk		LEN	dpId=24 Val V=6		CHK	
    
    55 AA	00	06		00 00		05	
    HEADER	VER=00	SetDP		LEN			CHK	
    
    55 AA	00	05		00 05	6B04000101	7A	
    HEADER	VER=00	Unk		LEN	dpId=107 Enum V=1		CHK	
    
    55 AA	00	05		00 08	1702000400000273	9E	
    HEADER	VER=00	Unk		LEN	dpId=23 Val V=627		CHK	
    
    55 AA	00	05		00 08	1802000400000006	30	
    HEADER	VER=00	Unk		LEN	dpId=24 Val V=6		CHK
  • #12 21579263
    io2345
    Level 7  
    >>21577842 After some more reading, I made an autoexec.bat. Could this be working? Still some questions: What about "setChannelType", can you set whatever you want, like "OnOff" for dpID 1, or "Percent" for dID 15 ?

    How can I send data to the MCU? I've seen, that it get's regularly the actual date and time from the WiFi-module. And to mute smoke-alarm I eventually have to transmit a code "1001000101" (or maybe not - the Tuya developer page says that this a "bool"-field ???). How to do that? The above log contains also this "command 10 - ObtainDPcache", I guess it can be done with that in conjunction with command 06 - "SetDP", but I don't understand how to implent it. How can I send data to this DPcache, so that the MCU can grab it?

    startDriver TuyaMCU
    startDriver tmSensor
    tuyaMCU_setBaudRate 9600
    setChannelType 1 ReadOnlyAlarmNormal
    setChannelLabel 1 "SmokeAlarm"
    linkTuyaMCUOutputToChannel 1 enum 1
    setChannelType 15 ReadOnly
    setChannelLabel 15 "Percent_Battery"
    linkTuyaMCUOutputToChannel 15 value 15
    setChannelType 16 bool
    setChannelLabel 16 "Mute"
    SetStartValue 16 0
    linkTuyaMCUOutputToChannel 16 bool 16 1
    setChannelType 23 ReadOnlyTemperature_div10
    setChannelLabel 23 "Temperature"
    linkTuyaMCUOutputToChannel 23 value 23
    setChannelType 24 Humidity
    setChannelLabel 24 "Humidity"
    linkTuyaMCUOutputToChannel 24 value 24
    setChannelType 11 ReadOnlybool
    setChannelLabel 11 "Self test"
    linkTuyaMCUOutputToChannel 101 bool 11
    setChannelType 7 ReadOnlyNiedrigHoch
    setChannelLabel 7 "Overtemperature"
    linkTuyaMCUOutputToChannel 107 enum 7
  • #13 21580065
    io2345
    Level 7  
    >>21579263 Obviously you cannot set ChannelType to whatever you like. See a log:

    Info:MAIN:Time 18, idle 181045/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 17 02 00 04 00 00 00 CD F6 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 23, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 205
    Info:GEN:CHANNEL_Set channel 23 has changed to 205 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 205 to channel 23 
    Info:MQTT:Publishing val 205 to Rauchmelder/23/get retain=0
    Info:MQTT:Publishing val 3 to Rauchmelder/sockets retain=0
    Info:MAIN:Time 19, idle 184373/s, free 58496, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MQTT:Publishing val -55 to Rauchmelder/rssi retain=0
    Info:MAIN:Time 20, idle 187486/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-55,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MQTT:Publishing val 20 to Rauchmelder/uptime retain=0
    Info:MAIN:Time 21, idle 184582/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 18 02 00 04 00 00 00 3C 66 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 24, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 60
    Info:GEN:CHANNEL_Set channel 24 has changed to 60 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 60 to channel 24 
    Info:MQTT:Publishing val 60 to Rauchmelder/24/get retain=0
    Info:MQTT:Publishing val 70192 to Rauchmelder/freeheap retain=0
    Info:MAIN:Time 22, idle 181040/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Publishing val 192.168.0.38 to Rauchmelder/ip retain=0
    Info:MAIN:Time 23, idle 186952/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Channel has changed! Publishing 1 to channel 1 
    Info:MQTT:Publishing val 1 to Rauchmelder/1/get retain=0
    Info:MAIN:Time 24, idle 186739/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 06 00 00 05 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 6 (SetDP) len 7
    Info:TuyaMCU:ProcessIncoming: received TUYA_V0_CMD_OBTAINLOCALTIME, so sending back time
    Info:TuyaMCU:MCU time to set: 0
    Info:TuyaMCU:ptime ->gmtime => tm_hour: 0
    Info:TuyaMCU:ptime ->gmtime => tm_min: 0
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 65 01 00 01 01 71 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 101, dataType 1-bool and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 1
    Info:GEN:No change in channel 11 (still set to 1) - ignoring
    
    Info:MQTT:Channel has changed! Publishing 0 to channel 7 
    Info:MQTT:Publishing val 0 to Rauchmelder/7/get retain=0
    Info:MAIN:Time 25, idle 179214/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Channel has changed! Publishing 1 to channel 11 
    Info:MQTT:Publishing val 1 to Rauchmelder/11/get retain=0
    Info:MAIN:Time 26, idle 185723/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MQTT:Channel has changed! Publishing 0 to channel 15 
    Info:MQTT:Publishing val 0 to Rauchmelder/15/get retain=0
    Info:MAIN:Time 27, idle 184179/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 0F 02 00 04 00 00 00 32 53 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 15, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 50
    Info:GEN:CHANNEL_Set channel 15 has changed to 50 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 50 to channel 15 
    Info:MQTT:Publishing val 50 to Rauchmelder/15/get retain=0
    Info:MQTT:Channel has changed! Publishing 0 to channel 16 
    Info:MQTT:Publishing val 0 to Rauchmelder/16/get retain=0
    Info:MAIN:Time 28, idle 181369/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Channel has changed! Publishing 205 to channel 23 
    Info:MQTT:Publishing val 205 to Rauchmelder/23/get retain=0
    Info:MAIN:Time 29, idle 185250/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MQTT:Channel has changed! Publishing 60 to channel 24 
    Info:MQTT:Publishing val 60 to Rauchmelder/24/get retain=0
    Info:MAIN:Time 30, idle 182170/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-56,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 01 04 00 01 00 0F 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 1, dataType 4-enum and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 0
    Info:GEN:CHANNEL_Set channel 1 has changed to 0 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 0 to channel 1 
    Info:MQTT:Publishing val 0 to Rauchmelder/1/get retain=0
    Info:MAIN:Time 31, idle 177728/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 32, idle 189273/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 33, idle 185265/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 6B 04 00 01 02 7B 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 107, dataType 4-enum and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 2
    Info:GEN:CHANNEL_Set channel 7 has changed to 2 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 2 to channel 7 
    Info:MQTT:Publishing val 2 to Rauchmelder/7/get retain=0
    Info:MAIN:Time 34, idle 184354/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 35, idle 188902/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 36, idle 190248/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 17 02 00 04 00 00 00 CD F6 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 23, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 205
    Info:GEN:No change in channel 23 (still set to 205) - ignoring
    
    Info:MAIN:Time 37, idle 189278/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 38, idle 187167/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 39, idle 190722/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 18 02 00 04 00 00 00 3C 66 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 24, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 60
    Info:GEN:No change in channel 24 (still set to 60) - ignoring
    
    Info:MAIN:Time 40, idle 186068/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-54,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 41, idle 185263/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 42, idle 188174/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 43, idle 187001/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 44, idle 188130/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 45, idle 190365/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 46, idle 190384/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 65 01 00 01 00 70 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 101, dataType 1-bool and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 0
    Info:GEN:CHANNEL_Set channel 11 has changed to 0 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 0 to channel 11 
    Info:MQTT:Publishing val 0 to Rauchmelder/11/get retain=0
    Info:MAIN:Time 47, idle 185262/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 48, idle 185051/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 49, idle 189726/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 50, idle 188182/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-54,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 51, idle 187057/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 52, idle 190867/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 53, idle 188108/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 54, idle 186843/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 55, idle 191909/s, free 69464, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 56, idle 192272/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 57, idle 188997/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 58, idle 187844/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 59, idle 189979/s, free 69768, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 60, idle 186010/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-54,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 61, idle 188800/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 62, idle 188134/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 63, idle 197152/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 64, idle 191639/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 65, idle 189714/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 66, idle 187682/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 67, idle 195104/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 68, idle 186733/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MAIN:Time 69, idle 190446/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 70, idle 191096/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-54,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 71, idle 184116/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 1, socks 3/38 
    Info:MAIN:Time 72, idle 188085/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 2, socks 3/38 
    Info:MAIN:Time 73, idle 190634/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing 3, socks 2/38 
    Info:MAIN:Time 74, idle 189099/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 4, socks 3/38 
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic Rauchmelder/16/set
    Info:MQTT:MQTT client in mqtt_incoming_data_cb data is 0 for ch 16
    Info:GEN:No change in channel 16 (still set to 0) - ignoring
    
    Info:MAIN:Time 75, idle 187507/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 5, socks 3/38 
    Info:MAIN:Time 76, idle 191876/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 6, socks 3/38 
    Info:MAIN:Time 77, idle 187990/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 7, socks 3/38 
    Info:MAIN:Time 78, idle 188684/s, free 58192, MQTT 1(1), bWifi 1, secondsWithNoPing 8, socks 3/38 
    Info:MAIN:Time 79, idle 190451/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 9, socks 3/38 
    Info:MAIN:Time 80, idle 188422/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing 10, socks 2/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-54,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 81, idle 184553/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 11, socks 3/38 
    Info:MAIN:Time 82, idle 189139/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing 12, socks 2/38 
    Info:MAIN:Time 83, idle 191126/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing 13, socks 2/38 
    Info:MAIN:Time 84, idle 188896/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 14, socks 3/38 
    Info:MAIN:Time 85, idle 189821/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing 15, socks 2/38 
    Info:MAIN:Time 86, idle 190174/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 16, socks 3/38 
    Info:MAIN:Time 87, idle 188875/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 17, socks 3/38 
    Info:MAIN:Time 88, idle 191159/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 18, socks 3/38 
    Info:MAIN:Time 89, idle 186421/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 19, socks 3/38 
    Info:MAIN:Time 90, idle 187040/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 20, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-54,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 91, idle 187487/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 21, socks 3/38 
    Info:MAIN:Time 92, idle 188962/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 22, socks 3/38 
    Info:MAIN:Time 93, idle 187175/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing 23, socks 2/38 
    Info:MAIN:Time 94, idle 188981/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 24, socks 3/38 
    Info:MAIN:Time 95, idle 189284/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing 25, socks 2/38 
    Info:MAIN:Time 96, idle 191024/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 26, socks 3/38 
    Info:MAIN:Time 97, idle 189743/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing 27, socks 2/38 
    Info:MAIN:Time 98, idle 190497/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 28, socks 3/38 
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic Rauchmelder/16/set
    Info:MQTT:MQTT client in mqtt_incoming_data_cb data is 1 for ch 16
    Info:GEN:CHANNEL_Set channel 16 has changed to 1 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 1 to channel 16 
    Info:MQTT:Publishing val 1 to Rauchmelder/16/get retain=0
    Info:MAIN:Time 99, idle 181908/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 29, socks 3/38 
    Info:MAIN:Time 100, idle 191107/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 30, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-55,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 101, idle 186281/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 31, socks 3/38 
    Info:MAIN:Time 102, idle 190879/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 32, socks 3/38 
    Info:MAIN:Time 103, idle 188781/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing 33, socks 2/38 
    Info:MAIN:Time 104, idle 191599/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 34, socks 3/38 
    Info:MAIN:Time 105, idle 189468/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 35, socks 3/38 
    Info:MAIN:Time 106, idle 190473/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 36, socks 3/38 
    Info:MAIN:Time 107, idle 189930/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 37, socks 3/38 
    Info:MAIN:Time 108, idle 196904/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 38, socks 3/38 
    Info:MAIN:Time 109, idle 187344/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 39, socks 3/38 
    Info:MAIN:Time 110, idle 191605/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 40, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-58,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 111, idle 183104/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing 41, socks 2/38 
    Info:MAIN:Time 112, idle 197159/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 42, socks 3/38 
    Info:MAIN:Time 113, idle 189708/s, free 61584, MQTT 1(1), bWifi 1, secondsWithNoPing 43, socks 3/38 
    Info:MAIN:Time 114, idle 189812/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 44, socks 3/38 
    Info:MAIN:Time 115, idle 191770/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing 45, socks 2/38 
    Info:MAIN:Time 116, idle 193782/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 46, socks 3/38 
    Info:MAIN:Time 117, idle 190892/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing 47, socks 2/38 
    Info:MAIN:Time 118, idle 192609/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 48, socks 3/38 
    Info:MAIN:Time 119, idle 190148/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing 49, socks 2/38 
    Info:MAIN:Time 120, idle 190008/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 50, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-57,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 121, idle 184881/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 51, socks 3/38 
    Info:MAIN:Time 122, idle 194146/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 52, socks 3/38 
    Info:MAIN:Time 123, idle 189849/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 53, socks 3/38 
    Info:MAIN:Time 124, idle 195756/s, free 69960, MQTT 1(1), bWifi 1, secondsWithNoPing 54, socks 3/38 
    Info:MAIN:Time 125, idle 188810/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 55, socks 3/38 
    Info:MAIN:Time 126, idle 190023/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 56, socks 3/38 
    Info:MAIN:Time 127, idle 186480/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 57, socks 3/38 
    Info:MAIN:Time 128, idle 187811/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 58, socks 3/38 
    Info:MAIN:Time 129, idle 187198/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 59, socks 3/38 
    Info:MAIN:Time 130, idle 190501/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 60, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-56,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 131, idle 190759/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 61, socks 3/38 
    Info:MAIN:Time 132, idle 189460/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 62, socks 3/38 
    Info:MAIN:Time 133, idle 184551/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 63, socks 3/38 
    Info:MAIN:Time 134, idle 190062/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 64, socks 3/38 
    Info:MAIN:Time 135, idle 195435/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 65, socks 3/38 
    Info:MAIN:Time 136, idle 191182/s, free 61368, MQTT 1(1), bWifi 1, secondsWithNoPing 66, socks 4/38 
    Info:MAIN:Time 137, idle 188770/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 67, socks 3/38 
    Info:MAIN:Time 138, idle 189123/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 68, socks 3/38 
    Info:MAIN:Time 139, idle 188330/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 69, socks 3/38 
    Info:MAIN:Time 140, idle 190280/s, free 61368, MQTT 1(1), bWifi 1, secondsWithNoPing 70, socks 4/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-55,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 141, idle 189127/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 71, socks 3/38 
    Info:MAIN:Time 142, idle 191632/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing 72, socks 2/38 
    Info:MAIN:Time 143, idle 199323/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 73, socks 3/38 
    Info:MAIN:Time 144, idle 188888/s, free 61496, MQTT 1(1), bWifi 1, secondsWithNoPing 74, socks 3/38 
    Info:MAIN:Time 145, idle 189230/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 75, socks 3/38 
    Info:MAIN:Time 146, idle 190348/s, free 61368, MQTT 1(1), bWifi 1, secondsWithNoPing 76, socks 4/38 
    Info:MAIN:Time 147, idle 188139/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 77, socks 3/38 
    Info:MAIN:Time 148, idle 190964/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 78, socks 3/38 
    Info:MAIN:Time 149, idle 186819/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 79, socks 3/38 
    Info:MAIN:Time 150, idle 187326/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 80, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-54,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 151, idle 185153/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing 81, socks 2/38 
    Info:MAIN:Time 152, idle 194210/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 82, socks 3/38 
    Info:MAIN:Time 153, idle 188748/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 83, socks 3/38 
    Info:MAIN:Time 154, idle 190171/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 84, socks 3/38 
    Info:MAIN:Time 155, idle 186792/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 85, socks 3/38 
    Info:MAIN:Time 156, idle 190771/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 86, socks 3/38 
    Info:MAIN:Time 157, idle 188071/s, free 69984, MQTT 1(1), bWifi 1, secondsWithNoPing 87, socks 2/38 
    Info:MAIN:Time 158, idle 189838/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 88, socks 3/38 
    Info:MAIN:Time 159, idle 189113/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 89, socks 3/38 
    Info:MAIN:Time 160, idle 202384/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 90, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-54,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 161, idle 183340/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 91, socks 3/38 
    Info:MAIN:Time 162, idle 188748/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 92, socks 3/38 
    Info:MAIN:Time 163, idle 187232/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 93, socks 3/38 
    Info:MAIN:Time 164, idle 189492/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 94, socks 3/38 
    Info:MAIN:Time 165, idle 188800/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 95, socks 3/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 65 01 00 01 00 70 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 101, dataType 1-bool and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 0
    Info:GEN:No change in channel 11 (still set to 0) - ignoring
    
    Info:MAIN:Time 166, idle 189366/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 96, socks 3/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 0F 02 00 04 00 00 00 32 53 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 15, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 50
    Info:GEN:No change in channel 15 (still set to 50) - ignoring
    
    Info:MAIN:Time 167, idle 184883/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 97, socks 3/38 
    Info:MAIN:Time 168, idle 190741/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 98, socks 3/38 
    Info:MAIN:Time 169, idle 188675/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 99, socks 3/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 0F 02 00 04 00 00 00 32 53 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 15, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 50
    Info:GEN:No change in channel 15 (still set to 50) - ignoring
    
    Info:MAIN:Time 170, idle 186437/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 100, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-54,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 171, idle 182233/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 101, socks 3/38 
    Info:MAIN:Time 172, idle 191968/s, free 61368, MQTT 1(1), bWifi 1, secondsWithNoPing 102, socks 4/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 65 01 00 01 00 70 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 101, dataType 1-bool and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 0
    Info:GEN:No change in channel 11 (still set to 0) - ignoring
    
    Info:MAIN:Time 173, idle 186699/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 103, socks 3/38 
    Info:MAIN:Time 174, idle 189489/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 104, socks 3/38 
    Info:MAIN:Time 175, idle 188614/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 105, socks 3/38 
    Info:MAIN:Time 176, idle 190308/s, free 69672, MQTT 1(1), bWifi 1, secondsWithNoPing 106, socks 3/38 
    Info:MAIN:Time 177, idle 188144/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 107, socks 3/38 
    Info:MAIN:Time 178, idle 190535/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 108, socks 3/38 
    Info:MAIN:Time 179, idle 189369/s, free 70192, MQTT 1(1), bWifi 1, secondsWithNoPing 109, socks 2/38 
    Info:MAIN:Time 180, idle 186757/s, free 61584, MQTT 1(1), bWifi 1, secondsWithNoPing 110, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-56,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 181, idle 183567/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 111, socks 3/38 
    Info:MAIN:Time 182, idle 187370/s, free 61368, MQTT 1(1), bWifi 1, secondsWithNoPing 112, socks 4/38 
    Info:MAIN:Time 183, idle 188411/s, free 61368, MQTT 1(1), bWifi 1, secondsWithNoPing 113, socks 4/38 
    Info:MAIN:Time 184, idle 190400/s, free 61584, MQTT 1(1), bWifi 1, secondsWithNoPing 114, socks 3/38 
    Info:MAIN:Time 185, idle 188479/s, free 61584, MQTT 1(1), bWifi 1, secondsWithNoPing 115, socks 3/38 
    Info:MAIN:Time 186, idle 189200/s, free 61584, MQTT 1(1), bWifi 1, secondsWithNoPing 116, socks 3/38 
    Info:MAIN:Time 187, idle 191605/s, free 61368, MQTT 1(1), bWifi 1, secondsWithNoPing 117, socks 4/38 
    Info:MAIN:Time 188, idle 187538/s, free 61584, MQTT 1(1), bWifi 1, secondsWithNoPing 118, socks 3/38 
    Info:MAIN:Time 189, idle 189067/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 119, socks 3/38 
    Info:MAIN:Time 190, idle 191924/s, free 61584, MQTT 1(1), bWifi 1, secondsWithNoPing 120, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-56,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 191, idle 184433/s, free 61584, MQTT 1(1), bWifi 1, secondsWithNoPing 121, socks 3/38 
    Info:MAIN:Time 192, idle 184669/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 122, socks 3/38 
    Info:MAIN:Time 193, idle 188640/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 123, socks 3/38 
    Info:MAIN:Time 194, idle 190926/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 124, socks 3/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 65 01 00 01 01 71 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 101, dataType 1-bool and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 1
    Info:GEN:CHANNEL_Set channel 11 has changed to 1 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 1 to channel 11 
    Info:MQTT:Publishing val 1 to Rauchmelder/11/get retain=0
    Info:MAIN:Time 195, idle 187012/s, free 69976, MQTT 1(1), bWifi 1, secondsWithNoPing 125, socks 3/38 
    Info:MAIN:Time 196, idle 201964/s, free 70168, MQTT 1(1), bWifi 1, secondsWithNoPing 126, socks 3/38 
    Info:MAIN:Time 197, idle 187633/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 127, socks 3/38 
    Info:MAIN:Time 198, idle 194287/s, free 70472, MQTT 1(1), bWifi 1, secondsWithNoPing 128, socks 3/38 
    Info:MAIN:Time 199, idle 189195/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 129, socks 3/38 
    Info:MAIN:Time 200, idle 187773/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 130, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-56,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 201, idle 181267/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 131, socks 3/38 
    Info:MAIN:Time 202, idle 191744/s, free 70472, MQTT 1(1), bWifi 1, secondsWithNoPing 132, socks 3/38 
    Info:MAIN:Time 203, idle 188157/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 133, socks 3/38 
    Info:MAIN:Time 204, idle 191285/s, free 70472, MQTT 1(1), bWifi 1, secondsWithNoPing 134, socks 3/38 
    Info:MAIN:Time 205, idle 187471/s, free 70472, MQTT 1(1), bWifi 1, secondsWithNoPing 135, socks 3/38 
    Info:MAIN:Time 206, idle 191834/s, free 70472, MQTT 1(1), bWifi 1, secondsWithNoPing 136, socks 3/38 
    Info:MAIN:Time 207, idle 190149/s, free 70472, MQTT 1(1), bWifi 1, secondsWithNoPing 137, socks 3/38 
    Info:MAIN:Time 208, idle 191561/s, free 70472, MQTT 1(1), bWifi 1, secondsWithNoPing 138, socks 3/38 
    Info:MAIN:Time 209, idle 189885/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 139, socks 3/38 
    Info:MAIN:Time 210, idle 192005/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 140, socks 3/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-57,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 01 04 00 01 01 10 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 1, dataType 4-enum and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 1
    Info:GEN:CHANNEL_Set channel 1 has changed to 1 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 1 to channel 1 
    Info:MQTT:Publishing val 1 to Rauchmelder/1/get retain=0
    Info:MAIN:Time 211, idle 177397/s, free 61864, MQTT 1(1), bWifi 1, secondsWithNoPing 141, socks 4/38 
    Info:MAIN:Time 212, idle 188381/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 142, socks 3/38 
    Info:MAIN:Time 213, idle 186711/s, free 70472, MQTT 1(1), bWifi 1, secondsWithNoPing 143, socks 3/38 
    Info:MAIN:Time 214, idle 190056/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 144, socks 3/38 
    Info:MAIN:Time 215, idle 188823/s, free 62080, MQTT 1(1), bWifi 1, secondsWithNoPing 145, socks 3/38


    Hinzugefügt nach 18 [Minuten]:

    I still did not find a reliable way for the module to wake up. Even after waiting for half an hour, values do not change
  • #14 21580163
    p.kaczmarek2
    Moderator Smart Home
    ObtainDPcache is already supported in OBK, the usage and sample device is shown here:
    https://www.elektroda.com/rtvforum/topic3975583.html#20584330

    Channel types are documented here:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/channelTypes.md
    I can add a new channel type per request.

    Why do you think that device does not wake up? The wake up is controlled by the MCU, not by OBK.
    Helpful post? Buy me a coffee.
  • #15 21580190
    io2345
    Level 7  
    p.kaczmarek2 wrote:
    The wake up is controlled by the MCU, not by OBK.


    Yes, I know. But if values for temperature change or overheat alarm is triggered, the device should wake up at least couple of times in half an hour. If it doesn't report the temperature/humidity values regularly, it would be useless.
    With original firmware values were updated every minute, so the Wifi-Module should wake up every minute, right?
  • #16 21581119
    io2345
    Level 7  
    >>21580163 Do you have experience with the minimum voltage for the WiFi-module to work flawlessly? This device is running on two standard AAA-cells, so it won't have much more than 3 volts even with full batteries. Considering that the WiFi module should have 3,3 volts, I wonder how this can work reliably.
  • #17 21581784
    io2345
    Level 7  
    >>21580163 Without help I'm lost here.
    The latest autoexec.bat is this one:

    startDriver TuyaMCU
    startDriver tmSensor
    tuyaMCU_setBaudRate 9600
    setChannelType 1 ReadOnly
    setChannelLabel 1 "SmokeAlarm"
    linkTuyaMCUOutputToChannel 1 enum 1
    setChannelType 15 BatteryLevelPercent
    setChannelLabel 15 "Percent_Battery"
    linkTuyaMCUOutputToChannel 15 val 15
    setChannelType 16 Toggle
    setChannelLabel 16 "Mute"
    SetStartValue 16 0
    linkTuyaMCUOutputToChannel 16 bool 16 1
    setChannelType 23 temperature_div10
    setChannelLabel 23 "Temperature"
    linkTuyaMCUOutputToChannel 23 val 23
    setChannelType 24 Humidity
    setChannelLabel 24 "Humidity"
    linkTuyaMCUOutputToChannel 24 val 24
    setChannelType 11 Toggle
    setChannelLabel 11 "Self test"
    linkTuyaMCUOutputToChannel 101 bool 11
    setChannelType 7 ReadOnly
    setChannelLabel 7 "Overtemperature"
    linkTuyaMCUOutputToChannel 107 enum 7


    I'd say it starts without errors (WiFi module directly powered):

    Info:MAIN:Main_Init_Before_Delay
    Info:CFG:####### Boot Count 76 #######
    Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 8 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 [Hausnummer28]
    Info:MAIN:Using Pass [Passcode]
    Error:HTTP:Created HTTP SV thread with (stack=2048)
    Info:MQTT:MQTT_RegisterCallback called for bT Rauchmelder/ subT Rauchmelder/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT Rauchmelder/ subT Rauchmelder/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/Rauchmelder/ subT cmnd/Rauchmelder/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/Rauchmelder/ subT cmnd/Rauchmelder/+
    Info:MQTT:MQTT_RegisterCallback called for bT Rauchmelder/ subT Rauchmelder/+/get
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Info:CMD:CMD_StartScript: started autoexec.bat at the beginning
    Info:MAIN:Main_Init_After_Delay done
    Info:MAIN:Started TuyaMCU.
    Info:MAIN:Started tmSensor.
    Info:GEN:Channel 1 type changed to ReadOnly
    Info:GEN:Channel 15 type changed to BatteryLevelPercent
    Info:GEN:Channel 16 type changed to Toggle
    Info:GEN:Channel 23 type changed to temperature_div10
    Info:GEN:Channel 24 type changed to Humidity
    Info:GEN:Channel 11 type changed to Toggle
    Info:GEN:Channel 7 type changed to ReadOnly
    Info:MAIN:Time 1, idle 214894/s, free 75984, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 01 00 24 7B 22 70 22 3A 22 66 7A 62 35 75 70 32 69 65 68 6A 63 72 6E 71 79 22 2C 22 76 22 3A 22 31 2E 30 2E 37 22 7D 01 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 1 (QueryProductInformation) len 43
    Info:TuyaMCU:ParseQueryProductInformation: received {"p":"fzb5up2iehjcrnqy","v":"1.0.7"}
    Info:MAIN:Time 2, idle 188928/s, free 75984, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 3, idle 190599/s, free 75984, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 4, idle 191960/s, free 75984, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 5, idle 190616/s, free 75984, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:WiFi SSID: waiting for SSID switch 1/3 (using SSID1)
    Info:MAIN:Registered for wifi changes
    Info:MAIN:Connecting to SSID [Hausnummer28]
    Info:MAIN:Time 6, idle 181438/s, free 71232, 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:Time 7, idle 183231/s, free 71232, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 8, idle 86893/s, free 69472, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 9, idle 0/s, free 69472, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/38 
    Info:MAIN:Time 10, idle 0/s, free 69472, 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:a5:c9:db:de:73
    Info:GEN:sta: 0, softap: 0, b/g/n
    Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1
    Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
    Info:MAIN:Time 11, idle 92561/s, free 70176, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 02 00 00 01 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 2 (MCUconf) len 7
    Info:TuyaMCU:ProcessIncoming: TUYA_CMD_MCU_CONF, TODO!
    Info:MAIN:Time 12, idle 191364/s, free 70216, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:mqtt_userName mqtt
    mqtt_pass ********
    mqtt_clientID Rauchmelder
    mqtt_host 192.168.0.167:1883
    Info:MAIN:Time 13, idle 192552/s, free 69896, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MQTT:mqtt_connection_cb: Successfully connected
    Info:MQTT:mqtt_subscribed to Rauchmelder/+/set
    Info:MQTT:mqtt_subscribed to Rauchmelder/+/set
    Info:MQTT:mqtt_subscribed to cmnd/Rauchmelder/+
    Info:MQTT:mqtt_subscribed to cmnd/Rauchmelder/+
    Info:MQTT:mqtt_subscribed to Rauchmelder/+/get
    Info:MQTT:Publishing val Rauchmelder to Rauchmelder/host retain=0
    Info:MAIN:Time 14, idle 182055/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 02 00 00 01 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 2 (MCUconf) len 7
    Info:TuyaMCU:ProcessIncoming: TUYA_CMD_MCU_CONF, TODO!
    Info:TuyaMCU:Received: 55 AA 00 10 00 01 00 10 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 16 (Unknown) len 8
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 17 02 00 04 00 00 00 E6 0F 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 23, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 230
    Info:GEN:CHANNEL_Set channel 23 has changed to 230 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 230 to channel 23 
    Info:MQTT:Publishing val 230 to Rauchmelder/23/get retain=0
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 10 01 00 01 00 1B 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 16, dataType 1-bool and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 0
    Info:GEN:No change in channel 16 (still set to 0) - ignoring
    
    Info:MQTT:Publishing val OpenBK7231N 1.18.111 Jun 15 2025 11:20:36 to Rauchmelder/build retain=0
    Info:MAIN:Time 15, idle 178257/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Publishing val 38:a5:c9:db:de:73 to Rauchmelder/mac retain=0
    Info:MAIN:Time 16, idle 192333/s, free 58416, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 18 02 00 04 00 00 00 35 5F 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 24, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 53
    Info:GEN:CHANNEL_Set channel 24 has changed to 53 (flags 0)
    
    Info:MQTT:Channel has changed! Publishing 53 to channel 24 
    Info:MQTT:Publishing val 53 to Rauchmelder/24/get retain=0
    Info:MQTT:Publishing val 29.89 to Rauchmelder/temp retain=0
    Info:MAIN:Time 17, idle 190958/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Publishing val Hausnummer28 to Rauchmelder/ssid retain=0
    Info:MAIN:Time 18, idle 189473/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Publishing val 2 to Rauchmelder/sockets retain=0
    Info:MAIN:Time 19, idle 191011/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 06 00 00 05 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 6 (SetDP) len 7
    Info:TuyaMCU:ProcessIncoming: received TUYA_V0_CMD_OBTAINLOCALTIME, so sending back time
    Info:TuyaMCU:MCU time to set: 0
    Info:TuyaMCU:ptime ->gmtime => tm_hour: 0
    Info:TuyaMCU:ptime ->gmtime => tm_min: 0
    Info:TuyaMCU:Received: 55 AA 00 05 00 05 01 04 00 01 00 0F 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 12
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 1, dataType 4-enum and 1 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: byte 0
    Info:GEN:No change in channel 1 (still set to 0) - ignoring
    
    Info:MQTT:Publishing val -55 to Rauchmelder/rssi retain=0
    Info:MAIN:Time 20, idle 180764/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-55,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MQTT:Publishing val 20 to Rauchmelder/uptime retain=0
    Info:MAIN:Time 21, idle 185836/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Publishing val 70128 to Rauchmelder/freeheap retain=0
    Info:MAIN:Time 22, idle 192060/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 17 02 00 04 00 00 00 E6 0F 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 23, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 230
    Info:GEN:No change in channel 23 (still set to 230) - ignoring
    
    Info:MQTT:Publishing val 192.168.0.38 to Rauchmelder/ip retain=0
    Info:MAIN:Time 23, idle 184447/s, free 69888, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Channel has changed! Publishing 0 to channel 1 
    Info:MQTT:Publishing val 0 to Rauchmelder/1/get retain=0
    Info:MAIN:Time 24, idle 187663/s, free 69896, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MQTT:Channel has changed! Publishing 0 to channel 7 
    Info:MQTT:Publishing val 0 to Rauchmelder/7/get retain=0
    Info:MAIN:Time 25, idle 190122/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:TuyaMCU:Received: 55 AA 00 05 00 08 18 02 00 04 00 00 00 35 5F 
    Info:TuyaMCU:ProcessIncoming[v=0]: cmd 5 (WiFiSelect) len 15
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: processing id 24, dataType 2-val and 4 data bytes
    Info:TuyaMCU:V0_ParseRealTimeWithRecordStorage: int32 53
    Info:GEN:No change in channel 24 (still set to 53) - ignoring
    
    Info:MQTT:Channel has changed! Publishing 0 to channel 11 
    Info:MQTT:Publishing val 0 to Rauchmelder/11/get retain=0
    Info:MAIN:Time 26, idle 184941/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Channel has changed! Publishing 0 to channel 15 
    Info:MQTT:Publishing val 0 to Rauchmelder/15/get retain=0
    Info:MAIN:Time 27, idle 188249/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Channel has changed! Publishing 0 to channel 16 
    Info:MQTT:Publishing val 0 to Rauchmelder/16/get retain=0
    Info:MAIN:Time 28, idle 188998/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Channel has changed! Publishing 230 to channel 23 
    Info:MQTT:Publishing val 230 to Rauchmelder/23/get retain=0
    Info:MAIN:Time 29, idle 189893/s, free 69896, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:MQTT:Channel has changed! Publishing 53 to channel 24 
    Info:MQTT:Publishing val 53 to Rauchmelder/24/get retain=0
    Info:MAIN:Time 30, idle 188941/s, free 70128, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 
    Info:GEN:dhcp=0 ip=192.168.0.38 gate=192.168.0.1 mask=255.255.255.0 mac=38:a5:c9:db:de:73
    Info:GEN:sta: 1, softap: 0, b/g/n
    Info:GEN:sta:rssi=-56,ssid=Hausnummer28,bssid=2c:3a:fd:ce:a8:2e,channel=13,cipher_type:CCMP
    Info:MAIN:Time 31, idle 186141/s, free 58416, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 
    Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic Rauchmelder/16/set
    Info:MQTT:MQTT client in mqtt_incoming_data_cb data is 0 for ch 16
    Info:GEN:No change in channel 16 (still set to 0) - ignoring


    What e.g. about that TUYA_V0_CMD_OBTAINLOCALTIME ? Do I have to set time, or is this optional? And if I have to, how to do it?

    The device doesn't transmit data via MQTT, as it has too less time for that, I guess. I see that the power to WiFi module is only on 3 volts for 8 seconds upon startup and every 60 seconds after that, then goes back to below 0,5 volts - but no data is sent via MQTT, values don't change.[/code][/code][/code][/code]
  • #18 21581793
    p.kaczmarek2
    Moderator Smart Home
    TUYA_V0_CMD_OBTAINLOCALTIME seems to be implemented in OBK:
    Code: C / C++
    Log in, to see the code

    However, it requires NTP driver to be run first. Add "startDriver NTP" to your autoexec.bat script.

    The best method for debugging battery powered TuyaMCU devices is to first do full traffic capture on Tuya firmware, and then keep comparing it with OBK tmSensor driver traffic to see where it breaks/deviates from protocol.
    Helpful post? Buy me a coffee.
  • #19 21582600
    io2345
    Level 7  
    >>21581793 Probably first of all it would make sense, if the device would reliably transmit MQTT-data upon wake-up. How can I achieve that?
    Currently it is powered up by the MCU for 8 seconds every minute, but there is nothing in the device's web-logpage nor data transmitted via MQTT
  • #20 21582614
    p.kaczmarek2
    Moderator Smart Home
    Are you sure? How do you check? Your log indicates that something is published to HA.
    
    Info:MQTT:Channel has changed! Publishing 230 to channel 23 
    Info:MQTT:Publishing val 230 to Rauchmelder/23/get retain=0
    
    Helpful post? Buy me a coffee.
  • #21 21582646
    io2345
    Level 7  
    Data transmission occurs only when WiFi-device is powered externally or when Smoke alarm is triggered - then device is powered for a longer period of time.
    Side-effect when powered externally: You will flood the webpage-log of the WiFi-device with this message:

    Info:TuyaMCU:Consumed 52 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 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 


    running through endlessly
  • #22 21583709
    io2345
    Level 7  
    Anyone willing to try his skills on this device? I already offered p.kaczmarek2 to have him sent a device directly from Aliexpress. But he probably has no time for that.
    If you think you can solve the problem, send me a PM with address or post box for shipping.

    Hinzugefügt nach 16 [Minuten]:

    >>21583709 I'm back to stock firmware for the moment

    Hinzugefügt nach 57 [Minuten]:



    On stock firmware I see, that there are sometimes much longer sleeping times between reports, up to seven minutes. So times might depend on the difference between the values read. But the power time for the WiFi module is the same, around 8 seconds.

    Problem will be, to find a way to report data faster than using MQTT. If this can be done in some way, we have won.

    Here are more readings on the RX and TX lines between WiFi module and MCU for normal working mode:

    Listening on RX:

    55 AA   00   01      00 24   7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D   01   
    HEADER   VER=00   Product      LEN   {"p":"fzb5up2iehjcrnqy","v":"1.0.7"}   CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   05      00 05   0104000101   10   
    HEADER   VER=00   Unk      LEN   dpId=1 Enum V=1      CHK   
    
    55 AA   00   05      00 05   6501000101   71   
    HEADER   VER=00   Unk      LEN   dpId=101 Bool V=1      CHK   
    
    55 AA   00   05      00 08   17020004000000FF   28   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=255      CHK   
    
    55 AA   00   05      00 08   180200040000002E   58   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=46      CHK   
    
    55 AA   00   06      00 00      05   
    HEADER   VER=00   SetDP      LEN         CHK   
    
    55 AA   00   05      00 05   6501000101   71   
    HEADER   VER=00   Unk      LEN   dpId=101 Bool V=1      CHK   
    
    55 AA   00   05      00 08   0F02000400000056   77   
    HEADER   VER=00   Unk      LEN   dpId=15 Val V=86      CHK   
    
    55 AA   00   05      00 05   6B04000102   7B   
    HEADER   VER=00   Unk      LEN   dpId=107 Enum V=2      CHK   
    
    55 AA   00   05      00 08   17020004000000FF   28   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=255      CHK   
    
    55 AA   00   05      00 08   180200040000002E   58   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=46      CHK   
    
    //SLEEP
    
    55 AA   00   01      00 24   7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D   01   
    HEADER   VER=00   Product      LEN   {"p":"fzb5up2iehjcrnqy","v":"1.0.7"}   CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   10      00 01   00   10   
    HEADER   VER=00   ObtainDPcache      LEN         CHK   
    
    55 AA   00   05      00 08   17020004000000F4   1D   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=244      CHK   
    
    55 AA   00   05      00 08   1802000400000031   5B   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=49      CHK   
    
    55 AA   00   06      00 00      05   
    HEADER   VER=00   SetDP      LEN         CHK   
    
    55 AA   00   05      00 08   17020004000000F4   1D   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=244      CHK   
    
    55 AA   00   05      00 08   1802000400000031   5B   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=49      CHK   
    
    //SLEEP
    
    55 AA   00   01      00 24   7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D   01   
    HEADER   VER=00   Product      LEN   {"p":"fzb5up2iehjcrnqy","v":"1.0.7"}   CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   10      00 01   00   10   
    HEADER   VER=00   ObtainDPcache      LEN         CHK   
    
    55 AA   00   05      00 08   17020004000000EA   13   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=234      CHK   
    
    55 AA   00   05      00 08   1802000400000034   5E   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=52      CHK   
    
    55 AA   00   06      00 00      05   
    HEADER   VER=00   SetDP      LEN         CHK   
    
    55 AA   00   05      00 08   17020004000000EA   13   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=234      CHK   
    
    55 AA   00   05      00 08   1802000400000034   5E   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=52      CHK   
    
    //SLEEP, 7 minutes
    
    55 AA   00   01      00 24   7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D   01   
    HEADER   VER=00   Product      LEN   {"p":"fzb5up2iehjcrnqy","v":"1.0.7"}   CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   10      00 01   00   10   
    HEADER   VER=00   ObtainDPcache      LEN         CHK   
    
    55 AA   00   05      00 08   1702000400000105   2F   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=261      CHK   
    
    55 AA   00   05      00 08   1802000400000033   5D   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=51      CHK   
    
    55 AA   00   06      00 00      05   
    HEADER   VER=00   SetDP      LEN         CHK   
    
    55 AA   00   05      00 08   1702000400000105   2F   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=261      CHK   
    
    55 AA   00   05      00 08   1802000400000033   5D   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=51      CHK   
    
    //SLEEP, 1 minute
    
    55 AA   00   01      00 24   7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D   01   
    HEADER   VER=00   Product      LEN   {"p":"fzb5up2iehjcrnqy","v":"1.0.7"}   CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   10      00 01   00   10   
    HEADER   VER=00   ObtainDPcache      LEN         CHK   
    
    55 AA   00   05      00 08   1702000400000118   42   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=280      CHK   
    
    55 AA   00   05      00 08   1802000400000027   51   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=39      CHK   
    
    55 AA   00   06      00 00      05   
    HEADER   VER=00   SetDP      LEN         CHK   
    
    55 AA   00   05      00 08   1702000400000118   42   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=280      CHK   
    
    55 AA   00   05      00 08   1802000400000027   51   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=39      CHK   
    
    //SLEEP, 2 minutes
    
    55 AA   00   01      00 24   7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D   01   
    HEADER   VER=00   Product      LEN   {"p":"fzb5up2iehjcrnqy","v":"1.0.7"}   CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   10      00 01   00   10   
    HEADER   VER=00   ObtainDPcache      LEN         CHK   
    
    55 AA   00   05      00 08   1702000400000107   31   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=263      CHK   
    
    55 AA   00   05      00 08   180200040000002C   56   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=44      CHK   
    
    55 AA   00   06      00 00      05   
    HEADER   VER=00   SetDP      LEN         CHK   
    
    55 AA   00   05      00 08   1702000400000107   31   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=263      CHK   
    
    55 AA   00   05      00 08   180200040000002C   56   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=44      CHK   
    
    //SLEEP
    
    55 AA   00   01      00 24   7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D   01   
    HEADER   VER=00   Product      LEN   {"p":"fzb5up2iehjcrnqy","v":"1.0.7"}   CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   10      00 01   00   10   
    HEADER   VER=00   ObtainDPcache      LEN         CHK   
    
    55 AA   00   05      00 08   17020004000000F7   20   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=247      CHK   
    
    55 AA   00   05      00 08   1802000400000030   5A   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=48      CHK   
    
    55 AA   00   06      00 00      05   
    HEADER   VER=00   SetDP      LEN         CHK   
    
    55 AA   00   05      00 08   17020004000000F7   20   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=247      CHK   
    
    55 AA   00   05      00 08   1802000400000030   5A   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=48      CHK   
    
    //SLEEP
    
    55 AA   00   01      00 24   7B2270223A22667A62357570326965686A63726E7179222C2276223A22312E302E37227D   01   
    HEADER   VER=00   Product      LEN   {"p":"fzb5up2iehjcrnqy","v":"1.0.7"}   CHK   
    
    55 AA   00   02      00 00      01   
    HEADER   VER=00   McuConf      LEN      CHK   
    
    55 AA   00   10      00 01   00   10   
    HEADER   VER=00   ObtainDPcache      LEN         CHK   
    
    55 AA   00   05      00 08   17020004000000ED   16   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=237      CHK   
    
    55 AA   00   05      00 08   1802000400000033   5D   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=51      CHK   
    
    55 AA   00   06      00 00      05   
    HEADER   VER=00   SetDP      LEN         CHK   
    
    55 AA   00   05      00 08   17020004000000ED   16   
    HEADER   VER=00   Unk      LEN   dpId=23 Val V=237      CHK   
    
    55 AA   00   05      00 08   1802000400000033   5D   
    HEADER   VER=00   Unk      LEN   dpId=24 Val V=51      CHK


    Listening on TX:

    55 AA	00	01		00 00		00	
    HEADER	VER=00	Product		LEN		CHK	
    
    55 AA	00	02		00 01	02	04	
    HEADER	VER=00	McuConf		LEN	02	CHK	
    
    55 AA	00	02		00 01	03	05	
    HEADER	VER=00	McuConf		LEN	03	CHK	
    
    55 AA	00	02		00 01	04	06	
    HEADER	VER=00	McuConf		LEN	04	CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	06		00 08	011906130D252304	99	
    HEADER	VER=00	SetDP		LEN	bOk=1 25/6/19 13:37:35			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	01		00 00		00	
    HEADER	VER=00	Product		LEN		CHK	
    
    55 AA	00	02		00 01	04	06	
    HEADER	VER=00	McuConf		LEN	04	CHK	
    
    55 AA	00	10		00 02	0100	12	
    HEADER	VER=00	ObtainDPcache		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	06		00 08	011906130D271A04	92	
    HEADER	VER=00	SetDP		LEN	bOk=1 25/6/19 13:39:26			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	01		00 00		00	
    HEADER	VER=00	Product		LEN		CHK	
    
    55 AA	00	02		00 01	02	04	
    HEADER	VER=00	McuConf		LEN	02	CHK	
    
    55 AA	00	02		00 01	03	05	
    HEADER	VER=00	McuConf		LEN	03	CHK	
    
    55 AA	00	02		00 01	04	06	
    HEADER	VER=00	McuConf		LEN	04	CHK	
    
    55 AA	00	10		00 02	0100	12	
    HEADER	VER=00	ObtainDPcache		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	06		00 08	011906130D291704	91	
    HEADER	VER=00	SetDP		LEN	bOk=1 25/6/19 13:41:23			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
    
    55 AA	00	05		00 01	00	05	
    HEADER	VER=00	Unk		LEN			CHK	
ADVERTISEMENT