esphome / esphome/feature-requests
REST API: Support for Triggering Scripts
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Describe the problem you have/What new integration you would like
The ability to trigger a defined script using the REST-API of the Webserver, just like controlling switches etc.
Please describe your use case for this integration and alternatives you've tried:
Currently it is not supported to trigger scripts, so i need to trigger some things using HomeAssistant Automations
Additional context
With this feature, i could control anything of my ESP without needing multiple requests or HomeAssistant
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files or tests are named. Start by locating ESPHome’s Webserver REST API and the existing switch-control endpoint, then trace how defined scripts are represented and invoked. Done means a documented API path can trigger a defined script reliably, with coverage for valid and invalid requests.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, embedded-iot
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100