How to send data to singular.live?
Add external access
API token to your
singular.live graphics template
Choose “singular.live” output option in Scoreboard OCR
Enter singular.live access token:
https://app.singular.live/apiv1/control/<TOKEN>/<compositionName>
https://app.singular.live/apiv1/control/2gzVUSk2pFmDI7dK53KX5g/Composition1
Use the same field names in Scoreboard OCR that are defined in singular.live
Scoreboard OCR will send the following HTTP PUT request to singular.live according to developer documentation
[
{
"compositionName":"Composition1",
"controlNode":{
"payload":{
"Time":"09:00"
}
}
}
]
How to test ?
in Singular.live
from Market add Corner Cap composition and create control app for that composition
in Control App upper right corner click on the three dashes and generate a token, copy it to your clipbaord
in Control App activate only 'Score Bug - Basketball' overlay, make sure you see the scorebug on the screen
in Scoreboard OCR
in '2. Choose Output' choose the output type 'Singular.live' and add this line
https://app.singular.live/apiv1/control/<TOKEN_FROM_CLIPBOARD>/Score Bug - Basketball
in '3. Add Digits' add field named 'team1Score' and add some digits
You should see the Team1 score updating in Singular.live
How to solve the issue that Time field is not updating?
Since Singular.live 'Time' field is not a standard text field but rather a 'timer' type of field and it is not possible to send a value to update this field. Instead it can be started and stoped by sending a command. Workaround is to replace Timer widget with Text widget.
How to show/hide timeout indicator in singular.live?