# How to control OSC/Pilot by an external device?

**URL:** https://forum.oscpilot.com/t/how-to-control-osc-pilot-by-an-external-device/844
**Category:** OSC/PILOT General Discussion
**Created:** [January 18, 2024, 11:45pm UTC](https://forum.oscpilot.com/t/how-to-control-osc-pilot-by-an-external-device/844 "2024-01-18T23:45:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![SergioGarcy](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@SergioGarcy](https://forum.oscpilot.com/u/SergioGarcy)
#### Post date: [January 18, 2024, 11:45pm UTC](https://forum.oscpilot.com/t/how-to-control-osc-pilot-by-an-external-device/844/1 "2024-01-18T23:45:54Z")

</div>

Hi everyone,

I’m starting using OSCpilot as a simple command control of Companion.

I would love to create some variables to automatize the command /OSCpilot/Workspace/Select from Companion to OSCpilot but… I did some test and I’m not able to discover what OSC port use OSCpilot by default to be controlled.

I’m sorry because it is a simple question but I could not find any documentation about it.

Thanks,  
Sergio.

---

<div class="post-metadata">

### Author: ![malcolm](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.oscpilot.com/malcolm/32/19_2.png) [@malcolm](https://forum.oscpilot.com/u/malcolm)
#### Post date: [January 22, 2024, 3:42pm UTC](https://forum.oscpilot.com/t/how-to-control-osc-pilot-by-an-external-device/844/2 "2024-01-22T15:42:39Z")

</div>

You select the port that OSC/PILOT listens on in the settings. It can be whatever port you want.
