I'm looking for a program that will simulate ChromeCast on my Pi 3. I successfully installed PiCAST but I'm not seeing a new device where I can stream to on chrome on my mac or on android.
Is PiCAST supposed to simulate ChromeCast or is it just a program that looks like ChromeCast but can only be controlled by sending the to-be-streamed media within the URL?
If the latter is true, then is there another program that I can use to simulate ChromeCast on Pi 3 pretty much like shairpoint-sync simulates AirPlay?


I am using simple HTTP protocol to connect to my RPi. So, if you can have the IP of your PI, it will work.

On RPi, am running this python service. I am planning to add more security to this later. But for now, in a mini setup, this works. I have even developed an android application around it(find it in my blog series for YOUPICAST).

from flask import Flask       
import os
from threading import Thread


def run(cmdStr):

def PlayNow(url):
    pid = os.system('$(pidof omxplayer)')
    if pid > 0:
        os.system('killall omxplayer.bin')
    modUrl = 'https://youtube.com/watch?v='+url
    cmdStr = 'omxplayer -o hdmi `youtube-dl -g -f 18 %s` --blank' % (modUrl)
    threads = Thread(target=run,args=(cmdStr,))
    threads.daemon = True
    return 'Added : Url - ' + url

def Kill():
    pid = os.system('$(pidof omxplayer)')
    if pid > 0:
         os.system('killall omxplayer.bin')
    return 'Killed'

if __name__ == '__main__':

Let me know if you need more details.

| improve this answer | |
  • 2
    Welcome to Raspberry Pi! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Mithical Aug 28 '17 at 12:43
  • 1
    Welcome to Raspberry Pi! Please take the tour and visit the helpcenter to see how things work here. Please note that answers on the Stackexchange should stand on their own. That means that they should not just promote your blog but provide a real answer here that has value without following an external link. – Ghanima Aug 28 '17 at 17:12
  • 1
    ... in fact, this is how we handle it now: In keeping with our policy regarding informationless link-only answers, if this post is not edited to contain information that can stand as an answer, however minimal, in 48 hours it will be converted to Community Wiki to simplify having it corrected by the community. – Ghanima Aug 28 '17 at 17:12
  • @Ghanima let me know if this looks like a decent answer to the question. Since the user asked for alternatives, I am giving it to him or her. – Rajesh Panda Aug 28 '17 at 21:43
  • Hello Rajesh, thanks for updating the answer. Please note that it is not my place to value the decency (all users could and should do that via voting) but it is part of moderation to point out the rules of the site (such as the link-only-ness of answers). – Ghanima Aug 29 '17 at 6:00

PiCAST uses a completely custom protocol incompatible with devices which actually support Google Chromecast.

Furthermore , just like Apple Google is always modifying the protocol which has completely broken projects like leapcast already. If your device supports MiraCast , try using the "Miraclecast" project , it used to work on Raspberries and is based on a purportedly vendor-neutral standard.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.