esphome / esphome/feature-requests

REST API: Support for Triggering Scripts

Open
#3,125 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.