RavenSystem / esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)
Other
2.74k stars 360 forks source link

Upgrade problem from HAA 5.x to current version #1940

Closed SyBeer closed 1 year ago

SyBeer commented 1 year ago

Detailed steps to reproduce it Hi, I found old Sonoff 4ch PRO R3 with HAA 5.0.18. I try by hard to upgrade it by OTA, but in doesn't work. I even setup my own HAA Upgrade Server with HAA 6.X and other version, but it doesn't work.

I can reach device from HAA Manager APP and switch it to Setup Mode.

MEPLHAA Script {"c":{"l":13,"i":1,"b":[{"g":0,"t":5}],"m":120},"a":[{"0":{"r":[{"g":12,"v":1,"i":600}]},"1":{"r":[{"g":12}]},"t":4,"i":600,"b":[{"g":0}],"s":1},{"0":{"r":[{"g":5,"v":0}]},"1":{"r":[{"g":5,"v":1}]},"i":0.5,"b":[{"g":9}],"s":0},{"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]},"i":0.5,"b":[{"g":10}],"s":0},{"0":{"r":[{"g":15}]},"1":{"r":[{"g":15,"v":1}]},"i":0.5,"b":[{"g":14}],"s":0}]}

This script (works perfectly) is for Somfy Outdoor Blinds, and it need to specified wiring and integration in to original remote control .

Used device Sonoff 4ch PRO R3

HAA version 5.0.18

iOS/iPadOS version 16.2 iOS

Kienz commented 1 year ago

Logs?

xrust83 commented 1 year ago

I don't know how to explain it properly, but sometimes versions with breaking changes are released. Not only the firmware is updated, but also the HAA Installer, etc. if you have a fresh version installed, then the update process is painless, because something is added, something is deleted and you keep up to date. But if. you do not support the current version for a long time, then in such cases it is better to reflash with the current file again. We at least missed the installer updates for version 5.x.x and 6.x.x Although I may be wrong https://github.com/RavenSystem/esp-homekit-devices/releases/tag/HAA_6.9.0 https://github.com/RavenSystem/esp-homekit-devices/releases/tag/HAA_10.0.0

valera16f84 commented 1 year ago

Same problem with my old Sonoff r2 with HAA 3.x. Auto update starts and finish again and again. Install new firmware via cable solve this problem))

tokamac commented 1 year ago

if you have a fresh version installed, then the update process is painless

If only it were true… I use HAA Manager (the iOS app). All of my devices currently use Home Accessory Architect v11.7 Peregrine, a very recent release. Mainly Shelly and Sonoff devices, but also ESP8266-enabled electric sockets. None of them can update since then. Because none of them can enter setup mode anymore ("Setup Mode: Unreachable"). Every. Single. One. Restarting them does not change anything. Although they all work fine in Home! What happened, I'm still wondering.

xrust83 commented 1 year ago

if you have a fresh version installed, then the update process is painless

If only it were true… I use HAA Manager (the iOS app). All of my devices currently use Home Accessory Architect v11.7 Peregrine, a very recent release. Mainly Shelly and Sonoff devices, but also ESP8266-enabled electric sockets. None of them can update since then. Because none of them can enter setup mode anymore ("Setup Mode: Unreachable"). Every. Single. One. Restarting them does not change anything. Although they all work fine in Home! What happened, I'm still wondering.

I use iOS 15.7.1 and have no problems with the update, I think they are related to iOS 16.x, the HAA Manager update will be released soon and I think this problem will be eliminated.

B86E09EE-37E0-48B0-9E6F-8EF23F28F65E

xrust83 commented 1 year ago

Same problem with my old Sonoff r2 with HAA 3.x. Auto update starts and finish again and again. Install new firmware via cable solve this problem))

image

tokamac commented 1 year ago

Thanks for pointing this out, xrust83. That explains it all.

RavenSystem commented 1 year ago

HAA Home Manager v3.4.4 is now ready at App Store.