With the ESP32C3 series used in the 1W, one of the easiest ways to flash the device is to use the WEB interface (https://web.esphome.io/) and select Firmware Refresh in there.
However, if the device has lost its USB driver, you will need to enter DFU mode to flash it.
You need to open the box, then power on the device, press and release the RST button at the same time as pressing the BOOT button, at this time, the two indicators show a slightly lighted state, then you can use the WEB flashing tool to flash in the factory firmware.
Entering DFU mode
If the device reboots repeatedly and can no longer be stabilized in the USB state, a force-flush mode, i.e. DFU mode, is needed at this time.
- This can be accomplished by using two small pin like things to operate the small round holes in the ground (with buttons inside).
In the video below it is demonstrated how to operate the buttons in the two small round holes.
- You need to use a pin to press the button in the left round hole, then gently press the right button (RST) and release it, at this point you should be able to observe the light inside is slightly lit.
- At this point you can use the ESP Web Tool to force-flush into the firmware.
- After flashing the firmware, you will need to unplug the USB and plug it in again to activate the new firmware.
Other methods
esptool
If you prefer to use the command line tool, try this command:
esptool.py --chip esp32c3 --port /dev/tty.usbmodem* write_flash 0x0 factory-screek-human-sensor-1w-V230713_1.bin