ElegantOTA
Sonoff-Tasmota
Our great sponsors
ElegantOTA | Sonoff-Tasmota | |
---|---|---|
4 | 1 | |
516 | 14,577 | |
- | - | |
8.1 | 9.9 | |
8 days ago | about 3 years ago | |
C++ | C | |
GNU Affero General Public License v3.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ElegantOTA
-
OTA Updates & Community Resources
As u/__deeetz__ pointed out, the esp32 already had a good OTA mechanism, and there are some libraries that simplify the whole process - probably one of the more popular ones is ElegantOTA: https://github.com/ayushsharma82/ElegantOTA If I understand what you're doing correctly, you'll really have just 2 layers, not 3 - one being your application (which effectively has the Kernel/OS compiled in), and then your scripting/LUA component. Technically the ESP32 also has a bootloader portion, but it's pretty uncommon to need to modify that in any way, so I would highly recommend against doing that. As far as dealing with the LUA scripts - you can easily download and run those - you'll store them into NV ram, and I believe the current recommended format is LittleFS. Keep in mind that on a normal ESP32 configured to do OTA updates there's 4MB of storage, 2x 1.8MB for the two bootable images, and ~200k for the file system (in this case LittleFS). There are also other boards which come with more flash memory, like the new S3R8 has 16MB of flash, so your OTA partitions stay about the same in most cases, but you now have ~12MB of storage, which I suspect would be way beyond anything you'd need for storing LUA.
- How to power esp32-33 Feather TFT?
- ESP32 C3 firmware upgrade over UART to select partition
-
Example of OTA via HTTP server on IDF?
I'm looking for a small, thin example of the ESP32 hosting a webserver to accept firmware update files for OTA updates. There's a handful of Arduino libraries that do exactly this (e.g. https://github.com/ayushsharma82/ElegantOTA) but I haven't come across anything clean that's just built around IDF.
Sonoff-Tasmota
-
How many DS18B20 can you run? I had to drop down to two for reliability but I'd like to run up to four if possible. Tasmota on Wemos D1 mini pro.
Also read https://github.com/arendst/Sonoff-Tasmota/wiki/Sensor-Configuration about support of sensors per group.
What are some alternatives?
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
blynk - Blynk is an Internet of Things Platform aimed to simplify building mobile and web applications for the Internet of Things. Easily connect 400+ hardware models like Arduino, ESP8266, ESP32, Raspberry Pi and similar MCUs and drag-n-drop IOT mobile apps for iOS and Android in 5 minutes
esp32_template
tuya-iotos-embeded-sdk-wifi-ble-bk7231n - Tuya IoTOS Embeded SDK WiFi & BLE for BK7231N
fpc-esp-freertos
espurna - Home automation firmware for ESP8266-based devices
Tasmota - Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
tasmocompiler - Web GUI for custom Tasmota compilation
Arduino-HomeKit-ESP8266 - Native Apple HomeKit accessory implementation for the ESP8266 Arduino core.
tuya-home-android-sdk - Tuya Smart Life App SDK is designed to promote the development of apps with multiple smart device features, such as device pairing, device control, firmware updates, scheduled tasks, and smart scenes.
i2s-upnp-bridge - Stream I2S audio to UPnP renderers with an ESP32.
Sonoff-Homekit - Make your Sonoff Switch compatible with Apple Homekit! 🎉