logo elektroda
logo elektroda
X
logo elektroda

[Solved] Configuration of the Neo Coolcam NAS-MA01W mousetrap with OpenBeken and BK7231N

stephanschmitzberger 432 4
ADVERTISEMENT
Treść została przetłumaczona german » english Zobacz oryginalną wersję tematu
  • #1 21519212
    stephanschmitzberger
    Level 3  
    Neo Coolcam Mouse Trap NAS-MA01W

    I have purchased a mouse trap with Tuya.
    The trap is operated via a BK7231N.

    I managed to flash OpenBeken.
    Close-up of a circuit board with electronic components and wires.

    Electronic circuit board with capacitors and wires.

    On the right side are marked pads with RX, Tx, GND; 3.3V.

    The mousetrap itself is controlled by the chip on the left-hand side. In the previous versions, the mousetrap was equipped with an ESP8266.
    https://templates.blakadder.com/neo_coolcam_NAS-MA01W.html

    Does anyone have any idea how I need to configure this?
    Can I read this from the tuya developer?
    AI: What configuration steps have you taken so far to run the mousetrap with OpenBeken?
    Tried to read config with 7231 Easy Uart Flasher, unfortunately without success.
    AI: What exactly do you want to achieve with the configuration, or what specific problems are you experiencing?
    Mouse catch signalling and display battery status.
  • ADVERTISEMENT
  • Helpful post
    #2 21519951
    p.kaczmarek2
    Moderator Smart Home
    Very interesting device, I haven't seen a mouse trap from Tuya before. How effective do you think it is? Let us know how you try it out.

    As for changing the firmware, your device uses TuyaMCU. You should configure it according to this guide:
    https://www.elektroda.com/rtvforum/topic4038151.html
    Although more precisely you need TuyaMCU in battery mode, i.e. TuyaMCU and tmSensor. You have the dpID in the Blakadder article:
    https://templates.blakadder.com/neo_coolcam_NAS-MA01W.html
    Fragment of the documentation for Tuya mouse trap functions. .
    You need to read about tmSensor at our forum:
    https://www.elektroda.com/rtvforum/find.php?q=tmSensor
    E.g. here is an example: https://www.elektroda.com/rtvforum/topic3975583.html
    You can simplify it, you only have two dpID.

    Can you post a 2MB copy of the batch? Remember that it may include your SSID and password if you have previously paired the device.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21520410
    stephanschmitzberger
    Level 3  
    I tried to get a response from the TUYA Mcu with the command tuyaMcu_sendQueryState. See log extract.
    I have set up autoexec.bat according to the instructions and according to the log extract it also works. I have already tried various baud rates such as 9600, 115200.

    Command line with logs about script startup and TuyaMCU module initialization.
    Screenshot of IoT device system logs showing WiFi, MQTT status, and open socket counts.

    I believe the board has been heavily modified in this revision as the chip switches off after about 2 mins. The mousetrap is only switched on and connected to the Wi-Fi when a catch is made and when the battery status changes. The second chip is an ft61e0a5 from FMD which probably handles the entire mousetrap.
  • ADVERTISEMENT
  • #4 21522673
    stephanschmitzberger
    Level 3  
    >>21520410 Got it working after all and Mausefalle is running.

    Config: backlog startDriver tuyaMCU; startDriver tmSensor; linkTuyaMCUOutputToChannel 101 val 0; linkTuyaMCUOutputToChannel 102 val 1; linkTuyaMCUOutputToChannel 103 val 2;
  • #5 21522677
    stephanschmitzberger
    Level 3  
    tmsensor integrated, correct flags set.
ADVERTISEMENT