esphome / esphome/feature-requests

UDP: Events/Actions

Open
#3,074 3 comments 1 reaction 0 assignees View on GitHub
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 send events/actions via UDP, such as button press.

**Please describe your use case for this integration and alternatives you've tried:**

UDP is currently limited to binary_sensor and sensor, which is limited in what things can be sent and what they mean. Events wouldn't need the ability to sync, but rather be on-time, one-way events (perhaps with an ack). For example, I've tried to share "brightness" changes through a sensor, but it is very easy to get stuck in a feedback loop, when the sync comes back, and one device is ahead of the other in a short period of time (think holding a button down sending several relative brightness increase/decrease commands).

This would make it easier for "remote" devices to send commands to the "primary" device, which then would be in charge of syncing all devices with regular sensor syncing.

**Additional context**

I'm not sure the best way to implement this and keep it dynamic or how to format the data of the event/action. My first though was to possibly use text sensors, but that doesn't seem right. Maybe send an integer which defines a pre-defined action, along with some sort of hash for uniqueness or order/override.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.