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.72k stars 357 forks source link

Upgrade RavenCore 1.2 to HAA #1488

Closed rickdhoy closed 3 years ago

rickdhoy commented 3 years ago

Hi All,

I have been reading and reading everything I can find and feel really stupid.

I am trying to update my Ravencore devices to HAA but for the life of me I can not find the set up menu showing the ability to do the update in the EVE app. I have even downloaded an older version of the EVE App but for the life of me I can not find how to enter set up !!

I have been trying to follow these instructions:

https://github.com/RavenSystem/esp-homekit-devices/issues/686

To do the update.

For example I have not been able to find the window in the image below.

65042146-8b5d2e80-d958-11e9-8601-acbe92942aa6

I have paid and downloaded the HAA Manager from the developer but that won't also let me update the devices.

You can see a few opt the devices below.

IMG_1702

I am using the latest IOS and have tried both the EVE Legacy App and the latest version from the App store.

I am sure thuis is simple and I will kick myself but really need some help.

tonysprenk commented 3 years ago

If I’m not mistaken OTA update of older Ravenscore devices is only possible when they were originally flashed with LCM OTA. It looks like your device wasn’t. The only way to update it would be to flash it by wire.

xrust83 commented 3 years ago

You are right, most likely you will not be able to just update and there are at least 3 reasons for this

  1. Upgrading from ravencore to haa worked for a short period of time about 1.5 months. a special repository was opened for this.

  2. HAA manager application works with version 5.0.18 if I'm not mistaken that it doesn't suit you either.

  3. You could flash your devices to a version without OTA or (the last swan) that do not support updating through the air.

the best advice is to remove your devices and flash them again via the cable to the latest firmware and in the future to update the devices to the latest versions.

i3laze commented 3 years ago

Sorry, but the instruction you’ve used ends with the words “GitHub OTA issues”.

Nowadays there’s custom URL option for firmware repository, but legacy RavenCore/HAA code had GitHub servers hardcoded (with not-supported-anymore lowercase headers).

Out of nowhere 1.5 months after HAA initial release GitHub proxy-servers hosted at Amazon introduced case-sensitive HTML Headers (specifically “Location”), which at the moment was totally incompatible with existing legacy RavenCore and HAA code. Despite of petition at GitHub the headers weren’t rolled back.

You have to re-flash by wire.

rickdhoy commented 3 years ago

Hi All, Thanks for the quick response. This is going to era really painful process as I have so many of these devices :-) Ohh well.

Thanks

i3laze commented 3 years ago

Not to mention you’ll have to learn HAA JSON syntax using Wiki. I strongly suggest you begin with the web configurator: https://glumb.github.io/haa-configurator/

Also, having an extra device might help. This way you can unmount RavenCore unit and install a vanilla or preconfigured HAA device in one attempt.

P.S. Paid HAA Manager.app might be useful too, as it allows massive updates and entering setup mode without hustle (like an extra virtual switch accessory for setup).

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.