Hdmi cec , chromecast and mi box - my solution

by severanexp

Having seen some posts about the topics above, I’ve decided to share my set up - having chromecast functionality while using hdmi cec and making the TV turn on in an easy way with the mi box.

Now first things first the mi box is not a chromecast. You can’t cast to it when it’s off. So you have to turn it on first.

So the idea is to have hdmi cec turned on, and making sure that the mi box picks up the casts.

You activate google assistant and configure the mi box to be the “living room TV” or whatever.

Once you want to cast, you tell to google assistant “turn on the tv”. You can have the google assistant app on your device so that should be a non issue. It will turn on the tv and switch to the mi box hdmi channel (fun fact: my Samsung tv has an option that specifies a default menu, if you have this on it will change the mi box channel to that default menu/ channel a few seconds afterwards opening the mi box channel...Just turn that crap off and save some headaches)

Once the mi box turns on, which usually is pretty fast, you’ll be in the mi box hdmi channel and be able to cast to it.

I don’t don’t cast a lot, either I’m watching on my smartphone or I’m using the standard Samsung tizen apps because until now they have been working properly, but I do have a google home mini and after reading a bunch of comments I figured this would be of use to someone out there :) hope it helps!

“Turn tv off” also works:) Oh and plex. Plex also works really good!! :)

glassbase86

More people should know about this app. You need to side load it but the config can be set with remote (doesn’t require mouse).

https://github.com/d4rken/wakelock-revamp

This will stop the Mi Box from dropping networking while it’s off so it’s always available to cast. Cast will be able wake up box, wake up TV via CEC.

You have to enable the processor lock and wifi normal lock

salimjiwani

Thanks for solution, this works

JohanSandberg

Problem for me is that my MiBox does not turn on every time when TV sends CEC on.

Or maybe TV is not sending correct CEC every time. Who knows.

It's a Samsung TV, 4 years old.

Or does this Have to do with that mibox goes into som deep sleep mode after a while?

raptor75mlt

You know that you cannot cast to the Chromecast dongle either when it's off right? So nothing different there.

Conversely though, I can cast to my AndroidTV when it's off. The cast target is still available, and it switches on the tv