@NChaos wrote:
Heya everyone,
as my first integration without UI-support I wanted to hook webhooks to change the source and powerstate of my TV using the hdmi_cec integration.
The “CEC Scanner” addon gave me:
[16:55:58] INFO: Starting CEC client scan... opening a connection to the CEC adapter... requesting CEC bus information ... CEC bus information =================== device #0: TV address: 0.0.0.0 active source: no vendor: Sony osd string: TV CEC version: 1.4 power status: on language: deu device #1: Recorder 1 address: 2.0.0.0 active source: no vendor: Pulse Eight osd string: CECTester CEC version: 1.4 power status: on language: eng currently active source: unknown (-1)
My configuration.yaml contains this:
<auto generated stuff> #integrations hdmi_cec: devices: TV: 0.0.0.0 Raspi: 2.0.0.0 PC: 0.1.0.0
Now I want to call this to change to hdmi1 on the TV:
data: device: 0.1.0.0 service: hdmi_cec.select_device
Curiously, requesting anything with “0.” at the start does nothing while any other address changes the TV to hdmi2, the Raspi running HassOS.
Can someone tell me how to find the proper addresses to access the TV’s ports?
Thanks in advance for your help.
Posts: 1
Participants: 1