A simple Ruby library you can use to monitor and control basic features of your Chromecast.
Install the gem:
geminstallchromecast
Or add it to your Gemfile:
gem"chromecast"
Generate a certificate to be used for TLS connetion:
bundleexecrakesetup:certificate
Use it:
require'chromecast'c = Chromecast::Connection.new(CHROMECAST_IP).openc.connection.connectwhiletruemsg = c.readputsmsgifmsg['type'] =='PING'c.heartbeat.pongendend
Scanning for devices
EventMachine support
Proper documentation
Tests
Support for more namespaces
This gem is released under the MIT License.