vMix Forums
»
General
»
vMix Call
»
API Calls on Local Machine
Rank: Member
Groups: Registered
Joined: 3/13/2022(UTC) Posts: 20 Thanks: 14 times
|
I am trying to setup an app to run vMix APIs for me at specified times of the day.
I can put a vMix APIs in my browser and it runs just perfectly. I can not specify a time in the browser and I can not schedule the Calls in the browser. The biggest issue is, not being able to run local APIs on my local machine.
How do y'll do it? What is everyone using to run local vMix APIs on their machine? And has anyone figured out how to schedule a vMix shortcut?
Any guidance will be greatly appreciated.
DeLisa
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/31/2020(UTC) Posts: 144 Thanks: 2 times Was thanked: 28 time(s) in 28 post(s)
|
To execute vMix API calls on a schedule, you can use the "curl" command line tool. And use that in your task scheduler of choice (e.g. Windows Task Scheduler)
|
1 user thanked kross for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/25/2019(UTC) Posts: 302 Thanks: 17 times Was thanked: 79 time(s) in 60 post(s)
|
If I understand correctly, you want to send time of day controlled API commands to vMix. But do you mean a vMix call by API call? Then it might not be the solution. However, if you want to trigger API commands at a specific time, I have written a small windows program that does exactly that. It is not a studio automation:-) Download https://tvcrew.ch/vmix/doku.php?id=vmix_api_schedule
|
1 user thanked Peter1000 for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 3/13/2022(UTC) Posts: 20 Thanks: 14 times
|
Originally Posted by: Peter1000 If I understand correctly, you want to send time of day controlled API commands to vMix. But do you mean a vMix call by API call? Then it might not be the solution. However, if you want to trigger API commands at a specific time, I have written a small windows program that does exactly that. It is not a studio automation:-) Download https://tvcrew.ch/vmix/doku.php?id=vmix_api_schedule I downloaded your app. I think it is exactly what I am looking for. I loaded your sample data. Then entered my data and edited the date/times. I saved the file with the default name. The On/Off turns green at the indicated time, but nothing is happening in vMix. If I enter the API in my browser, it works perfectly. I just can not schedule it in the browser. I put localhost in the vMix IP box like in your screenshot and I checked the vmix enabled box. Here are the APIs I entered in the app. I tried it two ways for testing. I got the IP address from vMix. http://192.168.1.156:8888/api/?Function=Fade&Duration=3000&Input=6 Function=Fade&Duration=3000&Input=6 Error message: No connection could be made because the target machine actively refused it. (localhost:8088) Can you help me figure out what I'm doing wrong? I am running Windows 11, by the way. DeLisa
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/25/2019(UTC) Posts: 302 Thanks: 17 times Was thanked: 79 time(s) in 60 post(s)
|
did you enabled external access in settings -> webcontroller in vmix? and localhost is needed, when the software runs on the same machine as vMix, otherwise use the IP of the vMix computer, if you are running the software on a different computer. both have to be in the same network. i have made a new version, which checks if a connection to vmix is possible when starting the program. vMix must have been started before! a bug with the date picker has also been fixed
|
|
|
|
Rank: Member
Groups: Registered
Joined: 3/13/2022(UTC) Posts: 20 Thanks: 14 times
|
Originally Posted by: Peter1000 did you enabled external access in settings -> webcontroller in vmix? and localhost is needed, when the software runs on the same machine as vMix, otherwise use the IP of the vMix computer, if you are running the software on a different computer. both have to be in the same network. i have made a new version, which checks if a connection to vmix is possible when starting the program. vMix must have been started before! a bug with the date picker has also been fixed Yes, external access is enabled. Should I try the new version?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/25/2019(UTC) Posts: 302 Thanks: 17 times Was thanked: 79 time(s) in 60 post(s)
|
PM me, I don't think the others will be interested in this
|
|
|
|
vMix Forums
»
General
»
vMix Call
»
API Calls on Local Machine
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close