Dahua and Amcrest: Adding advanced abilities to the ipcamera binding

Looking for people with Dauha and Amcrest cameras to trial a new feature and give feedback on how it should be implemented here:

[ipcamera] Add channel to show adv event and object detection data · Issue #11391 · openhab/openhab-addons (github.com)

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:

[ipcamera] Dahua Day/Night profile switching features · Issue #11470 · openhab/openhab-addons (github.com)

1 Like