pyCEC
pyCEC copied to clipboard
:vhs: Library providing object acces to HDMI CEC devices
i have /dev/cec0 and /dec/cec1 on my raspi, got my TV and stuff hook up to the "left" hdmi port on raspi, which seems to be /dev/cec0 in cec.py there...
In Home Assistant I can send raw commands via hdmi_cec.send_command  But I cannot receive any raw commands. I tried using hdmi_cec.cec_command_received and hdmi_cec.cec_keypress_received, but to they are not active...
[`black`](https://github.com/psf/black#the-uncompromising-code-formatter) is an auto-formatter that I have grown fond of. Other big projects (home-assistant) are using this. I would like to use it here too if possible.
My goal: Setting up hdmi-cec in home assistant using a TCP client/server to control a remote TV connected to a RPi 4. Where I am: Compiled and installed libcec. Can...
I've compiled and installed libcec as per these instructions: https://github.com/Pulse-Eight/libcec/blob/master/docs/README.raspberrypi.md However, running `python3 -m pycec` returns the following error. ``` pi@raspberrypi:~/libcec/build $ python3 -m pycec Traceback (most recent call last):...
Hi, can anybody please explain me how I can run the server as a service on raspbian buster, so I can close Putty and still use it? :) Thanks!
Error reported continuously when using pyCEC with Home Assistant: Apr 6 23:06:53 s140n-hass 37dcc20d3026[1330]: /usr/local/lib/python3.8/site-packages/pycec/network.py:431: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python...
Assigning myself, just wanted to create an issue to track existing deprecation warnings. ``` pycec/network.py:173 /home/alex/git/pyCEC/pycec/network.py:173: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def async_turn_on(self):...
I am seeing an issue with HA communicating with the pycec server on a Raspberry Pi B+ running Raspbian. I get this in my HA logs: ``` INFO (Thread-22) [pycec]...
pi@raspberrypi:~ $ python3 -m pycec Traceback (most recent call last): File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.5/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/pi/.local/lib/python3.5/site-packages/pycec/__main__.py", line 164,...