Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial Wifi bridge to delegate control to other hosts #619

Closed
dewi-ny-je opened this issue Feb 26, 2020 · 2 comments
Closed

Serial Wifi bridge to delegate control to other hosts #619

dewi-ny-je opened this issue Feb 26, 2020 · 2 comments

Comments

@dewi-ny-je
Copy link

Describe the problem you have/What new integration you would like

I would like ESPhome to also act as wifi-serial bridge.

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

For example, I have a air conditioning unit which talks via modbus. Programming a module in ESPhome requires knowledge and may need to be done per each modbus device, while a serial-wifi bridge would allow me to delegate all the control to Home Assistant, which does not require real programming skills. This would help to control less common devices which talk via modbus.

Additional context

@oomelchukBB
Copy link

i had a similar problem.
You might take a look at register_service() function https://esphome.io/api/classesphome_1_1api_1_1_custom_a_p_i_device.html#a31b1777f3e960dd9fdd07ca7ea27fed3

I used it to set_text() for my custom display https://github.com/sashao/TM1638lite/blob/master/examples/esphome/TM1638Sensor.h#L73

Custom C++ text sensor can return data for you from modbus.

@glmnet
Copy link
Member

glmnet commented Apr 17, 2020

Duplicate of #660

@glmnet glmnet marked this as a duplicate of #660 Apr 17, 2020
@glmnet glmnet closed this as completed Apr 17, 2020
@lock lock bot locked and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants