Skip to content

Arming/Disarming Option #326

@ukiews

Description

@ukiews

Hi, Thank you for the great plugin!
I'm transitioning from HomeBridge (HB) to HA. Using the DS-7608NXI-I2/8P/S
In HB I used http switches to arm/disarm different cameras on the NVR.

Here is the switch code:

{
    "accessory": "HTTP-SWITCH",
    "name": "HikConnect-NVR-Back-ARM",
    "switchType": "toggle",
    "timeout": 1000,
    "debug": true,
    "method": "PUT",
    "onUrl": {
        "url": "http://ip/ISAPI/System/status/disturbParams?format=json",
        "method": "PUT",
        "auth": {
            "username": "usr",
            "password": "pw",
            "sendImmediately": false
        },
        "headers": {
            "Content-Type": "application/json"
        },
        "body": {
            "disturbChannelList": [
                {
                    "channelID": 3,
                    "disturbEnabled": false,
                    "disturbNotificationList": [
                        {
                            "notificationMethod": "center"
                        }
                    ]
                }
            ]
        }
    },
    "offUrl": {
        "url": "http://ip/ISAPI/System/status/disturbParams?format=json",
        "method": "PUT",
        "auth": {
            "username": "usr",
            "password": "pw",
            "sendImmediately": false
        },
        "headers": {
            "Content-Type": "application/json"
        },
        "body": {
            "disturbChannelList": [
                {
                    "channelID": 3,
                    "disturbEnabled": true,
                    "disturbNotificationList": [
                        {
                            "notificationMethod": "center"
                        }
                    ]
                }
            ]
        }
    },
    "_bridge": {
        "username": "...",
        "port": ...
    }
}

Is this something you could implement into the plugin?

This still keeps the camera recording, but prevents the nvr from beeping on motion.
Practical application: If door is opened (you are exiting the space), disable nvr beep warning for x-minutes on motion triggers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions