TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Control Chromecasts from Linux

222 pointsby this_machineover 4 years ago

13 comments

balloobover 4 years ago
Author of pychromecast here, the underlying library that this project uses to control the Chromecast.<p>I wrote this lib initially for use in Home Assistant, <a href="https:&#x2F;&#x2F;www.home-assistant.io" rel="nofollow">https:&#x2F;&#x2F;www.home-assistant.io</a><p>For Home Assistant I made a rule that all device drivers are stand-alone Home Assistant agnostic Python packages. That way more projects can use it.<p>Glad to see that strategy is working out and it powering projects like this
评论 #24530571 未加载
评论 #24532663 未加载
评论 #24530203 未加载
评论 #24538146 未加载
评论 #24529949 未加载
评论 #24532234 未加载
评论 #24531851 未加载
liabilityover 4 years ago
If you don&#x27;t want a Google device on your LAN and are willing to put in a little bit more work for that, I&#x27;ve found that remotely controlling an instance of mpv over the JSON IPC interface works well for me. I can send it URLs from the web or paths to local files. My client for this isn&#x27;t currently public, but it&#x27;s a rather easy interface that some of you may find it easy enough to integrate into your other systems.<p>(Note that it only listens on a Unix socket. With socat you can redirect that to a TCP socket though, preferably listening on a wireguard interface to keep the rest of your LAN from accessing it, since there&#x27;s otherwise no security.)<p>Definitely not for everybody, but perhaps suitable for some.<p><a href="https:&#x2F;&#x2F;mpv.io&#x2F;manual&#x2F;master&#x2F;#json-ipc" rel="nofollow">https:&#x2F;&#x2F;mpv.io&#x2F;manual&#x2F;master&#x2F;#json-ipc</a>
评论 #24529938 未加载
评论 #24529942 未加载
评论 #24531025 未加载
gala8yover 4 years ago
OT, but i had an idea yesterday... will explain in UX language: would it be possible to send video to chromecast-like device and &#x27;leave sound on mobile device&#x27; to be able to listen on bluetooth connected headphones while watching on big screen?
评论 #24534605 未加载
评论 #24533321 未加载
ebg13over 4 years ago
I can&#x27;t tell from this project&#x27;s readme how to actually play things. It has an instruction for connecting to your chromecast...ok, and then what?<p>In the past I&#x27;ve used <a href="https:&#x2F;&#x2F;github.com&#x2F;keredson&#x2F;gnomecast" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;keredson&#x2F;gnomecast</a> which is a standalone simple media player that transcodes if needed and streams to my Chromecast. Thoughts on what this provides that&#x27;s better?
评论 #24538400 未加载
评论 #24529736 未加载
评论 #24530237 未加载
axaxsover 4 years ago
Thanks for this, I can&#x27;t wait to test it out.<p>Are there other ways to control chromecasts from Linux? I used to be able to cast straight from Chromium, but that hasn&#x27;t worked for me in at least a couple years.
评论 #24528924 未加载
评论 #24532129 未加载
评论 #24529769 未加载
StavrosKover 4 years ago
This is nice, I&#x27;ve been using catt mapped to the media keys via the native window manager shortcuts, but this seems easier to set up.
评论 #24538254 未加载
markbnjover 4 years ago
Shameless threadjack: does anyone know a way to cast _to_ a linux or windows desktop? We use chromecast on all our entertainment video monitors, but sometimes I would like to hang on the couch in my office and cast a video to my desktop monitor.
评论 #24532084 未加载
评论 #24530989 未加载
评论 #24531014 未加载
评论 #24530877 未加载
评论 #24531583 未加载
评论 #24530837 未加载
mijoharasover 4 years ago
sorry to somewhat hijack this thread, but does anyone know a way to stream from linux to a miracast target?<p>I have a fire stick that I believe supports miracast, and periodically check if there is linux software that will allow me to stream as a source.<p>Last time I checked miraclecast[0] seemed to be somewhat broken. Has anyone had any luck?<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;albfan&#x2F;miraclecast" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;albfan&#x2F;miraclecast</a>
baby-yodaover 4 years ago
does chromecast still require WAN access to operate?
评论 #24529610 未加载
评论 #24530812 未加载
jowsieover 4 years ago
Does this also allow you to cast arbitrary media to the Chromecast? I couldn&#x27;t tell from the readme.
评论 #24528927 未加载
评论 #24530220 未加载
评论 #24529831 未加载
29athrowawayover 4 years ago
An unpopular choice for general purpose streaming: Steam Link.<p>You can install the Steam Link on a smart TV and your computer (including Linux), switch the Steam window and stream whatever you want to stream.
zeropover 4 years ago
Any way to cast zoom calls from my android zoom app to TV via Chromecast ?
评论 #24529628 未加载
评论 #24529338 未加载
hansjorgover 4 years ago
Title says &#x27;from Linux&#x27;, but the README says &#x27;Linux &#x2F; *BSD &#x2F; macOS&#x27; under &#x27;Requirements&#x27;.<p>How would this work on macOS?
评论 #24538429 未加载
评论 #24530290 未加载