There’s a windows command line utilitity called ‘BI command’.
http://www.cam-it.org/index.php?topic=2687.0
Is there any way in vera to execute a windows command line on another PC?
There’s a windows command line utilitity called ‘BI command’.
http://www.cam-it.org/index.php?topic=2687.0
Is there any way in vera to execute a windows command line on another PC?
If I understand you correctly, yes, there are 2 ways to do this that I know about.
Sockets. You would have Vera open a socket (ip address + port number) to your PC and talk back-and-forth. You would need to code up a listening program on the PC that would do the required command-line actions. Do not forget to allow the port through the firewall. Advantage here is speed.
Http. Have Vera issue a wget command to a Web server you would setup on your PC with the appropriate page parameters. Then your Web page does the required command-line actions. Advantage here is ease-of-debugging.
HTH,
Paul
I’ve been playing around with this some this weekend. My main goals are to (1) trigger a camera from
a vera scene and (2) change the recording/motion profile in BI from a vera scene.
/admin?camera=x&trigger Trigger camera x (short name)
http://10.0.1.x:80/admin?camera=cam1&trigger
…will trigger cam1 and start recording.
/admin?profile=x Temporarily change the active profile to x. Use x=-1 to toggle the lock status.
http://10.0.1.x:80/admin?profile=2
…will change the BI recording profile to 2. I use BI profile 1 as 24/7 motion and profile 2 as M-F 9-5 work hours.
I made some scenes with …
local status, result = luup.inet.wget(“http://10.0.1.x:80/admin?profile=2”,5)
…in the lua section. This scene changes the BI profile to 2.
sweet! I am looking for the same thing. I want to trigger a camera group to record when the alarm system is triggered. I also want to change the motion trigger/record status of a blueiris group based on if I am home or not (Nest or away armed). It seems like you have made some significant progress on making those happen. I can’t play with them until the end of the week, but I will try your commands out then.
rearden
[quote=“Intrepid, post:23, topic:171346”]I’ve been playing around with this some this weekend. My main goals are to (1) trigger a camera from
a vera scene and (2) change the recording/motion profile in BI from a vera scene.
/admin?camera=x&trigger Trigger camera x (short name)
http://10.0.1.x:80/admin?camera=cam1&trigger
…will trigger cam1 and start recording.
/admin?profile=x Temporarily change the active profile to x. Use x=-1 to toggle the lock status.
http://10.0.1.x:80/admin?profile=2
…will change the BI recording profile to 2. I use BI profile 1 as 24/7 motion and profile 2 as M-F 9-5 work hours.
I made some scenes with …
local status, result = luup.inet.wget(“http://10.0.1.x:80/admin?profile=2”,5)
…in the lua section. This scene changes the BI profile to 2.[/quote]
I have successfully gotten vera to trigger BI using the http commands. I have not been able to get all the cameras I wanted to trigger, but at least some of them. I think the problem there is my lack of understanding of BI. I was able to trigger the camera, but since this was only a trigger, it didn’t stay recording until the alarm was cleared or for X time but into the trigger characteristics (make/break) in BI were satisfied. This makes sense; I will play with the profile method next to see if I can change the BI profile to trip multiple cameras and continuous record and then use vera to switch out of that profile to motion detect profile when the alarm has been cleared in vera.
It is not a plugin, but it is pretty cool to see “external” show up as the trigger reason in the BI viewer.
rearden
I guess that since there’s no actual motion on which to ‘break’ the recording when motion is stopped, this is how it should behave. but i had not thought about it! Seems like this is kind of a dumb trigger? But it works pretty well for what it is.
I just was on cam-it and noticed someone has recently posted a JSON control program for BI It’s in the downloads section under JSON Control Program for BlueIris in both windows EXE and native VB .Net 4.5 code I grabbed it but now I need to find some time to tinker with it. Time to go talk to the .Net guru at work and pick his brains.
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules