         "out" -> [zoom: -0.01]
         _ -> [zoom: 0.0]
       end
-    profile = Application.get_env(:onvif, :default_profile)
+    profile = "Profile_1"
     {:ok, response} = ONVIFPTZ.continuous_move(url, username, password, profile, velocity)
     default_respond(conn, 200, response)
   end


  def status(conn, %{"id" => id}) do
    [url, username, password] = Camera.get_camera_info id
    profile = Application.get_env(:onvif, :default_profile)
    {:ok, response} = ONVIFPTZ.get_status(url, username, password, profile)
    default_respond(conn, 200, response)
  end

        down > up -> down
        true -> -up
      end
    profile = "Profile_1"
    {:ok, response} = ONVIFPTZ.relative_move(
      url, username,
      password, profile,
