Coder Social home page Coder Social logo

pylgtv's People

Contributors

andersonshatch avatar bachp avatar cyberluke avatar hmn avatar pschmitt avatar thereallink avatar timatnuf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pylgtv's Issues

Problem & Fix Pairing TV

I've got an 55UH850V with LGwebOS 05.30.02 and when I added the component to Hass.io he couldn't connect to the TV, because I didn't get a pair request. So I installed Python on my desktop Windows 10 PC and installed pylgtv. It gave the same issue. When I changed webos_client.py by adding the following code to the bottom off the class WebOsClient
self.load_key_file()
self.register()
self.save_key_file()
Now it gives a pair request and creates the local key file. I don't know if this is the way to fix it but it works for me. Can you commit a fix so it will be fixed in Hass.io, because I can't make file changes in Hass.io

TV needs to be powered on at startup to work (with Home Assistant)

I use Home Assistant and a component called WEBOSTV, which makes use of PYLGTV as a dependency. It works really well, however then the initialisation happens, the TV needs to be powered on for the notify feature to work. Is there any form of workaround that can be put in place for this?

Really appreciate the work !!

How do I pair the TV?

Could you guide me on how to get this stared? can't get it to pair to the tv and the example app always says error connecting to tv. Thanks

Up/Down/Left/Right keys?

Hello! Sorry, it's not exactly an issue, but I haven't found how to send the equivalent of up/down/left/right keys on remote control anywhere in your code. Is it possible?

Thanks in advance!

Browser fullscreen

Is it possible to open a link in het WebOS browser, in full screen mode?

Something went wrong...

Error connecting to TV
Exception ignored in: <generator object WebSocketCommonProtocol.close_connection at 0x000001D5B1B7AA98>
ERROR:asyncio:Task was destroyed but it is pending!
Traceback (most recent call last):
task: <Task pending coro=<WebSocketCommonProtocol.write_frame() running at C:\Python36\lib\site-packages\websockets\protocol.py:637> cb=[_release_waiter(()]>)() at C:\Python36\lib\asyncio\tasks.py:316]>
File "C:\Python36\lib\site-packages\websockets\protocol.py", line 741, in close_connection
ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<Queue.get() running at C:\Python36\lib\asyncio\queues.py:167> wait_for= cb=[_wait.._on_completion() at C:\Python36\lib\asyncio\tasks.py:380]>
ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<WebOsClient._command() done, defined at C:\Python36\lib\site-packages\pylgtv\webos_client.py:145> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001D5B1B86F18>()]>>
ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<WebSocketCommonProtocol.transfer_data() done, defined at C:\Python36\lib\site-packages\websockets\protocol.py:486> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001D5B1B86E28>()]> cb=[_wait.._on_completion() at C:\Python36\lib\asyncio\tasks.py:380, <TaskWakeupMethWrapper object at 0x000001D5B1B86E88>()]>
self.writer.close()
File "C:\Python36\lib\asyncio\streams.py", line 312, in close
return self._transport.close()
File "C:\Python36\lib\asyncio\selector_events.py", line 621, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\Python36\lib\asyncio\base_events.py", line 574, in call_soon
self._check_closed()
File "C:\Python36\lib\asyncio\base_events.py", line 357, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<WebSocketCommonProtocol.close_connection() done, defined at C:\Python36\lib\site-packages\websockets\protocol.py:695> wait_for=<Task pending coro=<WebSocketCommonProtocol.transfer_data() done, defined at C:\Python36\lib\site-packages\websockets\protocol.py:486> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000001D5B1B86E28>()]> cb=[_wait.._on_completion() at C:\Python36\lib\asyncio\tasks.py:380, <TaskWakeupMethWrapper object at 0x000001D5B1B86E88>()]>>

Take screenshot

Do you know if there's a possibility to take a screenshot of the image which is shown on the TV?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.