arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.22k stars 4.81k forks source link

Flashing in DIY mode through terminal on mac: "curl: (52) Empty reply from server" #6485

Closed dakkerd closed 5 years ago

dakkerd commented 5 years ago

To give full context: I'm on a macbook pro, and first followed the guide of Drzzs. It explains how to flash through the DIY tools, on windows. I thusly installed boot camp and Win 10. I got the Sonoff on the list, and was able to change its SSID. On flashing it halts on 0%. Not sure why.

I therefore tried the mac method, as explained on the wiki. All goes well, yet flashing halts. I have a webserver (MAMP, locally on my mac) which I can evoke through the IP. I have the bin there, and should flash. I use the line: curl http://ip_device:8081/zeroconf/ota_flash -XPOST --data '{"deviceid":"<deviceID>","data":{"downloadUrl": "http://ip-mac-server:8888/sonoff-basic.bin", "sha256sum": "09c1ddf1374e69a8a092b29d17733f775f36dfd0c00ff4fcf34fdee898418619"}}'

Then I get the error curl: (52) Empty reply from server

Any pointers?

ascillato2 commented 5 years ago

Please, address this to the Tasmota Support Chat. The chat is a better and more dynamic channel for helping you. Github issues are meant for Tasmota Software Bug Reporting.

Please check the Contributing Guideline and Policy and the Support Guide.

Thanks.


Support Information

See Wiki for more information. See FAQ for common questions/answers and links if none of your question is in the list See Chat for more user experience. See Community for forum. See Code of Conduct