SinricPro Library
|
Device to report motion detection events. More...
#include <SinricProMotionsensor.h>
Public Member Functions | |
bool | sendPushNotification (String notification) |
Sending push notifications to SinricPro App. | |
bool | sendMotionEvent (bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION) |
Sending motion detection state to SinricPro server. | |
Device to report motion detection events.
|
inherited |
Sending motion detection state to SinricPro server.
detected | bool true if motion has been detected 'false' if no motion has been detected |
cause | (optional) String reason why event is sent (default = "PHYSICAL_INTERACTION" ) |
true | event has been sent successfully |
false | event has not been sent, maybe you sent to much events in a short distance of time |
|
inherited |
Sending push notifications to SinricPro App.
notification | String with the notification |
true | event has been sent successfully |
false | event has not been sent, maybe you sent to much events in a short distance of time |