prefix/bridge/status reports the bridge availability (from @renemarc )
prefix/cec/volume reports the current volume level
prefix/cec/mute reports the current mute status
The bridge subscribes to prefix/cec/volume/set to set the volume to a specific level between 0 and 100
The code for setting the volume is a little wonky, but it works pretty well in my testing. My receiver has 75 volume steps, so sometimes I get weird rounding issues when setting a 0-100 value. It just causes the volume to flip between two numbers before finally giving up.
I apologize if the topics don't follow your standard, I can always change them. I'm not super familiar with the MQTT best practices, and didn't want to rewrite all of your existing topics and actions to fit a new schema.
prefix/bridge/status
reports the bridge availability (from @renemarc )prefix/cec/volume
reports the current volume levelprefix/cec/mute
reports the current mute statusprefix/cec/volume/set
to set the volume to a specific level between 0 and 100The code for setting the volume is a little wonky, but it works pretty well in my testing. My receiver has 75 volume steps, so sometimes I get weird rounding issues when setting a 0-100 value. It just causes the volume to flip between two numbers before finally giving up.
I apologize if the topics don't follow your standard, I can always change them. I'm not super familiar with the MQTT best practices, and didn't want to rewrite all of your existing topics and actions to fit a new schema.