Since the thread has somewhat wandered I feel ok in posting this. I so far haven’t found a reliable power on/ power off setup for the am6b+ using a remote / CEC. It doesn’t seem to readily come out of standby. So I’ve started looking for a way to just have it stop play and toggle the TV/AVR more like android boxes do.
Here’s a little work I’ve done on it.
https://discourse.coreelec.org/t/cectogglestate-logic-is-flawed
I’d be happy for suggestions here or there.