Opener: set ring suppression automatically on a given schedule

Sure, so what I am doing is following: I created 2 rest_command which call the Nuki-Web-API (as the opener settings can not be set via Bridge API). One to enable the bell supression and one that disables it (or rather enables it only for RtO).

Disable Suppression (only enabled for RtO)

  klingel_an:
    url: https://api.nuki.io/smartlock/OPENER-ID/advanced/openerconfig
    method: POST
    headers:
      authorization: "Bearer TOKEN"
      accept: "application/json"
    content_type: "application/json"
    payload: '{"intercomId": 0,"busModeSwitch": 0,"shortCircuitDuration": 0,"electricStrikeDelay": 0,"randomElectricStrikeDelay": false,"electricStrikeDuration": 3000,"disableRtoAfterRing": true,"rtoTimeout": 20,"doorbellSuppression": 2,"doorbellSuppressionDuration": 500,"soundRing": 2,"soundOpen": 0,"soundRto": 0,"soundCm": 0,"soundConfirmation": 1,"soundLevel": 128,"singleButtonPressAction": 7,"doubleButtonPressAction": 7,"batteryType": 0,"automaticBatteryTypeDetection": true,"autoUpdateEnabled": false}'
    verify_ssl: true

Enable suppression:

  klingel_aus:
    url: https://api.nuki.io/smartlock/OPENER-ID/advanced/openerconfig
    method: POST
    headers:
      authorization: "Bearer TOKEN"
      accept: "application/json"
    content_type: "application/json"
    payload: '{"intercomId": 0,"busModeSwitch": 0,"shortCircuitDuration": 0,"electricStrikeDelay": 0,"randomElectricStrikeDelay": false,"electricStrikeDuration": 3000,"disableRtoAfterRing": true,"rtoTimeout": 20,"doorbellSuppression": 4,"doorbellSuppressionDuration": 500,"soundRing": 0,"soundOpen": 0,"soundRto": 0,"soundCm": 0,"soundConfirmation": 1,"soundLevel": 128,"singleButtonPressAction": 7,"doubleButtonPressAction": 7,"batteryType": 0,"automaticBatteryTypeDetection": true,"autoUpdateEnabled": false}'
    verify_ssl: true

You always have to send the whole payload in order to change something. You have to look for the integer sent as doorbellSuppression. 4 = suppress everything, 2 = only suppress RtO.

Now you just use those 2 rest_commands in an Automation of your choice. In my case that doorbell gets suppressed at 12 in the night and then changes back to ringing at 8 in the morning.