Arduino UNO firmware using ESP8266 (or ESP32), download Finmare from the Cloud

Hi,

Is it possible to implement the following system?

ESP8266 (or ESP32) is connected to the Internet and check the firmware version. If suddenly the version is updated - ESP downloads the update and updates the Arduino UNO, which will be connected via UART. I found examples when OTA updates are performed by ESP, but ESP itself was updated there, not UNO.

Something similar to this?

Riva:
Something similar to this?

Riva, this uses AT firmware and not the esp8266 but the Uno checks for update.

ISP over ICSP pins is a better option and has an ESP8266AVRISP library.

Over UART a library exists, but is little known. The WiFiLink firmware uses it.

I can help with both options.