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

Change how cec-mqtt-bridge advertises itself. E.g. Playback 3 instead of Recorder 1

Open DIYtechie opened this issue 5 years ago • 2 comments

Hi :)

Thanks again for making this great tool.

How do I change how the cec-mqtt-bridge advertises itself? e.g. Playback 3 (9) instead of Recorder 1 (1) or as Unregistered (F). Tried changing "id" in the default configuration in bridge.py from 1 to 9, but that did not seem to change anything?

I see that under "setup CEC" it says "cec_config.deviceTypes.Add(cec.CEC_DEVICE_TYPE_RECORDING_DEVICE)"

Is it possible to control other CEC devices without appearing as a device itself?

DIYtechie avatar Apr 08 '20 06:04 DIYtechie

It's been some time since I've looked at this code, but I think you couldn't control devices without having an id yourself. You should be able to change the device type fine though.

michaelarnauts avatar Apr 08 '20 07:04 michaelarnauts

Great. How do I change the device type?

DIYtechie avatar Apr 08 '20 19:04 DIYtechie