How do I flash an ONENUO Tuya WiFi Door Sensor 19JWT with a BK7231N CBU-NL module using the hid_download_py Python flasher?
Flash it with
hid_download_py by writing OpenBK7231N_QIO_1.17.391.bin to address 0x0 over a USB serial adapter. Use this 3-step flow:
- Connect the sensor board to
/dev/ttyUSB0. - Run
python3 uartprogram ./fw_release/OpenBK7231N_QIO_1.17.391.bin -d /dev/ttyUSB0 -w -u -s 0x0. - Reboot and apply the matching JSON pin profile. This exact command was reported as successful on the ONENUO 19JWT with the CBU-NL BK7231N module. [#20896810]
Comments
Hi! Is there a deepsleep enabled in this profile? And when does it sleep; when the magnet is present or absent? Thank you! [Read more]
The pin role called DoorSnsrWSleep is automatically starting DoorSensor driver on every reboot. There is no script required because all is done in the firmware. The DoorSensor driver handles the... [Read more]