Live data from Hacker News

Query your local network for Chromecasts and have them play media

github.com

21–29 of 29 posts

Re: Query your local network for Chromecasts and have them play media

#21
post #19

Earlier quoted context omitted.

I think you are talking about the posted project. The CC itself will refuse to boot without an internet connection .. Once it booted, it provides a limited offline functionality; if it requires to load `appID` from the internet, and it's not connected: it will block Also since last February update, you need an internet connection to stream local content .. I'm sorry Dave, you cant do that

> Also since last February update, you need an internet connection to stream local content .. I assume it phones home to Google?

Yep.

In order to develop for the platform, you need to register your application[0], and your device[1]. Also you cannot even run your own application without getting google's approval[2], which costs $5..

Then, at runtime, the device will first validate that the app you are trying to run was validated, sending the `AppID` to google.

0: https://developers.google.com/cast/docs/registration#Registe...

1: https://developers.google.com/cast/docs/registration#Registe...

2: https://cast.google.com/publish/

Re: Query your local network for Chromecasts and have them play media

#22

Seems like this does most of the work: https://github.com/thibauts/node-castv2-client

There's also a fascinating (in my opinion) write-up on the wire protocol, which was presumably reverse-engineered for this library: https://github.com/thibauts/node-castv2#protocol-description

Re: Query your local network for Chromecasts and have them play media

#24
post #21

Earlier quoted context omitted.

> Also since last February update, you need an internet connection to stream local content .. I assume it phones home to Google?

Yep. In order to develop for the platform, you need to register your application[0], and your device[1]. Also you cannot even run your own application without getting google's approval[2], which costs $5.. Then, at runtime, the device will first validate that the app you are trying to run was validated, sending the `AppID` to google. 0: https://developers.google.com/cast/docs/registration#Registe... 1: https://develo…

Wow, that's draconian. Are there any devices a bit more open that are in the same price range and support the same feature set?

Re: Query your local network for Chromecasts and have them play media

#25
This seems like a great start of having an alternative to Airplay, particularly the ability to discover all local Chromecasts, and play media to them selectively. Would be interesting to see if any latency issues popup in regards to media 'start' times.

Re: Query your local network for Chromecasts and have them play media

#26
post #21

Earlier quoted context omitted.

Yep. In order to develop for the platform, you need to register your application[0], and your device[1]. Also you cannot even run your own application without getting google's approval[2], which costs $5.. Then, at runtime, the device will first validate that the app you are trying to run was validated, sending the `AppID` to google. 0: https://developers.google.com/cast/docs/registration#Registe... 1: https://develo…

Wow, that's draconian. Are there any devices a bit more open that are in the same price range and support the same feature set?

so far I am very happy with the raspberry pi as a homebrew platform ..

PROS:

- ports: 1x wired net, 4x usb 2.0

- runs linux, super easy to extend/modify (access via ssh from other devices)

- super reliable, with uptimes of months

CONS:

- bigger in size, and not beautiful without a case (except if you like electronic pr0n)

- requires an HDMI cable

- requires an external power source

Re: Query your local network for Chromecasts and have them play media

#27
post #26

Earlier quoted context omitted.

Wow, that's draconian. Are there any devices a bit more open that are in the same price range and support the same feature set?

so far I am very happy with the raspberry pi as a homebrew platform .. PROS: - ports: 1x wired net, 4x usb 2.0 - runs linux, super easy to extend/modify (access via ssh from other devices) - super reliable, with uptimes of months CONS: - bigger in size, and not beautiful without a case (except if you like electronic pr0n) - requires an HDMI cable - requires an external power source

Can the raspberry pi run off a TV's USB port similar to the Chromecast?

Re: Query your local network for Chromecasts and have them play media

#28
post #26

Earlier quoted context omitted.

so far I am very happy with the raspberry pi as a homebrew platform .. PROS: - ports: 1x wired net, 4x usb 2.0 - runs linux, super easy to extend/modify (access via ssh from other devices) - super reliable, with uptimes of months CONS: - bigger in size, and not beautiful without a case (except if you like electronic pr0n) - requires an HDMI cable - requires an external power source

Can the raspberry pi run off a TV's USB port similar to the Chromecast?

YMMV, It looks it can. https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=9322

Re: Query your local network for Chromecasts and have them play media

#29
post #26

Earlier quoted context omitted.

so far I am very happy with the raspberry pi as a homebrew platform .. PROS: - ports: 1x wired net, 4x usb 2.0 - runs linux, super easy to extend/modify (access via ssh from other devices) - super reliable, with uptimes of months CONS: - bigger in size, and not beautiful without a case (except if you like electronic pr0n) - requires an HDMI cable - requires an external power source

Can the raspberry pi run off a TV's USB port similar to the Chromecast?

I have had issues running a wifi dongle when connecting using the tv's usb port - admittedly this is with the old version and not the new one with the updated power circuitry.

However, I have had no issues using usb power from the tv with a LAN connection - this is using Kodi which I suspect will increase the power pull. YMMV

Post reply on HN