Skip to content

Instantly share code, notes, and snippets.

@m0wfo
Created December 27, 2008 16:05
Show Gist options
  • Save m0wfo/40273 to your computer and use it in GitHub Desktop.
Save m0wfo/40273 to your computer and use it in GitHub Desktop.
require 'net/telnet'
soundbridge = Net::Telnet.new(
'Host' => '192.168.2.105','Port' => '5555'
)
soundbridge.puts "SetPowerState on yes"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment