Advanced Motion detection with groups

dastrix

Getting the hang of it
Joined
Aug 18, 2017
Messages
188
Reaction score
19
Hi All

Right now I use the HTTP interface to send commands to BI via OpenHab to turn on/off motion recording.

It works well however it's not as granular as I'd like.

What I'm looking to do is some how turn off motion for a certain 'group' of cameras only, is that possible?

for example:

When I'm home and its day light hours, I want motion recording on 3 of my 10 cameras (the rear lane and front gate for example) but dont want any motion recording in my living room or back yard)

When its dark, or after hours then I want all motion recording switched on.

Any help would be great! Right now I use OpenHab to do presence detection as well as time of day so my motion on/off is also based off if we are home or not, but thats neither here nor there for this purpose.

Thanks
Kris
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Hi All

Right now I use the HTTP interface to send commands to BI via OpenHab to turn on/off motion recording.

It works well however it's not as granular as I'd like.

What I'm looking to do is some how turn off motion for a certain 'group' of cameras only, is that possible?

for example:

When I'm home and its day light hours, I want motion recording on 3 of my 10 cameras (the rear lane and front gate for example) but dont want any motion recording in my living room or back yard)

When its dark, or after hours then I want all motion recording switched on.

Any help would be great! Right now I use OpenHab to do presence detection as well as time of day so my motion on/off is also based off if we are home or not, but thats neither here nor there for this purpose.

Thanks
Kris
This can easily be done using profiles....
 

dastrix

Getting the hang of it
Joined
Aug 18, 2017
Messages
188
Reaction score
19
Sounds like I need a Profile for 'At Home' and 'Away".

All Motion/Alerts ON for AWAY. Motion only on selected cams for 'At Home'

I can then turn the profile on/off based off Openhab presence and time of day detection using a httpGetRequest so I assume that I don't need the schedule at all, except for managing Alerts (ie I dont need the schedule to turn on/off profiles at certain times of the day, ill use OpenHab/HTTP to do that)
Thanks Fenderman, ill give it a go tonight
 
Last edited:

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Sounds like I need a Profile for 'At Home' and 'Away".

All Motion/Alerts ON for AWAY. Motion only on selected cams for 'At Home'

I can then turn the profile on/off based off Openhab presence and time of day detection using a httpGetRequest

Thanks Fenderman, ill give it a go tonight
exactly
 

dastrix

Getting the hang of it
Joined
Aug 18, 2017
Messages
188
Reaction score
19
Seems via http you cant see the profile for a group?
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Seems via http you cant see the profile for a group?
You cant set profiles specific for groups nor do you need to. Simply disable recording for the at home profile in the cameras you dont wish to record.
 

dastrix

Getting the hang of it
Joined
Aug 18, 2017
Messages
188
Reaction score
19
Was just trying to reduce 3 x HTTP commands (one for each camera to change the profile) to one , ie 1 http command to change the profile to Away
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Was just trying to reduce 3 x HTTP commands (one for each camera to change the profile) to one , ie 1 http command to change the profile to Away
You dont need to change the profile for each camera...you simply change the global profile, just one command.
 

dastrix

Getting the hang of it
Joined
Aug 18, 2017
Messages
188
Reaction score
19
Im not changing profiles via BlueIris, im doing it from a third party system.

So, some cameras need to have profiles set, whilst others ill leave as they are.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Im not changing profiles via BlueIris, im doing it from a third party system.

So, some cameras need to have profiles set, whilst others ill leave as they are.
It doesnt matter how you change profiles. It seems like you are trying to manually change the profile for each camera you dont want to record, individually, which is not needed.
For each profile set how you want each camera to respond. Then you change ALL cameras to home or away by simple changing the global profile, once.
 

dastrix

Getting the hang of it
Joined
Aug 18, 2017
Messages
188
Reaction score
19
Yes, that's exactly what I was doing.

So rather than set the camera profile individually, I would use this HTTP command, once:

/admin?profile=x&lock=y (Away or At Home) with Lock being 0 for RUN
 
Top