itead / Sonoff_Devices_DIY_Tools

BSD 3-Clause "New" or "Revised" License
548 stars 168 forks source link

B02-BL-A60 cannot exit DIY mode or flash tasmota firmware #129

Open nicolaevladescu opened 1 year ago

nicolaevladescu commented 1 year ago

I bought this bulb, updated to latest firmware then turned on DIY mode.

Then I wanted to flash tasmota-latest-lite.bin from here: http://sonoff-ota.aelius.com/

But it did not work, so i moved the file to my lan on an nginx server, and you can see below the errors i get.

2022/11/24 22:50:55 [info] 32#32: *41 client sent invalid request while reading client request line, client: 192.168.16.37, server: localhost, request: "GET tasmota-latest-lite.bin HTTP/1.1" 192.168.16.37 - - [24/Nov/2022:22:50:55 +0000] "GET tasmota-latest-lite.bin HTTP/1.1" 400 157 "-" "-" "-" "-"

The bulb sends no Host header, no User-Agent and the request is malformed, so it can’t download any firmware from anywhere.

And the bulb returns:

{
  "seq": 2,
  "error": 408
}

Now my bulb is stuck at "fwVersion": "1.4.1", I don't know how to exit DIY mode and check for an updated firmware that might fix this issue and I also cannot flash Tasmota because of the above error.