-
Notifications
You must be signed in to change notification settings - Fork 37
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
Cant't connect to FireTV #84
Comments
adb connect works also: |
same for me, with firetv and firetv stick (python2 btw). |
also on a different pc with python3 (both arch linux). How to turn on debug mode? |
You may want to try out my PR. I moved to |
I'm having similar issues. One thing I had to do which I might have missed in the instructions was enable ADB over the local network in the FireTV Settings->Developer Options->ADB Debugging to even get the telnet from above to work. However even with that I'm getting the same issues of the FireTV is always in an Unknown state. I also had the same install issues as in #85 and had to use --pre when installing pure-python-adb-homeassistant. Here's hoping someone finds the solution. |
Insteresting, I just found a reference on Reddit that python-FireTV only works under Python 2. That could be our issue. https://www.reddit.com/r/homeassistant/comments/5lmz3e/using_ha_to_launch_an_app_on_firetv/dbzjict/ |
Same issue as here connecting to firetv 4k stick - device always shows state of 'unknown' Tried using virtualenv for both python 3.6 and 2.7 - no luck, state always unknown. ADB debug was turned on stick. Running adb connect prompted on the stick as expected and approved, but no luck with firetvserver. Added the adb key to config file with no luck. Telnet to device in config opens connection as expected. Any other suggestions? How to enable debug? |
pi@wohnraspi:~ $ /home/pi/.local/bin/firetv-server -d 10.6.65.31:5555
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
10.6.65.43 - - [07/May/2019 22:38:34] "GET /devices/list HTTP/1.1" 200 -
10.6.65.43 - - [07/May/2019 22:38:39] "GET /devices/list HTTP/1.1" 200 -
Response:
{"devices":{"default":{"host":"10.6.65.31:5555","state":"unknown"}}}
Ping OK
pi@wohnraspi:~ $ ping 10.6.65.31
PING 10.6.65.31 (10.6.65.31) 56(84) bytes of data.
64 bytes from 10.6.65.31: icmp_seq=1 ttl=64 time=145 ms
64 bytes from 10.6.65.31: icmp_seq=2 ttl=64 time=174 ms
Port is open:
pi@wohnraspi:~ $ telnet 10.6.65.31 5555
Trying 10.6.65.31...
Connected to 10.6.65.31.
Escape character is '^]'.
^]
telnet> quit
The text was updated successfully, but these errors were encountered: