1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.56k stars 786 forks source link

Sonoff Bridge does not boot #1261

Closed morgansimonsen closed 4 months ago

morgansimonsen commented 2 years ago

I have a Sonoff Bridge R2 V2.2 with the direct hack. Have used it with Tasmota and other firmwares without problems. Wanted to try OMG on it.

Flashing from the web is successful, but the device never boots. If I use esptool.py to first erase the flash and then flash the sonoff-rfbridge-direct-firmware.bin the device boots and allows me to connect to the OMG Wifi and configure it with my SSID etc. The device shuts down when I hit Save, but never boots and is inaccessible (no LED).

I have tried version 0.9.11, 0.9.15 and 0.9.16. Any idea what is going on?

DrEVILish commented 1 year ago

Had the same issue, go to https://web.esphome.io/ flash to a "blank" it makes the software erase the device. Then reflash with the OMG image, then everything works as expected.

Unknown why this happened.

baunan commented 1 year ago

I am in the same situation. Could you please share how to flash this unit to a "blank" one?

DigiH commented 1 year ago

@baunan You could also try

https://espressif.github.io/esptool-js/

for a clean erase.

Let us know if it works after.

baunan commented 1 year ago

Thanks for the hint, but for some reason I am getting a timeout error when trying to do the erase. This unit works OK on esphome.

esptool.js Serial port WebSerial VendorID 0x10c4 ProductID 0xea60 Connecting....... Detecting chip type... ESP8266 Chip is ESP8285 Features: WiFi,Embedded Flash Crystal is 26MHz MAC: (removed) Uploading stub... Running stub... Stub running... Changing baudrate to 115200 Changed Erasing flash (this may take a while)... Error: Timeout

Using this command for esptool, then I got no error. But still no luck on the openmqttgateway with the web version uploader esptool.exe --port COM5 erase_flash

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 30 days with no activity.

budda85 commented 9 months ago

Same here.

Had the same issue, go to https://web.esphome.io/ flash to a "blank" it makes the software erase the device. Then reflash with the OMG image, then everything works as expected.

Unknown why this happened.

and

@baunan You could also try

https://espressif.github.io/esptool-js/

for a clean erase.

Let us know if it works after.

does not work

thomasshawn commented 7 months ago

same issue

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 4 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.