arendst / 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
https://tasmota.github.io/docs
GNU General Public License v3.0
22.04k stars 4.78k forks source link

Add command WebRun (as WebQuery extension) #21364

Closed barbudor closed 4 months ago

barbudor commented 5 months ago

Description:

Related issue (if applicable): fixes #21325

This command is not included by default and requires a self-compile with

#defined USE_WEBRUN

It uses 0.5k of code

Syntax:

WebRun http://someserver/somepath/somecommandfile

Execute the Tasmota commands from the downloaded text file. Format is similar to the .bat file that can be executed by UfsRun from the file system:

It is implemented as an extension of WebQuery so it also supports all additional arguments of WebQuery

Note: WebSend is not modified, just moved below WebQuery

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

barbudor commented 4 months ago

@arendst, no plan to merge ?