ESPHome 2024.6.x (and later) and Managed Updates

Hi,

i test the new “Managed Updates” Feature, so automate the updates for my ESPHome devices.
I have a json File with the md5 and the binary. Accessable through http and https.

This works, the device (inkplate6 in my case as a start) on boot loads the json file or pulls it through http, but then nothing happens, no update.

I think, i miss something, thats unclear in the docs (for me)

The json is:

{
    "name": "ESPHome-inkplate6",
    "version": "2024.6.3",
    "builds": [
        {
            "chipFamily": "ESP32",
            "ota": {
                "md5": "78f4405e297f8c8f00f1e06ea5f9887d",
                "path": "http://<url>/inkplate6/firmware-2024-6-3.ota.bin",
                "release_url": "https://esphome.io/",
                "summary": "ESPHome Update -> 2024.6.3"
            }
        }
    ]
}

Webserver-Log (slightly redacted (paths)

192.168.6.90 - - [26/Jun/2024:18:14:32 +0200] "GET /inkplate6.json HTTP/1.1" 200 369 .../htdocs/inkplate6.json

Does anyone does could point me to the right direction ? Do i need to have more builds in the json (the old and the new one or so) ?

Many Thanks,
Ronny

Hi Ronny
I’m about to start playing around with Managed Updates via HTTP Request and saw your post. Have you been able to get yours working?

Hi ,
no, sorry, i did not get it working. The json gets loaded, but nothing happens then.

Same here. I set up my files and changed my yaml. I can see that it “reads” the json and/or bin file (I think - I see an http request), but then nothing happens. Yes, the documentation is not clear enough.

It is a pity, as this will help me a lot if I can get it working as I have some yamls that won’t compile on my old Raspberry Pi 3 and I am not close to it - so I have to compile and update remotely. I created a python script that handles nearly everything (update esphome cli, compile selected yamls, create new json and md5 files for compiled yamls, and then uploads bin, json and md5 files to GitHub).

I’ll keep trying for a while.