lib/connection.rb
def read(path)
      owconnect do |socket|
        owwrite(socket,:path => path, :function => READ)
        return to_number(owread(socket).data)
      end
    end
def read(path)
      owconnect do |socket|
        owwrite(socket,:path => path, :function => READ)
        return to_number(owread(socket).data)
      end
    end
Read a value from an OW path.