-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.7.6 - Mini - Needs change to work #18
Comments
Hm, interesting, thanks! I have tested quite a bit with Firmware versions 3.5.0 and 3.6.0 and both R1 and R2 but didn't experience this. I wonder if it is possible to test if the parameter is needed somehow. |
With the deviceid there I wasn’t getting any response when it tries to get the device info. Maybe after X seconds timeout and try without it? |
I confirm Jonathans findings- I was able to use the scipt by removing the deviceid at the mentioned places four times. |
Can confirm using Mini R2 and firmware version "3.7.6" as well |
It would be good to try the following things:
I am going to have to get my serial cable and tazmotizer out, to load different firmware versions on to a test device 😬 |
Thank you for this report, same issue. Finaly here was my way :
Thank you @njh for your job ! |
Hi Thanks you all, my expierence is the same and i have my problems to modify this scrip so i used RESTer Add on for send the requests to the SONOFF with FW 3.7.6. What i can say ist that the ID you can see in the SSID ITEAD-ID. { and than i flash tasmato fw with zeroconf/ota_flash So the Setting for RESTler was Clean Request and the Method is POST. So hope this will help someone has the same problem .-) @njh Nicholas maybe you can extend your script whre we can add the ID smae like the IP etc... |
Hi! |
@mifraburneo Can you please try flashing again with https://github.com/IBims1NicerTobi/sonoff-ota-flash-cli-devid-fix? |
@njh There is a pull request now. I have personally tested it on a sonoff mini r2 with 3.7.6 and it worked while the current base version did not work at all. |
it worked like a charm, thanks a lot! |
I have the same problem as you, I have version 3.7.3 on sonoffminiR2. 2 I managed to flash and 2 others I can't.Another strange thing, I installed ewelink but when I try to register it crashes. |
Same issue as @mifraburneo and @3N37, running 3.7.6 firmware the curl always times out when trying to unlock. I can see it's trying to contact apid.coolkit.cn/v2/d/otaflash (changed URL from earlier versions) and have redirected this to a local http server which is responding with { "error": 422 }, which I've seen elsewhere can allow the flash to proceed, but no dice, it still times out even though I can see in the logs it's hitting that URL correctly. Unfortunately @IBims1NicerTobi fix doesn't help either :( |
@Siftah |
Thanks for sharing it @3N37, unfortunately it no longer works - the call to the unlock server is happening but the response seems to be ignored, the curl eventually times out and the Sonoff is never unlocked :( I presume this must be a bug in the latest firmware, or they've changed the necessary response from what's in your example :( |
@Siftah , |
Rewrite module is working great:
And I see the corresponding hit in the local server also: |
@Siftah , |
Times out when calling the ota_unlock :(
|
@Siftah
|
@3N37 Yes, both of those things are proven in the dumps I've pasted above;
Thank you for your help, it's much appreciated! :) |
@Siftah ,
|
I was not able to unlock it, because the curl times out and never completes. I did use the manual procedure as explained in your .pdf, the logs I've pasted above show it being done and failing. |
i give up. |
this is the correct form curl -XPOST --header "Content-Type: application/json" --data-raw '{"data": {}}' http://192.168.1.90:8081/zeroconf/ota_unlock |
@3N37 Exactly the same error.
|
i got i working after lots of testing and trying, i just upgraded 2 r2 mini's both added first with eWeLink app and upgraded them from 3.6.0 to 3.7.6 |
in a nutshell those with jumpers should be updated with the old way , those without external antenna and without jumpers with the procedure described above. |
it are "newer" ones with wifi inside |
Just used this method with a Mini R2 purchased a a few weeks ago and it worked! Thanks. |
For some reason, the script was not working on a Mini (I think R1? I got it a long time ago) running firmware 3.7.6.
I was able to get it working by completely removing the "deviceid" from the body variable in the
sonoff_http_request
function, and also from theota_flash
function.That made the script start working and got Tasmota flashed.
The text was updated successfully, but these errors were encountered: