SinricPro Library
|
Device to report actual temperature and humidity. More...
#include <SinricProTemperaturesensor.h>
Public Member Functions | |
bool | sendPushNotification (String notification) |
Sending push notifications to SinricPro App. | |
bool | sendTemperatureEvent (float temperature, float humidity=-1, String cause=FSTR_SINRICPRO_PERIODIC_POLL) |
Send currentTemperature event to report actual temperature (measured by a sensor) | |
Device to report actual temperature and humidity.
|
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 |
|
inherited |
Send currentTemperature
event to report actual temperature (measured by a sensor)
temperature | float actual temperature measured by a sensor |
humidity | float (optional) actual humidity measured by a sensor (default=-1.0f means not supported) |
cause | (optional) String reason why event is sent (default = "PERIODIC_POLL" ) |
true | event has been sent successfully |
false | event has not been sent, maybe you sent to much events in a short distance of time |