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

No installation instructions for Home Assistant? #29

Open
DIYtechie opened this issue Feb 1, 2020 · 3 comments
Open

No installation instructions for Home Assistant? #29

DIYtechie opened this issue Feb 1, 2020 · 3 comments

Comments

@DIYtechie
Copy link

DIYtechie commented Feb 1, 2020

I’ve been using your great tool with Node-RED for a while, but after recently moving from Raspbian to Hassio (HassOS), I don’t know how to install it?

I still want to use with Node-RED, but installed on Hassio (HassOS) rather than Raspbian.

Ideally this could also be a self contained node in Node-RED. (I am aware of the node-red-contrib-cec, but that does not support sending raw commands in simple format.)

If this is not possible what is the best way of sending and receiving raw cec commands with Hassio?

@michaelarnauts
Copy link
Owner

I think there is a hdmi_cec component in Hass for this.

@DIYtechie
Copy link
Author

DIYtechie commented Feb 1, 2020

Thanks for your swift reply. I've tried to find it, but was not able to. Can you link to the one you're thinking of?

https://www.home-assistant.io/integrations/hdmi_cec does not seem to support listening for or sending raw commands...

update: it does support sending raw commands, but does not seem to be able to listen for commands.

@depuits
Copy link
Contributor

depuits commented Oct 22, 2020

I also use this with home assistant because when using the home assistant component the device you want to control needs to be connected to the home assistant device.

I use a simple mqtt switch component to power the tv.

switch:
  - platform: mqtt
    name: Living Room TV
    command_topic: 'mqttTopic/cec/0/cmd'
    payload_on: 'on'
    payload_off: 'off'
    state_topic: 'mqttTopic/cec/0'
    availability_topic: 'mqttTopic/bridge/status'

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

No branches or pull requests

3 participants