-
Notifications
You must be signed in to change notification settings - Fork 28
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
Is there an ESPHome equivalent to the ESPEasy Serial Server? #415
Comments
You mean like ser2net component? i wish this can be applied serial devices, it will be connected with old devices which use old serial connection. Great fuction !! |
Yes!ser2net component! |
ESPHome is primarily meant to work with Home Assistant, either via MQTT or API. While many of the components can be used standalone, some of the dedicated single-purpose functionality like acting as a generic serial gateway is absent. You might be able to cobble something together with lambdas and mqtt on_message triggers but it wouldn't be pretty. If you had a specific use case that involved using a CC2530 to connect various devices to Home Assistant that might find more traction. |
Yes,use zigbee2mqtt (https://www.zigbee2mqtt.io/ or https://github.com/Koenkk/zigbee2mqtt ). Allows you to use your Zigbee devices without the vendors bridge or gateway.It bridges events and allows you to control your Zigbee devices via MQTT. In this way you can integrate your Zigbee devices with whatever smart home infrastructure you are using. Currently 380 devices are supported from 84 different vendors.( here https://www.zigbee2mqtt.io/information/supported_devices.html) |
This would be a great addition for these who run BTLE and RF433 gateways. |
The big problem with that is that most protocols ESPHome supports (MQTT, native API, HTTP) are not streaming protocols, so a serial stream cannot be represented in them. Also, while in principle I don't have anything against this, this would be an integration that would soon get uber-generic. Maybe some user wants to split packets somehow (based on some terminating character), maybe someone wants a different protocol etc. This would lend itself much better to custom code (which ESPHome does support quite well). I'd be happy to accept a cookbook contribution with the code required to create a serial server. That way, if users want to customize behavior, they have full access to the code. |
Describe the problem you have/What new integration you would like
Is there an ESPHome equivalent to the ESPEasy Serial Server?
Please describe your use case for this integration and alternatives you've tried:
I want connect a CC2530 coordinator via an ESP8266。like that https://www.zigbee2mqtt.io/how_tos/how_to_esp8266_with_cc2530.html
I wondered whether it would be possible to do the same using ESPHome。How to fill in the ESPHome configuration entry?
Additional context
The text was updated successfully, but these errors were encountered: