# MCE remote control TV via CEC

**URL:** <https://forums.plex.tv/t/mce-remote-control-tv-via-cec/205467>\
**Category:** Apps & Creations\
**Created:** [September 8, 2017, 12:29pm UTC](https://forums.plex.tv/t/mce-remote-control-tv-via-cec/205467 "2017-09-08T12:29:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpaytoncfd](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jpaytoncfd/32/163673_2.png) [@jpaytoncfd](https://forums.plex.tv/u/jpaytoncfd)\
**Post date:** [September 8, 2017, 12:29pm UTC](https://forums.plex.tv/t/mce-remote-control-tv-via-cec/205467/1 "2017-09-08T12:29:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jpaytoncfd](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jpaytoncfd/32/163673_2.png) [@jpaytoncfd](https://forums.plex.tv/u/jpaytoncfd)\
**Post date:** [September 8, 2017, 10:39pm UTC](https://forums.plex.tv/t/mce-remote-control-tv-via-cec/205467/2 "2017-09-08T22:39:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 7:37pm UTC](https://forums.plex.tv/t/mce-remote-control-tv-via-cec/205467/3 "2020-01-08T19:37:39Z")

</div>


