has anyone installed / is using unifi cameras -- any advice experience would be welcome..
Karl
kw123 wrote:... 5 or 6 cameras.... don’t know how many?
kw123 wrote:Also how is the dynamic range. ie full sun and darker light.. and did you get the IR range extender?
mongo 127.0.0.1:7441/av
db.account.update( { username: "yourusername" }, {$set: { password: "$2a$06$cJz8kbmsELt.zmoXRGFs.uJwimjClVdIfu/NCt.A.pFdQyQJpji9K" } } )
import subprocess
vmMachine = "ubuntu"
vboxPath = "/Applications/VirtualBox.app/Contents/MacOS/"
command = "start" # or stop or test
runningVMs = subprocess.Popen(vboxPath+"VBoxManage list runningvms",stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True).communicate()[0]
indigo.server.log("\n>>"+ runningVMs+"<<")
if command =="start":
if runningVMs.find(vmMachine) ==-1:
indigo.server.log(vmMachine+" starting vbox ")
subprocess.Popen(vboxPath+'VBoxManage startvm "'+vmMachine+'" --type headless &', shell=True)
else:
indigo.server.log(vmMachine+" vBox is already running")
elif command =="stop":
if runningVMs.find(vmMachine) >-1:
subprocess.Popen(vboxPath+'VBoxManage controlvm "'+ vmMachine+'" acpipowerbutton &', shell=True )
else:
if len(runningVMs) > 10:
indigo.server.log(vmMachine +" vbox is running ")
else:
indigo.server.log(vmMachine +" vbox is NOT running ")
Users browsing this forum: No registered users and 1 guest