SinricPro Library
DoorbellController

DorbellController. More...

Inheritance diagram for DoorbellController:
SinricProDoorbell

Public Member Functions

bool sendDoorbellEvent (String cause="PHYSICAL_INTERACTION")
 Send Doorbell event to SinricPro Server indicating someone pressed the doorbell button. More...
 

Detailed Description

DorbellController.

Member Function Documentation

◆ sendDoorbellEvent()

bool sendDoorbellEvent ( String  cause = "PHYSICAL_INTERACTION")

Send Doorbell event to SinricPro Server indicating someone pressed the doorbell button.

Parameters
cause(optional) Reason why event is sent (default = "PHYSICAL_INTERACTION")
Returns
the success of sending the event
Return values
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time