Please login or register.

Login with username, password and session length

Author Topic: Macro to run cameras  (Read 4826 times)

DScotland1

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 7
Macro to run cameras
« on: May 23, 2007, 08:38:33 PM »

I am not sure if there is a post out there for this, here is what i want to do, I have 4 cameras 3x XCam2's and one low light camera, i wish to write a macro that will cycle through the XCams during the day and then switch to the low-light camera at night. does anybody have any idea how to do this ?
Logged

azzar0

  • Full Member
  • ***
  • Helpful Post Rating: 1
  • Posts: 73
Re: Macro to run cameras
« Reply #1 on: May 24, 2007, 01:48:37 PM »

  • How do you execute the macro?
  • What do you do with the cameras once you cycle through them?
    • Save video / snapshots?
    • Email pictures, etc?
  • How long do you want (each camera) to be on before it switches to the next one?

It is easy to do in SmartMacros - just create a new macro, set it to an address (ie M11 ON), and then start adding logic:

If time between dawn and dusk
Switch to camera 1
Start recording (if you so wish)
Take snapshots (if you so wish)
Email pictures (if you so wish)
Wait XXX minutes
Switch to camera 2
Start recording (if you so wish)
Take snapshots (if you so wish)
Email pictures (if you so wish)
Wait XXX minutes
Switch to camera 3
Start recording (if you so wish)
Take snapshots (if you so wish)
Email pictures (if you so wish)
ELSE
If time between dusk and dawn
Switch to camera 4
Start recording (if you so wish)
Take snapshots (if you so wish)
Email pictures (if you so wish)
Wait XXX minutes

Something like that. You may need to set / unset flags if you're recording, otherwise it has the tendency to go into a loop.

Good Luck!


[TTA Edit: Added WHITESPACE and formatting to improve readability.]
« Last Edit: June 14, 2007, 11:55:58 AM by TakeTheActive »
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.