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

Add TCP-Support for v6.0 #44

Open
mwittig opened this issue Mar 6, 2018 · 3 comments
Open

Add TCP-Support for v6.0 #44

mwittig opened this issue Mar 6, 2018 · 3 comments

Comments

@mwittig
Copy link
Owner

mwittig commented Mar 6, 2018

See dotsam/homebridge-milight#51

@fzmemon
Copy link

fzmemon commented Jan 29, 2019

Hi Markus,
When do you plan to add the TCP support? I have noticed that the UDP traffic generated by the script somehow blocks all UDP communication after a few days. The only solution after that seems to be reboot of the router. I think these issues could be avoided by establishing TCP communication.
Is there some documentation how the TCP commands would work? I havn't been able to find any documentation.

@mwittig
Copy link
Owner Author

mwittig commented Jan 29, 2019

I have noticed that the UDP traffic generated by the script somehow blocks all UDP communication after a few days. The only solution after that seems to be reboot of the router.

I have never seen this kind of behaviour. What kind of router do you have? I guess it is bug of the router firmware.

Is there some documentation how the TCP commands would work? I havn't been able to find any documentation.

No, this is not documented as far as I know. At least, there is no official doc publically available.

Is there some documentation how the TCP commands would work? I havn't been able to find any documentation on this. It seems to be straightforward with the legacy bridge, but I haven't seen examples for the v6 bridge

It may be a work-around in your case. On the other hand TCP might bring a bunch of new issues

  • how to hhandle tcp connection in line with the bridge implementation
  • if tcp connection are short-lived this may cause significant delay
  • UDP-based applications will no longer work.

When do you plan to add the TCP support?

I don't have a timeline for this there has not been a lot of demand for this so far

@fzmemon
Copy link

fzmemon commented Jan 29, 2019

I have this router: https://www.tp-link.com/en/products/details/cat-9_Archer-C50.html
May be it is a router issue but I am not so sure. This is the error that I see from the script when a reboot of the router becomes necessary:
31-12-2018 21:41:41: Error: no response timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants