ElegantOTA
Tasmota
Our great sponsors
ElegantOTA | Tasmota | |
---|---|---|
4 | 209 | |
516 | 21,330 | |
- | - | |
8.1 | 9.9 | |
8 days ago | 5 days 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.
Tasmota
-
Printing emails based on Message Filters, does not seem possible
All of my office devices are connected to Sonoff S31 smart plugs, flashed with Tasmota on their own locked-down VLAN, and can be controlled via voice, Alexa, Tasker automation on my Android, NFC tags at my office door and various scripts triggered via my StreamDeck (on Linux). This all works fantastic, and I can turn on or off my devices, including my printer, when I start or end my day at work.
- Philips Hue will soon force users to create an account
- Tasmota – open-source firmware for ESP devices
-
Ask HN: I’m an FCC Commissioner proposing regulation of IoT security updates
The best alternative firmware example for true IOT devices is Tasmota [1]. Erase manufacturer firmware for every ESP devices the day after purchase to avoid those careless manufacturer firmwares.
[1] https://tasmota.github.io/docs/
- Making Tapo smart plug turn on when phone is connected to charger
- Smarthome Gefahren. Worauf soll man achten?
- Caffè Italia * 22/06/23
- MBC: Quand les GAFAM contrôlent votre maison
-
Sonoff smart plugs
The ESP8266 based Sonoff S31 and ESP32 based Switchbot plugs, both flashed with either Tasmota or ESPHome, are my go-to options for US WiFi smart plugs with power monitoring.
-
Add $4 WiFi Logging to IKEA’s $12 Air Quality Sensor (Wemos and Vindriktning)
And if you want to turn your ESP8266 into a standalone appliance, with a web interface and directly editable config that doesn't need a build step, Tasmota is another great option.
https://tasmota.github.io/docs/
What are some alternatives?
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
WLED - Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
Sonoff-Tasmota - Alternative firmware for ESP8266 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 [Moved to: https://github.com/arendst/Tasmota]
tuya-iotos-embeded-sdk-wifi-ble-bk7231n - Tuya IoTOS Embeded SDK WiFi & BLE for BK7231N
esp32_template
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...)
fpc-esp-freertos
esphome - ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Arduino-HomeKit-ESP8266 - Native Apple HomeKit accessory implementation for the ESP8266 Arduino core.
zigbee2mqtt - Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
i2s-upnp-bridge - Stream I2S audio to UPnP renderers with an ESP32.
ESP-Now - ESP-Now Examples