logo elektroda
logo elektroda
X
logo elektroda

Air Detector ZN-MT29 on BK7238 - errors after flashing openBK7231N 1.18.264 - what to check?

Arturtech 255 5
ADVERTISEMENT
This content has been translated flag-pl » flag-en View the original version here
  • #1 21850266
    Arturtech
    Level 2  
    Hello,
    Air Detector on BK7238 after flashing openBK7231N 1.18.264 exposes its own Wi-Fi network and logs into the home network; instead of transmitting parameters from the sensors, it exposes a message in the logs: Info:TuyaMCU:TuyaMCU packet too large, 204 > 192. Can someone tell me how I can solve this.

    AI: After flashing, did you do any additional configurations in openBK (e.g. TuyaMCU settings, pin mapping, sensor configuration)? If so, which ones?
    pin setting: "pins": "0": "AlwaysHigh;0", "1": "AlwaysHigh;0"; manually called command: backlog startDriver TuyaMCU and tuyaMcu_setBaudRate 115200
    AI: On earlier versions of the firmware (or original sofet) did the device work correctly, or did the problem only appear after this update?
    On the original softy I did not set up a cloud; I want to connect to HA over the home network. On openBK7231N 1.18.263 it behaves in the same way
    Attachments:
    • logi.txt (2.82 KB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #2 21850433
    divadiow
    Level 38  
    your device is BK7238 for sure and you've definitely flashed OpenBK7231N?
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #4 21850714
    Arturtech
    Level 2  
    >>21850433
    @divadiow it looks like. Can I somehow check this without unsoldering the T1-U-HL screen?

    Screenshot of BK7231 Easy UART Flasher showing “Write success!” and a flashing log
    Close-up of a green PCB with a T1-U-HL module, an IC, and a micro-USB port

    >>21850549
    @insmod Super hint, unfortunately I don't know how to compile bin files. Can you help me compile the finished batch? I will be able to move on with the tests
  • ADVERTISEMENT
  • #5 21850927
    p.kaczmarek2
    Moderator Smart Home
    Arturtech wrote:

    >>21850549
    @insmod Super hint, unfortunately I don't know how to compile bin files. Can you help me compile the finished batch? I will be able to move on with the tests

    You managed to compile the batch correctly online:
    https://github.com/openshwprojects/OpenBK7231T_App/pull/2011
    You can now download the compiled files there.
    Related tutorial:
    System online builds OpenBeken - firmware compilation for all platforms on Github
    Helpful post? Buy me a coffee.
  • #6 21851071
    Arturtech
    Level 2  
    >>21850927
    @p.kaczmarek2, thanks. Yes, that's right. All that's left is to find 13 sensors and it'll be ok. If anyone has any ideas, I'd be happy to check. The AI is very keen to help me but, as you can see below, it's going reluctantly.

    Home Assistant screenshot showing MT29_Sensor device details with sensors and log panels.
    i am also attaching a possible batch for testing.
    Attachments:
    • OpenBK7231T_App_2011_merge_890e0eee824f_OpenBK7238_battery.zip (2.04 MB) You must be logged in to download this attachment.
ADVERTISEMENT