cec-mqtt-bridge icon indicating copy to clipboard operation
cec-mqtt-bridge copied to clipboard

Hotplug doesnt detect CEC adapter

Open Andrew718 opened this issue 4 years ago • 0 comments

I have this working well on a raspberry pi zero w.

When the pi is connected to the HDMI port before being powered up, everything works well.

However, if HDMI is plugged in afterward the Pi has booted, the cec never initalises.

If I scan the bus using: echo scan | cec-client -s -d 1

The adapter opens, and all works as expected.

So I tried adding the scan line to my supervisord script. When it restarts (with no HDMI plugged in) the adapter opens, and initalises MQTT. But if you plug in HDMI cable, it nevers finds a new device on the bus unless rebooted or scanned again.

Is this an issue with cec-mqtt-bridge or raspberry pi?

Thank you

Andrew718 avatar Jul 22 '19 00:07 Andrew718