logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
DJLTC  
#1 Posted : Sunday, November 12, 2023 7:33:43 AM(UTC)
DJLTC

Rank: Member

Groups: Registered
Joined: 3/13/2022(UTC)
Posts: 20
United States

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
kross  
#2 Posted : Sunday, November 12, 2023 7:48:33 AM(UTC)
kross

Rank: Advanced Member

Groups: Registered
Joined: 10/31/2020(UTC)
Posts: 158
United States

Thanks: 3 times
Was thanked: 33 time(s) in 33 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)
thanks 1 user thanked kross for this useful post.
DJLTC on 11/13/2023(UTC)
Peter1000  
#3 Posted : Sunday, November 12, 2023 11:40:21 PM(UTC)
Peter1000

Rank: Advanced Member

Groups: Registered
Joined: 1/25/2019(UTC)
Posts: 303
Switzerland

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
thanks 1 user thanked Peter1000 for this useful post.
DJLTC on 11/19/2023(UTC)
DJLTC  
#4 Posted : Sunday, November 19, 2023 6:04:57 AM(UTC)
DJLTC

Rank: Member

Groups: Registered
Joined: 3/13/2022(UTC)
Posts: 20
United States

Thanks: 14 times
Originally Posted by: Peter1000 Go to Quoted Post
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
Peter1000  
#5 Posted : Sunday, November 19, 2023 9:26:32 AM(UTC)
Peter1000

Rank: Advanced Member

Groups: Registered
Joined: 1/25/2019(UTC)
Posts: 303
Switzerland

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
DJLTC  
#6 Posted : Sunday, November 19, 2023 10:59:41 PM(UTC)
DJLTC

Rank: Member

Groups: Registered
Joined: 3/13/2022(UTC)
Posts: 20
United States

Thanks: 14 times
Originally Posted by: Peter1000 Go to Quoted Post
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?
Peter1000  
#7 Posted : Monday, November 20, 2023 2:58:54 AM(UTC)
Peter1000

Rank: Advanced Member

Groups: Registered
Joined: 1/25/2019(UTC)
Posts: 303
Switzerland

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
Users browsing this topic
Guest
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.