๐Ÿ“ฆ samueltardieu / homeassistant-addons

โ˜… 1 stars โ‘‚ 2 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/samueltardieu/homeassistant-addons.git
HTTPS git clone https://github.com/samueltardieu/homeassistant-addons.git
SSH git clone git@github.com:samueltardieu/homeassistant-addons.git
CLI gh repo clone samueltardieu/homeassistant-addons
barney barney Update README.md 0f094eb 3 years ago ๐Ÿ“ History
๐Ÿ“‚ 0f094eb9aae8dd4c8601a1148fb372feaa81e057 View all commits โ†’
๐Ÿ“ .github
๐Ÿ“„ config.json
๐Ÿ“„ Dockerfile
๐Ÿ“„ icon.png
๐Ÿ“„ logo.png
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Raspberry Pi CEC server add-on

Starting from HomeAssistant 2021.7.0, the CEC libraries included in HomeAssistant do no longer support CEC interfaces that are not included in the Linux kernel itself. Therefore, it is no longer possible to control the HDMI-CEC bus through the hdmi-cec integration alone.

However, the hdmi-cec integration supports talking to an HDMI-CEC device over a TCP socket. This add-on launches a HDMI-CEC server which supports the Raspberry Pi hardware interface.

Configuration

After enabling this add-on and configuring it to automatically start, one can use the following in HomeAssistant configuration.yaml:

hdmi_cec:
  host: 58c14403-pi-cec

and restart HomeAssistant. You should then be able to control your HDMI-CEC devices with the integration commands.

Notes

For the curious, 58c14403 is the SHA-1 hash of the string https://github.com/samueltardieu/homeassistant-addons and is computed from the repository name by HomeAssistant.

The icon is part of iconscount display icon collection.

RPI GPU Memory

The libraries that pycec uses require there be 128M of memory allocatd to the GPU - if you see any strange assertions in the logs, use raspi-config to change that value.