MCE remote control TV via CEC

rasplex

#1

Is it possible to remap my power button on my MCE remote to send the CEC command to turn my TV on and off without turning the pi off also? I know how to remap keys in kodi. But I dont know what function to use for the CEC. I also need to make sure the pi ignores the standby signal from the tv as it shuts down


#2

Sorry, I posted this in the wrong section. I needed rasplex.