# OTA Updates via LoRa (TTN) with ESP32/ESP8266

**URL:** <https://discourse.nodered.org/t/ota-updates-via-lora-ttn-with-esp32-esp8266/17837>\
**Category:** General\
**Created:** [12 November 2019 13:16 UTC](https://discourse.nodered.org/t/ota-updates-via-lora-ttn-with-esp32-esp8266/17837 "2019-11-12T13:16:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faze91](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@Faze91](https://discourse.nodered.org/u/Faze91)\
**Post date:** [12 November 2019 13:16 UTC](https://discourse.nodered.org/t/ota-updates-via-lora-ttn-with-esp32-esp8266/17837/1 "2019-11-12T13:16:33Z")

</div>

How can I do an OTA update with node-red via LoRa (over The Things Network) with an ESP32?

This topic does not help me: [Does node-red supports over the air (OTA) update?](https://discourse.nodered.org/t/does-node-red-supports-over-the-air-ota-update/4674)

I can already send data to the node with base64.  
First the binary has to be split, so I can send via LoRa it piece by piece, but how did I do that?

---

<div class="post-metadata">

**Author:** ![Faze91](https://avatars.discourse-cdn.com/v4/letter/f/35a633/32.png) [@Faze91](https://discourse.nodered.org/u/Faze91)\
**Post date:** [12 November 2019 13:33 UTC](https://discourse.nodered.org/t/ota-updates-via-lora-ttn-with-esp32-esp8266/17837/2 "2019-11-12T13:33:58Z")

</div>

Do I have to convert the binary file (Firmware image) to base64? And then send it piece by piece?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 November 2019 19:18 UTC](https://discourse.nodered.org/t/ota-updates-via-lora-ttn-with-esp32-esp8266/17837/3 "2019-11-12T19:18:39Z")

</div>

This isn’t really a Node-RED question. You’ll be better asking on a Lora forum. My understanding is that Lora would not really have enough bandwidth to handle the amount of data required for OTA via Lora
