3.5.6 Doorbutton

Getting current settings

Get the current doorbell button settings.

URL:

https://{{ip_addr}}/api/v1/hipmo/settings/doorbutton

HTTP method:

GET

Response code:

Standard HTTP response code, treating syntactic errors.

Response data:

{
    "data": {
        "bypassDnd": false,
        "invertInput": true,
        "isEnabled": false,
        "maxRingingTime": 30,
        "minRingingTime": 3,
        "usedInput": 0
    }
}

Section setting

URL:

https://{{ip_addr}}/api/v1/hipmo/settings/doorbutton

HTTP method:

PUT

Response code:

Standard HTTP response code, treating syntactic errors.

Request body:
{
    "isEnabled": "<boolean>",
    "invertInput": "<boolean>",
    "bypassDnd": "<boolean>",
    "usedInput": "<integer>",
    "minRingingTime": "<integer>",
    "maxRingingTime": "<integer>"
}

Response data:

{
    "data": {
        "bypassDnd": false,
        "invertInput": true,
        "isEnabled": false,
        "maxRingingTime": 30,
        "minRingingTime": 3,
        "usedInput": 0
    }
}