Solved: Controlling CasparCG Client with Companion

howto
client

#1

Hi everyone,

I want to control CasparCG Client with OSC so i can push a button in Companion and start a Group.
I found the syntax: /control/UID/play but nothing happend. I also used some Apps like @Maurice78 Simple Remote Trigger
nothing happend.

Setup:
Companion OSC Plugin


CasparCG Client 2.2.0 Windows 10

  • Allow Remote Triggering ON
  • UID: 3

OSC Imput:

  • Enable OSC Monitoring: ON
  • Enable OSC Control: ON

Some ideas?


#2

Enabled OSC Input in the Settings of the Caspar Client? Set the port correct?


#3

This video should explain it pretty well: https://www.youtube.com/watch?v=JZe8hhsnVE4


#4

I did just that. In the 2.0.8 it doesn’t save the OSC settings and in the 2.2.0 nothing happens. When I address CasparCG Client via the Websocket it reacts.

function doFunction(){ var ws = new WebSocket("ws://127.0.0.1:4250/"); ws.onopen = function(){ws.send('{"path" : "/control/17/play", "args" : [1]}')};

Is it possible something is blocking my OSC commands? Or is it a bug in the client?

group

//edit
Ok I have now tested Companion and the client on another system. (Mac OSX) Controlling the server from both the client and Companion works fine only OSC doesn’t work on the Mac itself or remotely to the client on a Windows machine.


#5

Guys, I’m stupid as ****.

I never thought about just using the other port that’s there.

so “Enable OSC Monitoring” is crucial for OSC Control.

“Enable OSC Control” and the WebSocket port have no influence on OSC.

You might want to ask if Enable OSC Control should do what it says.

With this settings. OSC Control works with port 6250. and

/control/UID/play

Integer 1

in Companion totally fine for me.