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
Request: Support TCP Connections to CC2530 #665
Comments
Yes, Info in issue 442 |
Wiring: Esp8266 flashing Downlad the lastest https://github.com/letscontrolit/ESPEasy/releases When it is ready close the flashing tool Then its complete the device will get devicename ESP-Easy-0 check your router for the IP or you will get directed after the setup of the Wifi the first time you connected to the device. You can also try to use ser2net on Linux then use that port. sudo socat -d -d pty,raw,echo=0,link=/dev/zigbee tcp-connect:IP:PORT NOTE THIS! Make sure the zigbee2mqtt is not using the same channel as WIFI. |
I have been using a similar configuration to this for months, but using an OpenWrt AP with USB connected CC2531 instead of ESP8266 with UART connected CC2530. (I am also using the same principle in a different location with CC2530 connected to OpenWrt AP via USB UART dongle, but this is less elegant). I am using ser2net on the OpenWrt remote radio side, and socat on the zigbee2mqtt server side. The server side is a bit complicated with an extra systemd unit for socat and dependencies etc. Despite this complexity and to my surprise, it has been working flawlessly. Allowing direct specification of a TCP endpoint in zigbee2mqtt would greatly simplify this case, which is what I believe Eistee is requesting. I'm sure there are also people running zigbee2mqtt in containers who would appreciate this. e.g. rather than
configuration could be like
This would require adding TCP support to zigbee-shepherd (bypassing serialport) and updating zigbee2mqtt to pass through the configuration. |
@Koenkk Is it possible for to implement this?
|
My systemd unit files for socat and zigbee2mqtt And the relevant part of my zigbee2mqtt configuration.yaml
|
@rmounce I think this is what we are looking for https://www.npmjs.com/package/tcp-serial |
Any update? Its a really nic function i need feedback with the respond time . |
Solved check docs. |
Hi is it posible to support TCP Connections to CC2530 so i can connect it to an ESP8266 or an MapleCUN.
The text was updated successfully, but these errors were encountered: