itead / Sonoff_Devices_DIY_Tools

BSD 3-Clause "New" or "Revised" License
558 stars 166 forks source link

Sonoff mini V 3.3 no work #51

Open josep112 opened 5 years ago

josep112 commented 5 years ago

I used the tool in windows and it works the commands of turn on, off, info, but when I send the firmware the screen is stopped without any action, I tried to do it on another pc and by command line in Macosx, but without success what it seems is that it is not possible to send the firmware, the sonoff mini version is 3.3, has anyone been through this?

xiscopg commented 5 years ago

+1 Same problem. With one PC Application raise error "failed to execute script tool_01DiY85" and with the other computer I have the same issue than josep112. Both pc have W10 , one is PRO and the other Enterprise, I have uninstalled firewall and antivirus. anyone can help me? thanks

MHOMEASS commented 5 years ago

I had the same problem. Fixed it by making an extra network (sonoffDiy) on my home wifi accespoint. After that it was possible for me to flash. Before I used the method from DrZzs but that ain't working for me anaymore. I don't know why.

biotecov commented 5 years ago

Same here, from Linux, every command works, except ota_unlock (no response) and ota_flash (error 422). It looks like Itead has disabled that feature on firmware 3.3.0

biotecov commented 5 years ago

Update: provided exe tool works from Windows10. Info from the tool also reports (initially) "otaUnlock":false, but flashing works anyway. In another unit, otaUnlock turned to true "magically" after some failed attempts to flash, and then flashed the firmware. All this means that there is another undocumented way to unlock over the air, whereas the documented function to unlock is no longer valid ...

pstvdy commented 4 years ago

Don't work. It's impossible to flash firmware using 3.3.0 on W10.

josep112 commented 4 years ago

I was also suffering from this my solution was to do through the mobile hotspot using the 4g he connecat on wealink server by router network could not

ErnieFR commented 4 years ago

Got a new SonOffaSwitch MINI yesterday. Bloody hell, I thought this would be easy piecy. No trouble pairing with my phone, checking version 3.3 okay. Created hotspot with Huawei Y5ii phone, started DIYmode, ran DIYtool on laptop, switching on/off works. It would be so easy if only I could get the sonoff-basic.bin file flashed into it. Using Dell laptop studio17, win7 without firewall, no luck. The screen just sits there doing nothing. Safe to click away too, all goes back to 'normal'. Will get my hands on another acccess point to create a hotspot. It might be the phone blocking something? It does appear strange to me, that if I ask for info in the DIYtool, the reply contains this on the end: "otaUnlock":false Should the jumper not make this value 'true' ? Tried to press the switch for 5sec to see if that makes any difference, it doesn't. Read another topic where someone helped by saying the hotspot should have internet access. My phone was on with 'Mobile Data On' seemed not to matter. New approach : used my regular internetrouter, changed the wifi to sonoff settings, launched the DIYtool again. First attempt failed but info-button suddenly showed "otaUnlock:true"!! A second attempt lead to a successfull upload of the sonoff-basic.bin. After a few minits a new unsecured wifi network appeared in the list and joining that, leads you to the http://192.168.4.1/ Tasmoto screen YES finally!!

DIYtool info with otaUnlock-true

DIYtool suddenly loads firmware

jpatje commented 4 years ago

Ive been trying for 2 days now to get the tool to even START on Windows 10. It keeps throwing an error: Failed to execute script tool_01DIY85. I only managed to get it to work on a virtual machine but I need it to work on a laptop because of the Wifi instructions. Tried compability mode, doesnt work either. The version on the tool that supports logging gives the following error: ImportError: DLL load failed: Unable to find module. [8260] Failed to execute script pyi_rth_qt5plugins.

I don't know anything about Python but apparantly there's a missing DLL but which one?