Looking for people with Dauha and Amcrest cameras to trial a new feature and give feedback on how it should be implemented here:
untested rule as an example use case.
rule "Person walking towards the house"
when lastMotionType updated to lineCrossingAlarm
then
var json = lastEventData.state
if(json.contains("RightToLeft")){
//do something here..
// the line is crossed in 1 direction from right to left. We know this person is walking towards the house
}
end
Also if you want day/night profile switching see here: