Open ingoratsdorf opened 5 months ago
hm i think we don't have HTTPS support, and it looks like you're trying to OTA via https?
if web app ota fails, have you tried to disable all drivers before doing that OTA?
stopDriver BL0937
Yes, clicked on "Stop all drivers" in webapp tools. Same result.
Weirdest thing is, after I unplugged the device and plugged it back in, it restarted with the latest flashed version. Is there some weird "fast" reboot that reboots the same firmware even though a newer one is installed? I would not think so but have no other ideas :-( I noticed that the reboots that it did were really fast. Faster than normal. So only conclusion is that it may not have rebooted correctly.
This has been somewhat solved here
To update you need to OTA first then wait until the device has fully rebooted. Once rebooted remove the device from the socket. Just turning off the power doesn't seem to have success every time. You then have to hold the button on top, plug it back in and power up the device while holding the button for about 5 -10 seconds. You will know if it works as it will have a long boot-up time and the LED will not light up for about 10 seconds or so. it will then reboot and the LED will start flashing. Wait about 30 seconds to 1 minute for the device to fully boot up before doing anything. Check the web app and you should see it has hopefully been updated
I believe doing it this way is like using the CEN pin on the chip and putting it into a higher mode so it can write the firmware. So far has worked every time for me doing it this way.
I will note that these devices are known for blowing the capacitors and will randomly start rebooting themselves. over time. Even if you have power saving on from the start. I'm not sure if it's a firmware fault or not but I have had 5 of these go in the last 12 months both T and N models.
The N model is more susceptible to blowing the capacitors than the T model. If you can get your hands on the black-coloured ones they seem to not have this issue so far.
You can replace the capacitors with better ones but it requires opening up the device. I found wrapping it in a thick towel and lightly tapping each side with a hammer works well to loosen the glue.
I've not replaced any of mine due to potential fire hazards. There is a reason it's blowing the capacitors and it is only doing it with the custom firmware so I don't want to risk it. They are also pretty cheap and it's not worth burning my house down over it..
I have replaced most of mine with Tapo P110's. They seem to be better at power-recording smaller changes and I have not had any issues with them yet. They don't use custom firmware so if you want fully local then you might need to look for something else.
I also observed similar issue with 2 x WHDZ03 Smart Plugs recently. The logs indicated that OTA Upgrade was completed but upon reboot they show old firmware version.
Just repeatedly trying made the upgrade successful finally.
Wish that I had seen this thread before.
Describe the bug Had several attempts to upgrade a BK7231T 1.17.517 device via OTA to any other version, tried a few. Not working, not via webapp OTA nor via config->OTA.
Firmware:
To Reproduce Steps to reproduce the behavior:
Additional context I have quite a few of those plug. this is the only one that cannot be updated. Funny enough, I did a few updates on this before I ended up with it's current firmware version.
When using webapp OTA, logs:
When using Config->OTA, logs: