diff --git a/Doxyfile b/Doxyfile index ffd847b..82da17d 100644 --- a/Doxyfile +++ b/Doxyfile @@ -58,7 +58,7 @@ PROJECT_LOGO = # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = . +OUTPUT_DIRECTORY = # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- # directories (in 2 levels) under the output directory of each output format and @@ -186,7 +186,7 @@ STRIP_FROM_INC_PATH = # support long names like on DOS, Mac, or CD-ROM. # The default value is: NO. -SHORT_NAMES = YES +SHORT_NAMES = NO # If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the # first line (until the first dot) of a Javadoc-style comment as the brief @@ -864,8 +864,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = ../esp8266-esp32-sdk \ - ..\esp8266-esp32-sdk\src \ +INPUT = ..\esp8266-esp32-sdk\src \ ..\esp8266-esp32-sdk\README.md \ ..\esp8266-esp32-sdk\src\Capabilities \ documentation.dox @@ -989,7 +988,7 @@ EXCLUDE_SYMBOLS = # that contain example code fragments that are included (see the \include # command). -EXAMPLE_PATH = doc-examples/ +EXAMPLE_PATH = doc-examples # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and @@ -2544,7 +2543,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = svg +DOT_IMAGE_FORMAT = png # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. diff --git a/doc-examples/documentation.dox b/doc-examples/documentation.dox deleted file mode 100644 index 0d3cc57..0000000 --- a/doc-examples/documentation.dox +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @defgroup SinricPro SinricPro - * @brief Main instance of SinricProClass - * - * @defgroup Devices Devices - * @brief Available devices - * - * @defgroup Capabilities Capabilities - * @brief Capabilities - * - **/ diff --git a/docs/dir_a3d2086e3c3fe22c73a549735325deec.html b/docs/dir_a3d2086e3c3fe22c73a549735325deec.html deleted file mode 100644 index 1f72c8c..0000000 --- a/docs/dir_a3d2086e3c3fe22c73a549735325deec.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - -SinricPro Library: doc-examples Directory Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
doc-examples Directory Reference
-
-
-
-
- - - - diff --git a/docs/docs/_air_quality_sensor_8h_source.html b/docs/docs/_air_quality_sensor_8h_source.html deleted file mode 100644 index 5597a91..0000000 --- a/docs/docs/_air_quality_sensor_8h_source.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/AirQualitySensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
AirQualitySensor.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../EventLimiter.h"
-
4 #include "../SinricProStrings.h"
-
5 
-
6 #include "../SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 FSTR(AIRQUALITY, airQuality); // "airQuality"
-
10 FSTR(AIRQUALITY, pm1); // "pm1"
-
11 FSTR(AIRQUALITY, pm2_5); // "pm2_5"
-
12 FSTR(AIRQUALITY, pm10); // "pm10"
-
13 
-
18 template <typename T>
- -
20  public:
- -
22  bool sendAirQualityEvent(int pm1 = 0, int pm2_5 = 0, int pm10 = 0, String cause = FSTR_SINRICPRO_PERIODIC_POLL);
-
23  private:
-
24  EventLimiter event_limiter;
-
25 };
-
26 
-
27 template <typename T>
- -
29 : event_limiter (EVENT_LIMIT_SENSOR_VALUE) {}
-
30 
-
42 template <typename T>
-
43 bool AirQualitySensor<T>::sendAirQualityEvent(int pm1, int pm2_5, int pm10, String cause) {
-
44  if (event_limiter) return false;
-
45  T* device = static_cast<T*>(this);
-
46 
-
47  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_AIRQUALITY_airQuality, cause.c_str());
-
48  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
49 
-
50  event_value[FSTR_AIRQUALITY_pm1] = pm1;
-
51  event_value[FSTR_AIRQUALITY_pm2_5] = pm2_5;
-
52  event_value[FSTR_AIRQUALITY_pm10] = pm10;
-
53 
-
54  return device->sendEvent(eventMessage);
-
55 }
-
56 
-
57 } // SINRICPRO_NAMESPACE
-
58 
-
59 template <typename T>
-
60 using AirQualitySensor = SINRICPRO_NAMESPACE::AirQualitySensor<T>;
-
AirQuality.
Definition: AirQualitySensor.h:19
-
bool sendAirQualityEvent(int pm1=0, int pm2_5=0, int pm10=0, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
Sending air quality to SinricPro server.
Definition: AirQualitySensor.h:43
-
-
- - - - diff --git a/docs/docs/_brightness_controller_8h_source.html b/docs/docs/_brightness_controller_8h_source.html deleted file mode 100644 index 8122fa8..0000000 --- a/docs/docs/_brightness_controller_8h_source.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/BrightnessController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
BrightnessController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(BRIGHTNESS, setBrightness); // "setBrightness"
-
11 FSTR(BRIGHTNESS, brightness); // "brightness"
-
12 FSTR(BRIGHTNESS, adjustBrightness); // "adjustBrightness"
-
13 FSTR(BRIGHTNESS, brightnessDelta); // "brightnessDelta"
-
14 
-
28 using BrightnessCallback = std::function<bool(const String &, int &)>;
-
29 
-
43 using AdjustBrightnessCallback = std::function<bool(const String &, int &)>;
-
44 
-
49 template <typename T>
- -
51  public:
- -
53 
- - -
56 
-
57  bool sendBrightnessEvent(int brightness, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
58  protected:
-
59  bool handleBrightnessController(SinricProRequest &request);
-
60 
-
61  private:
-
62  EventLimiter event_limiter;
-
63  BrightnessCallback brightnessCallback;
-
64  AdjustBrightnessCallback adjustBrightnessCallback;
-
65 };
-
66 
-
67 template <typename T>
- -
69 : event_limiter (EVENT_LIMIT_STATE) {
-
70  T* device = static_cast<T*>(this);
-
71  device->registerRequestHandler(std::bind(&BrightnessController<T>::handleBrightnessController, this, std::placeholders::_1));
-
72 }
-
73 
-
81 template <typename T>
- -
83  brightnessCallback = cb;
-
84 }
-
85 
-
93 template <typename T>
- -
95  adjustBrightnessCallback = cb;
-
96 }
-
97 
-
107 template <typename T>
-
108 bool BrightnessController<T>::sendBrightnessEvent(int brightness, String cause) {
-
109  if (event_limiter) return false;
-
110  T* device = static_cast<T*>(this);
-
111 
-
112  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_BRIGHTNESS_setBrightness, cause.c_str());
-
113  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
114  event_value[FSTR_BRIGHTNESS_brightness] = brightness;
-
115  return device->sendEvent(eventMessage);
-
116 }
-
117 
-
118 template <typename T>
-
119 bool BrightnessController<T>::handleBrightnessController(SinricProRequest &request) {
-
120  T* device = static_cast<T*>(this);
-
121  bool success = false;
-
122 
-
123  if (brightnessCallback && request.action == FSTR_BRIGHTNESS_setBrightness) {
-
124  int brightness = request.request_value[FSTR_BRIGHTNESS_brightness];
-
125  success = brightnessCallback(device->deviceId, brightness);
-
126  request.response_value[FSTR_BRIGHTNESS_brightness] = brightness;
-
127  }
-
128 
-
129  if (adjustBrightnessCallback && request.action == FSTR_BRIGHTNESS_adjustBrightness) {
-
130  int brightnessDelta = request.request_value[FSTR_BRIGHTNESS_brightnessDelta];
-
131  success = adjustBrightnessCallback(device->deviceId, brightnessDelta);
-
132  request.response_value[FSTR_BRIGHTNESS_brightness] = brightnessDelta;
-
133  }
-
134 
-
135  return success;
-
136 }
-
137 
-
138 } // SINRICPRO_NAMESPACE
-
139 
-
140 template <typename T>
-
141 using BrightnessController = SINRICPRO_NAMESPACE::BrightnessController<T>;
-
BrightnessController.
Definition: BrightnessController.h:50
-
void onAdjustBrightness(AdjustBrightnessCallback cb)
Set callback function for adjustBrightness request.
Definition: BrightnessController.h:94
-
bool sendBrightnessEvent(int brightness, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setBrightness event to SinricPro Server indicating actual brightness.
Definition: BrightnessController.h:108
-
void onBrightness(BrightnessCallback cb)
Set callback function for setBrightness request.
Definition: BrightnessController.h:82
-
std::function< bool(const String &, int &)> AdjustBrightnessCallback
Callback definition for onAdjustBrightness function.
Definition: BrightnessController.h:43
-
std::function< bool(const String &, int &)> BrightnessCallback
Callback definition for onBrightness function.
Definition: BrightnessController.h:28
-
-
- - - - diff --git a/docs/docs/_channel_controller_8h_source.html b/docs/docs/_channel_controller_8h_source.html deleted file mode 100644 index cc4c8e6..0000000 --- a/docs/docs/_channel_controller_8h_source.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/ChannelController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ChannelController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(CHANNEL, changeChannel); // "changeChannel"
-
11 FSTR(CHANNEL, channel); // "channel"
-
12 FSTR(CHANNEL, name); // "name"
-
13 FSTR(CHANNEL, number); // "number"
-
14 FSTR(CHANNEL, skipChannels); // "skipChannels"
-
15 FSTR(CHANNEL, channelCount); // "channelCount"
-
16 
-
31 using ChangeChannelCallback = std::function<bool(const String &, String &)>;
-
32 
-
47 using ChangeChannelNumberCallback = std::function<bool(const String &, int, String &)>;
-
48 
-
63 using SkipChannelsCallback = std::function<bool(const String &, int, String &)>;
-
64 
-
69 template <typename T>
- -
71  public:
- -
73 
- - - -
77 
-
78  bool sendChangeChannelEvent(String channelName, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
79  protected:
-
80  bool handleChannelController(SinricProRequest &request);
-
81 
-
82  private:
-
83  EventLimiter event_limiter;
-
84  ChangeChannelCallback changeChannelCallback;
-
85  ChangeChannelNumberCallback changeChannelNumberCallback;
-
86  SkipChannelsCallback skipChannelsCallback;
-
87 };
-
88 
-
89 template <typename T>
- -
91 : event_limiter(EVENT_LIMIT_STATE) {
-
92  T* device = static_cast<T*>(this);
-
93  device->registerRequestHandler(std::bind(&ChannelController<T>::handleChannelController, this, std::placeholders::_1));
-
94 }
-
95 
-
103 template <typename T>
- -
105  changeChannelCallback = cb;
-
106 }
-
107 
-
115 template <typename T>
- -
117  changeChannelNumberCallback = cb;
-
118 }
-
119 
-
127 template <typename T>
- -
129  skipChannelsCallback = cb;
-
130 }
-
131 
-
141 template <typename T>
-
142 bool ChannelController<T>::sendChangeChannelEvent(String channelName, String cause) {
-
143  if (event_limiter) return false;
-
144  T* device = static_cast<T*>(this);
-
145 
-
146  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_CHANNEL_changeChannel, cause.c_str());
-
147  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
148  event_value[FSTR_CHANNEL_channel][FSTR_CHANNEL_name] = channelName;
-
149  return device->sendEvent(eventMessage);
-
150 }
-
151 
-
152 template <typename T>
-
153 bool ChannelController<T>::handleChannelController(SinricProRequest &request) {
-
154  T* device = static_cast<T*>(this);
-
155 
-
156  bool success = false;
-
157 
-
158  if (request.action == FSTR_CHANNEL_changeChannel) {
-
159 
-
160  if (changeChannelCallback && request.request_value[FSTR_CHANNEL_channel].containsKey(FSTR_CHANNEL_name)) {
-
161  String channelName = request.request_value[FSTR_CHANNEL_channel][FSTR_CHANNEL_name] | "";
-
162  success = changeChannelCallback(device->deviceId, channelName);
-
163  request.response_value[FSTR_CHANNEL_channel][FSTR_CHANNEL_name] = channelName;
-
164  }
-
165 
-
166  if (changeChannelNumberCallback && request.request_value[FSTR_CHANNEL_channel].containsKey(FSTR_CHANNEL_number)) {
-
167  String channelName("");
-
168  int channelNumber = request.request_value[FSTR_CHANNEL_channel][FSTR_CHANNEL_number];
-
169  success = changeChannelNumberCallback(device->deviceId, channelNumber, channelName);
-
170  request.response_value[FSTR_CHANNEL_channel][FSTR_CHANNEL_name] = channelName;
-
171  }
-
172  return success;
-
173  }
-
174 
-
175  if (skipChannelsCallback && request.action == FSTR_CHANNEL_skipChannels) {
-
176  String channelName;
-
177  int channelCount = request.request_value[FSTR_CHANNEL_channelCount] | 0;
-
178  success = skipChannelsCallback(device->deviceId, channelCount, channelName);
-
179  request.response_value[FSTR_CHANNEL_channel][FSTR_CHANNEL_name] = channelName;
-
180  return success;
-
181  }
-
182 
-
183  return success;
-
184 }
-
185 
-
186 } // SINRICPRO_NAMESPACE
-
187 
-
188 template <typename T>
-
189 using ChannelController = SINRICPRO_NAMESPACE::ChannelController<T>;
-
ChannelController.
Definition: ChannelController.h:70
-
void onChangeChannel(ChangeChannelCallback cb)
Set callback function for changeChannel request.
Definition: ChannelController.h:104
-
void onSkipChannels(SkipChannelsCallback cb)
Set callback function for skipChannels request.
Definition: ChannelController.h:128
-
void onChangeChannelNumber(ChangeChannelNumberCallback cb)
Set callback function for changeChannel request.
Definition: ChannelController.h:116
-
bool sendChangeChannelEvent(String channelName, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send changeChannel event to SinricPro Server to report selected channel.
Definition: ChannelController.h:142
-
std::function< bool(const String &, int, String &)> SkipChannelsCallback
Callback definition for onSkipChannels function.
Definition: ChannelController.h:63
-
std::function< bool(const String &, String &)> ChangeChannelCallback
Callback definition for onChangeChannel function.
Definition: ChannelController.h:31
-
std::function< bool(const String &, int, String &)> ChangeChannelNumberCallback
Callback definition for onChangeChannelNumber function.
Definition: ChannelController.h:47
-
-
- - - - diff --git a/docs/docs/_color_controller_8h_source.html b/docs/docs/_color_controller_8h_source.html deleted file mode 100644 index 34ac2ec..0000000 --- a/docs/docs/_color_controller_8h_source.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/ColorController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ColorController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(COLOR, setColor); // "setColor"
-
11 FSTR(COLOR, color); // "color"
-
12 FSTR(COLOR, r); // "r"
-
13 FSTR(COLOR, g); // "g"
-
14 FSTR(COLOR, b); // "b"
-
15 
-
33 using ColorCallback = std::function<bool(const String &, byte &, byte &, byte &)>;
-
34 
-
39 template <typename T>
- -
41  public:
- -
43 
- -
45  bool sendColorEvent(byte r, byte g, byte b, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
46 
-
47  protected:
-
48  bool handleColorController(SinricProRequest &request);
-
49 
-
50  private:
-
51  EventLimiter event_limiter;
-
52  ColorCallback colorCallback;
-
53 };
-
54 
-
55 template <typename T>
- -
57 : event_limiter(EVENT_LIMIT_STATE) {
-
58  T* device = static_cast<T*>(this);
-
59  device->registerRequestHandler(std::bind(&ColorController<T>::handleColorController, this, std::placeholders::_1));
-
60 }
-
61 
-
62 
-
70 template <typename T>
- -
72  colorCallback = cb;
-
73 }
-
74 
-
86 template <typename T>
-
87 bool ColorController<T>::sendColorEvent(byte r, byte g, byte b, String cause) {
-
88  if (event_limiter) return false;
-
89  T* device = static_cast<T*>(this);
-
90 
-
91  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_COLOR_setColor, cause.c_str());
-
92  JsonObject event_color = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value].createNestedObject(FSTR_COLOR_color);
-
93  event_color[FSTR_COLOR_r] = r;
-
94  event_color[FSTR_COLOR_g] = g;
-
95  event_color[FSTR_COLOR_b] = b;
-
96  return device->sendEvent(eventMessage);
-
97 }
-
98 
-
99 template <typename T>
-
100 bool ColorController<T>::handleColorController(SinricProRequest &request) {
-
101  T* device = static_cast<T*>(this);
-
102 
-
103  bool success = false;
-
104 
-
105  if (colorCallback && request.action == FSTR_COLOR_setColor) {
-
106  unsigned char r, g, b;
-
107  r = request.request_value[FSTR_COLOR_color][FSTR_COLOR_r];
-
108  g = request.request_value[FSTR_COLOR_color][FSTR_COLOR_g];
-
109  b = request.request_value[FSTR_COLOR_color][FSTR_COLOR_b];
-
110  success = colorCallback(device->deviceId, r, g, b);
-
111  request.response_value.createNestedObject(FSTR_COLOR_color);
-
112  request.response_value[FSTR_COLOR_color][FSTR_COLOR_r] = r;
-
113  request.response_value[FSTR_COLOR_color][FSTR_COLOR_g] = g;
-
114  request.response_value[FSTR_COLOR_color][FSTR_COLOR_b] = b;
-
115  }
-
116 
-
117  return success;
-
118 }
-
119 
-
120 } // SINRICPRO_NAMESPACE
-
121 
-
122 template <typename T>
-
123 using ColorController = SINRICPRO_NAMESPACE::ColorController<T>;
-
ColorController.
Definition: ColorController.h:40
-
void onColor(ColorCallback cb)
Set callback function for setColor request.
Definition: ColorController.h:71
-
bool sendColorEvent(byte r, byte g, byte b, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setColor event to SinricPro Server indicating actual color.
Definition: ColorController.h:87
-
std::function< bool(const String &, byte &, byte &, byte &)> ColorCallback
Callback definition for onColor function.
Definition: ColorController.h:33
-
-
- - - - diff --git a/docs/docs/_color_temperature_controller_8h_source.html b/docs/docs/_color_temperature_controller_8h_source.html deleted file mode 100644 index efcb9ee..0000000 --- a/docs/docs/_color_temperature_controller_8h_source.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/ColorTemperatureController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ColorTemperatureController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(COLORTEMPERATURE, colorTemperature); // "colorTemperature"
-
11 FSTR(COLORTEMPERATURE, setColorTemperature); // "setColorTemperature"
-
12 FSTR(COLORTEMPERATURE, increaseColorTemperature); // "increaseColorTemperature"
-
13 FSTR(COLORTEMPERATURE, decreaseColorTemperature); // "decreaseColorTemperature"
-
14 
-
28 using ColorTemperatureCallback = std::function<bool(const String &, int &)>;
-
29 
-
43 using IncreaseColorTemperatureCallback = std::function<bool(const String &, int &)>;
-
44 
-
58 using DecreaseColorTemperatureCallback = std::function<bool(const String &, int &)>;
-
59 
-
60 
-
65 template <typename T>
- -
67  public:
- -
69 
- - - -
73 
-
74  bool sendColorTemperatureEvent(int colorTemperature, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
75 
-
76  protected:
-
77  bool handleColorTemperatureController(SinricProRequest &request);
-
78 
-
79  private:
-
80  EventLimiter event_limiter;
-
81 // SinricProDeviceInterface *device;
-
82  ColorTemperatureCallback colorTemperatureCallback;
-
83  IncreaseColorTemperatureCallback increaseColorTemperatureCallback;
-
84  DecreaseColorTemperatureCallback decreaseColorTemperatureCallback;
-
85 };
-
86 
-
87 template <typename T>
- -
89 : event_limiter(EVENT_LIMIT_STATE) {
-
90  T* device = static_cast<T*>(this);
-
91  device->registerRequestHandler(std::bind(&ColorTemperatureController<T>::handleColorTemperatureController, this, std::placeholders::_1));
-
92 }
-
93 
-
101 template <typename T>
- -
103  colorTemperatureCallback = cb;
-
104 }
-
105 
-
113 template <typename T>
- -
115  increaseColorTemperatureCallback = cb;
-
116 }
-
117 
-
125 template <typename T>
- -
127  decreaseColorTemperatureCallback = cb;
-
128 }
-
129 
-
139 template <typename T>
-
140 bool ColorTemperatureController<T>::sendColorTemperatureEvent(int colorTemperature, String cause) {
-
141  if (event_limiter) return false;
-
142  T* device = static_cast<T*>(this);
-
143 
-
144  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_COLORTEMPERATURE_setColorTemperature, cause.c_str());
-
145  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
146  event_value[FSTR_COLORTEMPERATURE_colorTemperature] = colorTemperature;
-
147  return device->sendEvent(eventMessage);
-
148 }
-
149 
-
150 template <typename T>
- -
152  T* device = static_cast<T*>(this);
-
153 
-
154  bool success = false;
-
155 
-
156  if (colorTemperatureCallback && request.action == FSTR_COLORTEMPERATURE_setColorTemperature) {
-
157  int colorTemperature = request.request_value[FSTR_COLORTEMPERATURE_colorTemperature];
-
158  success = colorTemperatureCallback(device->deviceId, colorTemperature);
-
159  request.response_value[FSTR_COLORTEMPERATURE_colorTemperature] = colorTemperature;
-
160  }
-
161 
-
162  if (increaseColorTemperatureCallback && request.action == FSTR_COLORTEMPERATURE_increaseColorTemperature) {
-
163  int colorTemperature = 1;
-
164  success = increaseColorTemperatureCallback(device->deviceId, colorTemperature);
-
165  request.response_value[FSTR_COLORTEMPERATURE_colorTemperature] = colorTemperature;
-
166  }
-
167 
-
168  if (decreaseColorTemperatureCallback && request.action == FSTR_COLORTEMPERATURE_decreaseColorTemperature) {
-
169  int colorTemperature = -1;
-
170  success = decreaseColorTemperatureCallback(device->deviceId, colorTemperature);
-
171  request.response_value[FSTR_COLORTEMPERATURE_colorTemperature] = colorTemperature;
-
172  }
-
173 
-
174  return success;
-
175 }
-
176 
-
177 } // SINRICPRO_NAMESPACE
-
178 
-
179 template <typename T>
-
180 using ColorTemperatureController = SINRICPRO_NAMESPACE::ColorTemperatureController<T>;
-
ColorTemperatureController.
Definition: ColorTemperatureController.h:66
-
bool sendColorTemperatureEvent(int colorTemperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setColorTemperature event to SinricPro Server indicating actual color temperature.
Definition: ColorTemperatureController.h:140
-
void onDecreaseColorTemperature(DecreaseColorTemperatureCallback cb)
Set callback function for decreaseColorTemperature request.
Definition: ColorTemperatureController.h:126
-
void onIncreaseColorTemperature(IncreaseColorTemperatureCallback cb)
Set callback function for increaseColorTemperature request.
Definition: ColorTemperatureController.h:114
-
void onColorTemperature(ColorTemperatureCallback cb)
Set callback function for setColorTemperature request.
Definition: ColorTemperatureController.h:102
-
std::function< bool(const String &, int &)> ColorTemperatureCallback
Callback definition for onColorTemperature function.
Definition: ColorTemperatureController.h:28
-
std::function< bool(const String &, int &)> DecreaseColorTemperatureCallback
Callback definition for onDecreaseColorTemperature function.
Definition: ColorTemperatureController.h:58
-
std::function< bool(const String &, int &)> IncreaseColorTemperatureCallback
Callback definition for onIncreaseColorTemperature function.
Definition: ColorTemperatureController.h:43
-
-
- - - - diff --git a/docs/docs/_contact_sensor_8h_source.html b/docs/docs/_contact_sensor_8h_source.html deleted file mode 100644 index 0deaf90..0000000 --- a/docs/docs/_contact_sensor_8h_source.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/ContactSensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ContactSensor.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../EventLimiter.h"
-
4 #include "../SinricProStrings.h"
-
5 
-
6 #include "../SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 FSTR(CONTACT, setContactState); // "setContactState"
-
10 FSTR(CONTACT, state); // "state"
-
11 FSTR(CONTACT, closed); // "closed"
-
12 FSTR(CONTACT, open); // "open"
-
13 
-
18 template <typename T>
- -
20  public:
-
21  ContactSensor();
-
22  bool sendContactEvent(bool detected, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
23  private:
-
24  EventLimiter event_limiter;
-
25 };
-
26 
-
27 template <typename T>
- -
29 : event_limiter(EVENT_LIMIT_SENSOR_STATE) {}
-
30 
-
39 template <typename T>
-
40 bool ContactSensor<T>::sendContactEvent(bool detected, String cause) {
-
41  if (event_limiter) return false;
-
42  T* device = static_cast<T*>(this);
-
43 
-
44  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_CONTACT_setContactState, cause.c_str());
-
45  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
46  event_value[FSTR_CONTACT_state] = detected ? FSTR_CONTACT_closed : FSTR_CONTACT_open;
-
47  return device->sendEvent(eventMessage);
-
48 }
-
49 
-
50 } // SINRICPRO_NAMESPACE
-
51 
-
52 template <typename T>
-
53 using ContactSensor = SINRICPRO_NAMESPACE::ContactSensor<T>;
-
ContactSensor.
Definition: ContactSensor.h:19
-
bool sendContactEvent(bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setContactState event to SinricPro Server indicating actual power state.
Definition: ContactSensor.h:40
-
-
- - - - diff --git a/docs/docs/_door_controller_8h_source.html b/docs/docs/_door_controller_8h_source.html deleted file mode 100644 index 8b1cc36..0000000 --- a/docs/docs/_door_controller_8h_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/DoorController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
DoorController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(DOOR, setMode); // "setMode"
-
11 FSTR(DOOR, mode); // "mode"
-
12 FSTR(DOOR, Close); // "Close"
-
13 FSTR(DOOR, Open); // "Open"
-
14 
-
15 
-
29 using DoorCallback = std::function<bool(const String &, bool &)>;
-
30 
-
35 template <typename T>
- -
37  public:
- -
39 
- -
41  bool sendDoorStateEvent(bool state, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
42 
-
43  protected:
-
44  bool handleDoorController(SinricProRequest &request);
-
45 
-
46  private:
-
47  EventLimiter event_limiter;
-
48  DoorCallback doorCallback;
-
49 };
-
50 
-
51 template <typename T>
- -
53 : event_limiter(EVENT_LIMIT_STATE) {
-
54  T* device = static_cast<T*>(this);
-
55  device->registerRequestHandler(std::bind(&DoorController<T>::handleDoorController, this, std::placeholders::_1));
-
56 }
-
57 
-
65 template <typename T>
-
66 void DoorController<T>::onDoorState(DoorCallback cb) { doorCallback = cb; }
-
67 
-
77 template <typename T>
-
78 bool DoorController<T>::sendDoorStateEvent(bool state, String cause) {
-
79  if (event_limiter) return false;
-
80  T* device = static_cast<T*>(this);
-
81 
-
82  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_DOOR_setMode, cause.c_str());
-
83  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
84  state ? event_value[FSTR_DOOR_mode] = FSTR_DOOR_Close : event_value[FSTR_DOOR_mode] = FSTR_DOOR_Open;
-
85  return device->sendEvent(eventMessage);
-
86 }
-
87 
-
88 template <typename T>
-
89 bool DoorController<T>::handleDoorController(SinricProRequest &request) {
-
90  T* device = static_cast<T*>(this);
-
91 
-
92  bool success = false;
-
93  if (request.action == FSTR_DOOR_setMode && doorCallback) {
-
94  String mode = request.request_value[FSTR_DOOR_mode] | "";
-
95  bool state = mode == FSTR_DOOR_Close;
-
96  success = doorCallback(device->deviceId, state);
-
97  request.response_value[FSTR_DOOR_mode] = state ? FSTR_DOOR_Close : FSTR_DOOR_Open;
-
98  }
-
99  return success;
-
100 }
-
101 
-
102 } // SINRICPRO_NAMESPACE
-
103 
-
104 template <typename T>
-
105 using DoorController = SINRICPRO_NAMESPACE::DoorController<T>;
-
DoorController - only used for GarageDoor device and cannot used as capability for a custom device!
Definition: DoorController.h:36
-
bool sendDoorStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send DoorState event to update actual door state on SinricPro Server.
Definition: DoorController.h:78
-
void onDoorState(DoorCallback cb)
Set callback function for onDoorState request.
Definition: DoorController.h:66
-
std::function< bool(const String &, bool &)> DoorCallback
Callback definition for onDoorState function.
Definition: DoorController.h:29
-
-
- - - - diff --git a/docs/docs/_doorbell_8h_source.html b/docs/docs/_doorbell_8h_source.html deleted file mode 100644 index 7e76be0..0000000 --- a/docs/docs/_doorbell_8h_source.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/Doorbell.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Doorbell.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../EventLimiter.h"
-
4 #include "../SinricProStrings.h"
-
5 
-
6 #include "../SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 FSTR(DOORBELL, DoorbellPress); // "DoorbellPress"
-
10 FSTR(DOORBELL, state); // "state"
-
11 FSTR(DOORBELL, pressed); // "pressed"
-
12 
-
17 template <typename T>
-
18 class Doorbell {
-
19  public:
-
20  Doorbell();
-
21  bool sendDoorbellEvent(String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
22  private:
-
23  EventLimiter event_limiter;
-
24 };
-
25 
-
26 template <typename T>
- -
28 : event_limiter(EVENT_LIMIT_SENSOR_STATE) {}
-
29 
-
38 template <typename T>
-
39 bool Doorbell<T>::sendDoorbellEvent(String cause) {
-
40  if (event_limiter) return false;
-
41  T* device = static_cast<T*>(this);
-
42 
-
43  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_DOORBELL_DoorbellPress, cause.c_str());
-
44  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
45  event_value[FSTR_DOORBELL_state] = FSTR_DOORBELL_pressed;
-
46  return device->sendEvent(eventMessage);
-
47 }
-
48 
-
49 } // SINRICPRO_NAMESPACE
-
50 
-
51 template <typename T>
-
52 using Doorbell = SINRICPRO_NAMESPACE::Doorbell<T>;
-
Dorbell.
Definition: Doorbell.h:18
-
bool sendDoorbellEvent(String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send Doorbell event to SinricPro Server indicating someone pressed the doorbell button.
Definition: Doorbell.h:39
-
-
- - - - diff --git a/docs/docs/_equalizer_controller_8h_source.html b/docs/docs/_equalizer_controller_8h_source.html deleted file mode 100644 index b192d99..0000000 --- a/docs/docs/_equalizer_controller_8h_source.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/EqualizerController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
EqualizerController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(EQUALIZER, setBands); // "setBands"
-
11 FSTR(EQUALIZER, bands); // "bands"
-
12 FSTR(EQUALIZER, name); // "name"
-
13 FSTR(EQUALIZER, value); // "value"
-
14 FSTR(EQUALIZER, level); // "level"
-
15 FSTR(EQUALIZER, adjustBands); // "adjustBands"
-
16 FSTR(EQUALIZER, levelDelta); // "levelDelta"
-
17 FSTR(EQUALIZER, levelDirection); // "levelDirection"
-
18 FSTR(EQUALIZER, DOWN); // "DOWN"
-
19 FSTR(EQUALIZER, resetBands); // "resetBands"
-
20 
-
37 using SetBandsCallback = std::function<bool(const String &, const String &, int &)>;
-
38 
-
55 using AdjustBandsCallback = std::function<bool(const String &, const String &, int &)>;
-
56 
-
72 using ResetBandsCallback = std::function<bool(const String &, const String &, int &)>;
-
73 
-
78 template <typename T>
- -
80 public:
- -
82 
- - - -
86 
-
87  bool sendBandsEvent(String bands, int level, String cause = "PHYSICAL_INTERACTION");
-
88 
-
89 protected:
-
90  bool handleEqualizerController(SinricProRequest &request);
-
91 
-
92 private:
-
93  EventLimiter event_limiter;
-
94  SetBandsCallback setBandsCallback;
-
95  AdjustBandsCallback adjustBandsCallback;
-
96  ResetBandsCallback resetBandsCallback;
-
97 };
-
98 
-
99 template <typename T>
- -
101 : event_limiter(EVENT_LIMIT_STATE) {
-
102  T* device = static_cast<T*>(this);
-
103  device->registerRequestHandler(std::bind(&EqualizerController<T>::handleEqualizerController, this, std::placeholders::_1));
-
104 }
-
105 
-
113 template <typename T>
-
114 void EqualizerController<T>::onSetBands(SetBandsCallback cb) { setBandsCallback = cb; }
-
115 
-
123 template <typename T>
-
124 void EqualizerController<T>::onAdjustBands(AdjustBandsCallback cb) { adjustBandsCallback = cb; }
-
125 
-
133 template <typename T>
-
134 void EqualizerController<T>::onResetBands(ResetBandsCallback cb) { resetBandsCallback = cb; }
-
135 
-
146 template <typename T>
-
147 bool EqualizerController<T>::sendBandsEvent(String bands, int level, String cause) {
-
148  if (event_limiter) return false;
-
149  T* device = static_cast<T*>(this);
-
150 
-
151  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_EQUALIZER_setBands, cause.c_str());
-
152  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
153  JsonArray event_value_bands = event_value.createNestedArray(FSTR_EQUALIZER_bands);
-
154  JsonObject event_bands = event_value_bands.createNestedObject();
-
155  event_bands[FSTR_EQUALIZER_name] = bands;
-
156  event_bands[FSTR_EQUALIZER_value] = level;
-
157  return device->sendEvent(eventMessage);
-
158 }
-
159 
-
160 template <typename T>
-
161 bool EqualizerController<T>::handleEqualizerController(SinricProRequest &request) {
-
162  T* device = static_cast<T*>(this);
-
163  bool success = false;
-
164 
-
165  if (setBandsCallback && request.action == FSTR_EQUALIZER_setBands) {
-
166  JsonArray bands_array = request.request_value[FSTR_EQUALIZER_bands];
-
167  JsonArray response_value_bands = request.response_value.createNestedArray(FSTR_EQUALIZER_bands);
-
168 
-
169  for (size_t i = 0; i < bands_array.size(); i++) {
-
170  int level = bands_array[i][FSTR_EQUALIZER_level] | 0;
-
171  String bandsName = bands_array[i][FSTR_EQUALIZER_name] | "";
-
172  success = setBandsCallback(device->deviceId, bandsName, level);
-
173  JsonObject response_value_bands_i = response_value_bands.createNestedObject();
-
174  response_value_bands_i[FSTR_EQUALIZER_name] = bandsName;
-
175  response_value_bands_i[FSTR_EQUALIZER_level] = level;
-
176  }
-
177  return success;
-
178  }
-
179 
-
180  if (adjustBandsCallback && request.action == FSTR_EQUALIZER_adjustBands) {
-
181  JsonArray bands_array = request.request_value[FSTR_EQUALIZER_bands];
-
182  JsonArray response_value_bands = request.response_value.createNestedArray(FSTR_EQUALIZER_bands);
-
183 
-
184  for (size_t i = 0; i < bands_array.size(); i++) {
-
185  int levelDelta = bands_array[i][FSTR_EQUALIZER_levelDelta] | 1;
-
186  String direction = bands_array[i][FSTR_EQUALIZER_levelDirection];
-
187  if (direction == FSTR_EQUALIZER_DOWN)
-
188  levelDelta *= -1;
-
189  String bandsName = bands_array[i][FSTR_EQUALIZER_name] | "";
-
190  success = adjustBandsCallback(device->deviceId, bandsName, levelDelta);
-
191  JsonObject response_value_bands_i = response_value_bands.createNestedObject();
-
192  response_value_bands_i[FSTR_EQUALIZER_name] = bandsName;
-
193  response_value_bands_i[FSTR_EQUALIZER_level] = levelDelta;
-
194  }
-
195  return success;
-
196  }
-
197 
-
198  if (resetBandsCallback && request.action == FSTR_EQUALIZER_resetBands) {
-
199  JsonArray bands_array = request.request_value[FSTR_EQUALIZER_bands];
-
200  JsonArray response_value_bands = request.response_value.createNestedArray(FSTR_EQUALIZER_bands);
-
201 
-
202  for (size_t i = 0; i < bands_array.size(); i++) {
-
203  int level = 0;
-
204  String bandsName = bands_array[i][FSTR_EQUALIZER_name] | "";
-
205  success = adjustBandsCallback(device->deviceId, bandsName, level);
-
206  JsonObject response_value_bands_i = response_value_bands.createNestedObject();
-
207  response_value_bands_i[FSTR_EQUALIZER_name] = bandsName;
-
208  response_value_bands_i[FSTR_EQUALIZER_level] = level;
-
209  }
-
210  return success;
-
211  }
-
212 
-
213  return success;
-
214 }
-
215 
-
216 } // SINRICPRO_NAMESPACE
-
217 
-
218 template <typename T>
-
219 using EqualizerController = SINRICPRO_NAMESPACE::EqualizerController<T>;
-
EqualizerController.
Definition: EqualizerController.h:79
-
void onAdjustBands(AdjustBandsCallback cb)
Set callback function for adjustBands request.
Definition: EqualizerController.h:124
-
void onSetBands(SetBandsCallback cb)
Set callback function for setBands request.
Definition: EqualizerController.h:114
-
bool sendBandsEvent(String bands, int level, String cause="PHYSICAL_INTERACTION")
Send setBands event to SinricPro Server indicating bands level has changed.
Definition: EqualizerController.h:147
-
void onResetBands(ResetBandsCallback cb)
Set callback function for resetBands request.
Definition: EqualizerController.h:134
-
std::function< bool(const String &, const String &, int &)> AdjustBandsCallback
Callback definition for onAdjustBands function.
Definition: EqualizerController.h:55
-
std::function< bool(const String &, const String &, int &)> ResetBandsCallback
Callback definition for onResetBands function.
Definition: EqualizerController.h:72
-
std::function< bool(const String &, const String &, int &)> SetBandsCallback
Callback definition for onSetBands function.
Definition: EqualizerController.h:37
-
-
- - - - diff --git a/docs/docs/_event_limiter_8h_source.html b/docs/docs/_event_limiter_8h_source.html deleted file mode 100644 index 458a170..0000000 --- a/docs/docs/_event_limiter_8h_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - -SinricPro Library: src/EventLimiter.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
EventLimiter.h
-
-
-
1 #pragma once
-
2 
-
3 #include "SinricProConfig.h"
-
4 #include "SinricProNamespace.h"
-
5 
-
6 namespace SINRICPRO_NAMESPACE {
-
7 
-
8 class EventLimiter {
-
9  public:
-
10  EventLimiter(unsigned long minimum_distance = 1000);
-
11  operator bool();
-
12  private:
-
13  unsigned long minimum_distance;
-
14  unsigned long next_event;
-
15  unsigned long extra_distance;
-
16  unsigned long fail_counter;
-
17 };
-
18 
-
19 EventLimiter::EventLimiter(unsigned long minimum_distance)
-
20 : minimum_distance(minimum_distance)
-
21 , next_event(0)
-
22 , extra_distance(0)
-
23 , fail_counter(0) {}
-
24 
-
25 EventLimiter::operator bool() {
-
26  unsigned long current_millis = millis();
-
27  unsigned long fail_threshold = (minimum_distance / 4);
-
28 
-
29  if ( current_millis >= next_event ) {
-
30 
-
31  if ( fail_counter > fail_threshold ) {
-
32 
-
33  extra_distance += minimum_distance;
-
34  fail_counter = 0;
-
35 
-
36  } else {
-
37 
-
38  extra_distance = 0;
-
39 
-
40  }
-
41 
-
42  next_event = current_millis + minimum_distance + extra_distance;
-
43  return false;
-
44 
-
45  }
-
46 
-
47  fail_counter++;
-
48  if (fail_counter == fail_threshold) Serial.printf("WARNING: YOUR CODE SENDS EXCESSIVE EVENTS! EVENTS ARE NOW LIMITED BY AN ADDITIONAL DELAY OF %lu SECONDS. PLEASE CHECK YOUR CODE!\r\n", extra_distance / 1000);
-
49 
-
50  return true;
-
51 }
-
52 
-
53 } // SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_input_controller_8h_source.html b/docs/docs/_input_controller_8h_source.html deleted file mode 100644 index 5efc0db..0000000 --- a/docs/docs/_input_controller_8h_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/InputController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
InputController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(INPUT, selectInput); // "selectInput"
-
11 FSTR(INPUT, input); // "input"
-
12 
-
27 using SelectInputCallback = std::function<bool(const String &, String &)>;
-
28 
-
29 
-
34 template <typename T>
- -
36  public:
- -
38 
- -
40  bool sendSelectInputEvent(String intput, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
41 
-
42  protected:
-
43  bool handleInputController(SinricProRequest &request);
-
44 
-
45  private:
-
46  EventLimiter event_limiter;
-
47  SelectInputCallback selectInputCallback;
-
48 };
-
49 
-
50 template <typename T>
- -
52 : event_limiter(EVENT_LIMIT_STATE) {
-
53  T* device = static_cast<T*>(this);
-
54  device->registerRequestHandler(std::bind(&InputController<T>::handleInputController, this, std::placeholders::_1));
-
55 }
-
56 
-
64 template <typename T>
- -
66  selectInputCallback = cb;
-
67 }
-
68 
-
78 template <typename T>
-
79 bool InputController<T>::sendSelectInputEvent(String input, String cause) {
-
80  if (event_limiter) return false;
-
81  T* device = static_cast<T*>(this);
-
82 
-
83  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_INPUT_selectInput, cause.c_str());
-
84  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
85  event_value[FSTR_INPUT_input] = input;
-
86  return device->sendEvent(eventMessage);
-
87 }
-
88 
-
89 template <typename T>
-
90 bool InputController<T>::handleInputController(SinricProRequest &request) {
-
91  T* device = static_cast<T*>(this);
-
92 
-
93  bool success = false;
-
94 
-
95  if (selectInputCallback && request.action == FSTR_INPUT_selectInput) {
-
96  String input = request.request_value[FSTR_INPUT_input];
-
97  success = selectInputCallback(device->deviceId, input);
-
98  request.response_value[FSTR_INPUT_input] = input;
-
99  return success;
-
100  }
-
101 
-
102  return success;
-
103 }
-
104 
-
105 } // SINRICPRO_NAMESPACE
-
106 
-
107 template <typename T>
-
108 using InputController = SINRICPRO_NAMESPACE::InputController<T>;
-
InputController.
Definition: InputController.h:35
-
void onSelectInput(SelectInputCallback cb)
Set callback function for selectInput request.
Definition: InputController.h:65
-
bool sendSelectInputEvent(String intput, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send selectInput event to SinricPro Server to report selected input.
Definition: InputController.h:79
-
std::function< bool(const String &, String &)> SelectInputCallback
Callback definition for onSelectInput function.
Definition: InputController.h:27
-
-
- - - - diff --git a/docs/docs/_keypad_controller_8h_source.html b/docs/docs/_keypad_controller_8h_source.html deleted file mode 100644 index f1da7b5..0000000 --- a/docs/docs/_keypad_controller_8h_source.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/KeypadController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
KeypadController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../SinricProStrings.h"
-
5 
-
6 #include "../SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 FSTR(KEYPAD, sendKeystroke); // "sendKeystroke"
-
10 FSTR(KEYPAD, keystroke); // "keystroke"
-
11 
-
26 using KeystrokeCallback = std::function<bool(const String &, String &)>;
-
27 
-
28 
-
33 template <typename T>
- -
35  public:
- -
37 
-
38  void onKeystroke(KeystrokeCallback cb);
-
39 
-
40  protected:
-
41  bool handleKeypadController(SinricProRequest &request);
-
42 
-
43  private:
-
44  KeystrokeCallback keystrokeCallback;
-
45 };
-
46 
-
47 template <typename T>
- -
49  T* device = static_cast<T*>(this);
-
50  device->registerRequestHandler(std::bind(&KeypadController<T>::handleKeypadController, this, std::placeholders::_1));
-
51 }
-
52 
-
60 template <typename T>
-
61 void KeypadController<T>::onKeystroke(KeystrokeCallback cb) { keystrokeCallback = cb; }
-
62 
-
63 
-
64 template <typename T>
-
65 bool KeypadController<T>::handleKeypadController(SinricProRequest &request) {
-
66  T* device = static_cast<T*>(this);
-
67 
-
68  bool success = false;
-
69  if (request.action != FSTR_KEYPAD_sendKeystroke) return false;
-
70 
-
71  if (keystrokeCallback) {
-
72  String keystroke = request.request_value[FSTR_KEYPAD_keystroke] | "";
-
73  success = keystrokeCallback(device->deviceId, keystroke);
-
74  request.response_value[FSTR_KEYPAD_keystroke] = keystroke;
-
75  return success;
-
76  }
-
77 
-
78  return success;
-
79 }
-
80 
-
81 } // SINRICPRO_NAMESPACE
-
82 
-
83 template <typename T>
-
84 using KeypadController = SINRICPRO_NAMESPACE::KeypadController<T>;
-
KeypadController.
Definition: KeypadController.h:34
-
std::function< bool(const String &, String &)> KeystrokeCallback
Callback definition for onKeystroke function.
Definition: KeypadController.h:26
-
-
- - - - diff --git a/docs/docs/_lock_controller_8h_source.html b/docs/docs/_lock_controller_8h_source.html deleted file mode 100644 index 8f9fb89..0000000 --- a/docs/docs/_lock_controller_8h_source.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/LockController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
LockController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(LOCK, setLockState); // "setLockState"
-
11 FSTR(LOCK, state); // "state"
-
12 FSTR(LOCK, LOCKED); // "LOCKED"
-
13 FSTR(LOCK, UNLOCKED); // "UNLOCKED"
-
14 FSTR(LOCK, lock); // "lock"
-
15 FSTR(LOCK, JAMMED); // "JAMMED"
-
16 
-
36 using LockStateCallback = std::function<bool(const String &, bool &)>; // void onLockState(const DeviceId &deviceId, bool& lockState);
-
37 
-
38 
-
43 template <typename T>
- -
45  public:
- -
47 
- -
49  bool sendLockStateEvent(bool state, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
50 
-
51  protected:
-
52  bool handleLockController(SinricProRequest &request);
-
53 
-
54  private:
-
55  EventLimiter event_limiter;
-
56  LockStateCallback lockStateCallback;
-
57 };
-
58 
-
59 template <typename T>
- -
61 : event_limiter(EVENT_LIMIT_STATE) {
-
62  T* device = static_cast<T*>(this);
-
63  device->registerRequestHandler(std::bind(&LockController<T>::handleLockController, this, std::placeholders::_1));
-
64 }
-
65 
-
73 template <typename T>
- -
75  lockStateCallback = cb;
-
76 }
-
77 
-
87 template <typename T>
-
88 bool LockController<T>::sendLockStateEvent(bool state, String cause) {
-
89  if (event_limiter) return false;
-
90  T* device = static_cast<T*>(this);
-
91 
-
92  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_LOCK_setLockState, cause.c_str());
-
93  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
94  state ? event_value[FSTR_LOCK_state] = FSTR_LOCK_LOCKED : event_value[FSTR_LOCK_state] = FSTR_LOCK_UNLOCKED;
-
95  return device->sendEvent(eventMessage);
-
96 }
-
97 
-
98 template <typename T>
-
99 bool LockController<T>::handleLockController(SinricProRequest &request) {
-
100  T* device = static_cast<T*>(this);
-
101 
-
102  bool success = false;
-
103 
-
104  if (request.action == FSTR_LOCK_setLockState && lockStateCallback) {
-
105  bool lockState = request.request_value[FSTR_LOCK_state] == FSTR_LOCK_lock ? true : false;
-
106  success = lockStateCallback(device->deviceId, lockState);
-
107  request.response_value[FSTR_LOCK_state] = success ? lockState ? FSTR_LOCK_LOCKED : FSTR_LOCK_UNLOCKED : FSTR_LOCK_JAMMED;
-
108  return success;
-
109  }
-
110  return success;
-
111 }
-
112 
-
113 } // SINRICPRO_NAMESPACE
-
114 
-
115 template <typename T>
-
116 using LockController = SINRICPRO_NAMESPACE::LockController<T>;
-
LockController.
Definition: LockController.h:44
-
bool sendLockStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send lockState event to SinricPro Server indicating actual lock state.
Definition: LockController.h:88
-
void onLockState(LockStateCallback cb)
Set callback function for setLockState request.
Definition: LockController.h:74
-
std::function< bool(const String &, bool &)> LockStateCallback
Callback definition for onLockState function.
Definition: LockController.h:36
-
-
- - - - diff --git a/docs/docs/_media_controller_8h_source.html b/docs/docs/_media_controller_8h_source.html deleted file mode 100644 index 7fb4fcd..0000000 --- a/docs/docs/_media_controller_8h_source.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/MediaController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
MediaController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(MEDIA, mediaControl); // "mediaControl"
-
11 FSTR(MEDIA, control); // "control"
-
12 
-
27 using MediaControlCallback = std::function<bool(const String &, String &)>;
-
28 
-
29 
-
34 template <typename T>
- -
36  public:
- -
38 
- -
40  bool sendMediaControlEvent(String mediaControl, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
41 
-
42  protected:
-
43  bool handleMediaController(SinricProRequest &request);
-
44 
-
45  private:
-
46  EventLimiter event_limiter;
-
47  MediaControlCallback mediaControlCallback;
-
48 };
-
49 
-
50 template <typename T>
- -
52 : event_limiter(EVENT_LIMIT_STATE) {
-
53  T* device = static_cast<T*>(this);
-
54  device->registerRequestHandler(std::bind(&MediaController<T>::handleMediaController, this, std::placeholders::_1));
-
55 }
-
56 
-
64 template <typename T>
- -
66  mediaControlCallback = cb;
-
67 }
-
68 
-
78 template <typename T>
-
79 bool MediaController<T>::sendMediaControlEvent(String mediaControl, String cause) {
-
80  if (event_limiter) return false;
-
81  T* device = static_cast<T*>(this);
-
82 
-
83  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_MEDIA_mediaControl, cause.c_str());
-
84  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
85  event_value[FSTR_MEDIA_control] = mediaControl;
-
86  return device->sendEvent(eventMessage);
-
87 }
-
88 
-
89 template <typename T>
-
90 bool MediaController<T>::handleMediaController(SinricProRequest &request) {
-
91  T* device = static_cast<T*>(this);
-
92 
-
93  bool success = false;
-
94 
-
95  if (mediaControlCallback && request.action == FSTR_MEDIA_mediaControl) {
-
96  String mediaControl = request.request_value[FSTR_MEDIA_control];
-
97  success = mediaControlCallback(device->deviceId, mediaControl);
-
98  request.response_value[FSTR_MEDIA_control] = mediaControl;
-
99  return success;
-
100  }
-
101 
-
102  return success;
-
103 }
-
104 
-
105 } // SINRICPRO_NAMESPACE
-
106 
-
107 template <typename T>
-
108 using MediaController = SINRICPRO_NAMESPACE::MediaController<T>;
-
MediaController.
Definition: MediaController.h:35
-
bool sendMediaControlEvent(String mediaControl, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send mediaControl event to SinricPro Server indicating devices media control state.
Definition: MediaController.h:79
-
void onMediaControl(MediaControlCallback cb)
Set callback function for mediaControl request.
Definition: MediaController.h:65
-
std::function< bool(const String &, String &)> MediaControlCallback
Callback definition for onMediaControl function.
Definition: MediaController.h:27
-
-
- - - - diff --git a/docs/docs/_mode_controller_8h_source.html b/docs/docs/_mode_controller_8h_source.html deleted file mode 100644 index c835915..0000000 --- a/docs/docs/_mode_controller_8h_source.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/ModeController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ModeController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 
-
9 namespace SINRICPRO_NAMESPACE {
-
10 
-
11 FSTR(MODE, setMode); // "setMode"
-
12 FSTR(MODE, mode); // "mode"
-
13 
-
28 using ModeCallback = std::function<bool(const String &, String &)>;
-
29 
-
45 using GenericModeCallback = std::function<bool(const String &, const String &, String &)>;
-
46 
-
47 
-
52 template <typename T>
- -
54  public:
- -
56 
- -
58  void onSetMode(const String& instance, GenericModeCallback cb);
-
59 
-
60  bool sendModeEvent(String mode, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
61  bool sendModeEvent(String instance, String mode, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
62 
-
63  protected:
-
64 
-
65  bool handleModeController(SinricProRequest &request);
-
66 
-
67  private:
-
68  EventLimiter event_limiter;
-
69  std::map<String, EventLimiter> event_limiter_generic;
-
70  ModeCallback setModeCallback;
-
71  std::map<String, GenericModeCallback> genericModeCallback;
-
72 };
-
73 
-
74 template <typename T>
- -
76 : event_limiter(EVENT_LIMIT_STATE) {
-
77  T* device = static_cast<T*>(this);
-
78  device->registerRequestHandler(std::bind(&ModeController<T>::handleModeController, this, std::placeholders::_1));
-
79 }
-
80 
-
88 template <typename T>
-
89 void ModeController<T>::onSetMode(ModeCallback cb) { setModeCallback = cb; }
-
90 
-
99 template <typename T>
-
100 void ModeController<T>::onSetMode(const String& instance, GenericModeCallback cb) {
-
101  genericModeCallback[instance] = cb;
-
102 }
-
103 
-
113 template <typename T>
-
114 bool ModeController<T>::sendModeEvent(String mode, String cause) {
-
115  if (event_limiter) return false;
-
116  T* device = static_cast<T*>(this);
-
117 
-
118  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_MODE_setMode, cause.c_str());
-
119  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
120  event_value[FSTR_MODE_mode] = mode;
-
121  return device->sendEvent(eventMessage);
-
122 }
-
123 
-
134 template <typename T>
-
135 bool ModeController<T>::sendModeEvent(String instance, String mode, String cause) {
-
136  if (event_limiter_generic.find(instance) == event_limiter_generic.end()) event_limiter_generic[instance] = EventLimiter(EVENT_LIMIT_STATE);
-
137  if (event_limiter_generic[instance]) return false;
-
138 
-
139  T* device = static_cast<T*>(this);
-
140 
-
141  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_MODE_setMode, cause.c_str());
-
142  eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_instanceId] = instance;
-
143  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
144  event_value[FSTR_MODE_mode] = mode;
-
145  return device->sendEvent(eventMessage);
-
146 }
-
147 
-
148 template <typename T>
-
149 bool ModeController<T>::handleModeController(SinricProRequest &request) {
-
150  T* device = static_cast<T*>(this);
-
151 
-
152  bool success = false;
-
153  if (request.action != FSTR_MODE_setMode) return false;
-
154  String mode = request.request_value[FSTR_MODE_mode] | "";
-
155 
-
156  if (request.instance != "") {
-
157  if (genericModeCallback.find(request.instance) != genericModeCallback.end()) {
-
158  success = genericModeCallback[request.instance](device->deviceId, request.instance, mode);
-
159  request.response_value[FSTR_MODE_mode] = mode;
-
160  return success;
-
161  } else return false;
-
162  } else {
-
163  if (setModeCallback) {
-
164  success = setModeCallback(device->deviceId, mode);
-
165  request.response_value[FSTR_MODE_mode] = mode;
-
166  return success;
-
167  }
-
168  }
-
169 
-
170  return success;
-
171 }
-
172 
-
173 } // SINRICPRO_NAMESPACE
-
174 
-
175 template <typename T>
-
176 using ModeController = SINRICPRO_NAMESPACE::ModeController<T>;
-
ModeController.
Definition: ModeController.h:53
-
bool sendModeEvent(String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setMode event to SinricPro Server indicating the mode has changed.
Definition: ModeController.h:114
-
void onSetMode(const String &instance, GenericModeCallback cb)
Set callback function for setMode request on a specific instance.
Definition: ModeController.h:100
-
bool sendModeEvent(String instance, String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setMode event to SinricPro Server indicating the mode on a specific instance has changed.
Definition: ModeController.h:135
-
void onSetMode(ModeCallback cb)
Set callback function for setMode request.
Definition: ModeController.h:89
-
std::function< bool(const String &, String &)> ModeCallback
Callback definition for onSetMode function.
Definition: ModeController.h:28
-
std::function< bool(const String &, const String &, String &)> GenericModeCallback
Callback definition for onSetMode function for a specific instance.
Definition: ModeController.h:45
-
-
- - - - diff --git a/docs/docs/_motion_sensor_8h_source.html b/docs/docs/_motion_sensor_8h_source.html deleted file mode 100644 index a16639a..0000000 --- a/docs/docs/_motion_sensor_8h_source.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/MotionSensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
MotionSensor.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../EventLimiter.h"
-
4 #include "../SinricProStrings.h"
-
5 
-
6 #include "../SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 FSTR(MOTION, motion); // "motion"
-
10 FSTR(MOTION, state); // "state"
-
11 FSTR(MOTION, detected); // "detected"
-
12 FSTR(MOTION, notDetected); // "notDetected"
-
13 
-
18 template <typename T>
-
19 class MotionSensor {
-
20  public:
-
21  MotionSensor();
-
22  bool sendMotionEvent(bool detected, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
23  private:
-
24  EventLimiter event_limiter;
-
25 };
-
26 
-
27 template <typename T>
- -
29 : event_limiter(EVENT_LIMIT_SENSOR_STATE) {}
-
30 
-
40 template <typename T>
-
41 bool MotionSensor<T>::sendMotionEvent(bool detected, String cause) {
-
42  if (event_limiter) return false;
-
43  T* device = static_cast<T*>(this);
-
44 
-
45  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_MOTION_motion, cause.c_str());
-
46  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
47  event_value[FSTR_MOTION_state] = detected ? FSTR_MOTION_detected : FSTR_MOTION_notDetected;
-
48  return device->sendEvent(eventMessage);
-
49 }
-
50 
-
51 } // SINRICPRO_NAMESPACE
-
52 
-
53 template <typename T>
-
54 using MotionSensor = SINRICPRO_NAMESPACE::MotionSensor<T>;
-
MotionSensor.
Definition: MotionSensor.h:19
-
bool sendMotionEvent(bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Sending motion detection state to SinricPro server.
Definition: MotionSensor.h:41
-
-
- - - - diff --git a/docs/docs/_mute_controller_8h_source.html b/docs/docs/_mute_controller_8h_source.html deleted file mode 100644 index 3703aa1..0000000 --- a/docs/docs/_mute_controller_8h_source.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/MuteController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
MuteController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(MUTE, mute); // "mute"
-
11 FSTR(MUTE, setMute); // "setMute"
-
12 
-
27 using MuteCallback = std::function<bool(const String &, bool &)>;
-
28 
-
29 
-
34 template <typename T>
- -
36  public:
- -
38 
-
39  void onMute(MuteCallback cb);
-
40  bool sendMuteEvent(bool mute, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
41  protected:
-
42  bool handleMuteController(SinricProRequest &request);
-
43 
-
44  private:
-
45  EventLimiter event_limiter;
-
46  MuteCallback muteCallback;
-
47 };
-
48 
-
49 template <typename T>
- -
51 :event_limiter(EVENT_LIMIT_STATE) {
-
52  T* device = static_cast<T*>(this);
-
53  device->registerRequestHandler(std::bind(&MuteController<T>::handleMuteController, this, std::placeholders::_1));
-
54 }
-
55 
-
63 template <typename T>
-
64 void MuteController<T>::onMute(MuteCallback cb) { muteCallback = cb; }
-
65 
-
75 template <typename T>
-
76 bool MuteController<T>::sendMuteEvent(bool mute, String cause) {
-
77  if (event_limiter) return false;
-
78  T* device = static_cast<T*>(this);
-
79 
-
80  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_MUTE_setMute, cause.c_str());
-
81  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
82  event_value[FSTR_MUTE_mute] = mute;
-
83  return device->sendEvent(eventMessage);
-
84 }
-
85 
-
86 template <typename T>
-
87 bool MuteController<T>::handleMuteController(SinricProRequest &request) {
-
88  T* device = static_cast<T*>(this);
-
89 
-
90  bool success = false;
-
91 
-
92  if (muteCallback && request.action == FSTR_MUTE_setMute) {
-
93  bool mute = request.request_value[FSTR_MUTE_mute];
-
94  success = muteCallback(device->deviceId, mute);
-
95  request.response_value[FSTR_MUTE_mute] = mute;
-
96  return success;
-
97  }
-
98  return success;
-
99 }
-
100 
-
101 } // SINRICPRO_NAMESPACE
-
102 
-
103 template <typename T>
-
104 using MuteController = SINRICPRO_NAMESPACE::MuteController<T>;
-
MuteController.
Definition: MuteController.h:35
-
bool sendMuteEvent(bool mute, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setMute event to SinricPro Server indicating actual mute state.
Definition: MuteController.h:76
-
void onMute(MuteCallback cb)
Set callback function for setMute request.
Definition: MuteController.h:64
-
std::function< bool(const String &, bool &)> MuteCallback
Callback definition for onMute function.
Definition: MuteController.h:27
-
-
- - - - diff --git a/docs/docs/_percentage_controller_8h_source.html b/docs/docs/_percentage_controller_8h_source.html deleted file mode 100644 index a8f2089..0000000 --- a/docs/docs/_percentage_controller_8h_source.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/PercentageController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PercentageController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(PERCENTAGE, setPercentage); // "setPercentage"
-
11 FSTR(PERCENTAGE, percentage); // "percentage"
-
12 FSTR(PERCENTAGE, adjustPercentage); // "adjustPercentage"
-
13 
-
29 using SetPercentageCallback = std::function<bool(const String &, int &)>;
-
44 using AdjustPercentageCallback = std::function<bool(const String &, int &)>;
-
45 
-
46 
-
51 template <typename T>
- -
53  public:
- -
55 
-
56  void onSetPercentage(SetPercentageCallback cb);
-
57  void onAdjustPercentage(AdjustPercentageCallback cb);
-
58 
-
59  bool sendSetPercentageEvent(int percentage, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
60 
-
61  protected:
-
62  bool handlePercentageController(SinricProRequest &request);
-
63 
-
64  private:
-
65  EventLimiter event_limiter;
-
66  SetPercentageCallback percentageCallback;
-
67  AdjustPercentageCallback adjustPercentageCallback;
-
68 };
-
69 
-
70 template <typename T>
- -
72 : event_limiter(EVENT_LIMIT_STATE) {
-
73  T* device = static_cast<T*>(this);
-
74  device->registerRequestHandler(std::bind(&PercentageController<T>::handlePercentageController, this, std::placeholders::_1));
-
75 }
-
76 
-
84 template <typename T>
- -
86 
-
94 template <typename T>
-
95 void PercentageController<T>::onAdjustPercentage(AdjustPercentageCallback cb) { adjustPercentageCallback = cb; }
-
96 
-
106 template <typename T>
-
107 bool PercentageController<T>::sendSetPercentageEvent(int percentage, String cause) {
-
108  if (event_limiter) return false;
-
109  T* device = static_cast<T*>(this);
-
110 
-
111  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_PERCENTAGE_setPercentage, cause.c_str());
-
112  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
113  event_value[FSTR_PERCENTAGE_percentage] = percentage;
-
114  return device->sendEvent(eventMessage);
-
115 }
-
116 
-
117 template <typename T>
-
118 bool PercentageController<T>::handlePercentageController(SinricProRequest &request) {
-
119  T* device = static_cast<T*>(this);
-
120 
-
121  bool success = false;
-
122 
-
123  if (percentageCallback && request.action == FSTR_PERCENTAGE_setPercentage) {
-
124  int percentage = request.request_value[FSTR_PERCENTAGE_percentage];
-
125  success = percentageCallback(device->deviceId, percentage);
-
126  request.response_value[FSTR_PERCENTAGE_percentage] = percentage;
-
127  return success;
-
128  }
-
129 
-
130  if (adjustPercentageCallback && request.action == FSTR_PERCENTAGE_adjustPercentage) {
-
131  int percentage = request.request_value[FSTR_PERCENTAGE_percentage];
-
132  success = adjustPercentageCallback(device->deviceId, percentage);
-
133  request.response_value[FSTR_PERCENTAGE_percentage] = percentage;
-
134  return success;
-
135  }
-
136  return success;
-
137 }
-
138 
-
139 } // SINRICPRO_NAMESPACE
-
140 
-
141 template <typename T>
-
142 using PercentageController = SINRICPRO_NAMESPACE::PercentageController<T>;
-
PercentageController.
Definition: PercentageController.h:52
-
void onAdjustPercentage(AdjustPercentageCallback cb)
Set callback function for adjustPercentage request.
Definition: PercentageController.h:95
-
bool sendSetPercentageEvent(int percentage, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setPercentage event to SinricPro Server indicating actual percentage has changed.
Definition: PercentageController.h:107
-
void onSetPercentage(SetPercentageCallback cb)
Set callback function for setPercentage request.
Definition: PercentageController.h:85
-
std::function< bool(const String &, int &)> AdjustPercentageCallback
Callback definition for onAdjustPercentage function.
Definition: PercentageController.h:44
-
std::function< bool(const String &, int &)> SetPercentageCallback
Callback definition for onSetPercentage function.
Definition: PercentageController.h:29
-
-
- - - - diff --git a/docs/docs/_power_level_controller_8h_source.html b/docs/docs/_power_level_controller_8h_source.html deleted file mode 100644 index 90478cb..0000000 --- a/docs/docs/_power_level_controller_8h_source.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/PowerLevelController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PowerLevelController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(POWERLEVEL, setPowerLevel); // "setPowerLevel"
-
11 FSTR(POWERLEVEL, powerLevel); // "powerLevel"
-
12 FSTR(POWERLEVEL, adjustPowerLevel); // "adjustPowerLevel"
-
13 FSTR(POWERLEVEL, powerLevelDelta); // "powerLevelDelta"
-
14 
-
30 using SetPowerLevelCallback = std::function<bool(const String &, int &)>;
-
45 using AdjustPowerLevelCallback = std::function<bool(const String &, int &)>;
-
46 
-
47 
-
52 template <typename T>
- -
54  public:
- -
56 
- - -
59  bool sendPowerLevelEvent(int powerLevel, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
60 
-
61  protected:
-
62  bool handlePowerLevelController(SinricProRequest &request);
-
63 
-
64  private:
-
65  EventLimiter event_limiter;
-
66  SetPowerLevelCallback setPowerLevelCallback;
-
67  AdjustPowerLevelCallback adjustPowerLevelCallback;
-
68 };
-
69 
-
70 template <typename T>
- -
72 : event_limiter(EVENT_LIMIT_STATE) {
-
73  T* device = static_cast<T*>(this);
-
74  device->registerRequestHandler(std::bind(&PowerLevelController<T>::handlePowerLevelController, this, std::placeholders::_1));
-
75 }
-
76 
-
83 template <typename T>
- -
85  setPowerLevelCallback = cb;
-
86 }
-
87 
-
94 template <typename T>
- -
96 {
-
97  adjustPowerLevelCallback = cb;
-
98 }
-
99 
-
109 template <typename T>
-
110 bool PowerLevelController<T>::sendPowerLevelEvent(int powerLevel, String cause) {
-
111  if (event_limiter) return false;
-
112  T* device = static_cast<T*>(this);
-
113 
-
114  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_POWERLEVEL_setPowerLevel, cause.c_str());
-
115  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
116  event_value[FSTR_POWERLEVEL_powerLevel] = powerLevel;
-
117  return device->sendEvent(eventMessage);
-
118 }
-
119 
-
120 template <typename T>
-
121 bool PowerLevelController<T>::handlePowerLevelController(SinricProRequest &request) {
-
122  T* device = static_cast<T*>(this);
-
123 
-
124  bool success = false;
-
125 
-
126  if (setPowerLevelCallback && request.action == FSTR_POWERLEVEL_setPowerLevel) {
-
127  int powerLevel = request.request_value[FSTR_POWERLEVEL_powerLevel];
-
128  success = setPowerLevelCallback(device->deviceId, powerLevel);
-
129  request.response_value[FSTR_POWERLEVEL_powerLevel] = powerLevel;
-
130  }
-
131 
-
132  if (adjustPowerLevelCallback && request.action == FSTR_POWERLEVEL_adjustPowerLevel) {
-
133  int powerLevelDelta = request.request_value[FSTR_POWERLEVEL_powerLevelDelta];
-
134  success = adjustPowerLevelCallback(device->deviceId, powerLevelDelta);
-
135  request.response_value[FSTR_POWERLEVEL_powerLevel] = powerLevelDelta;
-
136  }
-
137  return success;
-
138 }
-
139 
-
140 } // SINRICPRO_NAMESPACE
-
141 
-
142 template <typename T>
-
143 using PowerLevelController = SINRICPRO_NAMESPACE::PowerLevelController<T>;
-
PowerLevelController.
Definition: PowerLevelController.h:53
-
void onPowerLevel(SetPowerLevelCallback cb)
Set callback function for setPowerLevel request.
Definition: PowerLevelController.h:84
-
void onAdjustPowerLevel(AdjustPowerLevelCallback cb)
Set callback function for adjustPowerLevel request.
Definition: PowerLevelController.h:95
-
bool sendPowerLevelEvent(int powerLevel, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setPowerLevel event to SinricPro Server indicating actual power level.
Definition: PowerLevelController.h:110
-
std::function< bool(const String &, int &)> AdjustPowerLevelCallback
Definition for onAdjustPowerLevel callback.
Definition: PowerLevelController.h:45
-
std::function< bool(const String &, int &)> SetPowerLevelCallback
Definition for setPowerLevel callback.
Definition: PowerLevelController.h:30
-
-
- - - - diff --git a/docs/docs/_power_sensor_8h_source.html b/docs/docs/_power_sensor_8h_source.html deleted file mode 100644 index 9156ee9..0000000 --- a/docs/docs/_power_sensor_8h_source.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/PowerSensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PowerSensor.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../EventLimiter.h"
-
4 #include "../SinricProStrings.h"
-
5 
-
6 #include "../SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 FSTR(POWERSENSOR, powerUsage); // "powerUsage"
-
10 FSTR(POWERSENSOR, startTime); // "startTime"
-
11 FSTR(POWERSENSOR, voltage); // "voltage"
-
12 FSTR(POWERSENSOR, current); // "current"
-
13 FSTR(POWERSENSOR, power); // "power"
-
14 FSTR(POWERSENSOR, apparentPower); // "apparentPower"
-
15 FSTR(POWERSENSOR, reactivePower); // "reactivePower"
-
16 FSTR(POWERSENSOR, factor); // "factor"
-
17 FSTR(POWERSENSOR, wattHours); // "wattHours"
-
18 
-
23 template <typename T>
-
24 class PowerSensor {
-
25 public:
-
26  PowerSensor();
-
27  bool sendPowerSensorEvent(float voltage, float current, float power = -1.0f, float apparentPower = -1.0f, float reactivePower = -1.0f, float factor = -1.0f, String cause = FSTR_SINRICPRO_PERIODIC_POLL);
-
28 
-
29 private:
-
30  EventLimiter event_limiter;
-
31  unsigned long startTime = 0;
-
32  unsigned long lastPower = 0;
-
33  float getWattHours(unsigned long currentTimestamp);
-
34 };
-
35 
-
36 template <typename T>
- -
38 : event_limiter(EVENT_LIMIT_SENSOR_VALUE) {}
-
39 
-
53 template <typename T>
-
54 bool PowerSensor<T>::sendPowerSensorEvent(float voltage, float current, float power, float apparentPower, float reactivePower, float factor, String cause) {
-
55  if (event_limiter) return false;
-
56  T* device = static_cast<T*>(this);
-
57 
-
58  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_POWERSENSOR_powerUsage, cause.c_str());
-
59  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
60  if (power == -1)
-
61  power = voltage * current;
-
62  if (apparentPower != -1)
-
63  factor = power / apparentPower;
-
64 
-
65  unsigned long currentTimestamp = device->getTimestamp();
-
66 
-
67  event_value[FSTR_POWERSENSOR_startTime] = startTime;
-
68  event_value[FSTR_POWERSENSOR_voltage] = voltage;
-
69  event_value[FSTR_POWERSENSOR_current] = current;
-
70  event_value[FSTR_POWERSENSOR_power] = power;
-
71  event_value[FSTR_POWERSENSOR_apparentPower] = apparentPower;
-
72  event_value[FSTR_POWERSENSOR_reactivePower] = reactivePower;
-
73  event_value[FSTR_POWERSENSOR_factor] = factor;
-
74  event_value[FSTR_POWERSENSOR_wattHours] = getWattHours(currentTimestamp);
-
75 
-
76  startTime = currentTimestamp;
-
77  lastPower = power;
-
78  return device->sendEvent(eventMessage);
-
79 }
-
80 
-
81 template <typename T>
-
82 float PowerSensor<T>::getWattHours(unsigned long currentTimestamp) {
-
83  if (startTime)
-
84  return (currentTimestamp - startTime) * lastPower / 3600.0f;
-
85  return 0;
-
86 }
-
87 
-
88 } // SINRICPRO_NAMESPACE
-
89 
-
90 template <typename T>
-
91 using PowerSensor = SINRICPRO_NAMESPACE::PowerSensor<T>;
-
PowerSensor.
Definition: PowerSensor.h:24
-
bool sendPowerSensorEvent(float voltage, float current, float power=-1.0f, float apparentPower=-1.0f, float reactivePower=-1.0f, float factor=-1.0f, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
Send PowerSensor event to SinricPro Server.
Definition: PowerSensor.h:54
-
-
- - - - diff --git a/docs/docs/_power_state_controller_8h_source.html b/docs/docs/_power_state_controller_8h_source.html deleted file mode 100644 index 021eaeb..0000000 --- a/docs/docs/_power_state_controller_8h_source.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/PowerStateController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PowerStateController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(POWERSTATE, state); // "state"
-
11 FSTR(POWERSTATE, On); // "On"
-
12 FSTR(POWERSTATE, Off); // "Off"
-
13 FSTR(POWERSTATE, setPowerState); // "setPowerState"
-
14 
-
28 using PowerStateCallback = std::function<bool(const String &, bool &)>;
-
29 
-
30 
-
35 template <typename T>
- -
37  public:
- -
39 
- -
41  bool sendPowerStateEvent(bool state, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
42 
-
43  protected:
-
44  bool handlePowerStateController(SinricProRequest &request);
-
45 
-
46  private:
-
47  EventLimiter event_limiter;
-
48  PowerStateCallback powerStateCallback;
-
49 };
-
50 
-
51 template <typename T>
- -
53 : event_limiter(EVENT_LIMIT_STATE) {
-
54  T* device = static_cast<T*>(this);
-
55  device->registerRequestHandler(std::bind(&PowerStateController<T>::handlePowerStateController, this, std::placeholders::_1));
-
56 }
-
57 
-
65 template <typename T>
- -
67  powerStateCallback = cb;
-
68 }
-
69 
-
79 template <typename T>
-
80 bool PowerStateController<T>::sendPowerStateEvent(bool state, String cause) {
-
81  if (event_limiter) return false;
-
82  T* device = static_cast<T*>(this);
-
83 
-
84  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_POWERSTATE_setPowerState, cause.c_str());
-
85  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
86  event_value[FSTR_POWERSTATE_state] = state ? FSTR_POWERSTATE_On : FSTR_POWERSTATE_Off;
-
87  return device->sendEvent(eventMessage);
-
88 }
-
89 
-
90 template <typename T>
-
91 bool PowerStateController<T>::handlePowerStateController(SinricProRequest &request) {
-
92  T* device = static_cast<T*>(this);
-
93 
-
94  bool success = false;
-
95 
-
96  if (request.action == FSTR_POWERSTATE_setPowerState && powerStateCallback) {
-
97  bool powerState = request.request_value[FSTR_POWERSTATE_state] == FSTR_POWERSTATE_On ? true : false;
-
98  success = powerStateCallback(device->deviceId, powerState);
-
99  request.response_value[FSTR_POWERSTATE_state] = powerState ? FSTR_POWERSTATE_On : FSTR_POWERSTATE_Off;
-
100  return success;
-
101  }
-
102  return success;
-
103 }
-
104 
-
105 } // SINRICPRO_NAMESPACE
-
106 
-
107 template <typename T>
-
108 using PowerStateController = SINRICPRO_NAMESPACE::PowerStateController<T>;
-
PowerStateController.
Definition: PowerStateController.h:36
-
void onPowerState(PowerStateCallback cb)
Set callback function for powerState request.
Definition: PowerStateController.h:66
-
bool sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setPowerState event to SinricPro Server indicating actual power state.
Definition: PowerStateController.h:80
-
std::function< bool(const String &, bool &)> PowerStateCallback
Callback definition for onPowerState function.
Definition: PowerStateController.h:28
-
-
- - - - diff --git a/docs/docs/_push_notification_8h_source.html b/docs/docs/_push_notification_8h_source.html deleted file mode 100644 index 42dd19b..0000000 --- a/docs/docs/_push_notification_8h_source.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/PushNotification.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PushNotification.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../EventLimiter.h"
-
4 #include "../SinricProStrings.h"
-
5 
-
6 #include "../SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 FSTR(PUSHNOTIFICATION, pushNotification); // "pushNotification"
-
10 FSTR(PUSHNOTIFICATION, alert); // "alert"
-
11 
-
16 template <typename T>
- -
18  public:
- -
20  bool sendPushNotification(String notification);
-
21  private:
-
22  EventLimiter event_limiter;
-
23 };
-
24 
-
25 template <typename T>
- -
27 : event_limiter (EVENT_LIMIT_SENSOR_VALUE) {}
-
28 
-
37 template <typename T>
-
38 bool PushNotification<T>::sendPushNotification(String notification) {
-
39  if (event_limiter) return false;
-
40  T* device = static_cast<T*>(this);
-
41 
-
42  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_PUSHNOTIFICATION_pushNotification, FSTR_SINRICPRO_ALERT);
-
43  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
44 
-
45  event_value[FSTR_PUSHNOTIFICATION_alert] = notification;
-
46 
-
47  return device->sendEvent(eventMessage);
-
48 }
-
49 
-
50 } // SINRICPRO_NAMESPACE
-
51 
-
52 template <typename T>
-
53 using PushNotification = SINRICPRO_NAMESPACE::PushNotification<T>;
-
PushNotification.
Definition: PushNotification.h:17
-
bool sendPushNotification(String notification)
Sending push notifications to SinricPro App.
Definition: PushNotification.h:38
-
-
- - - - diff --git a/docs/docs/_range_controller_8h_source.html b/docs/docs/_range_controller_8h_source.html deleted file mode 100644 index 4d0248a..0000000 --- a/docs/docs/_range_controller_8h_source.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/RangeController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
RangeController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(RANGE, setRangeValue); // "setRangeValue"
-
11 FSTR(RANGE, rangeValue); // "rangeValue"
-
12 FSTR(RANGE, adjustRangeValue); // "adjustRangeValue"
-
13 FSTR(RANGE, rangeValueDelta); // "rangeValueDelta"
-
14 
-
30 using GenericRangeValueCallback_int = bool (*)(const String &, const String &, int &);
-
31 using GenericRangeValueCallback_float = bool (*)(const String &, const String &, float &);
-
32 
-
33 struct GenericRangeValueCallback {
-
34  GenericRangeValueCallback() : type(type_unknown) {}
-
35  GenericRangeValueCallback(GenericRangeValueCallback_int cb) : type(type_int), cb_int(cb) {}
-
36  GenericRangeValueCallback(GenericRangeValueCallback_float cb) : type(type_float), cb_float(cb) {}
-
37  enum {
-
38  type_unknown,
-
39  type_int,
-
40  type_float
-
41  } type;
-
42  union {
- -
44  GenericRangeValueCallback_float cb_float;
-
45  };
-
46 };
-
47 
-
48 using SetRangeValueCallback = bool (*)(const String &, int &);
-
49 
- -
66  using GenericSetRangeValueCallback_float = GenericRangeValueCallback_float;
-
67 
-
82 using AdjustRangeValueCallback = bool (*)(const String &, int &);
-
83 
- -
100 using GenericAdjustRangeValueCallback_float = GenericRangeValueCallback_float;
-
101 
-
102 
-
103 
-
108 template <typename T>
- -
110  public:
-
111 
-
112  RangeController();
-
113 
-
114  void onRangeValue(SetRangeValueCallback cb);
-
115  void onRangeValue(const String& instance, GenericSetRangeValueCallback_int cb);
-
116  void onRangeValue(const String& instance, GenericSetRangeValueCallback_float cb);
-
117 
- -
119  void onAdjustRangeValue(const String& instance, GenericAdjustRangeValueCallback_int cb);
-
120  void onAdjustRangeValue(const String& instance, GenericAdjustRangeValueCallback_float cb);
-
121 
-
122  bool sendRangeValueEvent(int rangeValue, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
123  bool sendRangeValueEvent(const String& instance, int rangeValue, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
124  bool sendRangeValueEvent(const String& instance, float rangeValue, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
125 
-
126  protected:
-
127  bool handleRangeController(SinricProRequest &request);
-
128 
-
129  private:
-
130  EventLimiter event_limiter;
-
131  std::map<String, EventLimiter> event_limiter_generic;
-
132  SetRangeValueCallback setRangeValueCallback;
-
133  std::map<String, GenericRangeValueCallback> genericSetRangeValueCallback;
-
134  AdjustRangeValueCallback adjustRangeValueCallback;
-
135  std::map<String, GenericRangeValueCallback> genericAdjustRangeValueCallback;
-
136 };
-
137 
-
138 template <typename T>
- -
140 : event_limiter(EVENT_LIMIT_STATE) {
-
141  T* device = static_cast<T*>(this);
-
142  device->registerRequestHandler(std::bind(&RangeController<T>::handleRangeController, this, std::placeholders::_1));
-
143 }
-
144 
-
151 template <typename T>
-
152 void RangeController<T>::onRangeValue(SetRangeValueCallback cb) {
-
153  setRangeValueCallback = cb;
-
154 }
-
155 
-
163 template <typename T>
- -
165  genericSetRangeValueCallback[instance] = GenericRangeValueCallback(cb);
-
166 }
-
167 
-
168 template <typename T>
-
169 void RangeController<T>::onRangeValue(const String& instance, GenericSetRangeValueCallback_float cb) {
-
170  genericSetRangeValueCallback[instance] = GenericRangeValueCallback(cb);
-
171 }
-
172 
-
179 template <typename T>
- -
181  adjustRangeValueCallback = cb;
-
182 }
-
183 
-
184 template <typename T>
- -
186  genericAdjustRangeValueCallback[instance] = GenericRangeValueCallback(cb);
-
187 }
-
188 
-
189 template <typename T>
-
190 void RangeController<T>::onAdjustRangeValue(const String &instance, GenericAdjustRangeValueCallback_float cb) {
-
191  genericAdjustRangeValueCallback[instance] = GenericRangeValueCallback(cb);
-
192 }
-
193 
-
203 template <typename T>
-
204 bool RangeController<T>::sendRangeValueEvent(int rangeValue, String cause) {
-
205  if (event_limiter) return false;
-
206  T* device = static_cast<T*>(this);
-
207 
-
208  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_RANGE_setRangeValue, cause.c_str());
-
209  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
210  event_value[FSTR_RANGE_rangeValue] = rangeValue;
-
211  return device->sendEvent(eventMessage);
-
212 }
-
213 
-
224 template <typename T>
-
225 bool RangeController<T>::sendRangeValueEvent(const String& instance, int rangeValue, String cause){
-
226  if (event_limiter_generic.find(instance) == event_limiter_generic.end()) event_limiter_generic[instance] = EventLimiter(EVENT_LIMIT_STATE);
-
227  if (event_limiter_generic[instance]) return false;
-
228  T* device = static_cast<T*>(this);
-
229 
-
230  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_RANGE_setRangeValue, cause.c_str());
-
231  eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_instanceId] = instance;
-
232 
-
233  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
234  event_value[FSTR_RANGE_rangeValue] = rangeValue;
-
235  return device->sendEvent(eventMessage);
-
236 }
-
237 
-
238 template <typename T>
-
239 bool RangeController<T>::sendRangeValueEvent(const String& instance, float rangeValue, String cause) {
-
240  if (event_limiter_generic.find(instance) == event_limiter_generic.end()) event_limiter_generic[instance] = EventLimiter(EVENT_LIMIT_STATE);
-
241  if (event_limiter_generic[instance]) return false;
-
242  T* device = static_cast<T*>(this);
-
243 
-
244  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_RANGE_setRangeValue, cause.c_str());
-
245  eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_instanceId] = instance;
-
246 
-
247  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
248  event_value[FSTR_RANGE_rangeValue] = rangeValue;
-
249  return device->sendEvent(eventMessage);
-
250 }
-
251 
-
252 template <typename T>
-
253 bool RangeController<T>::handleRangeController(SinricProRequest &request) {
-
254  T* device = static_cast<T*>(this);
-
255 
-
256  bool success = false;
-
257 
-
258  if (request.action == FSTR_RANGE_setRangeValue) {
-
259 
-
260  if (request.instance == "") {
-
261 
-
262  int rangeValue = request.request_value[FSTR_RANGE_rangeValue];
-
263  if (setRangeValueCallback) success = setRangeValueCallback(device->deviceId, rangeValue);
-
264  request.response_value[FSTR_RANGE_rangeValue] = rangeValue;
-
265  return success;
-
266 
-
267  } else {
-
268 
-
269  if (genericSetRangeValueCallback.find(request.instance) == genericSetRangeValueCallback.end()) return false;
-
270 
-
271  auto& cb = genericSetRangeValueCallback[request.instance];
-
272 
-
273  if (cb.type == GenericRangeValueCallback::type_float) {
-
274  float value = request.request_value[FSTR_RANGE_rangeValue];
-
275  success = cb.cb_float(device->deviceId, request.instance, value);
-
276  request.response_value[FSTR_RANGE_rangeValue] = value;
-
277  return success;
-
278  }
-
279 
-
280  if (cb.type == GenericRangeValueCallback::type_int) {
-
281  int value = request.request_value[FSTR_RANGE_rangeValue];
-
282  success = cb.cb_int(device->deviceId, request.instance, value);
-
283  request.response_value[FSTR_RANGE_rangeValue] = value;
-
284  return success;
-
285  }
-
286  }
-
287  }
-
288 
-
289  if (request.action == FSTR_RANGE_adjustRangeValue) {
-
290 
-
291  if (request.instance == "") {
-
292 
-
293  int rangeValue = request.request_value[FSTR_RANGE_rangeValueDelta];
-
294  if (adjustRangeValueCallback) success = adjustRangeValueCallback(device->deviceId, rangeValue);
-
295  request.response_value[FSTR_RANGE_rangeValue] = rangeValue;
-
296  return success;
-
297 
-
298  } else {
-
299 
-
300  if (genericAdjustRangeValueCallback.find(request.instance) == genericAdjustRangeValueCallback.end()) return false;
-
301 
-
302  auto& cb = genericAdjustRangeValueCallback[request.instance];
-
303 
-
304  if (cb.type == GenericRangeValueCallback::type_float) {
-
305  float value = request.request_value[FSTR_RANGE_rangeValueDelta];
-
306  success = cb.cb_float(device->deviceId, request.instance, value);
-
307  request.response_value[FSTR_RANGE_rangeValue] = value;
-
308  return success;
-
309  }
-
310 
-
311  if (cb.type == GenericRangeValueCallback::type_int) {
-
312  int value = request.request_value[FSTR_RANGE_rangeValueDelta];
-
313  success = cb.cb_int(device->deviceId, request.instance, value);
-
314  request.response_value[FSTR_RANGE_rangeValue] = value;
-
315  return success;
-
316  }
-
317  }
-
318  }
-
319 
-
320  return false;
-
321 }
-
322 
-
323 } // SINRICPRO_NAMESPACE
-
324 
-
325 template <typename T>
-
326 using RangeController = SINRICPRO_NAMESPACE::RangeController<T>;
-
RangeControllerFloatInt.
Definition: RangeController.h:109
-
bool sendRangeValueEvent(int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send rangeValue event to report curent rangeValue to SinricPro server.
Definition: RangeController.h:204
-
void onRangeValue(const String &instance, GenericSetRangeValueCallback_int cb)
Set callback function for setRangeValue request on a specific instance (custom device)
Definition: RangeController.h:164
-
void onRangeValue(SetRangeValueCallback cb)
Set callback function for setRangeValue request.
Definition: RangeController.h:152
-
bool sendRangeValueEvent(const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send rangeValue event to report curent rangeValue to SinricPro server for a specific instance (custom...
Definition: RangeController.h:225
-
void onAdjustRangeValue(AdjustRangeValueCallback cb)
Set callback function for adjustRangeValue request.
Definition: RangeController.h:180
-
bool(*)(const String &, const String &, int &) GenericRangeValueCallback_int
Callback definition for onRangeValue function.
Definition: RangeController.h:30
-
GenericRangeValueCallback_int GenericSetRangeValueCallback_int
Callback definition for onRangeValue function on a specific instance.
Definition: RangeController.h:65
-
bool(*)(const String &, int &) AdjustRangeValueCallback
Callback definition for onAdjustRangeValue function.
Definition: RangeController.h:82
-
GenericRangeValueCallback_int GenericAdjustRangeValueCallback_int
Callback definition for onAdjustRangeValue function on a specific instance for custom devices.
Definition: RangeController.h:99
-
-
- - - - diff --git a/docs/docs/_setting_controller_8h_source.html b/docs/docs/_setting_controller_8h_source.html deleted file mode 100644 index c4b1b0a..0000000 --- a/docs/docs/_setting_controller_8h_source.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/SettingController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SettingController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../SinricProStrings.h"
-
5 
-
6 #include "../SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 using SetSettingCallback = std::function<bool(const String&, const String&, String&)>;
-
10 
-
11 FSTR(SETTING, setSetting); // "setSetting"
-
12 FSTR(SETTING, id); // "id"
-
13 FSTR(SETTING, value); // "value"
-
14 
-
15 template <typename T>
-
16 class SettingController {
-
17  public:
-
18  SettingController();
-
19  void onSetSetting(SetSettingCallback cb);
-
20 
-
21  protected:
-
22  bool handleSettingController(SinricProRequest &request);
-
23 
-
24  private:
-
25  SetSettingCallback setSettingCallback;
-
26 };
-
27 
-
28 template <typename T>
-
29 SettingController<T>::SettingController() {
-
30  T* device = static_cast<T*>(this);
-
31  device->registerRequestHandler(std::bind(&SettingController<T>::handleSettingController, this, std::placeholders::_1));
-
32 }
-
33 
-
34 template <typename T>
-
35 void SettingController<T>::onSetSetting(SetSettingCallback cb) {
-
36  setSettingCallback = cb;
-
37 }
-
38 
-
39 template <typename T>
-
40 bool SettingController<T>::handleSettingController(SinricProRequest &request) {
-
41  T* device = static_cast<T*>(this);
-
42 
-
43  bool success = false;
-
44 
-
45  if (setSettingCallback && request.action == FSTR_SETTING_setSetting) {
-
46  String settingId = request.request_value[FSTR_SETTING_id] | "";
-
47  String settingValue = request.request_value[FSTR_SETTING_value] | "";
-
48  success = setSettingCallback(device->deviceId, settingId, settingValue);
-
49  request.response_value[FSTR_SETTING_id] = settingId;
-
50  request.response_value[FSTR_SETTING_value] = settingValue;
-
51  return success;
-
52  }
-
53 
-
54  return success;
-
55 }
-
56 
-
57 } // SINRICPRO_NAMESPACE
-
58 
-
59 template <typename T>
-
60 using SettingController = SINRICPRO_NAMESPACE::SettingController<T>;
-
-
- - - - diff --git a/docs/docs/_sinric_pro_8h_source.html b/docs/docs/_sinric_pro_8h_source.html deleted file mode 100644 index f6ec484..0000000 --- a/docs/docs/_sinric_pro_8h_source.html +++ /dev/null @@ -1,574 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricPro.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricPro.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProInterface.h"
-
11 #include "SinricProDeviceInterface.h"
-
12 #include "SinricProWebsocket.h"
-
13 #include "SinricProUDP.h"
-
14 #include "SinricProSignature.h"
-
15 #include "SinricProMessageid.h"
-
16 #include "SinricProQueue.h"
-
17 #include "SinricProStrings.h"
-
18 
-
19 #include "SinricProNamespace.h"
-
20 namespace SINRICPRO_NAMESPACE {
-
21 
-
29 using ConnectedCallbackHandler = std::function<void(void)>;
-
30 
-
38 using DisconnectedCallbackHandler = std::function<void(void)>;
-
39 
-
45 class SinricProClass : public SinricProInterface {
-
46  friend class SinricProDevice;
-
47 
-
48  public:
-
49  void begin(String appKey, String appSecret, String serverURL = SINRICPRO_SERVER_URL);
-
50  void handle();
-
51  void stop();
-
52  bool isConnected();
-
53  void onConnected(ConnectedCallbackHandler cb);
-
54  void onDisconnected(DisconnectedCallbackHandler cb);
-
55  void onPong(std::function<void(uint32_t)> cb);
-
56  void restoreDeviceStates(bool flag);
-
57  void setResponseMessage(String &&message);
-
58  unsigned long getTimestamp() override;
-
59 
-
60  struct proxy {
-
61  proxy(SinricProClass* ptr, String deviceId) : ptr(ptr), deviceId(deviceId) {}
-
62  SinricProClass* ptr;
-
63  String deviceId;
-
64  template <typename DeviceType>
-
65  operator DeviceType&() { return as<DeviceType>(); }
-
66  template <typename DeviceType>
-
67  DeviceType& as() { return ptr->getDeviceInstance<DeviceType>(deviceId); }
-
68  };
-
69 
-
70  proxy operator[](const String deviceId);
-
71  protected:
-
72  template <typename DeviceType>
-
73  DeviceType& add(String deviceId);
-
74 
-
75  void add(SinricProDeviceInterface &newDevice);
-
76  void add(SinricProDeviceInterface *newDevice);
-
77 
-
78  DynamicJsonDocument prepareResponse(JsonDocument &requestMessage);
-
79  DynamicJsonDocument prepareEvent(String deviceId, const char *action, const char *cause) override;
-
80  void sendMessage(JsonDocument &jsonMessage) override;
-
81 
-
82  private:
-
83  void handleReceiveQueue();
-
84  void handleSendQueue();
-
85 
-
86  void handleRequest(DynamicJsonDocument& requestMessage, interface_t Interface);
-
87  void handleResponse(DynamicJsonDocument& responseMessage);
-
88 
-
89  DynamicJsonDocument prepareRequest(String deviceId, const char* action);
-
90 
-
91  void connect();
-
92  void disconnect();
-
93  void reconnect();
-
94 
-
95  void onConnect();
-
96  void onDisconnect();
-
97 
-
98  void extractTimestamp(JsonDocument &message);
-
99 
-
100  SinricProDeviceInterface* getDevice(String deviceId);
-
101 
-
102  template <typename DeviceType>
-
103  DeviceType& getDeviceInstance(String deviceId);
-
104 
-
105  std::vector<SinricProDeviceInterface*> devices;
-
106 
-
107  String appKey;
-
108  String appSecret;
-
109  String serverURL;
-
110 
-
111  WebsocketListener _websocketListener;
-
112  UdpListener _udpListener;
-
113  SinricProQueue_t receiveQueue;
-
114  SinricProQueue_t sendQueue;
-
115 
-
116  unsigned long baseTimestamp = 0;
-
117 
-
118  bool _begin = false;
-
119  String responseMessageStr = "";
-
120 };
-
121 
-
122 SinricProDeviceInterface* SinricProClass::getDevice(String deviceId) {
-
123  for (auto& device : devices) {
-
124  if (deviceId == device->getDeviceId()) return device;
-
125  }
-
126  return nullptr;
-
127 }
-
128 
-
129 template <typename DeviceType>
-
130 DeviceType& SinricProClass::getDeviceInstance(String deviceId) {
-
131  DeviceType* tmp_device = (DeviceType*) getDevice(deviceId);
-
132  if (tmp_device) return *tmp_device;
-
133 
-
134  DEBUG_SINRIC("[SinricPro]: Device \"%s\" does not exist. Creating new device\r\n", deviceId.c_str());
-
135  DeviceType& tmp_deviceInstance = add<DeviceType>(deviceId);
-
136 
-
137  if (isConnected()) {
-
138  DEBUG_SINRIC("[SinricPro]: Reconnecting to server.\r\n");
-
139  reconnect();
-
140  }
-
141 
-
142  return tmp_deviceInstance;
-
143 }
-
144 
-
161 void SinricProClass::begin(String appKey, String appSecret, String serverURL) {
-
162  bool success = true;
-
163  if (!appKey.length()) {
-
164  DEBUG_SINRIC("[SinricPro:begin()]: App-Key \"%s\" is invalid!! Please check your app-key!! SinricPro will not work!\r\n", appKey.c_str());
-
165  success = false;
-
166  }
-
167  if (!appSecret.length()) {
-
168  DEBUG_SINRIC("[SinricPro:begin()]: App-Secret \"%s\" is invalid!! Please check your app-secret!! SinricPro will not work!\r\n", appSecret.c_str());
-
169  success = false;
-
170  }
-
171 
-
172  if(!success) {
-
173  _begin = false;
-
174  return;
-
175  }
-
176 
-
177  this->appKey = appKey;
-
178  this->appSecret = appSecret;
-
179  this->serverURL = serverURL;
-
180  _begin = true;
-
181  _udpListener.begin(&receiveQueue);
-
182 }
-
183 
-
184 template <typename DeviceType>
-
185 DeviceType& SinricProClass::add(String deviceId) {
-
186 
-
187  DeviceType* newDevice = new DeviceType(deviceId);
-
188  DEBUG_SINRIC("[SinricPro:add()]: Adding device with id \"%s\".\r\n", deviceId.c_str());
-
189  newDevice->begin(this);
-
190 
-
191  devices.push_back(newDevice);
-
192  return *newDevice;
-
193 }
-
194 
-
195 __attribute__ ((deprecated("Please use DeviceType& myDevice = SinricPro.add<DeviceType>(String);")))
-
196 void SinricProClass::add(SinricProDeviceInterface* newDevice) {
-
197  newDevice->begin(this);
-
198  devices.push_back(newDevice);
-
199 }
-
200 
-
201 __attribute__ ((deprecated("Please use DeviceType& myDevice = SinricPro.add<DeviceType>(String);")))
-
202 void SinricProClass::add(SinricProDeviceInterface& newDevice) {
-
203  newDevice.begin(this);
-
204  devices.push_back(&newDevice);
-
205 }
-
206 
-
222 void SinricProClass::handle() {
-
223  static bool begin_error = false;
-
224  if (!_begin) {
-
225  if (!begin_error) { // print this only once!
-
226  DEBUG_SINRIC("[SinricPro:handle()]: ERROR! SinricPro.begin() failed or was not called prior to event handler\r\n");
-
227  DEBUG_SINRIC("[SinricPro:handle()]: -Reasons include an invalid app-key, invalid app-secret or no valid deviceIds)\r\n");
-
228  DEBUG_SINRIC("[SinricPro:handle()]: -SinricPro is disabled! Check earlier log messages for details.\r\n");
-
229  begin_error = true;
-
230  }
-
231  return;
-
232  }
-
233 
-
234  if (WiFi.isConnected()) {
-
235 
-
236  if (!isConnected()) connect();
-
237  _websocketListener.handle();
-
238  _udpListener.handle();
-
239 
-
240  }
-
241 
-
242  handleReceiveQueue();
-
243  handleSendQueue();
-
244 }
-
245 
-
246 DynamicJsonDocument SinricProClass::prepareRequest(String deviceId, const char* action) {
-
247  DynamicJsonDocument requestMessage(1024);
-
248  JsonObject header = requestMessage.createNestedObject(FSTR_SINRICPRO_header);
-
249  header[FSTR_SINRICPRO_payloadVersion] = 2;
-
250  header[FSTR_SINRICPRO_signatureVersion] = 1;
-
251 
-
252  JsonObject payload = requestMessage.createNestedObject(FSTR_SINRICPRO_payload);
-
253  payload[FSTR_SINRICPRO_action] = action;
-
254  payload[FSTR_SINRICPRO_createdAt] = 0;
-
255  payload[FSTR_SINRICPRO_deviceId] = deviceId;
-
256  payload[FSTR_SINRICPRO_replyToken] = MessageID().getID();
-
257  payload[FSTR_SINRICPRO_type] = FSTR_SINRICPRO_request;
-
258  payload.createNestedObject(FSTR_SINRICPRO_value);
-
259  return requestMessage;
-
260 }
-
261 
-
262 void SinricProClass::handleResponse(DynamicJsonDocument& responseMessage) {
-
263  (void) responseMessage;
-
264  DEBUG_SINRIC("[SinricPro.handleResponse()]:\r\n");
-
265 
-
266  #ifndef NODEBUG_SINRIC
-
267  serializeJsonPretty(responseMessage, DEBUG_ESP_PORT);
-
268  Serial.println();
-
269  #endif
-
270 }
-
271 
-
272 void SinricProClass::handleRequest(DynamicJsonDocument& requestMessage, interface_t Interface) {
-
273  DEBUG_SINRIC("[SinricPro.handleRequest()]: handling request\r\n");
-
274  #ifndef NODEBUG_SINRIC
-
275  serializeJsonPretty(requestMessage, DEBUG_ESP_PORT);
-
276  #endif
-
277 
-
278  DynamicJsonDocument responseMessage = prepareResponse(requestMessage);
-
279 
-
280  // handle devices
-
281  bool success = false;
-
282  const char* deviceId = requestMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_deviceId];
-
283  String action = requestMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_action] | "";
-
284  String instance = requestMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_instanceId] | "";
-
285  JsonObject request_value = requestMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
286  JsonObject response_value = responseMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
287 
-
288  for (auto& device : devices) {
-
289  if (device->getDeviceId() == deviceId && success == false) {
-
290  SinricProRequest request {
-
291  action,
-
292  instance,
-
293  request_value,
-
294  response_value
-
295  };
-
296  success = device->handleRequest(request);
-
297  responseMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_success] = success;
-
298  if (!success) {
-
299  if (responseMessageStr.length() > 0){
-
300  responseMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_message] = responseMessageStr;
-
301  responseMessageStr = "";
-
302  } else {
-
303  responseMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_message] = "Device did not handle \""+ action + "\"";
-
304  }
-
305  }
-
306  }
-
307  }
-
308 
-
309  String responseString;
-
310  serializeJson(responseMessage, responseString);
-
311  sendQueue.push(new SinricProMessage(Interface, responseString.c_str()));
-
312 }
-
313 
-
314 void SinricProClass::handleReceiveQueue() {
-
315  if (receiveQueue.size() == 0) return;
-
316 
-
317  DEBUG_SINRIC("[SinricPro.handleReceiveQueue()]: %i message(s) in receiveQueue\r\n", receiveQueue.size());
-
318  while (receiveQueue.size() > 0) {
-
319  SinricProMessage* rawMessage = receiveQueue.front();
-
320  receiveQueue.pop();
-
321  DynamicJsonDocument jsonMessage(1024);
-
322  deserializeJson(jsonMessage, rawMessage->getMessage());
-
323 
-
324  bool sigMatch = false;
-
325 
-
326  if (strncmp(rawMessage->getMessage(), "{\"timestamp\":", 13) == 0 && strlen(rawMessage->getMessage()) <= 26) {
-
327  sigMatch=true; // timestamp message has no signature...ignore sigMatch for this!
-
328  } else {
-
329  String signature = jsonMessage[FSTR_SINRICPRO_signature][FSTR_SINRICPRO_HMAC] | "";
-
330  String payload = extractPayload(rawMessage->getMessage());
-
331  String calculatedSignature = calculateSignature(appSecret.c_str(), payload);
-
332  sigMatch = (calculatedSignature == signature);
-
333  }
-
334 
-
335  String messageType = jsonMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_type];
-
336 
-
337  if (sigMatch) { // signature is valid process message
-
338  DEBUG_SINRIC("[SinricPro.handleReceiveQueue()]: Signature is valid. Processing message...\r\n");
-
339  extractTimestamp(jsonMessage);
-
340  if (messageType == FSTR_SINRICPRO_response) handleResponse(jsonMessage);
-
341  if (messageType == FSTR_SINRICPRO_request) handleRequest(jsonMessage, rawMessage->getInterface());
-
342  } else {
-
343  DEBUG_SINRIC("[SinricPro.handleReceiveQueue()]: Signature is invalid! Sending messsage to [dev/null] ;)\r\n");
-
344  }
-
345  delete rawMessage;
-
346  }
-
347 }
-
348 
-
349 void SinricProClass::handleSendQueue() {
-
350  if (!isConnected()) return;
-
351  if (!baseTimestamp) return;
-
352  while (sendQueue.size() > 0) {
-
353  DEBUG_SINRIC("[SinricPro:handleSendQueue()]: %i message(s) in sendQueue\r\n", sendQueue.size());
-
354  DEBUG_SINRIC("[SinricPro:handleSendQueue()]: Sending message...\r\n");
-
355 
-
356  SinricProMessage* rawMessage = sendQueue.front(); sendQueue.pop();
-
357 
-
358  DynamicJsonDocument jsonMessage(1024);
-
359  deserializeJson(jsonMessage, rawMessage->getMessage());
-
360  jsonMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_createdAt] = getTimestamp();
-
361  signMessage(appSecret, jsonMessage);
-
362 
-
363  String messageStr;
-
364 
-
365  serializeJson(jsonMessage, messageStr);
-
366  #ifndef NODEBUG_SINRIC
-
367  serializeJsonPretty(jsonMessage, DEBUG_ESP_PORT);
-
368  Serial.println();
-
369  #endif
-
370 
-
371  switch (rawMessage->getInterface()) {
-
372  case IF_WEBSOCKET: DEBUG_SINRIC("[SinricPro:handleSendQueue]: Sending to websocket\r\n"); _websocketListener.sendMessage(messageStr); break;
-
373  case IF_UDP: DEBUG_SINRIC("[SinricPro:handleSendQueue]: Sending to UDP\r\n");_udpListener.sendMessage(messageStr); break;
-
374  default: break;
-
375  }
-
376  delete rawMessage;
-
377  DEBUG_SINRIC("[SinricPro:handleSendQueue()]: message sent.\r\n");
-
378  }
-
379 }
-
380 
-
381 void SinricProClass::connect() {
-
382  String deviceList;
-
383  int i = 0;
-
384  for (auto& device : devices) {
-
385  String deviceId = device->getDeviceId();
-
386  if (i>0) deviceList += ';';
-
387  deviceList += device->getDeviceId();
-
388  i++;
-
389  }
-
390 
-
391  _websocketListener.begin(serverURL, appKey, deviceList, &receiveQueue);
-
392 }
-
393 
-
394 
-
395 void SinricProClass::stop() {
-
396  _begin = false;
-
397  DEBUG_SINRIC("[SinricPro:stop()\r\n");
-
398  _websocketListener.stop();
-
399 }
-
400 
-
401 bool SinricProClass::isConnected() {
-
402  return _websocketListener.isConnected();
-
403 };
-
404 
-
414 void SinricProClass::onConnected(ConnectedCallbackHandler cb) {
-
415  _websocketListener.onConnected(cb);
-
416 }
-
417 
-
427 void SinricProClass::onDisconnected(DisconnectedCallbackHandler cb) {
-
428  _websocketListener.onDisconnected(cb);
-
429 }
-
430 
-
431 void SinricProClass::onPong(std::function<void(uint32_t)> cb) {
-
432  _websocketListener.onPong(cb);
-
433 }
-
434 
-
435 
-
436 void SinricProClass::reconnect() {
-
437  DEBUG_SINRIC("SinricPro:reconnect(): disconnecting\r\n");
-
438  stop();
-
439  DEBUG_SINRIC("SinricPro:reconnect(): connecting\r\n");
-
440  connect();
-
441 }
-
442 
-
443 void SinricProClass::onConnect() {
-
444  DEBUG_SINRIC("[SinricPro]: Connected to \"%s\"!]\r\n", serverURL.c_str());
-
445 }
-
446 
-
447 void SinricProClass::onDisconnect() {
-
448  DEBUG_SINRIC("[SinricPro]: Disconnect\r\n");
-
449 }
-
450 
-
451 
-
452 void SinricProClass::extractTimestamp(JsonDocument &message) {
-
453  unsigned long tempTimestamp = 0;
-
454  // extract timestamp from timestamp message right after websocket connection is established
-
455  tempTimestamp = message["timestamp"] | 0;
-
456  if (tempTimestamp) {
-
457  baseTimestamp = tempTimestamp - (millis() / 1000);
-
458  DEBUG_SINRIC("[SinricPro:extractTimestamp(): Got Timestamp %lu\r\n", tempTimestamp);
-
459  return;
-
460  }
-
461 
-
462  // extract timestamp from request message
-
463  tempTimestamp = message[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_createdAt] | 0;
-
464  if (tempTimestamp) {
-
465  DEBUG_SINRIC("[SinricPro:extractTimestamp(): Got Timestamp %lu\r\n", tempTimestamp);
-
466  baseTimestamp = tempTimestamp - (millis() / 1000);
-
467  return;
-
468  }
-
469 }
-
470 
-
471 
-
472 void SinricProClass::sendMessage(JsonDocument& jsonMessage) {
-
473  if (!isConnected()) {
-
474  DEBUG_SINRIC("[SinricPro:sendMessage()]: device is offline, message has been dropped\r\n");
-
475  return;
-
476  }
-
477  DEBUG_SINRIC("[SinricPro:sendMessage()]: pushing message into sendQueue\r\n");
-
478  String messageString;
-
479  serializeJson(jsonMessage, messageString);
-
480  sendQueue.push(new SinricProMessage(IF_WEBSOCKET, messageString.c_str()));
-
481 }
-
482 
-
492 void SinricProClass::restoreDeviceStates(bool flag) {
-
493  _websocketListener.setRestoreDeviceStates(flag);
-
494 }
-
495 
-
512 SinricProClass::proxy SinricProClass::operator[](const String deviceId) {
-
513  return proxy(this, deviceId);
-
514 }
-
515 
-
516 void SinricProClass::setResponseMessage(String &&message) {
-
517  responseMessageStr = message;
-
518 }
-
519 
-
525 unsigned long SinricProClass::getTimestamp() {
-
526  return baseTimestamp + (millis()/1000);
-
527 }
-
528 
-
529 DynamicJsonDocument SinricProClass::prepareResponse(JsonDocument& requestMessage) {
-
530  DynamicJsonDocument responseMessage(1024);
-
531  JsonObject header = responseMessage.createNestedObject(FSTR_SINRICPRO_header);
-
532  header[FSTR_SINRICPRO_payloadVersion] = 2;
-
533  header[FSTR_SINRICPRO_signatureVersion] = 1;
-
534 
-
535  JsonObject payload = responseMessage.createNestedObject(FSTR_SINRICPRO_payload);
-
536  payload[FSTR_SINRICPRO_action] = requestMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_action];
-
537  payload[FSTR_SINRICPRO_clientId] = requestMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_clientId];
-
538  payload[FSTR_SINRICPRO_createdAt] = 0;
-
539  payload[FSTR_SINRICPRO_deviceId] = requestMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_deviceId];
-
540  if (requestMessage[FSTR_SINRICPRO_payload].containsKey(FSTR_SINRICPRO_instanceId)) payload[FSTR_SINRICPRO_instanceId] = requestMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_instanceId];
-
541  payload[FSTR_SINRICPRO_message] = FSTR_SINRICPRO_OK;
-
542  payload[FSTR_SINRICPRO_replyToken] = requestMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_replyToken];
-
543  payload[FSTR_SINRICPRO_success] = false;
-
544  payload[FSTR_SINRICPRO_type] = FSTR_SINRICPRO_response;
-
545  payload.createNestedObject(FSTR_SINRICPRO_value);
-
546  return responseMessage;
-
547 }
-
548 
-
549 
-
550 DynamicJsonDocument SinricProClass::prepareEvent(String deviceId, const char* action, const char* cause) {
-
551  DynamicJsonDocument eventMessage(1024);
-
552  JsonObject header = eventMessage.createNestedObject(FSTR_SINRICPRO_header);
-
553  header[FSTR_SINRICPRO_payloadVersion] = 2;
-
554  header[FSTR_SINRICPRO_signatureVersion] = 1;
-
555 
-
556  JsonObject payload = eventMessage.createNestedObject(FSTR_SINRICPRO_payload);
-
557  payload[FSTR_SINRICPRO_action] = action;
-
558  payload[FSTR_SINRICPRO_cause].createNestedObject(FSTR_SINRICPRO_type);
-
559  payload[FSTR_SINRICPRO_cause][FSTR_SINRICPRO_type] = cause;
-
560  payload[FSTR_SINRICPRO_createdAt] = 0;
-
561  payload[FSTR_SINRICPRO_deviceId] = deviceId;
-
562  payload[FSTR_SINRICPRO_replyToken] = MessageID().getID();
-
563  payload[FSTR_SINRICPRO_type] = FSTR_SINRICPRO_event;
-
564  payload.createNestedObject(FSTR_SINRICPRO_value);
-
565  return eventMessage;
-
566 }
-
567 
-
568 } // SINRICPRO_NAMESPACE
-
569 
-
570 SINRICPRO_NAMESPACE::SinricProClass SinricPro;
-
The main class of this library, handling communication between SinricPro Server and your devices.
Definition: SinricPro.h:45
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
std::function< void(void)> DisconnectedCallbackHandler
Callback definition for onDisconnected function.
Definition: SinricPro.h:38
-
std::function< void(void)> ConnectedCallbackHandler
Callback definition for onConnected function.
Definition: SinricPro.h:29
-
-
- - - - diff --git a/docs/docs/_sinric_pro_air_quality_sensor_8h_source.html b/docs/docs/_sinric_pro_air_quality_sensor_8h_source.html deleted file mode 100644 index cababed..0000000 --- a/docs/docs/_sinric_pro_air_quality_sensor_8h_source.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProAirQualitySensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProAirQualitySensor.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 #pragma once
-
8 
-
9 #include "SinricProDevice.h"
-
10 #include "Capabilities/SettingController.h"
-
11 #include "Capabilities/PushNotification.h"
-
12 #include "Capabilities/PowerStateController.h"
-
13 #include "Capabilities/AirQualitySensor.h"
-
14 
-
15 #include "SinricProNamespace.h"
-
16 namespace SINRICPRO_NAMESPACE {
-
17 
- -
24  public SettingController<SinricProAirQualitySensor>,
-
25  public PushNotification<SinricProAirQualitySensor>,
-
26  public PowerStateController<SinricProAirQualitySensor>,
-
27  public AirQualitySensor<SinricProAirQualitySensor> {
-
28  friend class SettingController<SinricProAirQualitySensor>;
-
29  friend class PushNotification<AirQualitySensor>;
- - -
32 public:
-
33  SinricProAirQualitySensor(const String &deviceId) : SinricProDevice(deviceId, "AIR_QUALITY_SENSOR"){};
-
34 };
-
35 
-
36 } // SINRICPRO_NAMESPACE
-
37 
-
38 using SinricProAirQualitySensor = SINRICPRO_NAMESPACE::SinricProAirQualitySensor;
-
AirQuality.
Definition: AirQualitySensor.h:19
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Device to report air quality events.
Definition: SinricProAirQualitySensor.h:27
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
-
- - - - diff --git a/docs/docs/_sinric_pro_blinds_8h_source.html b/docs/docs/_sinric_pro_blinds_8h_source.html deleted file mode 100644 index b5d11ae..0000000 --- a/docs/docs/_sinric_pro_blinds_8h_source.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProBlinds.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProBlinds.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 #pragma once
-
8 
-
9 #include "SinricProDevice.h"
-
10 #include "Capabilities/SettingController.h"
-
11 #include "Capabilities/PushNotification.h"
-
12 #include "Capabilities/RangeController.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 
-
15 #include "SinricProNamespace.h"
-
16 namespace SINRICPRO_NAMESPACE {
-
17 
- -
29  public SettingController<SinricProBlinds>,
-
30  public PushNotification<SinricProBlinds>,
-
31  public PowerStateController<SinricProBlinds>,
-
32  public RangeController<SinricProBlinds> {
-
33  friend class SettingController<SinricProBlinds>;
-
34  friend class PushNotification<SinricProBlinds>;
- -
36  friend class RangeController<SinricProBlinds>;
-
37  public:
-
38  SinricProBlinds(const String &deviceId) : SinricProDevice(deviceId, "BLIND"){}
-
39 };
-
40 
-
41 } // SINRICPRO_NAMESPACE
-
42 
-
43 using SinricProBlinds = SINRICPRO_NAMESPACE::SinricProBlinds;
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
RangeControllerFloatInt.
Definition: RangeController.h:109
-
Device to control interior blinds.
Definition: SinricProBlinds.h:32
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
-
- - - - diff --git a/docs/docs/_sinric_pro_camera_8h_source.html b/docs/docs/_sinric_pro_camera_8h_source.html deleted file mode 100644 index 88297ea..0000000 --- a/docs/docs/_sinric_pro_camera_8h_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProCamera.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProCamera.h
-
-
-
1 
-
2 /*
-
3  * Copyright (c) 2019 Sinric. All rights reserved.
-
4  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
5  *
-
6  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
7  */
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 
-
15 #include "SinricProNamespace.h"
-
16 namespace SINRICPRO_NAMESPACE {
-
17 
- -
24  public SettingController<SinricProCamera>,
-
25  public PushNotification<SinricProCamera>,
-
26  public PowerStateController<SinricProCamera> {
-
27  friend class SettingController<SinricProCamera>;
-
28  friend class PushNotification<SinricProCamera>;
- -
30  public:
-
31  SinricProCamera(const String &deviceId) : SinricProDevice(deviceId, "CAMERA") {}
-
32 };
-
33 
-
34 } // SINRICPRO_NAMESPACE
-
35 
-
36 using SinricProCamera = SINRICPRO_NAMESPACE::SinricProCamera;
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Camera suporting basic on / off command.
Definition: SinricProCamera.h:26
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
-
- - - - diff --git a/docs/docs/_sinric_pro_config_8h_source.html b/docs/docs/_sinric_pro_config_8h_source.html deleted file mode 100644 index 3f0ed26..0000000 --- a/docs/docs/_sinric_pro_config_8h_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProConfig.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProConfig.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 /*
-
10  * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
11  * !! !!
-
12  * !! WARNING: DON'T TOUCH ! !!
-
13  * !! ====================== !!
-
14  * !! PLEASE DO NOT MODIFY ANY OF THESE SETTINGS HERE !!
-
15  * !! THIS IS FOR INTERNAL CONFIGURATION ONLY !!
-
16  * !! SINRIC PRO MIGHT NOT WORK IF YOU MODIFY THIS !!
-
17  * !! !!
-
18  * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
19  */
-
20 
-
21 #pragma once
-
22 
-
23 // Server Configuration
-
24 #ifndef SINRICPRO_NOSSL
-
25 #define WEBSOCKET_SSL
-
26 #endif
-
27 
-
28 #define SINRICPRO_SERVER_URL "ws.sinric.pro"
-
29 #define SINRICPRO_SERVER_PORT 80
-
30 #define SINRICPRO_SERVER_SSL_PORT 443
-
31 
-
32 // UDP Configuration
-
33 #define UDP_MULTICAST_IP IPAddress(224,9,9,9)
-
34 #define UDP_MULTICAST_PORT 3333
-
35 
-
36 // WebSocket Configuration
-
37 #ifdef DEBUG_WIFI_ISSUE
-
38  #define WEBSOCKET_PING_INTERVAL 10000
-
39 #else
-
40  #define WEBSOCKET_PING_INTERVAL 300000
-
41 #endif
-
42 #define WEBSOCKET_PING_TIMEOUT 10000
-
43 #define WEBSOCKET_RETRY_COUNT 2
-
44 
-
45 // EventLimiter Configuration
-
46 #define EVENT_LIMIT_STATE 1000
-
47 #define EVENT_LIMIT_SENSOR_STATE EVENT_LIMIT_STATE
-
48 #define EVENT_LIMIT_SENSOR_VALUE 60000
-
-
- - - - diff --git a/docs/docs/_sinric_pro_contactsensor_8h_source.html b/docs/docs/_sinric_pro_contactsensor_8h_source.html deleted file mode 100644 index e9689c0..0000000 --- a/docs/docs/_sinric_pro_contactsensor_8h_source.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProContactsensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProContactsensor.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 #pragma once
-
8 
-
9 #include "SinricProDevice.h"
-
10 #include "Capabilities/SettingController.h"
-
11 #include "Capabilities/PushNotification.h"
-
12 #include "Capabilities/PowerStateController.h"
-
13 #include "Capabilities/ContactSensor.h"
-
14 
-
15 #include "SinricProNamespace.h"
-
16 namespace SINRICPRO_NAMESPACE {
-
17 
- -
24  public SettingController<SinricProContactsensor>,
-
25  public PushNotification<SinricProContactsensor>,
-
26  public PowerStateController<SinricProContactsensor>,
-
27  public ContactSensor<SinricProContactsensor> {
-
28  friend class SettingController<SinricProContactsensor>;
- - - -
32  public:
-
33  SinricProContactsensor(const String &deviceId) : SinricProDevice(deviceId, "CONTACT_SENSOR") {}
-
34 };
-
35 
-
36 } // SINRICPRO_NAMESPACE
-
37 
-
38 using SinricProContactsensor = SINRICPRO_NAMESPACE::SinricProContactsensor;
-
ContactSensor.
Definition: ContactSensor.h:19
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Device to report contact sensor events.
Definition: SinricProContactsensor.h:27
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
-
- - - - diff --git a/docs/docs/_sinric_pro_debug_8h_source.html b/docs/docs/_sinric_pro_debug_8h_source.html deleted file mode 100644 index cc99c77..0000000 --- a/docs/docs/_sinric_pro_debug_8h_source.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProDebug.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProDebug.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #ifndef NODEBUG_SINRIC
-
11 #ifdef DEBUG_ESP_PORT
-
12 #define DEBUG_SINRIC(...) DEBUG_ESP_PORT.printf( __VA_ARGS__ )
-
13 #else
-
14 //#define DEBUG_WEBSOCKETS(...) os_printf( __VA_ARGS__ )
-
15 #endif
-
16 #endif
-
17 
-
18 
-
19 #ifndef DEBUG_SINRIC
-
20 #define DEBUG_SINRIC(...)
-
21 #define NODEBUG_SINRIC
-
22 #endif
-
-
- - - - diff --git a/docs/docs/_sinric_pro_device_8h_source.html b/docs/docs/_sinric_pro_device_8h_source.html deleted file mode 100644 index 1bb4b04..0000000 --- a/docs/docs/_sinric_pro_device_8h_source.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProDevice.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProDevice.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProRequest.h"
-
11 #include "SinricProDeviceInterface.h"
-
12 #include <map>
-
13 
-
14 #include "SinricProNamespace.h"
-
15 namespace SINRICPRO_NAMESPACE {
-
16 
-
24 class SinricProDevice : public SinricProDeviceInterface {
-
25  friend class SinricProClass;
-
26 public:
-
27  SinricProDevice(const String &deviceId, const String &productType = "");
-
28  bool operator==(const String& other);
-
29 
-
30  virtual String getDeviceId();
-
31 protected:
-
32  virtual ~SinricProDevice();
-
33 
-
34  void registerRequestHandler(const SinricProRequestHandler &requestHandler);
-
35  unsigned long getTimestamp();
-
36  virtual bool sendEvent(JsonDocument &event);
-
37  virtual DynamicJsonDocument prepareEvent(const char *action, const char *cause);
-
38 
-
39  virtual String getProductType();
-
40  virtual void begin(SinricProInterface *eventSender);
-
41  bool handleRequest(SinricProRequest &request);
-
42 
-
43  String deviceId;
-
44  std::vector<SinricProRequestHandler> requestHandlers;
-
45 
-
46 private:
-
47  SinricProInterface *eventSender;
-
48  String productType;
-
49 };
-
50 
-
51 SinricProDevice::SinricProDevice(const String &deviceId, const String &productType) :
-
52  deviceId(deviceId),
-
53  eventSender(nullptr),
-
54  productType(productType) {
-
55 }
-
56 
-
57 SinricProDevice::~SinricProDevice() {}
-
58 
-
59 void SinricProDevice::begin(SinricProInterface* eventSender) {
-
60  this->eventSender = eventSender;
-
61 }
-
62 
-
63 String SinricProDevice::getDeviceId() {
-
64  return deviceId;
-
65 }
-
66 
-
67 bool SinricProDevice::operator==(const String &other) {
-
68  return other == deviceId;
-
69 }
-
70 
-
71 DynamicJsonDocument SinricProDevice::prepareEvent(const char* action, const char* cause) {
-
72  if (eventSender) return eventSender->prepareEvent(deviceId, action, cause);
-
73  DEBUG_SINRIC("[SinricProDevice:prepareEvent()]: Device \"%s\" isn't configured correctly! The \'%s\' event will be ignored.\r\n", deviceId.c_str(), action);
-
74  return DynamicJsonDocument(1024);
-
75 }
-
76 
-
77 
-
78 bool SinricProDevice::sendEvent(JsonDocument& event) {
-
79  if (!SinricPro.isConnected()) {
-
80  DEBUG_SINRIC("[SinricProDevice::sendEvent]: The event could not be sent. No connection to the SinricPro server.\r\n");
-
81  return false;
-
82  }
-
83 
-
84  if (eventSender) {
-
85  eventSender->sendMessage(event);
-
86  return true;
-
87  }
-
88 
-
89  return false;
-
90 }
-
91 
-
92 void SinricProDevice::registerRequestHandler(const SinricProRequestHandler &requestHandler) {
-
93  requestHandlers.push_back(requestHandler);
-
94 }
-
95 
-
96 unsigned long SinricProDevice::getTimestamp() {
-
97  if (eventSender) return eventSender->getTimestamp();
-
98  return 0;
-
99 }
-
100 
-
101 String SinricProDevice::getProductType() {
-
102  return String("sinric.device.type.")+productType;
-
103 }
-
104 
-
105 bool SinricProDevice::handleRequest(SinricProRequest &request) {
-
106  for (auto& requestHandler : requestHandlers) {
-
107  if (requestHandler(request)) return true;
-
108  }
-
109  return false;
-
110 }
-
111 
-
112 } // SINRICPRO_NAMESPACE
-
113 
-
114 using SinricProDevice = SINRICPRO_NAMESPACE::SinricProDevice;
-
The main class of this library, handling communication between SinricPro Server and your devices.
Definition: SinricPro.h:45
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
-
- - - - diff --git a/docs/docs/_sinric_pro_device_interface_8h_source.html b/docs/docs/_sinric_pro_device_interface_8h_source.html deleted file mode 100644 index 5da387a..0000000 --- a/docs/docs/_sinric_pro_device_interface_8h_source.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProDeviceInterface.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProDeviceInterface.h
-
-
-
1 #pragma once
-
2 
-
3 #include "SinricProInterface.h"
-
4 #include "SinricProRequest.h"
-
5 
-
6 #include "SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 class SinricProDeviceInterface {
-
10  friend class SinricProClass;
-
11  protected:
-
12  virtual bool handleRequest(SinricProRequest &request) = 0;
-
13  virtual String getDeviceId() = 0;
-
14  virtual String getProductType() = 0;
-
15  virtual void begin(SinricProInterface* eventSender) = 0;
-
16  virtual unsigned long getTimestamp();
-
17 };
-
18 
-
19 } // SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_sinric_pro_dim_switch_8h_source.html b/docs/docs/_sinric_pro_dim_switch_8h_source.html deleted file mode 100644 index e231432..0000000 --- a/docs/docs/_sinric_pro_dim_switch_8h_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProDimSwitch.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProDimSwitch.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 #include "Capabilities/PowerLevelController.h"
-
15 
-
16 #include "SinricProNamespace.h"
-
17 namespace SINRICPRO_NAMESPACE {
-
18 
- -
25  public SettingController<SinricProDimSwitch>,
-
26  public PushNotification<SinricProDimSwitch>,
-
27  public PowerStateController<SinricProDimSwitch>,
-
28  public PowerLevelController<SinricProDimSwitch> {
-
29  friend class SettingController<SinricProDimSwitch>;
- - - -
33  public:
-
34  SinricProDimSwitch(const String &deviceId) : SinricProDevice(deviceId, "DIMMABLE_SWITCH"){};
-
35 };
-
36 
-
37 } // SINRICPRO_NAMESPACE
-
38 
-
39 using SinricProDimSwitch = SINRICPRO_NAMESPACE::SinricProDimSwitch;
-
PowerLevelController.
Definition: PowerLevelController.h:53
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device which supports on / off and dimming commands.
Definition: SinricProDimSwitch.h:28
-
-
- - - - diff --git a/docs/docs/_sinric_pro_doorbell_8h_source.html b/docs/docs/_sinric_pro_doorbell_8h_source.html deleted file mode 100644 index a80c8c0..0000000 --- a/docs/docs/_sinric_pro_doorbell_8h_source.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProDoorbell.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProDoorbell.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 #pragma once
-
8 
-
9 #include "SinricProDevice.h"
-
10 #include "Capabilities/SettingController.h"
-
11 #include "Capabilities/PushNotification.h"
-
12 #include "Capabilities/PowerStateController.h"
-
13 #include "Capabilities/Doorbell.h"
-
14 
-
15 #include "SinricProNamespace.h"
-
16 namespace SINRICPRO_NAMESPACE {
-
17 
- -
24  public SettingController<SinricProDoorbell>,
-
25  public PushNotification<SinricProDoorbell>,
-
26  public PowerStateController<SinricProDoorbell>,
-
27  public Doorbell<SinricProDoorbell> {
-
28  friend class SettingController<SinricProDoorbell>;
-
29  friend class PushNotification<SinricProDoorbell>;
- -
31  friend class Doorbell<SinricProDoorbell>;
-
32  public:
-
33  SinricProDoorbell(const String &deviceId) : SinricProDevice(deviceId, "CONTACT_SENSOR") {}
-
34 };
-
35 
-
36 } // Namespace
-
37 
-
38 using SinricProDoorbell = SINRICPRO_NAMESPACE::SinricProDoorbell;
-
Dorbell.
Definition: Doorbell.h:18
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to report doorbell events.
Definition: SinricProDoorbell.h:27
-
-
- - - - diff --git a/docs/docs/_sinric_pro_fan_8h_source.html b/docs/docs/_sinric_pro_fan_8h_source.html deleted file mode 100644 index f1b2f4c..0000000 --- a/docs/docs/_sinric_pro_fan_8h_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProFan.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProFan.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 #include "Capabilities/PowerLevelController.h"
-
15 
-
16 #include "SinricProNamespace.h"
-
17 namespace SINRICPRO_NAMESPACE {
-
18 
- -
25  public SettingController<SinricProFan>,
-
26  public PushNotification<SinricProFan>,
-
27  public PowerStateController<SinricProFan>,
-
28  public PowerLevelController<SinricProFan> {
-
29  friend class SettingController<SinricProFan>;
-
30  friend class PushNotification<SinricProFan>;
-
31  friend class PowerStateController<SinricProFan>;
-
32  friend class PowerLevelController<SinricProFan>;
-
33  public:
-
34  SinricProFan(const String &deviceId) : SinricProDevice(deviceId, "FAN_NON-US") {}
-
35 };
-
36 
-
37 } // Namespace
-
38 
-
39 using SinricProFan = SINRICPRO_NAMESPACE::SinricProFan;
-
PowerLevelController.
Definition: PowerLevelController.h:53
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to turn on / off a fan and change it's speed by using powerlevel.
Definition: SinricProFan.h:28
-
-
- - - - diff --git a/docs/docs/_sinric_pro_fan_u_s_8h_source.html b/docs/docs/_sinric_pro_fan_u_s_8h_source.html deleted file mode 100644 index 9030dbb..0000000 --- a/docs/docs/_sinric_pro_fan_u_s_8h_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProFanUS.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProFanUS.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 #include "Capabilities/RangeController.h"
-
15 
-
16 #include "SinricProNamespace.h"
-
17 namespace SINRICPRO_NAMESPACE {
-
18 
- -
25  public SettingController<SinricProFanUS>,
-
26  public PushNotification<SinricProFanUS>,
-
27  public PowerStateController<SinricProFanUS>,
-
28  public RangeController<SinricProFanUS> {
-
29  friend class SettingController<SinricProFanUS>;
-
30  friend class PushNotification<SinricProFanUS>;
- -
32  friend class RangeController<SinricProFanUS>;
-
33  public:
-
34  SinricProFanUS(const String &deviceId) : SinricProDevice(deviceId, "FAN") {}
-
35 };
-
36 
-
37 } // Namespace
-
38 
-
39 using SinricProFanUS = SINRICPRO_NAMESPACE::SinricProFanUS;
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
RangeControllerFloatInt.
Definition: RangeController.h:109
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to control a fan with on / off commands and its speed by a range value.
Definition: SinricProFanUS.h:28
-
-
- - - - diff --git a/docs/docs/_sinric_pro_garage_door_8h_source.html b/docs/docs/_sinric_pro_garage_door_8h_source.html deleted file mode 100644 index fb7c901..0000000 --- a/docs/docs/_sinric_pro_garage_door_8h_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProGarageDoor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProGarageDoor.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/DoorController.h"
-
14 
-
15 #include "SinricProNamespace.h"
-
16 namespace SINRICPRO_NAMESPACE {
-
17 
- -
27  public SettingController<SinricProGarageDoor>,
-
28  public PushNotification<SinricProGarageDoor>,
-
29  public DoorController<SinricProGarageDoor> {
-
30  friend class SettingController<SinricProGarageDoor>;
- -
32  friend class DoorController<SinricProGarageDoor>;
-
33  public:
-
34  SinricProGarageDoor(const String &deviceId) : SinricProDevice(deviceId, "GARAGE_DOOR") {}
-
35 };
-
36 
-
37 } // Namespace
-
38 
-
39 using SinricProGarageDoor = SINRICPRO_NAMESPACE::SinricProGarageDoor;
-
DoorController - only used for GarageDoor device and cannot used as capability for a custom device!
Definition: DoorController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to control a garage door.
Definition: SinricProGarageDoor.h:29
-
-
- - - - diff --git a/docs/docs/_sinric_pro_interface_8h_source.html b/docs/docs/_sinric_pro_interface_8h_source.html deleted file mode 100644 index 7740f25..0000000 --- a/docs/docs/_sinric_pro_interface_8h_source.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProInterface.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProInterface.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "ArduinoJson.h"
-
11 #include "SinricProQueue.h"
-
12 
-
13 #include "SinricProNamespace.h"
-
14 namespace SINRICPRO_NAMESPACE {
-
15 
-
16 class SinricProInterface {
-
17  friend class SinricProDevice;
-
18  protected:
-
19  virtual void sendMessage(JsonDocument& jsonEvent);
-
20  virtual DynamicJsonDocument prepareEvent(String deviceId, const char* action, const char* cause);
-
21  virtual unsigned long getTimestamp();
-
22  virtual bool isConnected();
-
23 };
-
24 
-
25 } // SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_sinric_pro_light_8h_source.html b/docs/docs/_sinric_pro_light_8h_source.html deleted file mode 100644 index 5d4010d..0000000 --- a/docs/docs/_sinric_pro_light_8h_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProLight.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProLight.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 #pragma once
-
8 
-
9 #include "SinricProDevice.h"
-
10 #include "Capabilities/SettingController.h"
-
11 #include "Capabilities/PushNotification.h"
-
12 #include "Capabilities/PowerStateController.h"
-
13 #include "Capabilities/BrightnessController.h"
-
14 #include "Capabilities/ColorController.h"
-
15 #include "Capabilities/ColorTemperatureController.h"
-
16 
-
17 #include "SinricProNamespace.h"
-
18 namespace SINRICPRO_NAMESPACE {
-
19 
- -
32  public SettingController<SinricProLight>,
-
33  public PushNotification<SinricProLight>,
-
34  public PowerStateController<SinricProLight>,
-
35  public BrightnessController<SinricProLight>,
-
36  public ColorController<SinricProLight>,
-
37  public ColorTemperatureController<SinricProLight> {
-
38  friend class SettingController<SinricProLight>;
-
39  friend class PushNotification<SinricProLight>;
- - -
42  friend class ColorController<SinricProLight>;
- -
44  public:
-
45  SinricProLight(const String &deviceId) : SinricProDevice(deviceId, "LIGHT") {}
-
46 };
-
47 
-
48 } // SINRICPRO_NAMESPACE
-
49 
-
50 using SinricProLight = SINRICPRO_NAMESPACE::SinricProLight;
-
BrightnessController.
Definition: BrightnessController.h:50
-
ColorController.
Definition: ColorController.h:40
-
ColorTemperatureController.
Definition: ColorTemperatureController.h:66
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to control a light.
Definition: SinricProLight.h:37
-
-
- - - - diff --git a/docs/docs/_sinric_pro_lock_8h_source.html b/docs/docs/_sinric_pro_lock_8h_source.html deleted file mode 100644 index cd8d61c..0000000 --- a/docs/docs/_sinric_pro_lock_8h_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProLock.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProLock.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/LockController.h"
-
14 
-
15 #include "SinricProNamespace.h"
-
16 namespace SINRICPRO_NAMESPACE {
-
17 
- -
28  public SettingController<SinricProLock>,
-
29  public PushNotification<SinricProLock>,
-
30  public LockController<SinricProLock> {
-
31  friend class SettingController<SinricProLock>;
-
32  friend class PushNotification<SinricProLock>;
-
33  friend class LockController<SinricProLock>;
-
34  public:
-
35  SinricProLock(const String &deviceId) : SinricProDevice(deviceId, "SMARTLOCK") {}
-
36 };
-
37 
-
38 } // SINRICPRO_NAMESPACE#
-
39 
-
40 using SinricProLock = SINRICPRO_NAMESPACE::SinricProLock;
-
LockController.
Definition: LockController.h:44
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to control a smart lock.
Definition: SinricProLock.h:30
-
-
- - - - diff --git a/docs/docs/_sinric_pro_messageid_8h_source.html b/docs/docs/_sinric_pro_messageid_8h_source.html deleted file mode 100644 index 9677d89..0000000 --- a/docs/docs/_sinric_pro_messageid_8h_source.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProMessageid.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProMessageid.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProNamespace.h"
-
11 namespace SINRICPRO_NAMESPACE {
-
12 
-
13 class MessageID {
-
14 public:
-
15  MessageID();
-
16  const String& getID() { return _id; }
-
17 private:
-
18  String _id;
-
19 };
-
20 
-
21 MessageID::MessageID() {
-
22  _id = "";
-
23  for (byte i=0; i<16; i++) {
-
24  byte rnd = random(255);
-
25  if (i==4) _id += "-";
-
26  if (i==6) { _id += "-"; rnd = 0x40 | (0x0F & rnd); } // 0100xxxx to set version 4
-
27  if (i==8) { _id += "-"; rnd = 0x80 | (0x3F & rnd); } // 10xxxxxx to set reserved bits
-
28  if (i==10) _id += "-";
-
29  byte high_nibble = rnd >> 4;
-
30  byte low_nibble = rnd & 0x0f;
-
31  _id += "0123456789abcdef"[high_nibble];
-
32  _id += "0123456789abcdef"[low_nibble];
-
33  }
-
34 }
-
35 
-
36 } // SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_sinric_pro_motionsensor_8h_source.html b/docs/docs/_sinric_pro_motionsensor_8h_source.html deleted file mode 100644 index c332224..0000000 --- a/docs/docs/_sinric_pro_motionsensor_8h_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProMotionsensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProMotionsensor.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 #include "Capabilities/MotionSensor.h"
-
15 
-
16 #include "SinricProNamespace.h"
-
17 namespace SINRICPRO_NAMESPACE {
-
18 
- -
25  public SettingController<SinricProMotionsensor>,
-
26  public PushNotification<SinricProMotionsensor>,
-
27  public PowerStateController<SinricProMotionsensor>,
-
28  public MotionSensor<SinricProMotionsensor> {
-
29  friend class SettingController<SinricProMotionsensor>;
- - -
32  friend class MotionSensor<SinricProMotionsensor>;
-
33  public:
-
34  SinricProMotionsensor(const String &deviceId) : SinricProDevice(deviceId, "MOTION_SENSOR") {}
-
35 };
-
36 
-
37 } // SINRICPRO_NAMESPACE
-
38 
-
39 using SinricProMotionsensor = SINRICPRO_NAMESPACE::SinricProMotionsensor;
-
MotionSensor.
Definition: MotionSensor.h:19
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to report motion detection events.
Definition: SinricProMotionsensor.h:28
-
-
- - - - diff --git a/docs/docs/_sinric_pro_namespace_8h_source.html b/docs/docs/_sinric_pro_namespace_8h_source.html deleted file mode 100644 index dee7115..0000000 --- a/docs/docs/_sinric_pro_namespace_8h_source.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProNamespace.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProNamespace.h
-
-
-
1 #pragma once
-
2 
-
3 #include "SinricProVersion.h"
-
4 
-
5 #define DO_CONCATE(A, B, C, D) A ## _ ## B ## _ ## C ## _ ## D
-
6 #define CONCATE(A, B, C, D) DO_CONCATE(A, B, C, D)
-
7 
-
8 #define SINRICPRO_NAMESPACE CONCATE(SINRICPRO, SINRICPRO_VERSION_MAJOR, SINRICPRO_VERSION_MINOR, SINRICPRO_VERSION_REVISION)
-
9 #define NAMESPACE_STR STR(SINRICPRO_NAMESPACE)
-
10 
-
11 
-
16 namespace SINRICPRO_NAMESPACE {}
-
-
- - - - diff --git a/docs/docs/_sinric_pro_power_sensor_8h_source.html b/docs/docs/_sinric_pro_power_sensor_8h_source.html deleted file mode 100644 index f45b361..0000000 --- a/docs/docs/_sinric_pro_power_sensor_8h_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProPowerSensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProPowerSensor.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerSensor.h"
-
14 #include "Capabilities/PowerStateController.h"
-
15 
-
16 #include "SinricProNamespace.h"
-
17 namespace SINRICPRO_NAMESPACE {
-
18 
- -
25  public SettingController<SinricProPowerSensor>,
-
26  public PushNotification<SinricProPowerSensor>,
-
27  public PowerSensor<SinricProPowerSensor>,
-
28  public PowerStateController<SinricProPowerSensor> {
-
29  friend class SettingController<SinricProPowerSensor>;
- -
31  friend class PowerSensor<SinricProPowerSensor>;
- -
33  public:
-
34  SinricProPowerSensor(const String &deviceId) : SinricProDevice(deviceId, "POWER_SENSOR") {}
-
35 };
-
36 
-
37 } // SINRICPRO_NAMESPACE
-
38 
-
39 using SinricProPowerSensor = SINRICPRO_NAMESPACE::SinricProPowerSensor;
-
PowerSensor.
Definition: PowerSensor.h:24
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to report power usage.
Definition: SinricProPowerSensor.h:28
-
-
- - - - diff --git a/docs/docs/_sinric_pro_queue_8h_source.html b/docs/docs/_sinric_pro_queue_8h_source.html deleted file mode 100644 index 932ff5d..0000000 --- a/docs/docs/_sinric_pro_queue_8h_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProQueue.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProQueue.h
-
-
-
1 /*
-
2  * Copyright (c) 2021 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include <queue>
-
11 
-
12 #include "SinricProNamespace.h"
-
13 namespace SINRICPRO_NAMESPACE {
-
14 
-
15 typedef enum {
-
16  IF_UNKNOWN = 0,
-
17  IF_WEBSOCKET = 1,
-
18  IF_UDP = 2
-
19 } interface_t;
-
20 
-
21 class SinricProMessage {
-
22 public:
-
23  SinricProMessage(interface_t interface, const char* message);
-
24  ~SinricProMessage();
-
25  const char* getMessage() const;
-
26  interface_t getInterface() const;
-
27 private:
-
28  interface_t _interface;
-
29  char* _message;
-
30 };
-
31 
-
32 SinricProMessage::SinricProMessage(interface_t interface, const char* message) :
-
33  _interface(interface) {
-
34  _message = strdup(message);
-
35 };
-
36 
-
37 SinricProMessage::~SinricProMessage() {
-
38  if (_message) free(_message);
-
39 };
-
40 
-
41 const char* SinricProMessage::getMessage() const {
-
42  return _message;
-
43 };
-
44 
-
45 interface_t SinricProMessage::getInterface() const {
-
46  return _interface;
-
47 };
-
48 
-
49 
-
50 typedef std::queue<SinricProMessage*> SinricProQueue_t;
-
51 
-
52 } // SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_sinric_pro_request_8h_source.html b/docs/docs/_sinric_pro_request_8h_source.html deleted file mode 100644 index ac0bfcc..0000000 --- a/docs/docs/_sinric_pro_request_8h_source.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProRequest.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProRequest.h
-
-
-
1 #pragma once
-
2 
-
3 #include <WString.h>
-
4 #include <ArduinoJson.h>
-
5 #include <functional>
-
6 
-
7 #include "SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 struct SinricProRequest {
-
11  const String &action;
-
12  const String &instance;
-
13  JsonObject &request_value;
-
14  JsonObject &response_value;
-
15 };
-
16 
-
17 using SinricProRequestHandler = std::function<bool(SinricProRequest&)>;
-
18 
-
19 } // SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_sinric_pro_signature_8h_source.html b/docs/docs/_sinric_pro_signature_8h_source.html deleted file mode 100644 index d6fe80d..0000000 --- a/docs/docs/_sinric_pro_signature_8h_source.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProSignature.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProSignature.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProNamespace.h"
-
11 namespace SINRICPRO_NAMESPACE {
-
12 
-
13 String HMACbase64(const String &message, const String &key);
-
14 String extractPayload(const char *message);
-
15 String calculateSignature(const char* key, String payload);
-
16 String signMessage(String key, JsonDocument &jsonMessage);
-
17 
-
18 } // SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_sinric_pro_speaker_8h_source.html b/docs/docs/_sinric_pro_speaker_8h_source.html deleted file mode 100644 index cec7390..0000000 --- a/docs/docs/_sinric_pro_speaker_8h_source.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProSpeaker.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProSpeaker.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 #include "Capabilities/MuteController.h"
-
15 #include "Capabilities/VolumeController.h"
-
16 #include "Capabilities/MediaController.h"
-
17 #include "Capabilities/InputController.h"
-
18 #include "Capabilities/EqualizerController.h"
-
19 #include "Capabilities/ModeController.h"
-
20 
-
21 #include "SinricProNamespace.h"
-
22 namespace SINRICPRO_NAMESPACE {
-
23 
- -
45  public SettingController<SinricProSpeaker>,
-
46  public PushNotification<SinricProSpeaker>,
-
47  public PowerStateController<SinricProSpeaker>,
-
48  public MuteController<SinricProSpeaker>,
-
49  public VolumeController<SinricProSpeaker>,
-
50  public MediaController<SinricProSpeaker>,
-
51  public InputController<SinricProSpeaker>,
-
52  public EqualizerController<SinricProSpeaker>,
-
53  public ModeController<SinricProSpeaker> {
-
54  friend class SettingController<SinricProSpeaker>;
-
55  friend class PushNotification<SinricProSpeaker>;
- -
57  friend class MuteController<SinricProSpeaker>;
-
58  friend class VolumeController<SinricProSpeaker>;
-
59  friend class MediaController<SinricProSpeaker>;
-
60  friend class InputController<SinricProSpeaker>;
- -
62  friend class ModeController<SinricProSpeaker>;
-
63 public:
-
64  SinricProSpeaker(const String &deviceId) : SinricProDevice(deviceId, "SPEAKER") {}
-
65 };
-
66 
-
67 } // SINRICPRO_NAMESPACE
-
68 
-
69 using SinricProSpeaker = SINRICPRO_NAMESPACE::SinricProSpeaker;
-
EqualizerController.
Definition: EqualizerController.h:79
-
InputController.
Definition: InputController.h:35
-
MediaController.
Definition: MediaController.h:35
-
ModeController.
Definition: ModeController.h:53
-
MuteController.
Definition: MuteController.h:35
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to control a smart speaker.
Definition: SinricProSpeaker.h:53
-
VolumeController.
Definition: VolumeController.h:54
-
-
- - - - diff --git a/docs/docs/_sinric_pro_strings_8h_source.html b/docs/docs/_sinric_pro_strings_8h_source.html deleted file mode 100644 index 87df721..0000000 --- a/docs/docs/_sinric_pro_strings_8h_source.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProStrings.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProStrings.h
-
-
-
1 #pragma once
-
2 
-
3 #include "SinricProNamespace.h"
-
4 namespace SINRICPRO_NAMESPACE {
-
5 
-
14 #define FSTR(x, y) const char* FSTR_ ##x ##_ ##y PROGMEM = #y
-
15 
-
16 FSTR(SINRICPRO, instanceId); // "instanceId"
-
17 FSTR(SINRICPRO, message); // "message"
-
18 FSTR(SINRICPRO, success); // "success"
-
19 FSTR(SINRICPRO, response); // "response"
-
20 FSTR(SINRICPRO, header); // "header"
-
21 FSTR(SINRICPRO, payloadVersion); // "payloadVersion"
-
22 FSTR(SINRICPRO, signatureVersion); // "signatureVersion"
-
23 FSTR(SINRICPRO, payload); // "payload"
-
24 FSTR(SINRICPRO, action); // "action"
-
25 FSTR(SINRICPRO, cause); // "cause"
-
26 FSTR(SINRICPRO, type); // "type"
-
27 FSTR(SINRICPRO, createdAt); // "createdAt"
-
28 FSTR(SINRICPRO, deviceId); // "deviceId"
-
29 FSTR(SINRICPRO, replyToken); // "replyToken"
-
30 FSTR(SINRICPRO, event); // "event"
-
31 FSTR(SINRICPRO, value); // "value"
-
32 FSTR(SINRICPRO, clientId); // "clientId"
-
33 FSTR(SINRICPRO, request); // "request"
-
34 FSTR(SINRICPRO, signature); // "signature"
-
35 FSTR(SINRICPRO, HMAC); // "HMAC"
-
36 FSTR(SINRICPRO, timestamp); // "timestamp"
-
37 FSTR(SINRICPRO, PERIODIC_POLL); // "PERIODIC_POLL"
-
38 FSTR(SINRICPRO, PHYSICAL_INTERACTION); // "PHYSICAL_INTERACTION"
-
39 FSTR(SINRICPRO, ALERT); // "ALERT"
-
40 FSTR(SINRICPRO, OK); // "OK"
-
41 
-
42 } // SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_sinric_pro_switch_8h_source.html b/docs/docs/_sinric_pro_switch_8h_source.html deleted file mode 100644 index 2a1fe25..0000000 --- a/docs/docs/_sinric_pro_switch_8h_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProSwitch.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProSwitch.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 
-
15 #include "SinricProNamespace.h"
-
16 namespace SINRICPRO_NAMESPACE {
-
17 
- -
24  public SettingController<SinricProSwitch>,
-
25  public PushNotification<SinricProSwitch>,
-
26  public PowerStateController<SinricProSwitch> {
-
27  friend class SettingController<SinricProSwitch>;
-
28  friend class PushNotification<SinricProSwitch>;
- -
30  public:
-
31  SinricProSwitch(const String &deviceId) : SinricProDevice(deviceId, "SWITCH") {};
-
32 };
-
33 
-
34 } // SINRICPRO_NAMESPACE
-
35 
-
36 using SinricProSwitch = SINRICPRO_NAMESPACE::SinricProSwitch;
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device suporting basic on / off command.
Definition: SinricProSwitch.h:26
-
-
- - - - diff --git a/docs/docs/_sinric_pro_t_v_8h_source.html b/docs/docs/_sinric_pro_t_v_8h_source.html deleted file mode 100644 index 34f36b5..0000000 --- a/docs/docs/_sinric_pro_t_v_8h_source.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProTV.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProTV.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 #include "Capabilities/VolumeController.h"
-
15 #include "Capabilities/MuteController.h"
-
16 #include "Capabilities/MediaController.h"
-
17 #include "Capabilities/InputController.h"
-
18 #include "Capabilities/ChannelController.h"
-
19 
-
20 #include "SinricProNamespace.h"
-
21 namespace SINRICPRO_NAMESPACE {
-
22 
- -
40  public SettingController<SinricProTV>,
-
41  public PushNotification<SinricProTV>,
-
42  public PowerStateController<SinricProTV>,
-
43  public VolumeController<SinricProTV>,
-
44  public MuteController<SinricProTV>,
-
45  public MediaController<SinricProTV>,
-
46  public InputController<SinricProTV>,
-
47  public ChannelController<SinricProTV> {
-
48  friend class SettingController<SinricProTV>;
-
49  friend class PushNotification<SinricProTV>;
-
50  friend class PowerStateController<SinricProTV>;
-
51  friend class VolumeController<SinricProTV>;
-
52  friend class MuteController<SinricProTV>;
-
53  friend class MediaController<SinricProTV>;
-
54  friend class InputController<SinricProTV>;
-
55  friend class ChannelController<SinricProTV>;
-
56  public:
-
57  SinricProTV(const String &deviceId) : SinricProDevice(deviceId, "TV") {}
-
58 };
-
59 
-
60 } // SINRICPRO_NAMESPACE
-
61 
-
62 using SinricProTV = SINRICPRO_NAMESPACE::SinricProTV;
-
ChannelController.
Definition: ChannelController.h:70
-
InputController.
Definition: InputController.h:35
-
MediaController.
Definition: MediaController.h:35
-
MuteController.
Definition: MuteController.h:35
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to control a TV.
Definition: SinricProTV.h:47
-
VolumeController.
Definition: VolumeController.h:54
-
-
- - - - diff --git a/docs/docs/_sinric_pro_temperaturesensor_8h_source.html b/docs/docs/_sinric_pro_temperaturesensor_8h_source.html deleted file mode 100644 index c4711d0..0000000 --- a/docs/docs/_sinric_pro_temperaturesensor_8h_source.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProTemperaturesensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProTemperaturesensor.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 #include "Capabilities/TemperatureSensor.h"
-
15 
-
16 #include "SinricProNamespace.h"
-
17 namespace SINRICPRO_NAMESPACE {
-
18 
- -
25  public SettingController<SinricProTemperaturesensor>,
-
26  public PushNotification<SinricProTemperaturesensor>,
-
27  public PowerStateController<SinricProTemperaturesensor>,
-
28  public TemperatureSensor<SinricProTemperaturesensor> {
-
29  friend class SettingController<SinricProTemperaturesensor>;
- - - -
33  public:
-
34  SinricProTemperaturesensor(const String &deviceId) : SinricProDevice(deviceId, "TEMPERATURESENSOR") {}
-
35 };
-
36 
-
37 } // SINRICPRO_NAMESPACE
-
38 
-
39 using SinricProTemperaturesensor = SINRICPRO_NAMESPACE::SinricProTemperaturesensor;
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to report actual temperature and humidity.
Definition: SinricProTemperaturesensor.h:28
-
TemperatureSensor.
Definition: TemperatureSensor.h:18
-
-
- - - - diff --git a/docs/docs/_sinric_pro_thermostat_8h_source.html b/docs/docs/_sinric_pro_thermostat_8h_source.html deleted file mode 100644 index 33cdf7f..0000000 --- a/docs/docs/_sinric_pro_thermostat_8h_source.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProThermostat.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProThermostat.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #include "SinricProDevice.h"
-
11 #include "Capabilities/SettingController.h"
-
12 #include "Capabilities/PushNotification.h"
-
13 #include "Capabilities/PowerStateController.h"
-
14 #include "Capabilities/ThermostatController.h"
-
15 #include "Capabilities/TemperatureSensor.h"
-
16 
-
17 #include "SinricProNamespace.h"
-
18 namespace SINRICPRO_NAMESPACE {
-
19 
- -
32  public SettingController<SinricProThermostat>,
-
33  public PushNotification<SinricProThermostat>,
-
34  public PowerStateController<SinricProThermostat>,
-
35  public ThermostatController<SinricProThermostat>,
-
36  public TemperatureSensor<SinricProThermostat> {
-
37  friend class SettingController<SinricProThermostat>;
- - - - -
42  public:
-
43  SinricProThermostat(const String &deviceId) : SinricProDevice(deviceId, "THERMOSTAT") {}
-
44 };
-
45 
-
46 } // SINRICPRO_NAMESPACE
-
47 
-
48 using SinricProThermostat = SINRICPRO_NAMESPACE::SinricProThermostat;
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to control Thermostat.
Definition: SinricProThermostat.h:36
-
TemperatureSensor.
Definition: TemperatureSensor.h:18
-
ThermostatController.
Definition: ThermostatController.h:70
-
-
- - - - diff --git a/docs/docs/_sinric_pro_u_d_p_8h_source.html b/docs/docs/_sinric_pro_u_d_p_8h_source.html deleted file mode 100644 index 8ccb143..0000000 --- a/docs/docs/_sinric_pro_u_d_p_8h_source.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProUDP.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProUDP.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #if defined ESP8266
-
11  #include <ESP8266WiFi.h>
-
12 #endif
-
13 #if defined ESP32
-
14  #include <WiFi.h>
-
15 #endif
-
16 
-
17 #include <WiFiUdp.h>
-
18 #include "SinricProQueue.h"
-
19 
-
20 #include "SinricProNamespace.h"
-
21 namespace SINRICPRO_NAMESPACE {
-
22 
-
23 class UdpListener {
-
24  public:
-
25  void begin(SinricProQueue_t* receiveQueue);
-
26  void handle();
-
27  void sendMessage(String &message);
-
28  void stop();
-
29 
-
30  private:
-
31  WiFiUDP _udp;
-
32  SinricProQueue_t* receiveQueue;
-
33 };
-
34 
-
35 void UdpListener::begin(SinricProQueue_t* receiveQueue) {
-
36  this->receiveQueue = receiveQueue;
-
37  #if defined ESP8266
-
38  _udp.beginMulticast(WiFi.localIP(), UDP_MULTICAST_IP, UDP_MULTICAST_PORT);
-
39  #endif
-
40  #if defined ESP32
-
41  _udp.beginMulticast(UDP_MULTICAST_IP, UDP_MULTICAST_PORT);
-
42  #endif
-
43 }
-
44 
-
45 void UdpListener::handle() {
-
46  int len = _udp.parsePacket();
-
47  if (!len) return;
-
48 
-
49  if (len) {
-
50  char* buf = (char*) malloc(len+1);
-
51  memset(buf, 0, len+1);
-
52  _udp.read(buf, len);
-
53  SinricProMessage* request = new SinricProMessage(IF_UDP, buf);
-
54  DEBUG_SINRIC("[SinricPro:UDP]: receiving request\r\n%s\r\n", buf);
-
55  free(buf);
-
56  receiveQueue->push(request);
-
57  }
-
58 }
-
59 
-
60 void UdpListener::sendMessage(String &message) {
-
61  _udp.beginPacket(_udp.remoteIP(), _udp.remotePort());
-
62  _udp.print(message);
-
63  _udp.endPacket();
-
64  // restart UDP??
-
65  #if defined ESP8266
-
66  _udp.beginMulticast(WiFi.localIP(), UDP_MULTICAST_IP, UDP_MULTICAST_PORT);
-
67  #endif
-
68  #if defined ESP32
-
69  _udp.beginMulticast(UDP_MULTICAST_IP, UDP_MULTICAST_PORT);
-
70  #endif
-
71 }
-
72 
-
73 void UdpListener::stop() {
-
74  _udp.stop();
-
75 }
-
76 
-
77 } // SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_sinric_pro_version_8h_source.html b/docs/docs/_sinric_pro_version_8h_source.html deleted file mode 100644 index ccd0d2d..0000000 --- a/docs/docs/_sinric_pro_version_8h_source.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProVersion.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProVersion.h
-
-
-
1 #pragma once
-
2 
-
3 #define STR_HELPER(x) #x
-
4 #define STR(x) STR_HELPER(x)
-
5 
-
6 // Version Configuration
-
7 #define SINRICPRO_VERSION_MAJOR 2
-
8 #define SINRICPRO_VERSION_MINOR 9
-
9 #define SINRICPRO_VERSION_REVISION 17
-
10 #define SINRICPRO_VERSION STR(SINRICPRO_VERSION_MAJOR) "." STR(SINRICPRO_VERSION_MINOR) "." STR(SINRICPRO_VERSION_REVISION)
-
11 #define SINRICPRO_VERSION_STR "SinricPro (v" SINRICPRO_VERSION ")"
-
12 #define SINRICPRO_VERISON_INT SINRICPRO_VERSION_MAJOR * 1000000 + SINRICPRO_VERSION_MINOR * 1000 + SINRICPRO_VERSION_REVISION
-
-
- - - - diff --git a/docs/docs/_sinric_pro_websocket_8h_source.html b/docs/docs/_sinric_pro_websocket_8h_source.html deleted file mode 100644 index fe03e7a..0000000 --- a/docs/docs/_sinric_pro_websocket_8h_source.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProWebsocket.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProWebsocket.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 
-
8 #pragma once
-
9 
-
10 #if defined ESP8266
-
11 #include <ESP8266WiFi.h>
-
12 #endif
-
13 #if defined ESP32
-
14 #include <WiFi.h>
-
15 #endif
-
16 
-
17 #include <ArduinoJson.h>
-
18 #include <WebSocketsClient.h>
-
19 
-
20 #include "SinricProConfig.h"
-
21 #include "SinricProDebug.h"
-
22 #include "SinricProInterface.h"
-
23 #include "SinricProNamespace.h"
-
24 #include "SinricProQueue.h"
-
25 namespace SINRICPRO_NAMESPACE {
-
26 
-
27 #if !defined(WEBSOCKETS_VERSION_INT) || (WEBSOCKETS_VERSION_INT < 2003005)
-
28 #error "Wrong WebSockets Version! Minimum Version is 2.3.5!!!"
-
29 #endif
-
30 
-
31 using wsConnectedCallback = std::function<void(void)>;
-
32 using wsDisconnectedCallback = std::function<void(void)>;
-
33 using wsPongCallback = std::function<void(uint32_t)>;
-
34 
-
35 class WebsocketListener : protected WebSocketsClient {
-
36  public:
-
37  WebsocketListener();
-
38  ~WebsocketListener();
-
39 
-
40  void begin(String server, String appKey, String deviceIds, SinricProQueue_t* receiveQueue);
-
41  void handle();
-
42  void stop();
-
43  void setRestoreDeviceStates(bool flag);
-
44 
-
45  void sendMessage(String& message);
-
46 
-
47  void onConnected(wsConnectedCallback callback);
-
48  void onDisconnected(wsDisconnectedCallback callback);
-
49  void onPong(wsPongCallback callback);
-
50 
-
51  using WebSocketsClient::disconnect;
-
52  using WebSocketsClient::isConnected;
-
53 
-
54  protected:
-
55  bool _begin;
-
56  bool restoreDeviceStates;
-
57 
-
58  wsConnectedCallback _wsConnectedCb;
-
59  wsDisconnectedCallback _wsDisconnectedCb;
-
60  wsPongCallback _wsPongCb;
-
61 
-
62  virtual void runCbEvent(WStype_t type, uint8_t* payload, size_t length) override;
-
63 
-
64  void setExtraHeaders();
-
65  SinricProQueue_t* receiveQueue;
-
66  String deviceIds;
-
67  String appKey;
-
68 };
-
69 
-
70 WebsocketListener::WebsocketListener()
-
71  : _begin(false)
-
72  , restoreDeviceStates(false)
-
73  , _wsConnectedCb(nullptr)
-
74  , _wsDisconnectedCb(nullptr)
-
75  , _wsPongCb(nullptr) {}
-
76 
-
77 WebsocketListener::~WebsocketListener() {
-
78  stop();
-
79 }
-
80 
-
81 void WebsocketListener::setExtraHeaders() {
-
82 #ifdef ESP8266
-
83  const char* platform = "ESP8266";
-
84 #endif
-
85 #ifdef ESP32
-
86  const char* platform = "ESP32";
-
87 #endif
-
88 
-
89  String headers = "appkey:" + appKey;
-
90  headers += "\r\ndeviceids:" + deviceIds;
-
91  headers += "\r\nrestoredevicestates:" + String(restoreDeviceStates ? "true" : "false");
-
92  headers += "\r\nip:" + WiFi.localIP().toString();
-
93  headers += "\r\nmac:" + WiFi.macAddress();
-
94  headers += "\r\nplatform:" + String(platform);
-
95  headers += "\r\nSDKVersion:" + String(SINRICPRO_VERSION);
-
96 
-
97 #ifdef FIRMWARE_VERSION
-
98  headers += "\r\nfirmwareVersion:" + String(FIRMWARE_VERSION);
-
99 #endif
-
100 
-
101  DEBUG_SINRIC("[SinricPro:Websocket]: headers: \r\n%s\r\n", headers.c_str());
-
102  WebSocketsClient::setExtraHeaders(headers.c_str());
-
103 }
-
104 
-
105 void WebsocketListener::begin(String server, String appKey, String deviceIds, SinricProQueue_t* receiveQueue) {
-
106  if (_begin) return;
-
107  _begin = true;
-
108 
-
109  this->receiveQueue = receiveQueue;
-
110  this->appKey = appKey;
-
111  this->deviceIds = deviceIds;
-
112 
-
113 #ifdef WEBSOCKET_SSL
-
114  DEBUG_SINRIC("[SinricPro:Websocket]: Connecting to WebSocket Server using SSL (%s)\r\n", server.c_str());
-
115 #else
-
116  DEBUG_SINRIC("[SinricPro:Websocket]: Connecting to WebSocket Server (%s)\r\n", server.c_str());
-
117 #endif
-
118 
-
119  if (isConnected()) stop();
-
120  setExtraHeaders();
-
121  enableHeartbeat(WEBSOCKET_PING_INTERVAL, WEBSOCKET_PING_TIMEOUT, WEBSOCKET_RETRY_COUNT);
-
122 #ifdef WEBSOCKET_SSL
-
123  WebSocketsClient::beginSSL(server.c_str(), SINRICPRO_SERVER_SSL_PORT, "/");
-
124 #else
-
125  WebSocketsClient::begin(server.c_str(), SINRICPRO_SERVER_PORT, "/"); // server address, port and URL
-
126 #endif
-
127 }
-
128 
-
129 void WebsocketListener::handle() {
-
130  loop();
-
131 }
-
132 
-
133 void WebsocketListener::stop() {
-
134  disconnect();
-
135  _begin = false;
-
136 }
-
137 
-
138 void WebsocketListener::setRestoreDeviceStates(bool flag) {
-
139  this->restoreDeviceStates = flag;
-
140 };
-
141 
-
142 void WebsocketListener::sendMessage(String& message) {
-
143  sendTXT(message);
-
144 }
-
145 
-
146 void WebsocketListener::onConnected(wsConnectedCallback callback) {
-
147  _wsConnectedCb = callback;
-
148 }
-
149 
-
150 void WebsocketListener::onDisconnected(wsDisconnectedCallback callback) {
-
151  _wsDisconnectedCb = callback;
-
152 }
-
153 
-
154 void WebsocketListener::onPong(wsPongCallback callback) {
-
155  _wsPongCb = callback;
-
156 }
-
157 
-
158 void WebsocketListener::runCbEvent(WStype_t type, uint8_t* payload, size_t length) {
-
159  (void)length;
-
160 
-
161  switch (type) {
-
162  case WStype_DISCONNECTED: {
-
163  DEBUG_SINRIC("[SinricPro:Websocket]: disconnected\r\n");
-
164  if (_wsDisconnectedCb) _wsDisconnectedCb();
-
165  }
-
166  break;
-
167 
-
168  case WStype_CONNECTED:
-
169  DEBUG_SINRIC("[SinricPro:Websocket]: connected\r\n");
-
170  if (_wsConnectedCb) _wsConnectedCb();
-
171  if (restoreDeviceStates) {
-
172  restoreDeviceStates = false;
-
173  setExtraHeaders();
-
174  }
-
175  break;
-
176 
-
177  case WStype_TEXT: {
-
178  SinricProMessage* request = new SinricProMessage(IF_WEBSOCKET, (char*)payload);
-
179  DEBUG_SINRIC("[SinricPro:Websocket]: receiving data\r\n");
-
180  receiveQueue->push(request);
-
181  break;
-
182  }
-
183 
-
184  case WStype_PONG: {
-
185  if (_wsPongCb) _wsPongCb(millis() - _client.lastPing);
-
186  break;
-
187  }
-
188 
-
189  default:
-
190  break;
-
191  }
-
192 }
-
193 
-
194 } // namespace SINRICPRO_NAMESPACE
-
-
- - - - diff --git a/docs/docs/_sinric_pro_window_a_c_8h_source.html b/docs/docs/_sinric_pro_window_a_c_8h_source.html deleted file mode 100644 index 060c467..0000000 --- a/docs/docs/_sinric_pro_window_a_c_8h_source.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - -SinricPro Library: src/SinricProWindowAC.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProWindowAC.h
-
-
-
1 /*
-
2  * Copyright (c) 2019 Sinric. All rights reserved.
-
3  * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)
-
4  *
-
5  * This file is part of the Sinric Pro (https://github.com/sinricpro/)
-
6  */
-
7 #pragma once
-
8 
-
9 #include "SinricProDevice.h"
-
10 #include "Capabilities/SettingController.h"
-
11 #include "Capabilities/PushNotification.h"
-
12 #include "Capabilities/PowerStateController.h"
-
13 #include "Capabilities/RangeController.h"
-
14 #include "Capabilities/ThermostatController.h"
-
15 
-
16 #include "SinricProNamespace.h"
-
17 namespace SINRICPRO_NAMESPACE {
-
18 
- -
33  public SettingController<SinricProWindowAC>,
-
34  public PushNotification<SinricProWindowAC>,
-
35  public PowerStateController<SinricProWindowAC>,
-
36  public RangeController<SinricProWindowAC>,
-
37  public ThermostatController<SinricProWindowAC> {
-
38  friend class SettingController<SinricProWindowAC>;
-
39  friend class PushNotification<SinricProWindowAC>;
- -
41  friend class RangeController<SinricProWindowAC>;
- -
43  public:
-
44  SinricProWindowAC(const String &deviceId) : SinricProDevice(deviceId, "AC_UNIT") {}
-
45 };
-
46 
-
47 } // SINRICPRO_NAMESPACE
-
48 
-
49 using SinricProWindowAC = SINRICPRO_NAMESPACE::SinricProWindowAC;
-
PowerStateController.
Definition: PowerStateController.h:36
-
PushNotification.
Definition: PushNotification.h:17
-
RangeControllerFloatInt.
Definition: RangeController.h:109
-
Base class for all device types.
Definition: SinricProDevice.h:24
-
Device to control Window Air Conditioner.
Definition: SinricProWindowAC.h:37
-
ThermostatController.
Definition: ThermostatController.h:70
-
-
- - - - diff --git a/docs/docs/_temperature_sensor_8h_source.html b/docs/docs/_temperature_sensor_8h_source.html deleted file mode 100644 index ee2c462..0000000 --- a/docs/docs/_temperature_sensor_8h_source.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/TemperatureSensor.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
TemperatureSensor.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../EventLimiter.h"
-
4 #include "../SinricProStrings.h"
-
5 
-
6 #include "../SinricProNamespace.h"
-
7 namespace SINRICPRO_NAMESPACE {
-
8 
-
9 FSTR(TEMPERATURE, currentTemperature); // "currentTemperature"
-
10 FSTR(TEMPERATURE, humidity); // "humidity"
-
11 FSTR(TEMPERATURE, temperature); // "temperature"
-
12 
-
17 template <typename T>
- -
19  public:
- -
21  bool sendTemperatureEvent(float temperature, float humidity = -1, String cause = FSTR_SINRICPRO_PERIODIC_POLL);
-
22  private:
-
23  EventLimiter event_limiter;
-
24 };
-
25 
-
26 template <typename T>
- -
28 : event_limiter(EVENT_LIMIT_SENSOR_VALUE) {}
-
29 
-
40 template <typename T>
-
41 bool TemperatureSensor<T>::sendTemperatureEvent(float temperature, float humidity, String cause) {
-
42  if (event_limiter) return false;
-
43  T* device = static_cast<T*>(this);
-
44 
-
45  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_TEMPERATURE_currentTemperature, cause.c_str());
-
46  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
47  event_value[FSTR_TEMPERATURE_humidity] = roundf(humidity * 100) / 100.0;
-
48  event_value[FSTR_TEMPERATURE_temperature] = roundf(temperature * 10) / 10.0;
-
49  return device->sendEvent(eventMessage);
-
50 }
-
51 
-
52 } // SINRICPRO_NAMESPACE
-
53 
-
54 template <typename T>
-
55 using TemperatureSensor = SINRICPRO_NAMESPACE::TemperatureSensor<T>;
-
TemperatureSensor.
Definition: TemperatureSensor.h:18
-
bool sendTemperatureEvent(float temperature, float humidity=-1, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
Send currentTemperature event to report actual temperature (measured by a sensor)
Definition: TemperatureSensor.h:41
-
-
- - - - diff --git a/docs/docs/_thermostat_controller_8h_source.html b/docs/docs/_thermostat_controller_8h_source.html deleted file mode 100644 index b45f2d8..0000000 --- a/docs/docs/_thermostat_controller_8h_source.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/ThermostatController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ThermostatController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(THERMOSTAT, setThermostatMode); // "setThermostatMode"
-
11 FSTR(THERMOSTAT, thermostatMode); // "thermostatMode"
-
12 FSTR(THERMOSTAT, targetTemperature); // "targetTemperature"
-
13 FSTR(THERMOSTAT, temperature); // "temperature"
-
14 FSTR(THERMOSTAT, adjustTargetTemperature); // "adjustTargetTemperature"
-
15 
-
30 using ThermostatModeCallback = std::function<bool(const String &, String &)>;
-
31 
-
46 using SetTargetTemperatureCallback = std::function<bool(const String &, float &)>;
-
47 
-
62 using AdjustTargetTemperatureCallback = std::function<bool(const String &, float &)>;
-
63 
-
64 
-
69 template <typename T>
- -
71  public:
- -
73 
- - - -
77 
-
78  bool sendThermostatModeEvent(String thermostatMode, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
79  bool sendTargetTemperatureEvent(float temperature, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
80 
-
81  protected:
-
82  bool handleThermostatController(SinricProRequest &request);
-
83 
-
84  private:
-
85  EventLimiter event_limiter_thermostatMode;
-
86  EventLimiter event_limiter_targetTemperature;
-
87  ThermostatModeCallback thermostatModeCallback;
-
88  SetTargetTemperatureCallback targetTemperatureCallback;
-
89  AdjustTargetTemperatureCallback adjustTargetTemperatureCallback;
-
90 };
-
91 
-
92 template <typename T>
- -
94 : event_limiter_thermostatMode(EVENT_LIMIT_STATE)
-
95 , event_limiter_targetTemperature(EVENT_LIMIT_STATE) {
-
96  T* device = static_cast<T*>(this);
-
97  device->registerRequestHandler(std::bind(&ThermostatController<T>::handleThermostatController, this, std::placeholders::_1));
-
98 }
-
99 
-
107 template <typename T>
- -
109  thermostatModeCallback = cb;
-
110 }
-
111 
-
119 template <typename T>
- -
121  targetTemperatureCallback = cb;
-
122 }
-
123 
-
131 template <typename T>
- -
133  adjustTargetTemperatureCallback = cb;
-
134 }
-
135 
-
145 template <typename T>
-
146 bool ThermostatController<T>::sendThermostatModeEvent(String thermostatMode, String cause) {
-
147  if (event_limiter_thermostatMode) return false;
-
148  T* device = static_cast<T*>(this);
-
149 
-
150  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_THERMOSTAT_setThermostatMode, cause.c_str());
-
151  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
152  event_value[FSTR_THERMOSTAT_thermostatMode] = thermostatMode;
-
153  return device->sendEvent(eventMessage);
-
154 }
-
155 
-
165 template <typename T>
-
166 bool ThermostatController<T>::sendTargetTemperatureEvent(float temperature, String cause) {
-
167  if (event_limiter_targetTemperature) return false;
-
168  T* device = static_cast<T*>(this);
-
169 
-
170  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_THERMOSTAT_targetTemperature, cause.c_str());
-
171  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
172  event_value[FSTR_THERMOSTAT_temperature] = roundf(temperature * 10) / 10.0;
-
173  return device->sendEvent(eventMessage);
-
174 }
-
175 
-
176 template <typename T>
-
177 bool ThermostatController<T>::handleThermostatController(SinricProRequest &request) {
-
178  T* device = static_cast<T*>(this);
-
179 
-
180  bool success = false;
-
181 
-
182  if (request.action == FSTR_THERMOSTAT_targetTemperature && targetTemperatureCallback) {
-
183  float temperature;
-
184  if (request.request_value.containsKey(FSTR_THERMOSTAT_temperature)) {
-
185  temperature = request.request_value[FSTR_THERMOSTAT_temperature];
-
186  } else {
-
187  temperature = 1;
-
188  }
-
189  success = targetTemperatureCallback(device->deviceId, temperature);
-
190  request.response_value[FSTR_THERMOSTAT_temperature] = temperature;
-
191  return success;
-
192  }
-
193 
-
194  if (request.action == FSTR_THERMOSTAT_adjustTargetTemperature && adjustTargetTemperatureCallback) {
-
195  float temperatureDelta = request.request_value[FSTR_THERMOSTAT_temperature];
-
196  success = adjustTargetTemperatureCallback(device->deviceId, temperatureDelta);
-
197  request.response_value[FSTR_THERMOSTAT_temperature] = temperatureDelta;
-
198  return success;
-
199  }
-
200 
-
201  if (request.action == FSTR_THERMOSTAT_setThermostatMode && thermostatModeCallback) {
-
202  String thermostatMode = request.request_value[FSTR_THERMOSTAT_thermostatMode] | "";
-
203  success = thermostatModeCallback(device->deviceId, thermostatMode);
-
204  request.response_value[FSTR_THERMOSTAT_thermostatMode] = thermostatMode;
-
205  return success;
-
206  }
-
207 
-
208  return success;
-
209 }
-
210 
-
211 } // SINRICPRO_NAMESPACE
-
212 
-
213 template <typename T>
-
214 using ThermostatController = SINRICPRO_NAMESPACE::ThermostatController<T>;
-
ThermostatController.
Definition: ThermostatController.h:70
-
void onTargetTemperature(SetTargetTemperatureCallback cb)
Set callback function for targetTemperature request.
Definition: ThermostatController.h:120
-
void onThermostatMode(ThermostatModeCallback cb)
Set callback function for setThermostatMode request.
Definition: ThermostatController.h:108
-
bool sendTargetTemperatureEvent(float temperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send targetTemperature event to report target temperature change.
Definition: ThermostatController.h:166
-
void onAdjustTargetTemperature(AdjustTargetTemperatureCallback cb)
Set callback function for adjustTargetTemperature request.
Definition: ThermostatController.h:132
-
bool sendThermostatModeEvent(String thermostatMode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send thermostatMode event to report a the new mode the device has been set to.
Definition: ThermostatController.h:146
-
std::function< bool(const String &, float &)> SetTargetTemperatureCallback
Callback definition for onTargetTemperature function.
Definition: ThermostatController.h:46
-
std::function< bool(const String &, String &)> ThermostatModeCallback
Callback definition for onThermostatMode function.
Definition: ThermostatController.h:30
-
std::function< bool(const String &, float &)> AdjustTargetTemperatureCallback
Callback definition for onAdjustTargetTemperature function.
Definition: ThermostatController.h:62
-
-
- - - - diff --git a/docs/docs/_toggle_controller_8h_source.html b/docs/docs/_toggle_controller_8h_source.html deleted file mode 100644 index fe9ea28..0000000 --- a/docs/docs/_toggle_controller_8h_source.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/ToggleController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ToggleController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(TOGGLE, setToggleState); // "setToggleState"
-
11 FSTR(TOGGLE, state); // "state"
-
12 FSTR(TOGGLE, On); // "On"
-
13 FSTR(TOGGLE, Off); // "Off"
-
14 
-
29 using GenericToggleStateCallback = std::function<bool(const String &, const String&, bool &)>;
-
30 
-
31 
-
36 template <typename T>
- -
38  public:
- -
40 
-
41  void onToggleState(const String& instance, GenericToggleStateCallback cb);
-
42  bool sendToggleStateEvent(const String &instance, bool state, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
43 
-
44  protected:
-
45  bool handleToggleController(SinricProRequest &request);
-
46 
-
47  private:
-
48  std::map<String, EventLimiter> event_limiter;
-
49  std::map<String, GenericToggleStateCallback> genericToggleStateCallback;
-
50 };
-
51 
-
52 template <typename T>
- -
54  T* device = static_cast<T*>(this);
-
55  device->registerRequestHandler(std::bind(&ToggleController<T>::handleToggleController, this, std::placeholders::_1));
-
56 }
-
57 
-
66 template <typename T>
- -
68  genericToggleStateCallback[instance] = cb;
-
69 }
-
70 
-
81 template <typename T>
-
82 bool ToggleController<T>::sendToggleStateEvent(const String &instance, bool state, String cause) {
-
83  if (event_limiter.find(instance) == event_limiter.end()) event_limiter[instance] = EventLimiter(EVENT_LIMIT_STATE);
-
84  if (event_limiter[instance]) return false;
-
85 
-
86  T* device = static_cast<T*>(this);
-
87 
-
88  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_TOGGLE_setToggleState, cause.c_str());
-
89  eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_instanceId] = instance;
-
90  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
91  event_value[FSTR_TOGGLE_state] = state ? FSTR_TOGGLE_On : FSTR_TOGGLE_Off;
-
92  return device->sendEvent(eventMessage);
-
93 }
-
94 
-
95 template <typename T>
-
96 bool ToggleController<T>::handleToggleController(SinricProRequest &request) {
-
97  T* device = static_cast<T*>(this);
-
98 
-
99  bool success = false;
-
100 
-
101  if (request.action == FSTR_TOGGLE_setToggleState) {
-
102  bool powerState = request.request_value[FSTR_TOGGLE_state] == FSTR_TOGGLE_On ? true : false;
-
103  if (genericToggleStateCallback.find(request.instance) != genericToggleStateCallback.end())
-
104  success = genericToggleStateCallback[request.instance](device->deviceId, request.instance, powerState);
-
105  request.response_value[FSTR_TOGGLE_state] = powerState ? FSTR_TOGGLE_On : FSTR_TOGGLE_Off;
-
106  return success;
-
107  }
-
108  return success;
-
109 }
-
110 
-
111 } // SINRICPRO_NAMESPACE
-
112 
-
113 template <typename T>
-
114 using ToggleController = SINRICPRO_NAMESPACE::ToggleController<T>;
-
ToggleController.
Definition: ToggleController.h:37
-
std::function< bool(const String &, const String &, bool &)> GenericToggleStateCallback
Callback definition for onToggleState function.
Definition: ToggleController.h:29
-
-
- - - - diff --git a/docs/docs/_volume_controller_8h_source.html b/docs/docs/_volume_controller_8h_source.html deleted file mode 100644 index 6f261d4..0000000 --- a/docs/docs/_volume_controller_8h_source.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities/VolumeController.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
VolumeController.h
-
-
-
1 #pragma once
-
2 
-
3 #include "../SinricProRequest.h"
-
4 #include "../EventLimiter.h"
-
5 #include "../SinricProStrings.h"
-
6 
-
7 #include "../SinricProNamespace.h"
-
8 namespace SINRICPRO_NAMESPACE {
-
9 
-
10 FSTR(VOLUME, setVolume); // "setVolume"
-
11 FSTR(VOLUME, volume); // "volume"
-
12 FSTR(VOLUME, adjustVolume); // "adjustVolume"
-
13 FSTR(VOLUME, volumeDefault); // "volumeDefault"
-
14 
-
29 using SetVolumeCallback = std::function<bool(const String &, int &)>;
-
30 
-
46 using AdjustVolumeCallback = std::function<bool(const String &, int &, bool)>;
-
47 
-
48 
-
53 template <typename T>
- -
55  public:
- -
57 
- - -
60 
-
61  bool sendVolumeEvent(int volume, String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION);
-
62 
-
63  protected:
-
64  bool handleVolumeController(SinricProRequest &request);
-
65 
-
66  private:
-
67  EventLimiter event_limiter;
-
68  SetVolumeCallback volumeCallback;
-
69  AdjustVolumeCallback adjustVolumeCallback;
-
70 };
-
71 
-
72 template <typename T>
- -
74 : event_limiter(EVENT_LIMIT_STATE) {
-
75  T* device = static_cast<T*>(this);
-
76  device->registerRequestHandler(std::bind(&VolumeController<T>::handleVolumeController, this, std::placeholders::_1));
-
77 }
-
78 
-
86 template <typename T>
-
87 void VolumeController<T>::onSetVolume(SetVolumeCallback cb) { volumeCallback = cb; }
-
88 
-
96 template <typename T>
-
97 void VolumeController<T>::onAdjustVolume(AdjustVolumeCallback cb) { adjustVolumeCallback = cb; }
-
98 
-
108 template <typename T>
-
109 bool VolumeController<T>::sendVolumeEvent(int volume, String cause) {
-
110  if (event_limiter) return false;
-
111  T* device = static_cast<T*>(this);
-
112 
-
113  DynamicJsonDocument eventMessage = device->prepareEvent(FSTR_VOLUME_setVolume, cause.c_str());
-
114  JsonObject event_value = eventMessage[FSTR_SINRICPRO_payload][FSTR_SINRICPRO_value];
-
115  event_value[FSTR_VOLUME_volume] = volume;
-
116  return device->sendEvent(eventMessage);
-
117 }
-
118 
-
119 template <typename T>
-
120 bool VolumeController<T>::handleVolumeController(SinricProRequest &request) {
-
121  T* device = static_cast<T*>(this);
-
122 
-
123  bool success = false;
-
124 
-
125  if (volumeCallback && request.action == FSTR_VOLUME_setVolume) {
-
126  int volume = request.request_value[FSTR_VOLUME_volume];
-
127  success = volumeCallback(device->deviceId, volume);
-
128  request.response_value[FSTR_VOLUME_volume] = volume;
-
129  return success;
-
130  }
-
131 
-
132  if (adjustVolumeCallback && request.action == FSTR_VOLUME_adjustVolume) {
-
133  int volume = request.request_value[FSTR_VOLUME_volume];
-
134  bool volumeDefault = request.request_value[FSTR_VOLUME_volumeDefault] | false;
-
135  success = adjustVolumeCallback(device->deviceId, volume, volumeDefault);
-
136  request.response_value[FSTR_VOLUME_volume] = volume;
-
137  return success;
-
138  }
-
139  return success;
-
140 }
-
141 
-
142 } // SINRICPRO_NAMESPACE
-
143 
-
144 template <typename T>
-
145 using VolumeController = SINRICPRO_NAMESPACE::VolumeController<T>;
-
VolumeController.
Definition: VolumeController.h:54
-
void onAdjustVolume(AdjustVolumeCallback cb)
Set callback function for adjustVolume request.
Definition: VolumeController.h:97
-
void onSetVolume(SetVolumeCallback cb)
Set callback function for setVolume request.
Definition: VolumeController.h:87
-
bool sendVolumeEvent(int volume, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
Send setVolume event to SinricPro Server indicating actual volume has changed.
Definition: VolumeController.h:109
-
std::function< bool(const String &, int &)> SetVolumeCallback
Callback definition for onSetVolume function.
Definition: VolumeController.h:29
-
std::function< bool(const String &, int &, bool)> AdjustVolumeCallback
Callback definition for onAdjustVolume function.
Definition: VolumeController.h:46
-
-
- - - - diff --git a/docs/docs/annotated.html b/docs/docs/annotated.html deleted file mode 100644 index bef676b..0000000 --- a/docs/docs/annotated.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - -SinricPro Library: Class List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Class List
-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 12]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 NSINRICPRO_2_9_17SinricPro namespace
 CSinricProClassThe main class of this library, handling communication between SinricPro Server and your devices
 CSinricProAirQualitySensorDevice to report air quality events
 CSinricProBlindsDevice to control interior blinds
 CSinricProCameraCamera suporting basic on / off command
 CSinricProContactsensorDevice to report contact sensor events
 CSinricProDeviceBase class for all device types
 CSinricProDimSwitchDevice which supports on / off and dimming commands
 CSinricProDoorbellDevice to report doorbell events
 CSinricProFanDevice to turn on / off a fan and change it's speed by using powerlevel
 CSinricProFanUSDevice to control a fan with on / off commands and its speed by a range value
 CSinricProGarageDoorDevice to control a garage door
 CSinricProLightDevice to control a light
 CSinricProLockDevice to control a smart lock
 CSinricProMotionsensorDevice to report motion detection events
 CSinricProPowerSensorDevice to report power usage
 CSinricProSpeakerDevice to control a smart speaker
 CSinricProSwitchDevice suporting basic on / off command
 CSinricProTemperaturesensorDevice to report actual temperature and humidity
 CSinricProThermostatDevice to control Thermostat
 CSinricProTVDevice to control a TV
 CSinricProWindowACDevice to control Window Air Conditioner
 CAirQualitySensorAirQuality
 CBrightnessControllerBrightnessController
 CChannelControllerChannelController
 CColorControllerColorController
 CColorTemperatureControllerColorTemperatureController
 CContactSensorContactSensor
 CDoorbellDorbell
 CDoorControllerDoorController - only used for GarageDoor device and cannot used as capability for a custom device!
 CEqualizerControllerEqualizerController
 CInputControllerInputController
 CKeypadControllerKeypadController
 CLockControllerLockController
 CMediaControllerMediaController
 CModeControllerModeController
 CMotionSensorMotionSensor
 CMuteControllerMuteController
 CPercentageControllerPercentageController
 CPowerLevelControllerPowerLevelController
 CPowerSensorPowerSensor
 CPowerStateControllerPowerStateController
 CPushNotificationPushNotification
 CRangeControllerRangeControllerFloatInt
 CTemperatureSensorTemperatureSensor
 CThermostatControllerThermostatController
 CToggleControllerToggleController
 CVolumeControllerVolumeController
-
-
-
- - - - diff --git a/docs/docs/annotated_dup.js b/docs/docs/annotated_dup.js deleted file mode 100644 index 8c3af3c..0000000 --- a/docs/docs/annotated_dup.js +++ /dev/null @@ -1,52 +0,0 @@ -var annotated_dup = -[ - [ "SINRICPRO_2_9_17", "namespace_s_i_n_r_i_c_p_r_o__2__9__17.html", [ - [ "SinricProClass", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class" ], - [ "SinricProAirQualitySensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor" ], - [ "SinricProBlinds", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds" ], - [ "SinricProCamera", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera" ], - [ "SinricProContactsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor" ], - [ "SinricProDevice", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device.html", null ], - [ "SinricProDimSwitch", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch" ], - [ "SinricProDoorbell", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell" ], - [ "SinricProFan", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan" ], - [ "SinricProFanUS", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s" ], - [ "SinricProGarageDoor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door" ], - [ "SinricProLight", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light" ], - [ "SinricProLock", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock" ], - [ "SinricProMotionsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor" ], - [ "SinricProPowerSensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor" ], - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker" ], - [ "SinricProSwitch", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch" ], - [ "SinricProTemperaturesensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor" ], - [ "SinricProThermostat", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat" ], - [ "SinricProTV", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v" ], - [ "SinricProWindowAC", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c" ], - [ "AirQualitySensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor" ], - [ "BrightnessController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller" ], - [ "ChannelController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller" ], - [ "ColorController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller" ], - [ "ColorTemperatureController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller" ], - [ "ContactSensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor" ], - [ "Doorbell", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell" ], - [ "DoorController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller" ], - [ "EqualizerController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller" ], - [ "InputController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller" ], - [ "KeypadController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller" ], - [ "LockController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller" ], - [ "MediaController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller" ], - [ "ModeController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller" ], - [ "MotionSensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor" ], - [ "MuteController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller" ], - [ "PercentageController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller" ], - [ "PowerLevelController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller" ], - [ "PowerSensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor" ], - [ "PowerStateController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller" ], - [ "PushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification" ], - [ "RangeController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller" ], - [ "TemperatureSensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor" ], - [ "ThermostatController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller" ], - [ "ToggleController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller" ], - [ "VolumeController", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller" ] - ] ] -]; \ No newline at end of file diff --git a/docs/docs/bc_s.png b/docs/docs/bc_s.png deleted file mode 100644 index 224b29a..0000000 Binary files a/docs/docs/bc_s.png and /dev/null differ diff --git a/docs/docs/bdwn.png b/docs/docs/bdwn.png deleted file mode 100644 index 940a0b9..0000000 Binary files a/docs/docs/bdwn.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor-members.html deleted file mode 100644 index ae16789..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
AirQualitySensor< T > Member List
-
-
- -

This is the complete list of members for AirQualitySensor< T >, including all inherited members.

- - -
sendAirQualityEvent(int pm1=0, int pm2_5=0, int pm10=0, String cause=FSTR_SINRICPRO_PERIODIC_POLL)AirQualitySensor< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html deleted file mode 100644 index d7196c6..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - -SinricPro Library: AirQualitySensor< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
AirQualitySensor< T >
-
-
- -

AirQuality. - More...

-
-Inheritance diagram for AirQualitySensor< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - -

-Public Member Functions

bool sendAirQualityEvent (int pm1=0, int pm2_5=0, int pm10=0, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
 Sending air quality to SinricPro server. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::AirQualitySensor< T >

- -

AirQuality.

-

Member Function Documentation

- -

◆ sendAirQualityEvent()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool sendAirQualityEvent (int pm1 = 0,
int pm2_5 = 0,
int pm10 = 0,
String cause = FSTR_SINRICPRO_PERIODIC_POLL 
)
-
- -

Sending air quality to SinricPro server.

-
Parameters
- - - - - -
pm1int 1.0 μm particle pollutant in μg/m3
pm2_5int 2.5 μm particle pollutant in μg/m3
pm10int 10 μm particle pollutant in μg/m3
cause(optional) String reason why event is sent (default = "PERIODIC_POLL")
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.js deleted file mode 100644 index 18801b6..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor = -[ - [ "sendAirQualityEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html#a733195bdc5b15c858e4e890847b3a0d5", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor__inherit__graph.map deleted file mode 100644 index 8eabc15..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor__inherit__graph.md5 deleted file mode 100644 index 37dcd90..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -24d4ddd2c1b31a066e180719de118459 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor__inherit__graph.png deleted file mode 100644 index 8ac12b5..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller-members.html deleted file mode 100644 index c04c1b7..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
BrightnessController< T > Member List
-
-
- -

This is the complete list of members for BrightnessController< T >, including all inherited members.

- - - - -
onAdjustBrightness(AdjustBrightnessCallback cb)BrightnessController< T >
onBrightness(BrightnessCallback cb)BrightnessController< T >
sendBrightnessEvent(int brightness, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)BrightnessController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html deleted file mode 100644 index a9f2ca9..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - - -SinricPro Library: BrightnessController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
BrightnessController< T >
-
-
- -

BrightnessController. - More...

-
-Inheritance diagram for BrightnessController< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - - - - - - - -

-Public Member Functions

void onBrightness (BrightnessCallback cb)
 Set callback function for setBrightness request. More...
 
void onAdjustBrightness (AdjustBrightnessCallback cb)
 Set callback function for adjustBrightness request. More...
 
bool sendBrightnessEvent (int brightness, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setBrightness event to SinricPro Server indicating actual brightness. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::BrightnessController< T >

- -

BrightnessController.

-

Member Function Documentation

- -

◆ onAdjustBrightness()

- -
-
- - - - - - - - -
void onAdjustBrightness (AdjustBrightnessCallback cb)
-
- -

Set callback function for adjustBrightness request.

-
Parameters
- - -
cbFunction pointer to a AdjustBrightnessCallback function
-
-
-
Returns
void
-
See also
AdjustBrightnessCallback
- -
-
- -

◆ onBrightness()

- -
-
- - - - - - - - -
void onBrightness (BrightnessCallback cb)
-
- -

Set callback function for setBrightness request.

-
Parameters
- - -
cbFunction pointer to a BrightnessCallback function
-
-
-
Returns
void
-
See also
BrightnessCallback
- -
-
- -

◆ sendBrightnessEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendBrightnessEvent (int brightness,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setBrightness event to SinricPro Server indicating actual brightness.

-
Parameters
- - - -
brightnessInteger value with actual brightness the device is set to
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.js deleted file mode 100644 index 934cb22..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.js +++ /dev/null @@ -1,6 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller = -[ - [ "onAdjustBrightness", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html#a0633e5fa2981189f4a093bab00a8c7f1", null ], - [ "onBrightness", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html#abbaab3067b1fcdcc5928451b818a4420", null ], - [ "sendBrightnessEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html#a2a96c414210f61de3ce53a4ca8c963b3", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller__inherit__graph.map deleted file mode 100644 index 0c76a10..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller__inherit__graph.md5 deleted file mode 100644 index 9cd11cf..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -1d3eb350fc1bb1cef6cab313c980c14d \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller__inherit__graph.png deleted file mode 100644 index 08e17c7..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller-members.html deleted file mode 100644 index f89ca05..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ChannelController< T > Member List
-
-
- -

This is the complete list of members for ChannelController< T >, including all inherited members.

- - - - - -
onChangeChannel(ChangeChannelCallback cb)ChannelController< T >
onChangeChannelNumber(ChangeChannelNumberCallback cb)ChannelController< T >
onSkipChannels(SkipChannelsCallback cb)ChannelController< T >
sendChangeChannelEvent(String channelName, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ChannelController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html deleted file mode 100644 index c12115c..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - - -SinricPro Library: ChannelController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ChannelController< T >
-
-
- -

ChannelController. - More...

-
-Inheritance diagram for ChannelController< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

void onChangeChannel (ChangeChannelCallback cb)
 Set callback function for changeChannel request. More...
 
void onChangeChannelNumber (ChangeChannelNumberCallback cb)
 Set callback function for changeChannel request. More...
 
void onSkipChannels (SkipChannelsCallback cb)
 Set callback function for skipChannels request. More...
 
bool sendChangeChannelEvent (String channelName, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send changeChannel event to SinricPro Server to report selected channel. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::ChannelController< T >

- -

ChannelController.

-

Member Function Documentation

- -

◆ onChangeChannel()

- -
-
- - - - - - - - -
void onChangeChannel (ChangeChannelCallback cb)
-
- -

Set callback function for changeChannel request.

-
Parameters
- - -
cbFunction pointer to a ChangeChannelCallback function
-
-
-
Returns
void
-
See also
ChangeChannelCallback
- -
-
- -

◆ onChangeChannelNumber()

- -
-
- - - - - - - - -
void onChangeChannelNumber (ChangeChannelNumberCallback cb)
-
- -

Set callback function for changeChannel request.

-
Parameters
- - -
cbFunction pointer to a ChangeChannelNumberCallback function
-
-
-
Returns
void
-
See also
ChangeChannelNumberCallback
- -
-
- -

◆ onSkipChannels()

- -
-
- - - - - - - - -
void onSkipChannels (SkipChannelsCallback cb)
-
- -

Set callback function for skipChannels request.

-
Parameters
- - -
cbFunction pointer to a SkipChannelsCallback function
-
-
-
Returns
void
-
See also
SkipChannelsCallback
- -
-
- -

◆ sendChangeChannelEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendChangeChannelEvent (String channelName,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send changeChannel event to SinricPro Server to report selected channel.

-
Parameters
- - - -
channelNameString with actual channel
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.js deleted file mode 100644 index 58b3714..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller = -[ - [ "onChangeChannel", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#a92f3b83744b5bb82d32628eef39c1eb9", null ], - [ "onChangeChannelNumber", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#afd8aee20590bfadec181c6ee515125ec", null ], - [ "onSkipChannels", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#ab1123d03d471fad4896eb2960ed41855", null ], - [ "sendChangeChannelEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#aff5839c3020c3006af1a2a8c37cc858e", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller__inherit__graph.map deleted file mode 100644 index 4b72872..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller__inherit__graph.md5 deleted file mode 100644 index 17df8b3..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -5ae6c9e82ad1c97ebec068662528dc51 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller__inherit__graph.png deleted file mode 100644 index d5b3822..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller-members.html deleted file mode 100644 index faddb66..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ColorController< T > Member List
-
-
- -

This is the complete list of members for ColorController< T >, including all inherited members.

- - - -
onColor(ColorCallback cb)ColorController< T >
sendColorEvent(byte r, byte g, byte b, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ColorController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html deleted file mode 100644 index 6f2b656..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - -SinricPro Library: ColorController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ColorController< T >
-
-
- -

ColorController. - More...

-
-Inheritance diagram for ColorController< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - - - - -

-Public Member Functions

void onColor (ColorCallback cb)
 Set callback function for setColor request. More...
 
bool sendColorEvent (byte r, byte g, byte b, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setColor event to SinricPro Server indicating actual color. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::ColorController< T >

- -

ColorController.

-

Member Function Documentation

- -

◆ onColor()

- -
-
- - - - - - - - -
void onColor (ColorCallback cb)
-
- -

Set callback function for setColor request.

-
Parameters
- - -
cbFunction pointer to a ColorCallback function
-
-
-
Returns
void
-
See also
ColorCallback
- -
-
- -

◆ sendColorEvent()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool sendColorEvent (byte r,
byte g,
byte b,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setColor event to SinricPro Server indicating actual color.

-
Parameters
- - - - - -
rByte value for red
gByte value for green
bByte value for blue
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.js deleted file mode 100644 index 8f7e2ae..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.js +++ /dev/null @@ -1,5 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller = -[ - [ "onColor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html#a059ff103149869b7c49cdb8911875b7b", null ], - [ "sendColorEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html#a3599a6d00eb0f9127a7c1188885c5bc0", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller__inherit__graph.map deleted file mode 100644 index 5f3c253..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller__inherit__graph.md5 deleted file mode 100644 index 3b2fe69..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -3851f16c2b5e901f1c01d9fd49fdf6b2 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller__inherit__graph.png deleted file mode 100644 index f3783d6..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller-members.html deleted file mode 100644 index c6adbc9..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ColorTemperatureController< T > Member List
-
-
- -

This is the complete list of members for ColorTemperatureController< T >, including all inherited members.

- - - - - -
onColorTemperature(ColorTemperatureCallback cb)ColorTemperatureController< T >
onDecreaseColorTemperature(DecreaseColorTemperatureCallback cb)ColorTemperatureController< T >
onIncreaseColorTemperature(IncreaseColorTemperatureCallback cb)ColorTemperatureController< T >
sendColorTemperatureEvent(int colorTemperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ColorTemperatureController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html deleted file mode 100644 index f7daee7..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - - -SinricPro Library: ColorTemperatureController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ColorTemperatureController< T >
-
-
- -

ColorTemperatureController. - More...

-
-Inheritance diagram for ColorTemperatureController< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

void onColorTemperature (ColorTemperatureCallback cb)
 Set callback function for setColorTemperature request. More...
 
void onIncreaseColorTemperature (IncreaseColorTemperatureCallback cb)
 Set callback function for increaseColorTemperature request. More...
 
void onDecreaseColorTemperature (DecreaseColorTemperatureCallback cb)
 Set callback function for decreaseColorTemperature request. More...
 
bool sendColorTemperatureEvent (int colorTemperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setColorTemperature event to SinricPro Server indicating actual color temperature. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::ColorTemperatureController< T >

- -

ColorTemperatureController.

-

Member Function Documentation

- -

◆ onColorTemperature()

- -
-
- - - - - - - - -
void onColorTemperature (ColorTemperatureCallback cb)
-
- -

Set callback function for setColorTemperature request.

-
Parameters
- - -
cbFunction pointer to a ColorTemperatureCallback function
-
-
-
Returns
void
-
See also
ColorTemperatureCallback
- -
-
- -

◆ onDecreaseColorTemperature()

- -
-
- - - - - - - - -
void onDecreaseColorTemperature (DecreaseColorTemperatureCallback cb)
-
- -

Set callback function for decreaseColorTemperature request.

-
Parameters
- - -
cbFunction pointer to a DecreaseColorTemperatureCallback function
-
-
-
Returns
void
-
See also
DecreaseColorTemperatureCallback
- -
-
- -

◆ onIncreaseColorTemperature()

- -
-
- - - - - - - - -
void onIncreaseColorTemperature (IncreaseColorTemperatureCallback cb)
-
- -

Set callback function for increaseColorTemperature request.

-
Parameters
- - -
cbFunction pointer to a IncreaseColorTemperatureCallback function
-
-
-
Returns
void
-
See also
IncreaseColorTemperatureCallback
- -
-
- -

◆ sendColorTemperatureEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendColorTemperatureEvent (int colorTemperature,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setColorTemperature event to SinricPro Server indicating actual color temperature.

-
Parameters
- - - -
colorTemperatureInteger with new color temperature the device is set to
- 2200 = warm white
- 2700 = soft white
- 4000 = white
- 5500 = daylight white
- 7000 = cool white
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.js deleted file mode 100644 index f174d51..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller = -[ - [ "onColorTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a8535c44fd2517ed09ebe6a203cc25b67", null ], - [ "onDecreaseColorTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a7468976e7fffeee14cc869b7236cbb50", null ], - [ "onIncreaseColorTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a7ea9fd9861a5668a41d06267bfbec82a", null ], - [ "sendColorTemperatureEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a0f90d7f5a5b365116f97beca7630ccc9", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller__inherit__graph.map deleted file mode 100644 index d907845..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller__inherit__graph.md5 deleted file mode 100644 index a554eae..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -98c4d77341d1cf65766fb4a7428965af \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller__inherit__graph.png deleted file mode 100644 index 5679839..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor-members.html deleted file mode 100644 index e1547aa..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ContactSensor< T > Member List
-
-
- -

This is the complete list of members for ContactSensor< T >, including all inherited members.

- - -
sendContactEvent(bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ContactSensor< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html deleted file mode 100644 index 8a47374..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - -SinricPro Library: ContactSensor< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ContactSensor< T >
-
-
- -

ContactSensor. - More...

-
-Inheritance diagram for ContactSensor< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - -

-Public Member Functions

bool sendContactEvent (bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setContactState event to SinricPro Server indicating actual power state. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::ContactSensor< T >

- -

ContactSensor.

-

Member Function Documentation

- -

◆ sendContactEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendContactEvent (bool detected,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setContactState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
detected[in] booltrue = contact is closed
- [in] false = contact is open
cause[in] String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
true event has been sent successfully
-
-false event has not been sent, maybe you sent to much events in a short distance of time
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.js deleted file mode 100644 index d248ca3..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor = -[ - [ "sendContactEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html#a452a4cfa3177d8d8d31c5919e9ccbb19", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor__inherit__graph.map deleted file mode 100644 index 234e78d..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor__inherit__graph.md5 deleted file mode 100644 index 4482bbf..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -f857b47dcf1f2fec091198b27fb24a73 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor__inherit__graph.png deleted file mode 100644 index 1e2b7cf..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller-members.html deleted file mode 100644 index 8b8c366..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
DoorController< T > Member List
-
-
- -

This is the complete list of members for DoorController< T >, including all inherited members.

- - - -
onDoorState(DoorCallback cb)DoorController< T >
sendDoorStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)DoorController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html deleted file mode 100644 index 65081b1..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - -SinricPro Library: DoorController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
DoorController< T >
-
-
- -

DoorController - only used for GarageDoor device and cannot used as capability for a custom device! - More...

-
-Inheritance diagram for DoorController< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - - - - -

-Public Member Functions

void onDoorState (DoorCallback cb)
 Set callback function for onDoorState request. More...
 
bool sendDoorStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send DoorState event to update actual door state on SinricPro Server. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::DoorController< T >

- -

DoorController - only used for GarageDoor device and cannot used as capability for a custom device!

-

Member Function Documentation

- -

◆ onDoorState()

- -
-
- - - - - - - - -
void onDoorState (DoorCallback cb)
-
- -

Set callback function for onDoorState request.

-
Parameters
- - -
cbFunction pointer to a onDoorState function
-
-
-
Returns
void
-
See also
DoorStateCallback
- -
-
- -

◆ sendDoorStateEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendDoorStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send DoorState event to update actual door state on SinricPro Server.

-
Parameters
- - - -
statebool true = close
- false = open
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.js deleted file mode 100644 index 8d478a8..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.js +++ /dev/null @@ -1,5 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller = -[ - [ "onDoorState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html#a6b536531ab89b39f1a48cb107e22185e", null ], - [ "sendDoorStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html#a375cda2b0bc05e1a66e3bc29d059d9a7", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller__inherit__graph.map deleted file mode 100644 index 6ad0002..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller__inherit__graph.md5 deleted file mode 100644 index 0c887a3..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -69186c6519947a642fe8730767595d83 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller__inherit__graph.png deleted file mode 100644 index 6331299..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell-members.html deleted file mode 100644 index f126c44..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Doorbell< T > Member List
-
-
- -

This is the complete list of members for Doorbell< T >, including all inherited members.

- - -
sendDoorbellEvent(String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)Doorbell< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html deleted file mode 100644 index 48e70ad..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - -SinricPro Library: Doorbell< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
Doorbell< T >
-
-
- -

Dorbell. - More...

-
-Inheritance diagram for Doorbell< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - -

-Public Member Functions

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

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::Doorbell< T >

- -

Dorbell.

-

Member Function Documentation

- -

◆ sendDoorbellEvent()

- -
-
- - - - - - - - -
bool sendDoorbellEvent (String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION)
-
- -

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

-
Parameters
- - -
causeString (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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.js deleted file mode 100644 index 3dc89af..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell = -[ - [ "sendDoorbellEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html#a168f5a4ddcbf381fd548bf10ee05b272", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell__inherit__graph.map deleted file mode 100644 index 2955eb1..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell__inherit__graph.md5 deleted file mode 100644 index 81b23bc..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -915a5eb8cacb32eabe8e4f007c4a4e6f \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell__inherit__graph.png deleted file mode 100644 index 3957050..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller-members.html deleted file mode 100644 index 8a35355..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
EqualizerController< T > Member List
-
-
- -

This is the complete list of members for EqualizerController< T >, including all inherited members.

- - - - - -
onAdjustBands(AdjustBandsCallback cb)EqualizerController< T >
onResetBands(ResetBandsCallback cb)EqualizerController< T >
onSetBands(SetBandsCallback cb)EqualizerController< T >
sendBandsEvent(String bands, int level, String cause="PHYSICAL_INTERACTION")EqualizerController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html deleted file mode 100644 index 432a9d6..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - - -SinricPro Library: EqualizerController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
EqualizerController< T >
-
-
- -

EqualizerController. - More...

-
-Inheritance diagram for EqualizerController< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

void onSetBands (SetBandsCallback cb)
 Set callback function for setBands request. More...
 
void onAdjustBands (AdjustBandsCallback cb)
 Set callback function for adjustBands request. More...
 
void onResetBands (ResetBandsCallback cb)
 Set callback function for resetBands request. More...
 
bool sendBandsEvent (String bands, int level, String cause="PHYSICAL_INTERACTION")
 Send setBands event to SinricPro Server indicating bands level has changed. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::EqualizerController< T >

- -

EqualizerController.

-

Member Function Documentation

- -

◆ onAdjustBands()

- -
-
- - - - - - - - -
void onAdjustBands (AdjustBandsCallback cb)
-
- -

Set callback function for adjustBands request.

-
Parameters
- - -
cbFunction pointer to a AdjustBandsCallback function
-
-
-
Returns
void
-
See also
AdjustBandsCallback
- -
-
- -

◆ onResetBands()

- -
-
- - - - - - - - -
void onResetBands (ResetBandsCallback cb)
-
- -

Set callback function for resetBands request.

-
Parameters
- - -
cbFunction pointer to a ResetBandsCallback function
-
-
-
Returns
void
-
See also
ResetBandsCallback
- -
-
- -

◆ onSetBands()

- -
-
- - - - - - - - -
void onSetBands (SetBandsCallback cb)
-
- -

Set callback function for setBands request.

-
Parameters
- - -
cbFunction pointer to a SetBandsCallback function
-
-
-
Returns
void
-
See also
SetBandsCallback
- -
-
- -

◆ sendBandsEvent()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendBandsEvent (String bands,
int level,
String cause = "PHYSICAL_INTERACTION" 
)
-
- -

Send setBands event to SinricPro Server indicating bands level has changed.

-
Parameters
- - - - -
bandsString which bands has changed
- BASS, MIDRANGE, TREBBLE
levelInteger with changed bands level
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.js deleted file mode 100644 index 0c05b78..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller = -[ - [ "onAdjustBands", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#a41a5c1506545c44c2408054a8675c7a8", null ], - [ "onResetBands", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#aa6c3aabc2b442d82ac5456ccaac3f60d", null ], - [ "onSetBands", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#a4aaa7a29394560be7537a86b0304d199", null ], - [ "sendBandsEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#a4ad5674e36d96a73147388251b794c82", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller__inherit__graph.map deleted file mode 100644 index de3171c..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller__inherit__graph.md5 deleted file mode 100644 index 2b96485..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -14bfd4c38ee11b73e6c2c21fbd9634ed \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller__inherit__graph.png deleted file mode 100644 index abb1f4a..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller-members.html deleted file mode 100644 index 5f25d9c..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
InputController< T > Member List
-
-
- -

This is the complete list of members for InputController< T >, including all inherited members.

- - - -
onSelectInput(SelectInputCallback cb)InputController< T >
sendSelectInputEvent(String intput, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)InputController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html deleted file mode 100644 index d965518..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - -SinricPro Library: InputController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
InputController< T >
-
-
- -

InputController. - More...

-
-Inheritance diagram for InputController< T >:
-
-
Inheritance graph
- - - - - - - -
[legend]
- - - - - - - - -

-Public Member Functions

void onSelectInput (SelectInputCallback cb)
 Set callback function for selectInput request. More...
 
bool sendSelectInputEvent (String intput, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send selectInput event to SinricPro Server to report selected input. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::InputController< T >

- -

InputController.

-

Member Function Documentation

- -

◆ onSelectInput()

- -
-
- - - - - - - - -
void onSelectInput (SelectInputCallback cb)
-
- -

Set callback function for selectInput request.

-
Parameters
- - -
cbFunction pointer to a SelectInputCallback function
-
-
-
Returns
void
-
See also
SelectInputCallback
- -
-
- -

◆ sendSelectInputEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendSelectInputEvent (String input,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send selectInput event to SinricPro Server to report selected input.

-
Parameters
- - - -
inputString with actual media control
- AUX 1..AUX 7, BLURAY, CABLE, CD, COAX 1,COAX 2, COMPOSITE 1, DVD, GAME, HD RADIO, HDMI 1.. HDMI 10, HDMI ARC, INPUT 1..INPUT 10, IPOD, LINE 1..LINE 7, MEDIA PLAYER, OPTICAL 1, OPTICAL 2, PHONO, PLAYSTATION, PLAYSTATION 3, PLAYSTATION 4, SATELLITE, SMARTCAST, TUNER, TV, USB DAC, VIDEO 1..VIDEO 3, XBOX
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.js deleted file mode 100644 index 34f540f..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.js +++ /dev/null @@ -1,5 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller = -[ - [ "onSelectInput", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html#a18f8f71ecf0d7292a63d9486f94e5180", null ], - [ "sendSelectInputEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html#a973241ac912a18b142d236dda7f80e97", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller__inherit__graph.map deleted file mode 100644 index 974d79c..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller__inherit__graph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller__inherit__graph.md5 deleted file mode 100644 index a8a6220..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -9451755f1dbee2bf379dfb66669d2ac6 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller__inherit__graph.png deleted file mode 100644 index bd8365a..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller-members.html deleted file mode 100644 index 305fdfb..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
KeypadController< T > Member List
-
-
- -

This is the complete list of members for KeypadController< T >, including all inherited members.

- - -
onKeystroke(KeystrokeCallback cb)KeypadController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html deleted file mode 100644 index 6ce4a63..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - -SinricPro Library: KeypadController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
KeypadController< T >
-
-
- -

KeypadController. - More...

- - - - - -

-Public Member Functions

void onKeystroke (KeystrokeCallback cb)
 Set callback function for sendKeystroke request. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::KeypadController< T >

- -

KeypadController.

-

Member Function Documentation

- -

◆ onKeystroke()

- -
-
- - - - - - - - -
void onKeystroke (KeystrokeCallback cb)
-
- -

Set callback function for sendKeystroke request.

-
Parameters
- - -
cbFunction pointer to a KeystrokeCallback function
-
-
-
Returns
void
-
See also
KeystrokeCallback
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.js deleted file mode 100644 index 20997c3..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller = -[ - [ "onKeystroke", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html#ab24b4858dcc69145a367e964c2ae7961", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller-members.html deleted file mode 100644 index 71cd9fb..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
LockController< T > Member List
-
-
- -

This is the complete list of members for LockController< T >, including all inherited members.

- - - -
onLockState(LockStateCallback cb)LockController< T >
sendLockStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)LockController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html deleted file mode 100644 index 332a100..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - -SinricPro Library: LockController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
LockController< T >
-
-
- -

LockController. - More...

-
-Inheritance diagram for LockController< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - - - - -

-Public Member Functions

void onLockState (LockStateCallback cb)
 Set callback function for setLockState request. More...
 
bool sendLockStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send lockState event to SinricPro Server indicating actual lock state. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::LockController< T >

- -

LockController.

-

Member Function Documentation

- -

◆ onLockState()

- -
-
- - - - - - - - -
void onLockState (LockStateCallback cb)
-
- -

Set callback function for setLockState request.

-
Parameters
- - -
cbFunction pointer to a LockStateCallback function
-
-
-
Returns
void
-
See also
LockStateCallback
- -
-
- -

◆ sendLockStateEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendLockStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send lockState event to SinricPro Server indicating actual lock state.

-
Parameters
- - - -
statetrue = device is locked
- false = device is unlocked
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.js deleted file mode 100644 index 38f2895..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.js +++ /dev/null @@ -1,5 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller = -[ - [ "onLockState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html#aee42cc397234a454fd353ca6bc12a859", null ], - [ "sendLockStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html#a8fb3fec204da21e69d05f89a9ecb4739", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller__inherit__graph.map deleted file mode 100644 index f9987a7..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller__inherit__graph.md5 deleted file mode 100644 index 1df4bc4..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -c42564b32798b1585a1f6317008dc039 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller__inherit__graph.png deleted file mode 100644 index 4507a2b..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller-members.html deleted file mode 100644 index 7db287d..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
MediaController< T > Member List
-
-
- -

This is the complete list of members for MediaController< T >, including all inherited members.

- - - -
onMediaControl(MediaControlCallback cb)MediaController< T >
sendMediaControlEvent(String mediaControl, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)MediaController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html deleted file mode 100644 index ad6dd48..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - -SinricPro Library: MediaController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
MediaController< T >
-
-
- -

MediaController. - More...

-
-Inheritance diagram for MediaController< T >:
-
-
Inheritance graph
- - - - - - - -
[legend]
- - - - - - - - -

-Public Member Functions

void onMediaControl (MediaControlCallback cb)
 Set callback function for mediaControl request. More...
 
bool sendMediaControlEvent (String mediaControl, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send mediaControl event to SinricPro Server indicating devices media control state. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::MediaController< T >

- -

MediaController.

-

Member Function Documentation

- -

◆ onMediaControl()

- -
-
- - - - - - - - -
void onMediaControl (MediaControlCallback cb)
-
- -

Set callback function for mediaControl request.

-
Parameters
- - -
cbFunction pointer to a MediaControlCallback function
-
-
-
Returns
void
-
See also
MediaControlCallback
- -
-
- -

◆ sendMediaControlEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendMediaControlEvent (String mediaControl,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send mediaControl event to SinricPro Server indicating devices media control state.

-
Parameters
- - - -
mediaControlString with actual media control
- FastForward, Next, Pause, Play, Previous, Rewind, StartOver, Stop
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.js deleted file mode 100644 index 47ee29f..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.js +++ /dev/null @@ -1,5 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller = -[ - [ "onMediaControl", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html#afc2620621377fff928737b5a8a537020", null ], - [ "sendMediaControlEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html#a7af593cbf79d38f6b90efb5afee45077", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller__inherit__graph.map deleted file mode 100644 index 46c183f..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller__inherit__graph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller__inherit__graph.md5 deleted file mode 100644 index 187bc12..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d66f57966a65523a98010f0da1690ab7 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller__inherit__graph.png deleted file mode 100644 index af7c74a..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller-members.html deleted file mode 100644 index 6cb18d4..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ModeController< T > Member List
-
-
- -

This is the complete list of members for ModeController< T >, including all inherited members.

- - - - - -
onSetMode(ModeCallback cb)ModeController< T >
onSetMode(const String &instance, GenericModeCallback cb)ModeController< T >
sendModeEvent(String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ModeController< T >
sendModeEvent(String instance, String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ModeController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html deleted file mode 100644 index 9f72629..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - - -SinricPro Library: ModeController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ModeController< T >
-
-
- -

ModeController. - More...

-
-Inheritance diagram for ModeController< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

void onSetMode (ModeCallback cb)
 Set callback function for setMode request. More...
 
void onSetMode (const String &instance, GenericModeCallback cb)
 Set callback function for setMode request on a specific instance. More...
 
bool sendModeEvent (String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setMode event to SinricPro Server indicating the mode has changed. More...
 
bool sendModeEvent (String instance, String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setMode event to SinricPro Server indicating the mode on a specific instance has changed. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::ModeController< T >

- -

ModeController.

-

Member Function Documentation

- -

◆ onSetMode() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - -
void onSetMode (const String & instance,
GenericModeCallback cb 
)
-
- -

Set callback function for setMode request on a specific instance.

-
Parameters
- - - -
instanceString with instance name
cbFunction pointer to a ModeCallback function
-
-
-
Returns
void
-
See also
ModeCallback
- -
-
- -

◆ onSetMode() [2/2]

- -
-
- - - - - - - - -
void onSetMode (ModeCallback cb)
-
- -

Set callback function for setMode request.

-
Parameters
- - -
cbFunction pointer to a ModeCallback function
-
-
-
Returns
void
-
See also
ModeCallback
- -
-
- -

◆ sendModeEvent() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendModeEvent (String instance,
String mode,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setMode event to SinricPro Server indicating the mode on a specific instance has changed.

-
Parameters
- - - - -
instanceString instance name
modeString with actual mode device is set to
- MOVIE, MUSIC, NIGHT, SPORT, TV
cause(optional) String reason why event is sent (default = FSTR_SINRICPRO_PHYSICAL_INTERACTION)
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendModeEvent() [2/2]

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendModeEvent (String mode,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setMode event to SinricPro Server indicating the mode has changed.

-
Parameters
- - - -
modeString with actual mode device is set to
- MOVIE, MUSIC, NIGHT, SPORT, TV
cause(optional) String reason why event is sent (default = FSTR_SINRICPRO_PHYSICAL_INTERACTION)
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.js deleted file mode 100644 index ecb14a6..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller = -[ - [ "onSetMode", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#a6b15ba168b3a673b98da43ac5e4ef76c", null ], - [ "onSetMode", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#ada087c948c3ab923bdb7818daa6b2b79", null ], - [ "sendModeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#a7c84d5c26f2ded88e4941313015f7f4c", null ], - [ "sendModeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#a41f8465e89d147c08ab8cbc6839d34da", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller__inherit__graph.map deleted file mode 100644 index e1109eb..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller__inherit__graph.md5 deleted file mode 100644 index cb99e92..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d715eea5bc66c2ceab85231472252f8d \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller__inherit__graph.png deleted file mode 100644 index 398a2bd..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor-members.html deleted file mode 100644 index a6b43f1..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
MotionSensor< T > Member List
-
-
- -

This is the complete list of members for MotionSensor< T >, including all inherited members.

- - -
sendMotionEvent(bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)MotionSensor< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html deleted file mode 100644 index 667fecc..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - - -SinricPro Library: MotionSensor< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
MotionSensor< T >
-
-
- -

MotionSensor. - More...

-
-Inheritance diagram for MotionSensor< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - -

-Public Member Functions

bool sendMotionEvent (bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Sending motion detection state to SinricPro server. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::MotionSensor< T >

- -

MotionSensor.

-

Member Function Documentation

- -

◆ sendMotionEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendMotionEvent (bool detected,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Sending motion detection state to SinricPro server.

-
Parameters
- - - -
detectedbool true if motion has been detected
- 'false' if no motion has been detected
cause(optional) String 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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.js deleted file mode 100644 index 748af27..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor = -[ - [ "sendMotionEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html#a9be024aa2bb70f0146a02dd1b79d3faa", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor__inherit__graph.map deleted file mode 100644 index 8769797..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor__inherit__graph.md5 deleted file mode 100644 index d62dc1f..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -32ac1aa145bf01628456a19abde00ccb \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor__inherit__graph.png deleted file mode 100644 index dc27461..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller-members.html deleted file mode 100644 index b245ff9..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
MuteController< T > Member List
-
-
- -

This is the complete list of members for MuteController< T >, including all inherited members.

- - - -
onMute(MuteCallback cb)MuteController< T >
sendMuteEvent(bool mute, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)MuteController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html deleted file mode 100644 index 47e684a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - -SinricPro Library: MuteController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
MuteController< T >
-
-
- -

MuteController. - More...

-
-Inheritance diagram for MuteController< T >:
-
-
Inheritance graph
- - - - - - - -
[legend]
- - - - - - - - -

-Public Member Functions

void onMute (MuteCallback cb)
 Set callback function for setMute request. More...
 
bool sendMuteEvent (bool mute, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setMute event to SinricPro Server indicating actual mute state. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::MuteController< T >

- -

MuteController.

-

Member Function Documentation

- -

◆ onMute()

- -
-
- - - - - - - - -
void onMute (MuteCallback cb)
-
- -

Set callback function for setMute request.

-
Parameters
- - -
cbFunction pointer to a MuteCallback function
-
-
-
Returns
void
-
See also
MuteCallback
- -
-
- -

◆ sendMuteEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendMuteEvent (bool mute,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setMute event to SinricPro Server indicating actual mute state.

-
Parameters
- - - -
mutetrue = device is muted on
- false = device is unmuted
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.js deleted file mode 100644 index d90753a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.js +++ /dev/null @@ -1,5 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller = -[ - [ "onMute", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html#ab5fc79cc8903c3ccc1c106abf61d7cfd", null ], - [ "sendMuteEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html#a4717d892b64a14052712152924bd5b29", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller__inherit__graph.map deleted file mode 100644 index 8ee89e1..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller__inherit__graph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller__inherit__graph.md5 deleted file mode 100644 index c3c7d29..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -6c6f8ac144604497830876893f2c829a \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller__inherit__graph.png deleted file mode 100644 index 4a1fb6c..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller-members.html deleted file mode 100644 index dbe5013..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PercentageController< T > Member List
-
-
- -

This is the complete list of members for PercentageController< T >, including all inherited members.

- - - - -
onAdjustPercentage(AdjustPercentageCallback cb)PercentageController< T >
onSetPercentage(SetPercentageCallback cb)PercentageController< T >
sendSetPercentageEvent(int percentage, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PercentageController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html deleted file mode 100644 index a5f7724..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - - -SinricPro Library: PercentageController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
PercentageController< T >
-
-
- -

PercentageController. - More...

- - - - - - - - - - - -

-Public Member Functions

void onSetPercentage (SetPercentageCallback cb)
 Set callback function for setPercentage request. More...
 
void onAdjustPercentage (AdjustPercentageCallback cb)
 Set callback function for adjustPercentage request. More...
 
bool sendSetPercentageEvent (int percentage, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPercentage event to SinricPro Server indicating actual percentage has changed. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::PercentageController< T >

- -

PercentageController.

-

Member Function Documentation

- -

◆ onAdjustPercentage()

- -
-
- - - - - - - - -
void onAdjustPercentage (AdjustPercentageCallback cb)
-
- -

Set callback function for adjustPercentage request.

-
Parameters
- - -
cbFunction pointer to a AdjustPercentageCallback function
-
-
-
Returns
void
-
See also
AdjustPercentageCallback
- -
-
- -

◆ onSetPercentage()

- -
-
- - - - - - - - -
void onSetPercentage (SetPercentageCallback cb)
-
- -

Set callback function for setPercentage request.

-
Parameters
- - -
cbFunction pointer to a SetPercentageCallback function
-
-
-
Returns
void
-
See also
SetPercentageCallback
- -
-
- -

◆ sendSetPercentageEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendSetPercentageEvent (int percentage,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setPercentage event to SinricPro Server indicating actual percentage has changed.

-
Parameters
- - - -
percentageInteger reporting the percentage that the device have been set to
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.js deleted file mode 100644 index d807fe0..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.js +++ /dev/null @@ -1,6 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller = -[ - [ "onAdjustPercentage", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html#a77ac70c4880e38dae4f640dceaeb2816", null ], - [ "onSetPercentage", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html#aeef432df118679c689ccd8a48d47dc3d", null ], - [ "sendSetPercentageEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html#adf688c12e451e52b05670f150bdabcc8", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller-members.html deleted file mode 100644 index 4508867..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PowerLevelController< T > Member List
-
-
- -

This is the complete list of members for PowerLevelController< T >, including all inherited members.

- - - - -
onAdjustPowerLevel(AdjustPowerLevelCallback cb)PowerLevelController< T >
onPowerLevel(SetPowerLevelCallback cb)PowerLevelController< T >
sendPowerLevelEvent(int powerLevel, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerLevelController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html deleted file mode 100644 index 30b7089..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - - -SinricPro Library: PowerLevelController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
PowerLevelController< T >
-
-
- -

PowerLevelController. - More...

-
-Inheritance diagram for PowerLevelController< T >:
-
-
Inheritance graph
- - - - - - - -
[legend]
- - - - - - - - - - - -

-Public Member Functions

void onPowerLevel (SetPowerLevelCallback cb)
 Set callback function for setPowerLevel request. More...
 
void onAdjustPowerLevel (AdjustPowerLevelCallback cb)
 Set callback function for adjustPowerLevel request. More...
 
bool sendPowerLevelEvent (int powerLevel, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerLevel event to SinricPro Server indicating actual power level. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::PowerLevelController< T >

- -

PowerLevelController.

-

Member Function Documentation

- -

◆ onAdjustPowerLevel()

- -
-
- - - - - - - - -
void onAdjustPowerLevel (AdjustPowerLevelCallback cb)
-
- -

Set callback function for adjustPowerLevel request.

-
Parameters
- - -
cbFunction pointer to a AdjustPowerLevelCallback function
-
-
-
See also
AdjustPowerLevelCallback
- -
-
- -

◆ onPowerLevel()

- -
-
- - - - - - - - -
void onPowerLevel (SetPowerLevelCallback cb)
-
- -

Set callback function for setPowerLevel request.

-
Parameters
- - -
cbFunction pointer to a SetPowerLevelCallback function
-
-
-
See also
SetPowerLevelCallback
- -
-
- -

◆ sendPowerLevelEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendPowerLevelEvent (int powerLevel,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setPowerLevel event to SinricPro Server indicating actual power level.

-
Parameters
- - - -
powerLevelinteger 0..100 report the powerlevel that the device have been set to
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.js deleted file mode 100644 index 5e394f8..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.js +++ /dev/null @@ -1,6 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller = -[ - [ "onAdjustPowerLevel", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html#a13b10bdb1844babe4de320fff9172d96", null ], - [ "onPowerLevel", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html#a0685d34694badb4442fed6b69b69b366", null ], - [ "sendPowerLevelEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html#a2f1f88c7b4d9503bfcfe5557c5e55ed4", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller__inherit__graph.map deleted file mode 100644 index 4240f31..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller__inherit__graph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller__inherit__graph.md5 deleted file mode 100644 index 664884b..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -c233ed108e129704740e67893ec3abde \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller__inherit__graph.png deleted file mode 100644 index 61f7314..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor-members.html deleted file mode 100644 index 1f442e5..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PowerSensor< T > Member List
-
-
- -

This is the complete list of members for PowerSensor< T >, including all inherited members.

- - -
sendPowerSensorEvent(float voltage, float current, float power=-1.0f, float apparentPower=-1.0f, float reactivePower=-1.0f, float factor=-1.0f, String cause=FSTR_SINRICPRO_PERIODIC_POLL)PowerSensor< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html deleted file mode 100644 index 1e3a3a5..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - -SinricPro Library: PowerSensor< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
PowerSensor< T >
-
-
- -

PowerSensor. - More...

-
-Inheritance diagram for PowerSensor< T >:
-
-
Inheritance graph
- - - - - -
[legend]
- - - - - -

-Public Member Functions

bool sendPowerSensorEvent (float voltage, float current, float power=-1.0f, float apparentPower=-1.0f, float reactivePower=-1.0f, float factor=-1.0f, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
 Send PowerSensor event to SinricPro Server. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::PowerSensor< T >

- -

PowerSensor.

-

Member Function Documentation

- -

◆ sendPowerSensorEvent()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool sendPowerSensorEvent (float voltage,
float current,
float power = -1.0f,
float apparentPower = -1.0f,
float reactivePower = -1.0f,
float factor = -1.0f,
String cause = FSTR_SINRICPRO_PERIODIC_POLL 
)
-
- -

Send PowerSensor event to SinricPro Server.

-
Parameters
- - - - - - - - -
voltagefloat voltage
currentfloat current
powerfloat (optional) if not provided, it is calculated automaticly (power = voltage * current)
apparentPowerfloat (optional) if not provided it is set to -1
reactivePowerfloat (optional) if not provided it is set to -1
factorfloat (optional) if not provided it is set to -1
- if apparentPower is provided, factor is calculated automaticly (factor = power / apparentPower)
causeString (optional) Reason why event is sent (default = "PERIODIC_POLL")
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.js deleted file mode 100644 index 2d40b16..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor = -[ - [ "sendPowerSensorEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html#aec04692842ae1953973503f6be6d9afc", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor__inherit__graph.map deleted file mode 100644 index 4e7d9cf..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor__inherit__graph.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor__inherit__graph.md5 deleted file mode 100644 index f1a2e7a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -28fda791566a60fb78ea6806a36d8689 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor__inherit__graph.png deleted file mode 100644 index 97c27e8..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller-members.html deleted file mode 100644 index 5121c2c..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PowerStateController< T > Member List
-
-
- -

This is the complete list of members for PowerStateController< T >, including all inherited members.

- - - -
onPowerState(PowerStateCallback cb)PowerStateController< T >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html deleted file mode 100644 index e3a5529..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - -SinricPro Library: PowerStateController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
PowerStateController< T >
-
-
- -

PowerStateController. - More...

-
-Inheritance diagram for PowerStateController< T >:
-
-
Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[legend]
- - - - - - - - -

-Public Member Functions

void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::PowerStateController< T >

- -

PowerStateController.

-

Member Function Documentation

- -

◆ onPowerState()

- -
-
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.js deleted file mode 100644 index 150c583..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.js +++ /dev/null @@ -1,5 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller = -[ - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html#acfd5f3a30933ace93751bd823630cded", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller__inherit__graph.map deleted file mode 100644 index 249d8a8..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller__inherit__graph.map +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller__inherit__graph.md5 deleted file mode 100644 index e59f4c8..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -5f9bdb31653014b83e2e1c3e651aa881 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller__inherit__graph.png deleted file mode 100644 index b9261d8..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification-members.html deleted file mode 100644 index a39b783..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
PushNotification< T > Member List
-
-
- -

This is the complete list of members for PushNotification< T >, including all inherited members.

- - -
sendPushNotification(String notification)PushNotification< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html deleted file mode 100644 index be4fe6a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - - -SinricPro Library: PushNotification< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
PushNotification< T >
-
-
- -

PushNotification. - More...

-
-Inheritance diagram for PushNotification< T >:
-
-
Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[legend]
- - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::PushNotification< T >

- -

PushNotification.

-

Member Function Documentation

- -

◆ sendPushNotification()

- -
-
- - - - - - - - -
bool sendPushNotification (String notification)
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.js deleted file mode 100644 index 83bd104..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification = -[ - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification__inherit__graph.map deleted file mode 100644 index c5f8303..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification__inherit__graph.map +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification__inherit__graph.md5 deleted file mode 100644 index da15abc..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d5a4700769dfa94c7127e808b5dfa94e \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification__inherit__graph.png deleted file mode 100644 index e73c5fc..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller-members.html deleted file mode 100644 index a3188da..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller-members.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
RangeController< T > Member List
-
-
- -

This is the complete list of members for RangeController< T >, including all inherited members.

- - - - - - -
onAdjustRangeValue(AdjustRangeValueCallback cb)RangeController< T >
onRangeValue(SetRangeValueCallback cb)RangeController< T >
onRangeValue(const String &instance, GenericSetRangeValueCallback_int cb)RangeController< T >
sendRangeValueEvent(int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)RangeController< T >
sendRangeValueEvent(const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)RangeController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html deleted file mode 100644 index d506a41..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - - -SinricPro Library: RangeController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
RangeController< T >
-
-
- -

RangeControllerFloatInt. - More...

-
-Inheritance diagram for RangeController< T >:
-
-
Inheritance graph
- - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - -

-Public Member Functions

void onRangeValue (SetRangeValueCallback cb)
 Set callback function for setRangeValue request. More...
 
void onRangeValue (const String &instance, GenericSetRangeValueCallback_int cb)
 Set callback function for setRangeValue request on a specific instance (custom device) More...
 
void onAdjustRangeValue (AdjustRangeValueCallback cb)
 Set callback function for adjustRangeValue request. More...
 
bool sendRangeValueEvent (int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send rangeValue event to report curent rangeValue to SinricPro server. More...
 
bool sendRangeValueEvent (const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send rangeValue event to report curent rangeValue to SinricPro server for a specific instance (custom device) More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::RangeController< T >

- -

RangeControllerFloatInt.

-

Member Function Documentation

- -

◆ onAdjustRangeValue()

- -
-
- - - - - - - - -
void onAdjustRangeValue (AdjustRangeValueCallback cb)
-
- -

Set callback function for adjustRangeValue request.

-
Parameters
- - -
cbFunction pointer to a AdjustRangeValueCallback function
-
-
-
See also
AdjustRangeValueCallback
- -
-
- -

◆ onRangeValue() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - -
void onRangeValue (const String & instance,
GenericSetRangeValueCallback_int cb 
)
-
- -

Set callback function for setRangeValue request on a specific instance (custom device)

-
Parameters
- - - -
instanceString instance name (custom device)
cbFunction pointer to a GenericSetRangeValueCallback function
-
-
-
See also
GenericSetRangeValueCallback
- -
-
- -

◆ onRangeValue() [2/2]

- -
-
- - - - - - - - -
void onRangeValue (SetRangeValueCallback cb)
-
- -

Set callback function for setRangeValue request.

-
Parameters
- - -
cbFunction pointer to a SetRangeValueCallback function
-
-
-
See also
SetRangeValueCallback
- -
-
- -

◆ sendRangeValueEvent() [1/2]

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendRangeValueEvent (const String & instance,
int rangeValue,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send rangeValue event to report curent rangeValue to SinricPro server for a specific instance (custom device)

-
Parameters
- - - - -
instanceString instance name
rangeValueValue between 0..3
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendRangeValueEvent() [2/2]

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendRangeValueEvent (int rangeValue,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send rangeValue event to report curent rangeValue to SinricPro server.

-
Parameters
- - - -
rangeValueValue between 0..3
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.js deleted file mode 100644 index a598644..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.js +++ /dev/null @@ -1,8 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller = -[ - [ "onAdjustRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#ae85696d55112ae7343f9807faee6e064", null ], - [ "onRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#a6d6d8070b49c8b5272460836a1120b33", null ], - [ "onRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#a94adbcdf6ce61cb6552a5f9915e705ae", null ], - [ "sendRangeValueEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#aaf84aa417e2246843a27e819898e64b5", null ], - [ "sendRangeValueEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#a1d726751c416fe6dd408e5dd19f6b53b", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller__inherit__graph.map deleted file mode 100644 index 8561b4d..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller__inherit__graph.map +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller__inherit__graph.md5 deleted file mode 100644 index 6008a60..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -12a9803ff4fa3ceba60e1b5c18870792 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller__inherit__graph.png deleted file mode 100644 index 0d723d3..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor-members.html deleted file mode 100644 index fadd07b..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProAirQualitySensor Member List
-
-
- -

This is the complete list of members for SinricProAirQualitySensor, including all inherited members.

- - - - - -
onPowerState(PowerStateCallback cb)PowerStateController< SinricProAirQualitySensor >
sendAirQualityEvent(int pm1=0, int pm2_5=0, int pm10=0, String cause=FSTR_SINRICPRO_PERIODIC_POLL)AirQualitySensor< SinricProAirQualitySensor >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProAirQualitySensor >
sendPushNotification(String notification)PushNotification< SinricProAirQualitySensor >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html deleted file mode 100644 index bbc65a2..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - -SinricPro Library: SinricProAirQualitySensor - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProAirQualitySensor
-
-
- -

Device to report air quality events. - More...

-
-Inheritance diagram for SinricProAirQualitySensor:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
bool sendAirQualityEvent (int pm1=0, int pm2_5=0, int pm10=0, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
 Sending air quality to SinricPro server. More...
 
-

Detailed Description

-

Device to report air quality events.

-

Member Function Documentation

- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendAirQualityEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool sendAirQualityEvent (int pm1 = 0,
int pm2_5 = 0,
int pm10 = 0,
String cause = FSTR_SINRICPRO_PERIODIC_POLL 
)
-
-inherited
-
- -

Sending air quality to SinricPro server.

-
Parameters
- - - - - -
pm1int 1.0 μm particle pollutant in μg/m3
pm2_5int 2.5 μm particle pollutant in μg/m3
pm10int 10 μm particle pollutant in μg/m3
cause(optional) String reason why event is sent (default = "PERIODIC_POLL")
-
-
-
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
-
-
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.js deleted file mode 100644 index 403f17d..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor = -[ - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendAirQualityEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html#a733195bdc5b15c858e4e890847b3a0d5", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor__inherit__graph.map deleted file mode 100644 index 8c77022..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor__inherit__graph.md5 deleted file mode 100644 index 7b1db56..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -1f8bd60d3d0ad21e716749b4204f0e19 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor__inherit__graph.png deleted file mode 100644 index 3683d32..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds-members.html deleted file mode 100644 index 1b8d084..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds-members.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProBlinds Member List
-
-
- -

This is the complete list of members for SinricProBlinds, including all inherited members.

- - - - - - - - - -
onAdjustRangeValue(AdjustRangeValueCallback cb)RangeController< SinricProBlinds >
onPowerState(PowerStateCallback cb)PowerStateController< SinricProBlinds >
onRangeValue(SetRangeValueCallback cb)RangeController< SinricProBlinds >
onRangeValue(const String &instance, GenericSetRangeValueCallback_int cb)RangeController< SinricProBlinds >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProBlinds >
sendPushNotification(String notification)PushNotification< SinricProBlinds >
sendRangeValueEvent(int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)RangeController< SinricProBlinds >
sendRangeValueEvent(const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)RangeController< SinricProBlinds >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html deleted file mode 100644 index b6bda6a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html +++ /dev/null @@ -1,516 +0,0 @@ - - - - - - - -SinricPro Library: SinricProBlinds - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProBlinds
-
-
- -

Device to control interior blinds. - More...

-
-Inheritance diagram for SinricProBlinds:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
void onRangeValue (SetRangeValueCallback cb)
 Set callback function for setRangeValue request. More...
 
void onRangeValue (const String &instance, GenericSetRangeValueCallback_int cb)
 Set callback function for setRangeValue request on a specific instance (custom device) More...
 
void onAdjustRangeValue (AdjustRangeValueCallback cb)
 Set callback function for adjustRangeValue request. More...
 
bool sendRangeValueEvent (int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send rangeValue event to report curent rangeValue to SinricPro server. More...
 
bool sendRangeValueEvent (const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send rangeValue event to report curent rangeValue to SinricPro server for a specific instance (custom device) More...
 
-

Detailed Description

-

Device to control interior blinds.

-

Supporting

    -
  • On / Off
  • -
  • Position (0..100)
  • -
  • open / close
  • -
-

Member Function Documentation

- -

◆ onAdjustRangeValue()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustRangeValue (AdjustRangeValueCallback cb)
-
-inherited
-
- -

Set callback function for adjustRangeValue request.

-
Parameters
- - -
cbFunction pointer to a AdjustRangeValueCallback function
-
-
-
See also
AdjustRangeValueCallback
- -
-
- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ onRangeValue() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void onRangeValue (const String & instance,
GenericSetRangeValueCallback_int cb 
)
-
-inherited
-
- -

Set callback function for setRangeValue request on a specific instance (custom device)

-
Parameters
- - - -
instanceString instance name (custom device)
cbFunction pointer to a GenericSetRangeValueCallback function
-
-
-
See also
GenericSetRangeValueCallback
- -
-
- -

◆ onRangeValue() [2/2]

- -
-
- - - - - -
- - - - - - - - -
void onRangeValue (SetRangeValueCallback cb)
-
-inherited
-
- -

Set callback function for setRangeValue request.

-
Parameters
- - -
cbFunction pointer to a SetRangeValueCallback function
-
-
-
See also
SetRangeValueCallback
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
- -

◆ sendRangeValueEvent() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendRangeValueEvent (const String & instance,
int rangeValue,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send rangeValue event to report curent rangeValue to SinricPro server for a specific instance (custom device)

-
Parameters
- - - - -
instanceString instance name
rangeValueValue between 0..3
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendRangeValueEvent() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendRangeValueEvent (int rangeValue,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send rangeValue event to report curent rangeValue to SinricPro server.

-
Parameters
- - - -
rangeValueValue between 0..3
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.js deleted file mode 100644 index 914d8b8..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.js +++ /dev/null @@ -1,11 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds = -[ - [ "onAdjustRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html#ae85696d55112ae7343f9807faee6e064", null ], - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "onRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html#a6d6d8070b49c8b5272460836a1120b33", null ], - [ "onRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html#a94adbcdf6ce61cb6552a5f9915e705ae", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html#a04266791a4b23e9614b8773edb5f67b6", null ], - [ "sendRangeValueEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html#aaf84aa417e2246843a27e819898e64b5", null ], - [ "sendRangeValueEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html#a1d726751c416fe6dd408e5dd19f6b53b", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds__inherit__graph.map deleted file mode 100644 index 06b50ff..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds__inherit__graph.md5 deleted file mode 100644 index 5f33464..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e947be21c47a1d3b38d6ca7862801539 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds__inherit__graph.png deleted file mode 100644 index d9fa286..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera-members.html deleted file mode 100644 index 988ddef..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProCamera Member List
-
-
- -

This is the complete list of members for SinricProCamera, including all inherited members.

- - - - -
onPowerState(PowerStateCallback cb)PowerStateController< SinricProCamera >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProCamera >
sendPushNotification(String notification)PushNotification< SinricProCamera >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html deleted file mode 100644 index 669a0d1..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - - -SinricPro Library: SinricProCamera - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProCamera
-
-
- -

Camera suporting basic on / off command. - More...

-
-Inheritance diagram for SinricProCamera:
-
-
Inheritance graph
- - - - - - - - -
[legend]
- - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
-

Detailed Description

-

Camera suporting basic on / off command.

-

Member Function Documentation

- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.js deleted file mode 100644 index b86ad26..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.js +++ /dev/null @@ -1,6 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera = -[ - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera__inherit__graph.map deleted file mode 100644 index 15b469c..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera__inherit__graph.map +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera__inherit__graph.md5 deleted file mode 100644 index 0a24077..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -4c920623f54e169bdb01204952790115 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera__inherit__graph.png deleted file mode 100644 index 8fd72e8..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class-members.html deleted file mode 100644 index fbb3547..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class-members.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProClass Member List
-
-
- -

This is the complete list of members for SinricProClass, including all inherited members.

- - - - - - - - -
begin(String appKey, String appSecret, String serverURL="ws.sinric.pro")SinricProClass
getTimestamp() overrideSinricProClass
handle()SinricProClass
onConnected(ConnectedCallbackHandler cb)SinricProClass
onDisconnected(DisconnectedCallbackHandler cb)SinricProClass
operator[](const String deviceId)SinricProClass
restoreDeviceStates(bool flag)SinricProClass
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html deleted file mode 100644 index ea63ba5..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - - - - -SinricPro Library: SinricProClass - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProClass
-
-
- -

The main class of this library, handling communication between SinricPro Server and your devices. - More...

- -

Inherits SinricProInterface.

- - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

void begin (String appKey, String appSecret, String serverURL="ws.sinric.pro")
 Initializing SinricProClass to be able to connect to SinricPro Server. More...
 
void handle ()
 Handles communication between device and SinricPro Server. More...
 
void onConnected (ConnectedCallbackHandler cb)
 Set callback function for websocket connected event. More...
 
void onDisconnected (DisconnectedCallbackHandler cb)
 Set callback function for websocket disconnected event. More...
 
void restoreDeviceStates (bool flag)
 Enable / disable restore device states function. More...
 
unsigned long getTimestamp () override
 Get the current timestamp. More...
 
proxy operator[] (const String deviceId)
 operator[] is used tor create a new device instance or get an existing device instance More...
 
-

Detailed Description

-

The main class of this library, handling communication between SinricPro Server and your devices.

-

Member Function Documentation

- -

◆ begin()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void begin (String appKey,
String appSecret,
String serverURL = "ws.sinric.pro" 
)
-
- -

Initializing SinricProClass to be able to connect to SinricPro Server.

-
Parameters
- - - - -
appKeyString containing APP_KEY (see credentials from https://sinric.pro )
appSecretString containing APP_SECRET (see credentials from https:://sinric.pro)
serverURLString containing SinricPro Server URL (default="ws.sinric.pro")
-
-
-

-Example-Code

-
#define APP_KEY "YOUR-APP-KEY" // Should look like "de0bxxxx-1x3x-4x3x-ax2x-5dabxxxxxxxx"
-
#define APP_SECRET "YOUR-APP-SECRET" // Should look like "5f36xxxx-x3x7-4x3x-xexe-e86724a9xxxx-4c4axxxx-3x3x-x5xe-x9x3-333d65xxxxxx"
-
-
void setup() {
-
SinricPro.begin(APP_KEY, APP_SECRET);
-
}
-
-
-
- -

◆ getTimestamp()

- -
-
- - - - - -
- - - - - - - -
unsigned long getTimestamp ()
-
-override
-
- -

Get the current timestamp.

-
Returns
unsigned long current timestamp (unix epoch time)
- -
-
- -

◆ handle()

- -
-
- - - - - - - -
void handle ()
-
- -

Handles communication between device and SinricPro Server.

-

This is the absolute main function which handles communication between your device and SinricPro Server.
-It is responsible for connect, disconnect to SinricPro Server, handling requests, responses and events.
-This function has to be called as often as possible. So it must be called in your main loop() function!
- For proper function, begin() must be called with valid values for 'APP_KEY' and 'APP_SECRET'
-

-

-Example-Code

-
void loop() {
-
SinricPro.handle();
-
}
-
-
-
- -

◆ onConnected()

- -
-
- - - - - - - - -
void onConnected (ConnectedCallbackHandler cb)
-
- -

Set callback function for websocket connected event.

-
Parameters
- - -
cbFunction pointer to a ConnectedCallbackHandler function
-
-
-
Returns
void
-
See also
ConnectedCallbackHandler
-

-Example-Code

-
SinricPro.onConnected([](){ Serial.printf("Connected to SinricPro\r\n"); });
-
-
-
- -

◆ onDisconnected()

- -
-
- - - - - - - - -
void onDisconnected (DisconnectedCallbackHandler cb)
-
- -

Set callback function for websocket disconnected event.

-
Parameters
- - -
cbFunction pointer to a DisconnectedCallbackHandler function
-
-
-
Returns
void
-
See also
DisconnectedCallbackHandler
-

-Example-Code

-
SinricPro.onDisconnected([](){ Serial.printf("Disconnected from SinricPro\r\n"); });
-
-
-
- -

◆ operator[]()

- -
-
- - - - - - - - -
SinricProClass::proxy operator[] (const String deviceId)
-
- -

operator[] is used tor create a new device instance or get an existing device instance

-

If the device is unknown to SinricProClass it will create a new device instance

Parameters
- - -
deviceIda String containing deviceId for device that have to been created or retreived
-
-
-
Returns
returns a proxy object representing the reference to a device derrivered from SinricProDevice
-

-Syntax

-

<DeviceType> &reference = SinricPro[<DEVICE_ID>];

-

-[] Example-Code

-
#define SWITCH_ID "YOUR-DEVICE-ID" // Should look like "5dc1564130xxxxxxxxxxxxxx"
-
..
-
SinricProSwitch &mySwitch = SinricPro[SWITCH_ID];
-
..
-
-
-
- -

◆ restoreDeviceStates()

- -
-
- - - - - - - - -
void restoreDeviceStates (bool flag)
-
- -

Enable / disable restore device states function.

-

If this flag is enabled (true), SinricProServer will send last known device states to your device directly after connection to SinricPro server has been established.
- For every state the corresponding callback (like onPowerState) will be called
-This is useful after a power failure / reboot of your device.

-
Parameters
- - -
flagtrue = enabled
- false= disabled
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.js deleted file mode 100644 index 50dc323..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.js +++ /dev/null @@ -1,10 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class = -[ - [ "begin", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a1b5b66fb0c539b9b5f5f58a135056c75", null ], - [ "getTimestamp", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#afb2be26eef972203404140612fa31326", null ], - [ "handle", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a37c2d0658e498b1bf878f8a3d9a7c5b4", null ], - [ "onConnected", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#ac33a355adfc413d4ff36974d735115bd", null ], - [ "onDisconnected", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a654bb017ca55b448d55bb36e0346f38a", null ], - [ "operator[]", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a84a491d393b5c7c1433a2a9e62a58766", null ], - [ "restoreDeviceStates", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a27a9bb7f1e8bde0f39398649493b6f93", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor-members.html deleted file mode 100644 index b2ce60e..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProContactsensor Member List
-
-
- -

This is the complete list of members for SinricProContactsensor, including all inherited members.

- - - - - -
onPowerState(PowerStateCallback cb)PowerStateController< SinricProContactsensor >
sendContactEvent(bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ContactSensor< SinricProContactsensor >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProContactsensor >
sendPushNotification(String notification)PushNotification< SinricProContactsensor >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html deleted file mode 100644 index f59c916..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - - -SinricPro Library: SinricProContactsensor - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProContactsensor
-
-
- -

Device to report contact sensor events. - More...

-
-Inheritance diagram for SinricProContactsensor:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
bool sendContactEvent (bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setContactState event to SinricPro Server indicating actual power state. More...
 
-

Detailed Description

-

Device to report contact sensor events.

-

Member Function Documentation

- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendContactEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendContactEvent (bool detected,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setContactState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
detected[in] booltrue = contact is closed
- [in] false = contact is open
cause[in] String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
true event has been sent successfully
-
-false event has not been sent, maybe you sent to much events in a short distance of time
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.js deleted file mode 100644 index be4eed4..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor = -[ - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendContactEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html#a452a4cfa3177d8d8d31c5919e9ccbb19", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor__inherit__graph.map deleted file mode 100644 index 8b4b158..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor__inherit__graph.md5 deleted file mode 100644 index ef68cc4..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -7fac135bacf6cf9791037b72e2e07af1 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor__inherit__graph.png deleted file mode 100644 index 6a3ee1c..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device-members.html deleted file mode 100644 index ce78962..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device-members.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProDevice Member List
-
-
- -

This is the complete list of members for SinricProDevice, including all inherited members.

-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device.html deleted file mode 100644 index 051f132..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - -SinricPro Library: SinricProDevice - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProDevice
-
-
- -

Base class for all device types. - More...

-
-Inheritance diagram for SinricProDevice:
-
-
Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - -
[legend]
-

Detailed Description

-

Base class for all device types.

-

Supporting base functions which needed by all device types to work with SinricProClass
-Implements basic on/off functions like onPowerState and sendPowerStateEvent

-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device__inherit__graph.map deleted file mode 100644 index 47386dd..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device__inherit__graph.map +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device__inherit__graph.md5 deleted file mode 100644 index 6d17e96..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e0f85c79c90b4b5beb18a9f6908e6913 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device__inherit__graph.png deleted file mode 100644 index aaffe89..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch-members.html deleted file mode 100644 index a742fee..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch-members.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProDimSwitch Member List
-
-
- -

This is the complete list of members for SinricProDimSwitch, including all inherited members.

- - - - - - - -
onAdjustPowerLevel(AdjustPowerLevelCallback cb)PowerLevelController< SinricProDimSwitch >
onPowerLevel(SetPowerLevelCallback cb)PowerLevelController< SinricProDimSwitch >
onPowerState(PowerStateCallback cb)PowerStateController< SinricProDimSwitch >
sendPowerLevelEvent(int powerLevel, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerLevelController< SinricProDimSwitch >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProDimSwitch >
sendPushNotification(String notification)PushNotification< SinricProDimSwitch >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html deleted file mode 100644 index ae4bfa0..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - - - -SinricPro Library: SinricProDimSwitch - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProDimSwitch
-
-
- -

Device which supports on / off and dimming commands. - More...

-
-Inheritance diagram for SinricProDimSwitch:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
void onPowerLevel (SetPowerLevelCallback cb)
 Set callback function for setPowerLevel request. More...
 
void onAdjustPowerLevel (AdjustPowerLevelCallback cb)
 Set callback function for adjustPowerLevel request. More...
 
bool sendPowerLevelEvent (int powerLevel, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerLevel event to SinricPro Server indicating actual power level. More...
 
-

Detailed Description

-

Device which supports on / off and dimming commands.

-

Member Function Documentation

- -

◆ onAdjustPowerLevel()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustPowerLevel (AdjustPowerLevelCallback cb)
-
-inherited
-
- -

Set callback function for adjustPowerLevel request.

-
Parameters
- - -
cbFunction pointer to a AdjustPowerLevelCallback function
-
-
-
See also
AdjustPowerLevelCallback
- -
-
- -

◆ onPowerLevel()

- -
-
- - - - - -
- - - - - - - - -
void onPowerLevel (SetPowerLevelCallback cb)
-
-inherited
-
- -

Set callback function for setPowerLevel request.

-
Parameters
- - -
cbFunction pointer to a SetPowerLevelCallback function
-
-
-
See also
SetPowerLevelCallback
- -
-
- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendPowerLevelEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerLevelEvent (int powerLevel,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerLevel event to SinricPro Server indicating actual power level.

-
Parameters
- - - -
powerLevelinteger 0..100 report the powerlevel that the device have been set to
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
-
-
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.js deleted file mode 100644 index 602e76d..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.js +++ /dev/null @@ -1,9 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch = -[ - [ "onAdjustPowerLevel", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html#a13b10bdb1844babe4de320fff9172d96", null ], - [ "onPowerLevel", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html#a0685d34694badb4442fed6b69b69b366", null ], - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendPowerLevelEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html#a2f1f88c7b4d9503bfcfe5557c5e55ed4", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch__inherit__graph.map deleted file mode 100644 index 3aec87a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch__inherit__graph.md5 deleted file mode 100644 index 5ee963a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -1de2b5a7e70718696fee7d294492c8c6 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch__inherit__graph.png deleted file mode 100644 index c7f57a2..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell-members.html deleted file mode 100644 index cbf5525..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProDoorbell Member List
-
-
- -

This is the complete list of members for SinricProDoorbell, including all inherited members.

- - - - - -
onPowerState(PowerStateCallback cb)PowerStateController< SinricProDoorbell >
sendDoorbellEvent(String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)Doorbell< SinricProDoorbell >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProDoorbell >
sendPushNotification(String notification)PushNotification< SinricProDoorbell >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html deleted file mode 100644 index c38cdf0..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - -SinricPro Library: SinricProDoorbell - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProDoorbell
-
-
- -

Device to report doorbell events. - More...

-
-Inheritance diagram for SinricProDoorbell:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
bool sendDoorbellEvent (String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send Doorbell event to SinricPro Server indicating someone pressed the doorbell button. More...
 
-

Detailed Description

-

Device to report doorbell events.

-

Member Function Documentation

- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendDoorbellEvent()

- -
-
- - - - - -
- - - - - - - - -
bool sendDoorbellEvent (String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION)
-
-inherited
-
- -

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

-
Parameters
- - -
causeString (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
-
-
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.js deleted file mode 100644 index 41198bb..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell = -[ - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendDoorbellEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html#a168f5a4ddcbf381fd548bf10ee05b272", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell__inherit__graph.map deleted file mode 100644 index 3cc4f35..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell__inherit__graph.md5 deleted file mode 100644 index 023eb82..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -4bdbee59afef819b54a389de4bd4af49 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell__inherit__graph.png deleted file mode 100644 index b3e3097..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan-members.html deleted file mode 100644 index 3d93ecc..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan-members.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProFan Member List
-
-
- -

This is the complete list of members for SinricProFan, including all inherited members.

- - - - - - - -
onAdjustPowerLevel(AdjustPowerLevelCallback cb)PowerLevelController< SinricProFan >
onPowerLevel(SetPowerLevelCallback cb)PowerLevelController< SinricProFan >
onPowerState(PowerStateCallback cb)PowerStateController< SinricProFan >
sendPowerLevelEvent(int powerLevel, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerLevelController< SinricProFan >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProFan >
sendPushNotification(String notification)PushNotification< SinricProFan >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html deleted file mode 100644 index f5dfbd5..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - - - -SinricPro Library: SinricProFan - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProFan
-
-
- -

Device to turn on / off a fan and change it's speed by using powerlevel. - More...

-
-Inheritance diagram for SinricProFan:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
void onPowerLevel (SetPowerLevelCallback cb)
 Set callback function for setPowerLevel request. More...
 
void onAdjustPowerLevel (AdjustPowerLevelCallback cb)
 Set callback function for adjustPowerLevel request. More...
 
bool sendPowerLevelEvent (int powerLevel, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerLevel event to SinricPro Server indicating actual power level. More...
 
-

Detailed Description

-

Device to turn on / off a fan and change it's speed by using powerlevel.

-

Member Function Documentation

- -

◆ onAdjustPowerLevel()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustPowerLevel (AdjustPowerLevelCallback cb)
-
-inherited
-
- -

Set callback function for adjustPowerLevel request.

-
Parameters
- - -
cbFunction pointer to a AdjustPowerLevelCallback function
-
-
-
See also
AdjustPowerLevelCallback
- -
-
- -

◆ onPowerLevel()

- -
-
- - - - - -
- - - - - - - - -
void onPowerLevel (SetPowerLevelCallback cb)
-
-inherited
-
- -

Set callback function for setPowerLevel request.

-
Parameters
- - -
cbFunction pointer to a SetPowerLevelCallback function
-
-
-
See also
SetPowerLevelCallback
- -
-
- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendPowerLevelEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerLevelEvent (int powerLevel,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerLevel event to SinricPro Server indicating actual power level.

-
Parameters
- - - -
powerLevelinteger 0..100 report the powerlevel that the device have been set to
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
-
-
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.js deleted file mode 100644 index 2eb60d4..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.js +++ /dev/null @@ -1,9 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan = -[ - [ "onAdjustPowerLevel", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html#a13b10bdb1844babe4de320fff9172d96", null ], - [ "onPowerLevel", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html#a0685d34694badb4442fed6b69b69b366", null ], - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendPowerLevelEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html#a2f1f88c7b4d9503bfcfe5557c5e55ed4", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan__inherit__graph.map deleted file mode 100644 index 1eefa03..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan__inherit__graph.md5 deleted file mode 100644 index 7f25d16..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d42adbbf37a4956997964a5e99b24598 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan__inherit__graph.png deleted file mode 100644 index 239647e..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s-members.html deleted file mode 100644 index 81b76b2..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s-members.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProFanUS Member List
-
-
- -

This is the complete list of members for SinricProFanUS, including all inherited members.

- - - - - - - - - -
onAdjustRangeValue(AdjustRangeValueCallback cb)RangeController< SinricProFanUS >
onPowerState(PowerStateCallback cb)PowerStateController< SinricProFanUS >
onRangeValue(SetRangeValueCallback cb)RangeController< SinricProFanUS >
onRangeValue(const String &instance, GenericSetRangeValueCallback_int cb)RangeController< SinricProFanUS >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProFanUS >
sendPushNotification(String notification)PushNotification< SinricProFanUS >
sendRangeValueEvent(int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)RangeController< SinricProFanUS >
sendRangeValueEvent(const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)RangeController< SinricProFanUS >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html deleted file mode 100644 index 5bd8383..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html +++ /dev/null @@ -1,511 +0,0 @@ - - - - - - - -SinricPro Library: SinricProFanUS - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProFanUS
-
-
- -

Device to control a fan with on / off commands and its speed by a range value. - More...

-
-Inheritance diagram for SinricProFanUS:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
void onRangeValue (SetRangeValueCallback cb)
 Set callback function for setRangeValue request. More...
 
void onRangeValue (const String &instance, GenericSetRangeValueCallback_int cb)
 Set callback function for setRangeValue request on a specific instance (custom device) More...
 
void onAdjustRangeValue (AdjustRangeValueCallback cb)
 Set callback function for adjustRangeValue request. More...
 
bool sendRangeValueEvent (int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send rangeValue event to report curent rangeValue to SinricPro server. More...
 
bool sendRangeValueEvent (const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send rangeValue event to report curent rangeValue to SinricPro server for a specific instance (custom device) More...
 
-

Detailed Description

-

Device to control a fan with on / off commands and its speed by a range value.

-

Member Function Documentation

- -

◆ onAdjustRangeValue()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustRangeValue (AdjustRangeValueCallback cb)
-
-inherited
-
- -

Set callback function for adjustRangeValue request.

-
Parameters
- - -
cbFunction pointer to a AdjustRangeValueCallback function
-
-
-
See also
AdjustRangeValueCallback
- -
-
- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ onRangeValue() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void onRangeValue (const String & instance,
GenericSetRangeValueCallback_int cb 
)
-
-inherited
-
- -

Set callback function for setRangeValue request on a specific instance (custom device)

-
Parameters
- - - -
instanceString instance name (custom device)
cbFunction pointer to a GenericSetRangeValueCallback function
-
-
-
See also
GenericSetRangeValueCallback
- -
-
- -

◆ onRangeValue() [2/2]

- -
-
- - - - - -
- - - - - - - - -
void onRangeValue (SetRangeValueCallback cb)
-
-inherited
-
- -

Set callback function for setRangeValue request.

-
Parameters
- - -
cbFunction pointer to a SetRangeValueCallback function
-
-
-
See also
SetRangeValueCallback
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
- -

◆ sendRangeValueEvent() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendRangeValueEvent (const String & instance,
int rangeValue,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send rangeValue event to report curent rangeValue to SinricPro server for a specific instance (custom device)

-
Parameters
- - - - -
instanceString instance name
rangeValueValue between 0..3
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendRangeValueEvent() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendRangeValueEvent (int rangeValue,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send rangeValue event to report curent rangeValue to SinricPro server.

-
Parameters
- - - -
rangeValueValue between 0..3
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.js deleted file mode 100644 index caa608c..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.js +++ /dev/null @@ -1,11 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s = -[ - [ "onAdjustRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html#ae85696d55112ae7343f9807faee6e064", null ], - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "onRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html#a6d6d8070b49c8b5272460836a1120b33", null ], - [ "onRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html#a94adbcdf6ce61cb6552a5f9915e705ae", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html#a04266791a4b23e9614b8773edb5f67b6", null ], - [ "sendRangeValueEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html#aaf84aa417e2246843a27e819898e64b5", null ], - [ "sendRangeValueEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html#a1d726751c416fe6dd408e5dd19f6b53b", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s__inherit__graph.map deleted file mode 100644 index cc83c27..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s__inherit__graph.md5 deleted file mode 100644 index 7fe551f..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -08f05dc128eaa60ffdf2b912d3d42a3d \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s__inherit__graph.png deleted file mode 100644 index 88feae1..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door-members.html deleted file mode 100644 index fbbaa99..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProGarageDoor Member List
-
-
- -

This is the complete list of members for SinricProGarageDoor, including all inherited members.

- - - - -
onDoorState(DoorCallback cb)DoorController< SinricProGarageDoor >
sendDoorStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)DoorController< SinricProGarageDoor >
sendPushNotification(String notification)PushNotification< SinricProGarageDoor >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html deleted file mode 100644 index d861276..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - -SinricPro Library: SinricProGarageDoor - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProGarageDoor
-
-
- -

Device to control a garage door. - More...

-
-Inheritance diagram for SinricProGarageDoor:
-
-
Inheritance graph
- - - - - - - - -
[legend]
- - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onDoorState (DoorCallback cb)
 Set callback function for onDoorState request. More...
 
bool sendDoorStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send DoorState event to update actual door state on SinricPro Server. More...
 
-

Detailed Description

-

Device to control a garage door.

-

Supporting

    -
  • open / close
  • -
-

Member Function Documentation

- -

◆ onDoorState()

- -
-
- - - - - -
- - - - - - - - -
void onDoorState (DoorCallback cb)
-
-inherited
-
- -

Set callback function for onDoorState request.

-
Parameters
- - -
cbFunction pointer to a onDoorState function
-
-
-
Returns
void
-
See also
DoorStateCallback
- -
-
- -

◆ sendDoorStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendDoorStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send DoorState event to update actual door state on SinricPro Server.

-
Parameters
- - - -
statebool true = close
- false = open
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.js deleted file mode 100644 index f6adc7a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.js +++ /dev/null @@ -1,6 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door = -[ - [ "onDoorState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html#a6b536531ab89b39f1a48cb107e22185e", null ], - [ "sendDoorStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html#a375cda2b0bc05e1a66e3bc29d059d9a7", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door__inherit__graph.map deleted file mode 100644 index 9afa774..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door__inherit__graph.map +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door__inherit__graph.md5 deleted file mode 100644 index 7283a25..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -16bbe3e784bfd6986b8971d6273952a6 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door__inherit__graph.png deleted file mode 100644 index ffe5301..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light-members.html deleted file mode 100644 index 17c2de7..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light-members.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProLight Member List
-
-
- -

This is the complete list of members for SinricProLight, including all inherited members.

- - - - - - - - - - - - - -
onAdjustBrightness(AdjustBrightnessCallback cb)BrightnessController< SinricProLight >
onBrightness(BrightnessCallback cb)BrightnessController< SinricProLight >
onColor(ColorCallback cb)ColorController< SinricProLight >
onColorTemperature(ColorTemperatureCallback cb)ColorTemperatureController< SinricProLight >
onDecreaseColorTemperature(DecreaseColorTemperatureCallback cb)ColorTemperatureController< SinricProLight >
onIncreaseColorTemperature(IncreaseColorTemperatureCallback cb)ColorTemperatureController< SinricProLight >
onPowerState(PowerStateCallback cb)PowerStateController< SinricProLight >
sendBrightnessEvent(int brightness, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)BrightnessController< SinricProLight >
sendColorEvent(byte r, byte g, byte b, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ColorController< SinricProLight >
sendColorTemperatureEvent(int colorTemperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ColorTemperatureController< SinricProLight >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProLight >
sendPushNotification(String notification)PushNotification< SinricProLight >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html deleted file mode 100644 index fa33a40..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html +++ /dev/null @@ -1,698 +0,0 @@ - - - - - - - -SinricPro Library: SinricProLight - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProLight
-
-
- -

Device to control a light. - More...

-
-Inheritance diagram for SinricProLight:
-
-
Inheritance graph
- - - - - - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
void onBrightness (BrightnessCallback cb)
 Set callback function for setBrightness request. More...
 
void onAdjustBrightness (AdjustBrightnessCallback cb)
 Set callback function for adjustBrightness request. More...
 
bool sendBrightnessEvent (int brightness, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setBrightness event to SinricPro Server indicating actual brightness. More...
 
void onColor (ColorCallback cb)
 Set callback function for setColor request. More...
 
bool sendColorEvent (byte r, byte g, byte b, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setColor event to SinricPro Server indicating actual color. More...
 
void onColorTemperature (ColorTemperatureCallback cb)
 Set callback function for setColorTemperature request. More...
 
void onIncreaseColorTemperature (IncreaseColorTemperatureCallback cb)
 Set callback function for increaseColorTemperature request. More...
 
void onDecreaseColorTemperature (DecreaseColorTemperatureCallback cb)
 Set callback function for decreaseColorTemperature request. More...
 
bool sendColorTemperatureEvent (int colorTemperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setColorTemperature event to SinricPro Server indicating actual color temperature. More...
 
-

Detailed Description

-

Device to control a light.

-

Supporting

    -
  • On / Off
  • -
  • Brightness (0..100)
  • -
  • Color (RGB)
  • -
  • Color temperature
  • -
-

Member Function Documentation

- -

◆ onAdjustBrightness()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustBrightness (AdjustBrightnessCallback cb)
-
-inherited
-
- -

Set callback function for adjustBrightness request.

-
Parameters
- - -
cbFunction pointer to a AdjustBrightnessCallback function
-
-
-
Returns
void
-
See also
AdjustBrightnessCallback
- -
-
- -

◆ onBrightness()

- -
-
- - - - - -
- - - - - - - - -
void onBrightness (BrightnessCallback cb)
-
-inherited
-
- -

Set callback function for setBrightness request.

-
Parameters
- - -
cbFunction pointer to a BrightnessCallback function
-
-
-
Returns
void
-
See also
BrightnessCallback
- -
-
- -

◆ onColor()

- -
-
- - - - - -
- - - - - - - - -
void onColor (ColorCallback cb)
-
-inherited
-
- -

Set callback function for setColor request.

-
Parameters
- - -
cbFunction pointer to a ColorCallback function
-
-
-
Returns
void
-
See also
ColorCallback
- -
-
- -

◆ onColorTemperature()

- -
-
- - - - - -
- - - - - - - - -
void onColorTemperature (ColorTemperatureCallback cb)
-
-inherited
-
- -

Set callback function for setColorTemperature request.

-
Parameters
- - -
cbFunction pointer to a ColorTemperatureCallback function
-
-
-
Returns
void
-
See also
ColorTemperatureCallback
- -
-
- -

◆ onDecreaseColorTemperature()

- -
-
- - - - - -
- - - - - - - - -
void onDecreaseColorTemperature (DecreaseColorTemperatureCallback cb)
-
-inherited
-
- -

Set callback function for decreaseColorTemperature request.

-
Parameters
- - -
cbFunction pointer to a DecreaseColorTemperatureCallback function
-
-
-
Returns
void
-
See also
DecreaseColorTemperatureCallback
- -
-
- -

◆ onIncreaseColorTemperature()

- -
-
- - - - - -
- - - - - - - - -
void onIncreaseColorTemperature (IncreaseColorTemperatureCallback cb)
-
-inherited
-
- -

Set callback function for increaseColorTemperature request.

-
Parameters
- - -
cbFunction pointer to a IncreaseColorTemperatureCallback function
-
-
-
Returns
void
-
See also
IncreaseColorTemperatureCallback
- -
-
- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendBrightnessEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendBrightnessEvent (int brightness,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setBrightness event to SinricPro Server indicating actual brightness.

-
Parameters
- - - -
brightnessInteger value with actual brightness the device is set to
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendColorEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool sendColorEvent (byte r,
byte g,
byte b,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setColor event to SinricPro Server indicating actual color.

-
Parameters
- - - - - -
rByte value for red
gByte value for green
bByte value for blue
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendColorTemperatureEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendColorTemperatureEvent (int colorTemperature,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setColorTemperature event to SinricPro Server indicating actual color temperature.

-
Parameters
- - - -
colorTemperatureInteger with new color temperature the device is set to
- 2200 = warm white
- 2700 = soft white
- 4000 = white
- 5500 = daylight white
- 7000 = cool white
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.js deleted file mode 100644 index afc5c4d..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.js +++ /dev/null @@ -1,15 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light = -[ - [ "onAdjustBrightness", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a0633e5fa2981189f4a093bab00a8c7f1", null ], - [ "onBrightness", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#abbaab3067b1fcdcc5928451b818a4420", null ], - [ "onColor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a059ff103149869b7c49cdb8911875b7b", null ], - [ "onColorTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a8535c44fd2517ed09ebe6a203cc25b67", null ], - [ "onDecreaseColorTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a7468976e7fffeee14cc869b7236cbb50", null ], - [ "onIncreaseColorTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a7ea9fd9861a5668a41d06267bfbec82a", null ], - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendBrightnessEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a2a96c414210f61de3ce53a4ca8c963b3", null ], - [ "sendColorEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a3599a6d00eb0f9127a7c1188885c5bc0", null ], - [ "sendColorTemperatureEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a0f90d7f5a5b365116f97beca7630ccc9", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light__inherit__graph.map deleted file mode 100644 index 06d7687..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light__inherit__graph.map +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light__inherit__graph.md5 deleted file mode 100644 index e967298..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -67230006b1b44f2995a069c5c50c8291 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light__inherit__graph.png deleted file mode 100644 index bda76d5..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock-members.html deleted file mode 100644 index 8d277ad..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProLock Member List
-
-
- -

This is the complete list of members for SinricProLock, including all inherited members.

- - - - -
onLockState(LockStateCallback cb)LockController< SinricProLock >
sendLockStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)LockController< SinricProLock >
sendPushNotification(String notification)PushNotification< SinricProLock >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html deleted file mode 100644 index eb867d3..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - - -SinricPro Library: SinricProLock - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProLock
-
-
- -

Device to control a smart lock. - More...

-
-Inheritance diagram for SinricProLock:
-
-
Inheritance graph
- - - - - - - - -
[legend]
- - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onLockState (LockStateCallback cb)
 Set callback function for setLockState request. More...
 
bool sendLockStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send lockState event to SinricPro Server indicating actual lock state. More...
 
-

Detailed Description

-

Device to control a smart lock.

-

Supporting

    -
  • on / off
  • -
  • lock / unlock
  • -
-

Member Function Documentation

- -

◆ onLockState()

- -
-
- - - - - -
- - - - - - - - -
void onLockState (LockStateCallback cb)
-
-inherited
-
- -

Set callback function for setLockState request.

-
Parameters
- - -
cbFunction pointer to a LockStateCallback function
-
-
-
Returns
void
-
See also
LockStateCallback
- -
-
- -

◆ sendLockStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendLockStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send lockState event to SinricPro Server indicating actual lock state.

-
Parameters
- - - -
statetrue = device is locked
- false = device is unlocked
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.js deleted file mode 100644 index 7deae79..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.js +++ /dev/null @@ -1,6 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock = -[ - [ "onLockState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html#aee42cc397234a454fd353ca6bc12a859", null ], - [ "sendLockStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html#a8fb3fec204da21e69d05f89a9ecb4739", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock__inherit__graph.map deleted file mode 100644 index ed74aa3..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock__inherit__graph.map +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock__inherit__graph.md5 deleted file mode 100644 index bebb812..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -ee925f34e309e3f8b9e6212d1f7c0e4c \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock__inherit__graph.png deleted file mode 100644 index 58f1a2e..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor-members.html deleted file mode 100644 index 25dfdf8..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProMotionsensor Member List
-
-
- -

This is the complete list of members for SinricProMotionsensor, including all inherited members.

- - - - - -
onPowerState(PowerStateCallback cb)PowerStateController< SinricProMotionsensor >
sendMotionEvent(bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)MotionSensor< SinricProMotionsensor >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProMotionsensor >
sendPushNotification(String notification)PushNotification< SinricProMotionsensor >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html deleted file mode 100644 index 1655bec..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - - -SinricPro Library: SinricProMotionsensor - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProMotionsensor
-
-
- -

Device to report motion detection events. - More...

-
-Inheritance diagram for SinricProMotionsensor:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
bool sendMotionEvent (bool detected, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Sending motion detection state to SinricPro server. More...
 
-

Detailed Description

-

Device to report motion detection events.

-

Member Function Documentation

- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendMotionEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendMotionEvent (bool detected,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Sending motion detection state to SinricPro server.

-
Parameters
- - - -
detectedbool true if motion has been detected
- 'false' if no motion has been detected
cause(optional) String 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
-
-
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.js deleted file mode 100644 index ae214ef..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor = -[ - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendMotionEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html#a9be024aa2bb70f0146a02dd1b79d3faa", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor__inherit__graph.map deleted file mode 100644 index db0dec9..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor__inherit__graph.md5 deleted file mode 100644 index df5f74a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -9e233792d2fb4be0768033d28d6cbe03 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor__inherit__graph.png deleted file mode 100644 index 9b5099f..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor-members.html deleted file mode 100644 index 178bd7b..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProPowerSensor Member List
-
-
- -

This is the complete list of members for SinricProPowerSensor, including all inherited members.

- - - - - -
onPowerState(PowerStateCallback cb)PowerStateController< SinricProPowerSensor >
sendPowerSensorEvent(float voltage, float current, float power=-1.0f, float apparentPower=-1.0f, float reactivePower=-1.0f, float factor=-1.0f, String cause=FSTR_SINRICPRO_PERIODIC_POLL)PowerSensor< SinricProPowerSensor >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProPowerSensor >
sendPushNotification(String notification)PushNotification< SinricProPowerSensor >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html deleted file mode 100644 index 6d14c67..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - - - -SinricPro Library: SinricProPowerSensor - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProPowerSensor
-
-
- -

Device to report power usage. - More...

-
-Inheritance diagram for SinricProPowerSensor:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
bool sendPowerSensorEvent (float voltage, float current, float power=-1.0f, float apparentPower=-1.0f, float reactivePower=-1.0f, float factor=-1.0f, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
 Send PowerSensor event to SinricPro Server. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
-

Detailed Description

-

Device to report power usage.

-

Member Function Documentation

- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendPowerSensorEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool sendPowerSensorEvent (float voltage,
float current,
float power = -1.0f,
float apparentPower = -1.0f,
float reactivePower = -1.0f,
float factor = -1.0f,
String cause = FSTR_SINRICPRO_PERIODIC_POLL 
)
-
-inherited
-
- -

Send PowerSensor event to SinricPro Server.

-
Parameters
- - - - - - - - -
voltagefloat voltage
currentfloat current
powerfloat (optional) if not provided, it is calculated automaticly (power = voltage * current)
apparentPowerfloat (optional) if not provided it is set to -1
reactivePowerfloat (optional) if not provided it is set to -1
factorfloat (optional) if not provided it is set to -1
- if apparentPower is provided, factor is calculated automaticly (factor = power / apparentPower)
causeString (optional) Reason why event is sent (default = "PERIODIC_POLL")
-
-
-
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
-
-
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.js deleted file mode 100644 index 18a4e03..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor = -[ - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendPowerSensorEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html#aec04692842ae1953973503f6be6d9afc", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor__inherit__graph.map deleted file mode 100644 index 4c5d94c..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor__inherit__graph.md5 deleted file mode 100644 index 09753a9..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -787241b3ed649cffc22031669c06baca \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor__inherit__graph.png deleted file mode 100644 index 9a9d82e..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker-members.html deleted file mode 100644 index a41671b..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker-members.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProSpeaker Member List
-
-
- -

This is the complete list of members for SinricProSpeaker, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - -
onAdjustBands(AdjustBandsCallback cb)EqualizerController< SinricProSpeaker >
onAdjustVolume(AdjustVolumeCallback cb)VolumeController< SinricProSpeaker >
onMediaControl(MediaControlCallback cb)MediaController< SinricProSpeaker >
onMute(MuteCallback cb)MuteController< SinricProSpeaker >
onPowerState(PowerStateCallback cb)PowerStateController< SinricProSpeaker >
onResetBands(ResetBandsCallback cb)EqualizerController< SinricProSpeaker >
onSelectInput(SelectInputCallback cb)InputController< SinricProSpeaker >
onSetBands(SetBandsCallback cb)EqualizerController< SinricProSpeaker >
onSetMode(ModeCallback cb)ModeController< SinricProSpeaker >
onSetMode(const String &instance, GenericModeCallback cb)ModeController< SinricProSpeaker >
onSetVolume(SetVolumeCallback cb)VolumeController< SinricProSpeaker >
sendBandsEvent(String bands, int level, String cause="PHYSICAL_INTERACTION")EqualizerController< SinricProSpeaker >
sendMediaControlEvent(String mediaControl, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)MediaController< SinricProSpeaker >
sendModeEvent(String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ModeController< SinricProSpeaker >
sendModeEvent(String instance, String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ModeController< SinricProSpeaker >
sendMuteEvent(bool mute, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)MuteController< SinricProSpeaker >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProSpeaker >
sendPushNotification(String notification)PushNotification< SinricProSpeaker >
sendSelectInputEvent(String intput, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)InputController< SinricProSpeaker >
sendVolumeEvent(int volume, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)VolumeController< SinricProSpeaker >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html deleted file mode 100644 index 084e11d..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html +++ /dev/null @@ -1,1107 +0,0 @@ - - - - - - - -SinricPro Library: SinricProSpeaker - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProSpeaker
-
-
- -

Device to control a smart speaker. - More...

-
-Inheritance diagram for SinricProSpeaker:
-
-
Inheritance graph
- - - - - - - - - - - - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
void onMute (MuteCallback cb)
 Set callback function for setMute request. More...
 
bool sendMuteEvent (bool mute, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setMute event to SinricPro Server indicating actual mute state. More...
 
void onSetVolume (SetVolumeCallback cb)
 Set callback function for setVolume request. More...
 
void onAdjustVolume (AdjustVolumeCallback cb)
 Set callback function for adjustVolume request. More...
 
bool sendVolumeEvent (int volume, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setVolume event to SinricPro Server indicating actual volume has changed. More...
 
void onMediaControl (MediaControlCallback cb)
 Set callback function for mediaControl request. More...
 
bool sendMediaControlEvent (String mediaControl, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send mediaControl event to SinricPro Server indicating devices media control state. More...
 
void onSelectInput (SelectInputCallback cb)
 Set callback function for selectInput request. More...
 
bool sendSelectInputEvent (String intput, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send selectInput event to SinricPro Server to report selected input. More...
 
void onSetBands (SetBandsCallback cb)
 Set callback function for setBands request. More...
 
void onAdjustBands (AdjustBandsCallback cb)
 Set callback function for adjustBands request. More...
 
void onResetBands (ResetBandsCallback cb)
 Set callback function for resetBands request. More...
 
bool sendBandsEvent (String bands, int level, String cause="PHYSICAL_INTERACTION")
 Send setBands event to SinricPro Server indicating bands level has changed. More...
 
void onSetMode (ModeCallback cb)
 Set callback function for setMode request. More...
 
void onSetMode (const String &instance, GenericModeCallback cb)
 Set callback function for setMode request on a specific instance. More...
 
bool sendModeEvent (String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setMode event to SinricPro Server indicating the mode has changed. More...
 
bool sendModeEvent (String instance, String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setMode event to SinricPro Server indicating the mode on a specific instance has changed. More...
 
-

Detailed Description

-

Device to control a smart speaker.

-

Supporting:

    -
  • setVolume / adjustVolume
  • -
  • set / adjust / reset bands (BASS, MIDRANGE, TREBBLE)
  • -
  • mute / unmute
  • -
  • media controls:
      -
    • FastForward
    • -
    • Next
    • -
    • Pause
    • -
    • Play
    • -
    • Previous
    • -
    • Rewind
    • -
    • StartOver
    • -
    • Stop
    • -
    -
  • -
  • set mode (TV, MOVIE, ...)
  • -
-

Member Function Documentation

- -

◆ onAdjustBands()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustBands (AdjustBandsCallback cb)
-
-inherited
-
- -

Set callback function for adjustBands request.

-
Parameters
- - -
cbFunction pointer to a AdjustBandsCallback function
-
-
-
Returns
void
-
See also
AdjustBandsCallback
- -
-
- -

◆ onAdjustVolume()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustVolume (AdjustVolumeCallback cb)
-
-inherited
-
- -

Set callback function for adjustVolume request.

-
Parameters
- - -
cbFunction pointer to a AdjustVolumeCallback function
-
-
-
Returns
void
-
See also
AdjustVolumeCallback
- -
-
- -

◆ onMediaControl()

- -
-
- - - - - -
- - - - - - - - -
void onMediaControl (MediaControlCallback cb)
-
-inherited
-
- -

Set callback function for mediaControl request.

-
Parameters
- - -
cbFunction pointer to a MediaControlCallback function
-
-
-
Returns
void
-
See also
MediaControlCallback
- -
-
- -

◆ onMute()

- -
-
- - - - - -
- - - - - - - - -
void onMute (MuteCallback cb)
-
-inherited
-
- -

Set callback function for setMute request.

-
Parameters
- - -
cbFunction pointer to a MuteCallback function
-
-
-
Returns
void
-
See also
MuteCallback
- -
-
- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ onResetBands()

- -
-
- - - - - -
- - - - - - - - -
void onResetBands (ResetBandsCallback cb)
-
-inherited
-
- -

Set callback function for resetBands request.

-
Parameters
- - -
cbFunction pointer to a ResetBandsCallback function
-
-
-
Returns
void
-
See also
ResetBandsCallback
- -
-
- -

◆ onSelectInput()

- -
-
- - - - - -
- - - - - - - - -
void onSelectInput (SelectInputCallback cb)
-
-inherited
-
- -

Set callback function for selectInput request.

-
Parameters
- - -
cbFunction pointer to a SelectInputCallback function
-
-
-
Returns
void
-
See also
SelectInputCallback
- -
-
- -

◆ onSetBands()

- -
-
- - - - - -
- - - - - - - - -
void onSetBands (SetBandsCallback cb)
-
-inherited
-
- -

Set callback function for setBands request.

-
Parameters
- - -
cbFunction pointer to a SetBandsCallback function
-
-
-
Returns
void
-
See also
SetBandsCallback
- -
-
- -

◆ onSetMode() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void onSetMode (const String & instance,
GenericModeCallback cb 
)
-
-inherited
-
- -

Set callback function for setMode request on a specific instance.

-
Parameters
- - - -
instanceString with instance name
cbFunction pointer to a ModeCallback function
-
-
-
Returns
void
-
See also
ModeCallback
- -
-
- -

◆ onSetMode() [2/2]

- -
-
- - - - - -
- - - - - - - - -
void onSetMode (ModeCallback cb)
-
-inherited
-
- -

Set callback function for setMode request.

-
Parameters
- - -
cbFunction pointer to a ModeCallback function
-
-
-
Returns
void
-
See also
ModeCallback
- -
-
- -

◆ onSetVolume()

- -
-
- - - - - -
- - - - - - - - -
void onSetVolume (SetVolumeCallback cb)
-
-inherited
-
- -

Set callback function for setVolume request.

-
Parameters
- - -
cbFunction pointer to a SetVolumeCallback function
-
-
-
Returns
void
-
See also
SetVolumeCallback
- -
-
- -

◆ sendBandsEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendBandsEvent (String bands,
int level,
String cause = "PHYSICAL_INTERACTION" 
)
-
-inherited
-
- -

Send setBands event to SinricPro Server indicating bands level has changed.

-
Parameters
- - - - -
bandsString which bands has changed
- BASS, MIDRANGE, TREBBLE
levelInteger with changed bands level
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendMediaControlEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendMediaControlEvent (String mediaControl,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send mediaControl event to SinricPro Server indicating devices media control state.

-
Parameters
- - - -
mediaControlString with actual media control
- FastForward, Next, Pause, Play, Previous, Rewind, StartOver, Stop
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendModeEvent() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendModeEvent (String instance,
String mode,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setMode event to SinricPro Server indicating the mode on a specific instance has changed.

-
Parameters
- - - - -
instanceString instance name
modeString with actual mode device is set to
- MOVIE, MUSIC, NIGHT, SPORT, TV
cause(optional) String reason why event is sent (default = FSTR_SINRICPRO_PHYSICAL_INTERACTION)
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendModeEvent() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendModeEvent (String mode,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setMode event to SinricPro Server indicating the mode has changed.

-
Parameters
- - - -
modeString with actual mode device is set to
- MOVIE, MUSIC, NIGHT, SPORT, TV
cause(optional) String reason why event is sent (default = FSTR_SINRICPRO_PHYSICAL_INTERACTION)
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendMuteEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendMuteEvent (bool mute,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setMute event to SinricPro Server indicating actual mute state.

-
Parameters
- - - -
mutetrue = device is muted on
- false = device is unmuted
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
- -

◆ sendSelectInputEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendSelectInputEvent (String input,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send selectInput event to SinricPro Server to report selected input.

-
Parameters
- - - -
inputString with actual media control
- AUX 1..AUX 7, BLURAY, CABLE, CD, COAX 1,COAX 2, COMPOSITE 1, DVD, GAME, HD RADIO, HDMI 1.. HDMI 10, HDMI ARC, INPUT 1..INPUT 10, IPOD, LINE 1..LINE 7, MEDIA PLAYER, OPTICAL 1, OPTICAL 2, PHONO, PLAYSTATION, PLAYSTATION 3, PLAYSTATION 4, SATELLITE, SMARTCAST, TUNER, TV, USB DAC, VIDEO 1..VIDEO 3, XBOX
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendVolumeEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendVolumeEvent (int volume,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setVolume event to SinricPro Server indicating actual volume has changed.

-
Parameters
- - - -
volumeInteger reporting the volume that the device have been set to
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.js deleted file mode 100644 index 42e43a0..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.js +++ /dev/null @@ -1,23 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker = -[ - [ "onAdjustBands", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a41a5c1506545c44c2408054a8675c7a8", null ], - [ "onAdjustVolume", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a2c868c87f96e3924c8b309e1bcfb507e", null ], - [ "onMediaControl", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#afc2620621377fff928737b5a8a537020", null ], - [ "onMute", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#ab5fc79cc8903c3ccc1c106abf61d7cfd", null ], - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "onResetBands", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#aa6c3aabc2b442d82ac5456ccaac3f60d", null ], - [ "onSelectInput", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a18f8f71ecf0d7292a63d9486f94e5180", null ], - [ "onSetBands", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a4aaa7a29394560be7537a86b0304d199", null ], - [ "onSetMode", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a6b15ba168b3a673b98da43ac5e4ef76c", null ], - [ "onSetMode", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#ada087c948c3ab923bdb7818daa6b2b79", null ], - [ "onSetVolume", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a5db8c85f222debbece54c794015f9402", null ], - [ "sendBandsEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a4ad5674e36d96a73147388251b794c82", null ], - [ "sendMediaControlEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a7af593cbf79d38f6b90efb5afee45077", null ], - [ "sendModeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a7c84d5c26f2ded88e4941313015f7f4c", null ], - [ "sendModeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a41f8465e89d147c08ab8cbc6839d34da", null ], - [ "sendMuteEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a4717d892b64a14052712152924bd5b29", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a04266791a4b23e9614b8773edb5f67b6", null ], - [ "sendSelectInputEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#a973241ac912a18b142d236dda7f80e97", null ], - [ "sendVolumeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html#aa2d3dbea5b07e4c5f39d3d20aa2167a4", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker__inherit__graph.map deleted file mode 100644 index 1b7cbe0..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker__inherit__graph.map +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker__inherit__graph.md5 deleted file mode 100644 index 20bbd13..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -d180169eefa145f7242c898afb35494a \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker__inherit__graph.png deleted file mode 100644 index 12886f2..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch-members.html deleted file mode 100644 index 5dbf265..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProSwitch Member List
-
-
- -

This is the complete list of members for SinricProSwitch, including all inherited members.

- - - - -
onPowerState(PowerStateCallback cb)PowerStateController< SinricProSwitch >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProSwitch >
sendPushNotification(String notification)PushNotification< SinricProSwitch >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html deleted file mode 100644 index 5a67b77..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - - -SinricPro Library: SinricProSwitch - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProSwitch
-
-
- -

Device suporting basic on / off command. - More...

-
-Inheritance diagram for SinricProSwitch:
-
-
Inheritance graph
- - - - - - - - -
[legend]
- - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
-

Detailed Description

-

Device suporting basic on / off command.

-

Member Function Documentation

- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.js deleted file mode 100644 index f4d2355..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.js +++ /dev/null @@ -1,6 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch = -[ - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html#a04266791a4b23e9614b8773edb5f67b6", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch__inherit__graph.map deleted file mode 100644 index 055347a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch__inherit__graph.map +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch__inherit__graph.md5 deleted file mode 100644 index f2186d6..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -616e861362f1a9be5c2c852fab55541c \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch__inherit__graph.png deleted file mode 100644 index ad61b8e..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v-members.html deleted file mode 100644 index 814fbdb..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v-members.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProTV Member List
-
-
- -

This is the complete list of members for SinricProTV, including all inherited members.

- - - - - - - - - - - - - - - - - -
onAdjustVolume(AdjustVolumeCallback cb)VolumeController< SinricProTV >
onChangeChannel(ChangeChannelCallback cb)ChannelController< SinricProTV >
onChangeChannelNumber(ChangeChannelNumberCallback cb)ChannelController< SinricProTV >
onMediaControl(MediaControlCallback cb)MediaController< SinricProTV >
onMute(MuteCallback cb)MuteController< SinricProTV >
onPowerState(PowerStateCallback cb)PowerStateController< SinricProTV >
onSelectInput(SelectInputCallback cb)InputController< SinricProTV >
onSetVolume(SetVolumeCallback cb)VolumeController< SinricProTV >
onSkipChannels(SkipChannelsCallback cb)ChannelController< SinricProTV >
sendChangeChannelEvent(String channelName, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ChannelController< SinricProTV >
sendMediaControlEvent(String mediaControl, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)MediaController< SinricProTV >
sendMuteEvent(bool mute, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)MuteController< SinricProTV >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProTV >
sendPushNotification(String notification)PushNotification< SinricProTV >
sendSelectInputEvent(String intput, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)InputController< SinricProTV >
sendVolumeEvent(int volume, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)VolumeController< SinricProTV >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html deleted file mode 100644 index 69e69dd..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html +++ /dev/null @@ -1,885 +0,0 @@ - - - - - - - -SinricPro Library: SinricProTV - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProTV
-
-
- -

Device to control a TV. - More...

-
-Inheritance diagram for SinricProTV:
-
-
Inheritance graph
- - - - - - - - - - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
void onSetVolume (SetVolumeCallback cb)
 Set callback function for setVolume request. More...
 
void onAdjustVolume (AdjustVolumeCallback cb)
 Set callback function for adjustVolume request. More...
 
bool sendVolumeEvent (int volume, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setVolume event to SinricPro Server indicating actual volume has changed. More...
 
void onMute (MuteCallback cb)
 Set callback function for setMute request. More...
 
bool sendMuteEvent (bool mute, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setMute event to SinricPro Server indicating actual mute state. More...
 
void onMediaControl (MediaControlCallback cb)
 Set callback function for mediaControl request. More...
 
bool sendMediaControlEvent (String mediaControl, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send mediaControl event to SinricPro Server indicating devices media control state. More...
 
void onSelectInput (SelectInputCallback cb)
 Set callback function for selectInput request. More...
 
bool sendSelectInputEvent (String intput, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send selectInput event to SinricPro Server to report selected input. More...
 
void onChangeChannel (ChangeChannelCallback cb)
 Set callback function for changeChannel request. More...
 
void onChangeChannelNumber (ChangeChannelNumberCallback cb)
 Set callback function for changeChannel request. More...
 
void onSkipChannels (SkipChannelsCallback cb)
 Set callback function for skipChannels request. More...
 
bool sendChangeChannelEvent (String channelName, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send changeChannel event to SinricPro Server to report selected channel. More...
 
-

Detailed Description

-

Device to control a TV.

-

Supporting:

    -
  • setVolume / adjustVolume
  • -
  • mute / unmute
  • -
  • media controls:
      -
    • FastForward, Next, Pause, Play, Previous, Rewind, StartOver, Stop
    • -
    -
  • -
  • select input
      -
    • AUX 1..AUX 7, BLURAY, CABLE, CD, COAX 1,COAX 2, COMPOSITE 1, DVD, GAME, HD RADIO, HDMI 1.. HDMI 10, HDMI ARC, INPUT 1..INPUT 10, IPOD, LINE 1..LINE 7, MEDIA PLAYER, OPTICAL 1, OPTICAL 2, PHONO, PLAYSTATION, PLAYSTATION 3, PLAYSTATION 4, SATELLITE, SMARTCAST, TUNER, TV, USB DAC, VIDEO 1..VIDEO 3, XBOX
    • -
    -
  • -
  • Change channel by number
  • -
  • Change channel by name
  • -
  • Skip channels
  • -
-

Member Function Documentation

- -

◆ onAdjustVolume()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustVolume (AdjustVolumeCallback cb)
-
-inherited
-
- -

Set callback function for adjustVolume request.

-
Parameters
- - -
cbFunction pointer to a AdjustVolumeCallback function
-
-
-
Returns
void
-
See also
AdjustVolumeCallback
- -
-
- -

◆ onChangeChannel()

- -
-
- - - - - -
- - - - - - - - -
void onChangeChannel (ChangeChannelCallback cb)
-
-inherited
-
- -

Set callback function for changeChannel request.

-
Parameters
- - -
cbFunction pointer to a ChangeChannelCallback function
-
-
-
Returns
void
-
See also
ChangeChannelCallback
- -
-
- -

◆ onChangeChannelNumber()

- -
-
- - - - - -
- - - - - - - - -
void onChangeChannelNumber (ChangeChannelNumberCallback cb)
-
-inherited
-
- -

Set callback function for changeChannel request.

-
Parameters
- - -
cbFunction pointer to a ChangeChannelNumberCallback function
-
-
-
Returns
void
-
See also
ChangeChannelNumberCallback
- -
-
- -

◆ onMediaControl()

- -
-
- - - - - -
- - - - - - - - -
void onMediaControl (MediaControlCallback cb)
-
-inherited
-
- -

Set callback function for mediaControl request.

-
Parameters
- - -
cbFunction pointer to a MediaControlCallback function
-
-
-
Returns
void
-
See also
MediaControlCallback
- -
-
- -

◆ onMute()

- -
-
- - - - - -
- - - - - - - - -
void onMute (MuteCallback cb)
-
-inherited
-
- -

Set callback function for setMute request.

-
Parameters
- - -
cbFunction pointer to a MuteCallback function
-
-
-
Returns
void
-
See also
MuteCallback
- -
-
- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ onSelectInput()

- -
-
- - - - - -
- - - - - - - - -
void onSelectInput (SelectInputCallback cb)
-
-inherited
-
- -

Set callback function for selectInput request.

-
Parameters
- - -
cbFunction pointer to a SelectInputCallback function
-
-
-
Returns
void
-
See also
SelectInputCallback
- -
-
- -

◆ onSetVolume()

- -
-
- - - - - -
- - - - - - - - -
void onSetVolume (SetVolumeCallback cb)
-
-inherited
-
- -

Set callback function for setVolume request.

-
Parameters
- - -
cbFunction pointer to a SetVolumeCallback function
-
-
-
Returns
void
-
See also
SetVolumeCallback
- -
-
- -

◆ onSkipChannels()

- -
-
- - - - - -
- - - - - - - - -
void onSkipChannels (SkipChannelsCallback cb)
-
-inherited
-
- -

Set callback function for skipChannels request.

-
Parameters
- - -
cbFunction pointer to a SkipChannelsCallback function
-
-
-
Returns
void
-
See also
SkipChannelsCallback
- -
-
- -

◆ sendChangeChannelEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendChangeChannelEvent (String channelName,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send changeChannel event to SinricPro Server to report selected channel.

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

◆ sendMediaControlEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendMediaControlEvent (String mediaControl,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send mediaControl event to SinricPro Server indicating devices media control state.

-
Parameters
- - - -
mediaControlString with actual media control
- FastForward, Next, Pause, Play, Previous, Rewind, StartOver, Stop
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendMuteEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendMuteEvent (bool mute,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setMute event to SinricPro Server indicating actual mute state.

-
Parameters
- - - -
mutetrue = device is muted on
- false = device is unmuted
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
- -

◆ sendSelectInputEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendSelectInputEvent (String input,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send selectInput event to SinricPro Server to report selected input.

-
Parameters
- - - -
inputString with actual media control
- AUX 1..AUX 7, BLURAY, CABLE, CD, COAX 1,COAX 2, COMPOSITE 1, DVD, GAME, HD RADIO, HDMI 1.. HDMI 10, HDMI ARC, INPUT 1..INPUT 10, IPOD, LINE 1..LINE 7, MEDIA PLAYER, OPTICAL 1, OPTICAL 2, PHONO, PLAYSTATION, PLAYSTATION 3, PLAYSTATION 4, SATELLITE, SMARTCAST, TUNER, TV, USB DAC, VIDEO 1..VIDEO 3, XBOX
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendVolumeEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendVolumeEvent (int volume,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setVolume event to SinricPro Server indicating actual volume has changed.

-
Parameters
- - - -
volumeInteger reporting the volume that the device have been set to
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.js deleted file mode 100644 index f46caab..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.js +++ /dev/null @@ -1,19 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v = -[ - [ "onAdjustVolume", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#a2c868c87f96e3924c8b309e1bcfb507e", null ], - [ "onChangeChannel", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#a92f3b83744b5bb82d32628eef39c1eb9", null ], - [ "onChangeChannelNumber", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#afd8aee20590bfadec181c6ee515125ec", null ], - [ "onMediaControl", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#afc2620621377fff928737b5a8a537020", null ], - [ "onMute", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#ab5fc79cc8903c3ccc1c106abf61d7cfd", null ], - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "onSelectInput", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#a18f8f71ecf0d7292a63d9486f94e5180", null ], - [ "onSetVolume", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#a5db8c85f222debbece54c794015f9402", null ], - [ "onSkipChannels", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#ab1123d03d471fad4896eb2960ed41855", null ], - [ "sendChangeChannelEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#aff5839c3020c3006af1a2a8c37cc858e", null ], - [ "sendMediaControlEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#a7af593cbf79d38f6b90efb5afee45077", null ], - [ "sendMuteEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#a4717d892b64a14052712152924bd5b29", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#a04266791a4b23e9614b8773edb5f67b6", null ], - [ "sendSelectInputEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#a973241ac912a18b142d236dda7f80e97", null ], - [ "sendVolumeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html#aa2d3dbea5b07e4c5f39d3d20aa2167a4", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v__inherit__graph.map deleted file mode 100644 index 8702b06..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v__inherit__graph.map +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v__inherit__graph.md5 deleted file mode 100644 index e10271d..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -49c0b118b156eba0e5798ead1158d52f \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v__inherit__graph.png deleted file mode 100644 index 54e7b2c..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor-members.html deleted file mode 100644 index b5e6ca1..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProTemperaturesensor Member List
-
-
- -

This is the complete list of members for SinricProTemperaturesensor, including all inherited members.

- - - - - -
onPowerState(PowerStateCallback cb)PowerStateController< SinricProTemperaturesensor >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProTemperaturesensor >
sendPushNotification(String notification)PushNotification< SinricProTemperaturesensor >
sendTemperatureEvent(float temperature, float humidity=-1, String cause=FSTR_SINRICPRO_PERIODIC_POLL)TemperatureSensor< SinricProTemperaturesensor >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html deleted file mode 100644 index 652e10e..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - - -SinricPro Library: SinricProTemperaturesensor - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProTemperaturesensor
-
-
- -

Device to report actual temperature and humidity. - More...

-
-Inheritance diagram for SinricProTemperaturesensor:
-
-
Inheritance graph
- - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
bool sendTemperatureEvent (float temperature, float humidity=-1, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
 Send currentTemperature event to report actual temperature (measured by a sensor) More...
 
-

Detailed Description

-

Device to report actual temperature and humidity.

-

Member Function Documentation

- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
- -

◆ sendTemperatureEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendTemperatureEvent (float temperature,
float humidity = -1,
String cause = FSTR_SINRICPRO_PERIODIC_POLL 
)
-
-inherited
-
- -

Send currentTemperature event to report actual temperature (measured by a sensor)

-
Parameters
- - - - -
temperaturefloat actual temperature measured by a sensor
humidityfloat (optional) actual humidity measured by a sensor (default=-1.0f means not supported)
cause(optional) String reason why event is sent (default = "PERIODIC_POLL")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.js deleted file mode 100644 index 50341f3..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor = -[ - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html#a04266791a4b23e9614b8773edb5f67b6", null ], - [ "sendTemperatureEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html#a75956fe7aff6e595a9b57519316ff789", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor__inherit__graph.map deleted file mode 100644 index 67b8bc1..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor__inherit__graph.map +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor__inherit__graph.md5 deleted file mode 100644 index ac3a830..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -c378d3c4d4faa513152e157b2e781c96 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor__inherit__graph.png deleted file mode 100644 index 2106639..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat-members.html deleted file mode 100644 index 41620c8..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProThermostat Member List
-
-
- -

This is the complete list of members for SinricProThermostat, including all inherited members.

- - - - - - - - - - -
onAdjustTargetTemperature(AdjustTargetTemperatureCallback cb)ThermostatController< SinricProThermostat >
onPowerState(PowerStateCallback cb)PowerStateController< SinricProThermostat >
onTargetTemperature(SetTargetTemperatureCallback cb)ThermostatController< SinricProThermostat >
onThermostatMode(ThermostatModeCallback cb)ThermostatController< SinricProThermostat >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProThermostat >
sendPushNotification(String notification)PushNotification< SinricProThermostat >
sendTargetTemperatureEvent(float temperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ThermostatController< SinricProThermostat >
sendTemperatureEvent(float temperature, float humidity=-1, String cause=FSTR_SINRICPRO_PERIODIC_POLL)TemperatureSensor< SinricProThermostat >
sendThermostatModeEvent(String thermostatMode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ThermostatController< SinricProThermostat >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html deleted file mode 100644 index ded88d7..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html +++ /dev/null @@ -1,567 +0,0 @@ - - - - - - - -SinricPro Library: SinricProThermostat - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProThermostat
-
-
- -

Device to control Thermostat. - More...

-
-Inheritance diagram for SinricProThermostat:
-
-
Inheritance graph
- - - - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
void onThermostatMode (ThermostatModeCallback cb)
 Set callback function for setThermostatMode request. More...
 
void onTargetTemperature (SetTargetTemperatureCallback cb)
 Set callback function for targetTemperature request. More...
 
void onAdjustTargetTemperature (AdjustTargetTemperatureCallback cb)
 Set callback function for adjustTargetTemperature request. More...
 
bool sendThermostatModeEvent (String thermostatMode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send thermostatMode event to report a the new mode the device has been set to. More...
 
bool sendTargetTemperatureEvent (float temperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send targetTemperature event to report target temperature change. More...
 
bool sendTemperatureEvent (float temperature, float humidity=-1, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
 Send currentTemperature event to report actual temperature (measured by a sensor) More...
 
-

Detailed Description

-

Device to control Thermostat.

-

Support

    -
  • Set / adjust target temperature
  • -
  • Report target temperature
  • -
  • Report actual temperature
  • -
  • Set thermostat mode AUTO, COOL, HEAT
  • -
-

Member Function Documentation

- -

◆ onAdjustTargetTemperature()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustTargetTemperature (AdjustTargetTemperatureCallback cb)
-
-inherited
-
- -

Set callback function for adjustTargetTemperature request.

-
Parameters
- - -
cbFunction pointer to a AdjustTargetTemperatureCallback function
-
-
-
Returns
void
-
See also
AdjustTargetTemperatureCallback
- -
-
- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ onTargetTemperature()

- -
-
- - - - - -
- - - - - - - - -
void onTargetTemperature (SetTargetTemperatureCallback cb)
-
-inherited
-
- -

Set callback function for targetTemperature request.

-
Parameters
- - -
cbFunction pointer to a SetTargetTemperatureCallback function
-
-
-
Returns
void
-
See also
SetTargetTemperatureCallback
- -
-
- -

◆ onThermostatMode()

- -
-
- - - - - -
- - - - - - - - -
void onThermostatMode (ThermostatModeCallback cb)
-
-inherited
-
- -

Set callback function for setThermostatMode request.

-
Parameters
- - -
cbFunction pointer to a ThermostatModeCallback function
-
-
-
Returns
void
-
See also
ThermostatModeCallback
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
- -

◆ sendTargetTemperatureEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendTargetTemperatureEvent (float temperature,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send targetTemperature event to report target temperature change.

-
Parameters
- - - -
temperatureFloat with actual target temperature the device is set to
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendTemperatureEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendTemperatureEvent (float temperature,
float humidity = -1,
String cause = FSTR_SINRICPRO_PERIODIC_POLL 
)
-
-inherited
-
- -

Send currentTemperature event to report actual temperature (measured by a sensor)

-
Parameters
- - - - -
temperaturefloat actual temperature measured by a sensor
humidityfloat (optional) actual humidity measured by a sensor (default=-1.0f means not supported)
cause(optional) String reason why event is sent (default = "PERIODIC_POLL")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendThermostatModeEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendThermostatModeEvent (String thermostatMode,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send thermostatMode event to report a the new mode the device has been set to.

-
Parameters
- - - -
thermostatModeString with actual mode (AUTO, COOL, HEAT) the device is set to
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.js deleted file mode 100644 index f4af1c1..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.js +++ /dev/null @@ -1,12 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat = -[ - [ "onAdjustTargetTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html#ac51f6fecfdf4c7bc8e0712e2da47bbf4", null ], - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "onTargetTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html#a1c73725f1f3fbb1c5b72208aae5c2bf2", null ], - [ "onThermostatMode", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html#a2ef31536973b20815dd6c80a28e19c9f", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html#a04266791a4b23e9614b8773edb5f67b6", null ], - [ "sendTargetTemperatureEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html#ab8b7fdd977a0a38413f2279b50274890", null ], - [ "sendTemperatureEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html#a75956fe7aff6e595a9b57519316ff789", null ], - [ "sendThermostatModeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html#ae7273cd094f64a93494ae99501fc83e8", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat__inherit__graph.map deleted file mode 100644 index 95202cf..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat__inherit__graph.map +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat__inherit__graph.md5 deleted file mode 100644 index a17643e..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e8fbf893d90d4d724b0fc50c5b6754bc \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat__inherit__graph.png deleted file mode 100644 index 440d3d0..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c-members.html deleted file mode 100644 index 98b6569..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c-members.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricProWindowAC Member List
-
-
- -

This is the complete list of members for SinricProWindowAC, including all inherited members.

- - - - - - - - - - - - - - -
onAdjustRangeValue(AdjustRangeValueCallback cb)RangeController< SinricProWindowAC >
onAdjustTargetTemperature(AdjustTargetTemperatureCallback cb)ThermostatController< SinricProWindowAC >
onPowerState(PowerStateCallback cb)PowerStateController< SinricProWindowAC >
onRangeValue(SetRangeValueCallback cb)RangeController< SinricProWindowAC >
onRangeValue(const String &instance, GenericSetRangeValueCallback_int cb)RangeController< SinricProWindowAC >
onTargetTemperature(SetTargetTemperatureCallback cb)ThermostatController< SinricProWindowAC >
onThermostatMode(ThermostatModeCallback cb)ThermostatController< SinricProWindowAC >
sendPowerStateEvent(bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)PowerStateController< SinricProWindowAC >
sendPushNotification(String notification)PushNotification< SinricProWindowAC >
sendRangeValueEvent(int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)RangeController< SinricProWindowAC >
sendRangeValueEvent(const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)RangeController< SinricProWindowAC >
sendTargetTemperatureEvent(float temperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ThermostatController< SinricProWindowAC >
sendThermostatModeEvent(String thermostatMode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ThermostatController< SinricProWindowAC >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html deleted file mode 100644 index f9d7986..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html +++ /dev/null @@ -1,749 +0,0 @@ - - - - - - - -SinricPro Library: SinricProWindowAC - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
SinricProWindowAC
-
-
- -

Device to control Window Air Conditioner. - More...

-
-Inheritance diagram for SinricProWindowAC:
-
-
Inheritance graph
- - - - - - - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

bool sendPushNotification (String notification)
 Sending push notifications to SinricPro App. More...
 
void onPowerState (PowerStateCallback cb)
 Set callback function for powerState request. More...
 
bool sendPowerStateEvent (bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setPowerState event to SinricPro Server indicating actual power state. More...
 
void onRangeValue (SetRangeValueCallback cb)
 Set callback function for setRangeValue request. More...
 
void onRangeValue (const String &instance, GenericSetRangeValueCallback_int cb)
 Set callback function for setRangeValue request on a specific instance (custom device) More...
 
void onAdjustRangeValue (AdjustRangeValueCallback cb)
 Set callback function for adjustRangeValue request. More...
 
bool sendRangeValueEvent (int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send rangeValue event to report curent rangeValue to SinricPro server. More...
 
bool sendRangeValueEvent (const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send rangeValue event to report curent rangeValue to SinricPro server for a specific instance (custom device) More...
 
void onThermostatMode (ThermostatModeCallback cb)
 Set callback function for setThermostatMode request. More...
 
void onTargetTemperature (SetTargetTemperatureCallback cb)
 Set callback function for targetTemperature request. More...
 
void onAdjustTargetTemperature (AdjustTargetTemperatureCallback cb)
 Set callback function for adjustTargetTemperature request. More...
 
bool sendThermostatModeEvent (String thermostatMode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send thermostatMode event to report a the new mode the device has been set to. More...
 
bool sendTargetTemperatureEvent (float temperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send targetTemperature event to report target temperature change. More...
 
-

Detailed Description

-

Device to control Window Air Conditioner.

-

Support

    -
  • Set / adjust target temperature
  • -
  • Set mode AUTO, COOL, HEAT
  • -
  • Set range value
  • -
  • Report target temperature
  • -
  • Report actual temperature
  • -
-

Member Function Documentation

- -

◆ onAdjustRangeValue()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustRangeValue (AdjustRangeValueCallback cb)
-
-inherited
-
- -

Set callback function for adjustRangeValue request.

-
Parameters
- - -
cbFunction pointer to a AdjustRangeValueCallback function
-
-
-
See also
AdjustRangeValueCallback
- -
-
- -

◆ onAdjustTargetTemperature()

- -
-
- - - - - -
- - - - - - - - -
void onAdjustTargetTemperature (AdjustTargetTemperatureCallback cb)
-
-inherited
-
- -

Set callback function for adjustTargetTemperature request.

-
Parameters
- - -
cbFunction pointer to a AdjustTargetTemperatureCallback function
-
-
-
Returns
void
-
See also
AdjustTargetTemperatureCallback
- -
-
- -

◆ onPowerState()

- -
-
- - - - - -
- - - - - - - - -
void onPowerState (PowerStateCallback cb)
-
-inherited
-
- -

Set callback function for powerState request.

-
Parameters
- - -
cbFunction pointer to a PowerStateCallback function
-
-
-
Returns
void
-
See also
PowerStateCallback
- -
-
- -

◆ onRangeValue() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
void onRangeValue (const String & instance,
GenericSetRangeValueCallback_int cb 
)
-
-inherited
-
- -

Set callback function for setRangeValue request on a specific instance (custom device)

-
Parameters
- - - -
instanceString instance name (custom device)
cbFunction pointer to a GenericSetRangeValueCallback function
-
-
-
See also
GenericSetRangeValueCallback
- -
-
- -

◆ onRangeValue() [2/2]

- -
-
- - - - - -
- - - - - - - - -
void onRangeValue (SetRangeValueCallback cb)
-
-inherited
-
- -

Set callback function for setRangeValue request.

-
Parameters
- - -
cbFunction pointer to a SetRangeValueCallback function
-
-
-
See also
SetRangeValueCallback
- -
-
- -

◆ onTargetTemperature()

- -
-
- - - - - -
- - - - - - - - -
void onTargetTemperature (SetTargetTemperatureCallback cb)
-
-inherited
-
- -

Set callback function for targetTemperature request.

-
Parameters
- - -
cbFunction pointer to a SetTargetTemperatureCallback function
-
-
-
Returns
void
-
See also
SetTargetTemperatureCallback
- -
-
- -

◆ onThermostatMode()

- -
-
- - - - - -
- - - - - - - - -
void onThermostatMode (ThermostatModeCallback cb)
-
-inherited
-
- -

Set callback function for setThermostatMode request.

-
Parameters
- - -
cbFunction pointer to a ThermostatModeCallback function
-
-
-
Returns
void
-
See also
ThermostatModeCallback
- -
-
- -

◆ sendPowerStateEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendPowerStateEvent (bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send setPowerState event to SinricPro Server indicating actual power state.

-
Parameters
- - - -
statetrue = device turned on
- false = device turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendPushNotification()

- -
-
- - - - - -
- - - - - - - - -
bool sendPushNotification (String notification)
-
-inherited
-
- -

Sending push notifications to SinricPro App.

-
Parameters
- - -
notificationString with the notification
-
-
-
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
-
-
- -
-
- -

◆ sendRangeValueEvent() [1/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendRangeValueEvent (const String & instance,
int rangeValue,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send rangeValue event to report curent rangeValue to SinricPro server for a specific instance (custom device)

-
Parameters
- - - - -
instanceString instance name
rangeValueValue between 0..3
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendRangeValueEvent() [2/2]

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendRangeValueEvent (int rangeValue,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send rangeValue event to report curent rangeValue to SinricPro server.

-
Parameters
- - - -
rangeValueValue between 0..3
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendTargetTemperatureEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendTargetTemperatureEvent (float temperature,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send targetTemperature event to report target temperature change.

-
Parameters
- - - -
temperatureFloat with actual target temperature the device is set to
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendThermostatModeEvent()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool sendThermostatModeEvent (String thermostatMode,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
-inherited
-
- -

Send thermostatMode event to report a the new mode the device has been set to.

-
Parameters
- - - -
thermostatModeString with actual mode (AUTO, COOL, HEAT) the device is set to
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.js deleted file mode 100644 index 2c9b595..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.js +++ /dev/null @@ -1,16 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c = -[ - [ "onAdjustRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#ae85696d55112ae7343f9807faee6e064", null ], - [ "onAdjustTargetTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#ac51f6fecfdf4c7bc8e0712e2da47bbf4", null ], - [ "onPowerState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#a32f3257da431a1035f23a265ff0cc4cf", null ], - [ "onRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#a6d6d8070b49c8b5272460836a1120b33", null ], - [ "onRangeValue", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#a94adbcdf6ce61cb6552a5f9915e705ae", null ], - [ "onTargetTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#a1c73725f1f3fbb1c5b72208aae5c2bf2", null ], - [ "onThermostatMode", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#a2ef31536973b20815dd6c80a28e19c9f", null ], - [ "sendPowerStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#acfd5f3a30933ace93751bd823630cded", null ], - [ "sendPushNotification", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#a04266791a4b23e9614b8773edb5f67b6", null ], - [ "sendRangeValueEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#aaf84aa417e2246843a27e819898e64b5", null ], - [ "sendRangeValueEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#a1d726751c416fe6dd408e5dd19f6b53b", null ], - [ "sendTargetTemperatureEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#ab8b7fdd977a0a38413f2279b50274890", null ], - [ "sendThermostatModeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html#ae7273cd094f64a93494ae99501fc83e8", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c__inherit__graph.map deleted file mode 100644 index f54d2d7..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c__inherit__graph.map +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c__inherit__graph.md5 deleted file mode 100644 index 77391fb..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -8b0dc40f3af4d2502e7171e875260fdf \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c__inherit__graph.png deleted file mode 100644 index ea7304c..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor-members.html deleted file mode 100644 index 1eb29c8..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
TemperatureSensor< T > Member List
-
-
- -

This is the complete list of members for TemperatureSensor< T >, including all inherited members.

- - -
sendTemperatureEvent(float temperature, float humidity=-1, String cause=FSTR_SINRICPRO_PERIODIC_POLL)TemperatureSensor< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html deleted file mode 100644 index 6ab3d7e..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - -SinricPro Library: TemperatureSensor< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
TemperatureSensor< T >
-
-
- -

TemperatureSensor. - More...

-
-Inheritance diagram for TemperatureSensor< T >:
-
-
Inheritance graph
- - - - - - - -
[legend]
- - - - - -

-Public Member Functions

bool sendTemperatureEvent (float temperature, float humidity=-1, String cause=FSTR_SINRICPRO_PERIODIC_POLL)
 Send currentTemperature event to report actual temperature (measured by a sensor) More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::TemperatureSensor< T >

- -

TemperatureSensor.

-

Member Function Documentation

- -

◆ sendTemperatureEvent()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendTemperatureEvent (float temperature,
float humidity = -1,
String cause = FSTR_SINRICPRO_PERIODIC_POLL 
)
-
- -

Send currentTemperature event to report actual temperature (measured by a sensor)

-
Parameters
- - - - -
temperaturefloat actual temperature measured by a sensor
humidityfloat (optional) actual humidity measured by a sensor (default=-1.0f means not supported)
cause(optional) String reason why event is sent (default = "PERIODIC_POLL")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.js deleted file mode 100644 index fc719ed..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor = -[ - [ "sendTemperatureEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html#a75956fe7aff6e595a9b57519316ff789", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor__inherit__graph.map deleted file mode 100644 index fcaf0c5..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor__inherit__graph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor__inherit__graph.md5 deleted file mode 100644 index 6fe781c..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -032ffc75dcbcacf0a5d749f5fef93159 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor__inherit__graph.png deleted file mode 100644 index 07ff2fc..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller-members.html deleted file mode 100644 index effa8a5..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller-members.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ThermostatController< T > Member List
-
-
- -

This is the complete list of members for ThermostatController< T >, including all inherited members.

- - - - - - -
onAdjustTargetTemperature(AdjustTargetTemperatureCallback cb)ThermostatController< T >
onTargetTemperature(SetTargetTemperatureCallback cb)ThermostatController< T >
onThermostatMode(ThermostatModeCallback cb)ThermostatController< T >
sendTargetTemperatureEvent(float temperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ThermostatController< T >
sendThermostatModeEvent(String thermostatMode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ThermostatController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html deleted file mode 100644 index a6a52a8..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - - - -SinricPro Library: ThermostatController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ThermostatController< T >
-
-
- -

ThermostatController. - More...

-
-Inheritance diagram for ThermostatController< T >:
-
-
Inheritance graph
- - - - - - - -
[legend]
- - - - - - - - - - - - - - - - - -

-Public Member Functions

void onThermostatMode (ThermostatModeCallback cb)
 Set callback function for setThermostatMode request. More...
 
void onTargetTemperature (SetTargetTemperatureCallback cb)
 Set callback function for targetTemperature request. More...
 
void onAdjustTargetTemperature (AdjustTargetTemperatureCallback cb)
 Set callback function for adjustTargetTemperature request. More...
 
bool sendThermostatModeEvent (String thermostatMode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send thermostatMode event to report a the new mode the device has been set to. More...
 
bool sendTargetTemperatureEvent (float temperature, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send targetTemperature event to report target temperature change. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::ThermostatController< T >

- -

ThermostatController.

-

Member Function Documentation

- -

◆ onAdjustTargetTemperature()

- -
-
- - - - - - - - -
void onAdjustTargetTemperature (AdjustTargetTemperatureCallback cb)
-
- -

Set callback function for adjustTargetTemperature request.

-
Parameters
- - -
cbFunction pointer to a AdjustTargetTemperatureCallback function
-
-
-
Returns
void
-
See also
AdjustTargetTemperatureCallback
- -
-
- -

◆ onTargetTemperature()

- -
-
- - - - - - - - -
void onTargetTemperature (SetTargetTemperatureCallback cb)
-
- -

Set callback function for targetTemperature request.

-
Parameters
- - -
cbFunction pointer to a SetTargetTemperatureCallback function
-
-
-
Returns
void
-
See also
SetTargetTemperatureCallback
- -
-
- -

◆ onThermostatMode()

- -
-
- - - - - - - - -
void onThermostatMode (ThermostatModeCallback cb)
-
- -

Set callback function for setThermostatMode request.

-
Parameters
- - -
cbFunction pointer to a ThermostatModeCallback function
-
-
-
Returns
void
-
See also
ThermostatModeCallback
- -
-
- -

◆ sendTargetTemperatureEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendTargetTemperatureEvent (float temperature,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send targetTemperature event to report target temperature change.

-
Parameters
- - - -
temperatureFloat with actual target temperature the device is set to
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
- -

◆ sendThermostatModeEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendThermostatModeEvent (String thermostatMode,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send thermostatMode event to report a the new mode the device has been set to.

-
Parameters
- - - -
thermostatModeString with actual mode (AUTO, COOL, HEAT) the device is set to
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.js deleted file mode 100644 index 6592d87..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.js +++ /dev/null @@ -1,8 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller = -[ - [ "onAdjustTargetTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#ac51f6fecfdf4c7bc8e0712e2da47bbf4", null ], - [ "onTargetTemperature", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#a1c73725f1f3fbb1c5b72208aae5c2bf2", null ], - [ "onThermostatMode", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#a2ef31536973b20815dd6c80a28e19c9f", null ], - [ "sendTargetTemperatureEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#ab8b7fdd977a0a38413f2279b50274890", null ], - [ "sendThermostatModeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#ae7273cd094f64a93494ae99501fc83e8", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller__inherit__graph.map deleted file mode 100644 index 7b9566d..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller__inherit__graph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller__inherit__graph.md5 deleted file mode 100644 index b634e16..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -925703bd5fa3febb4bca7fbdf42359e3 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller__inherit__graph.png deleted file mode 100644 index 45c772a..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller-members.html deleted file mode 100644 index 05ee2bf..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
ToggleController< T > Member List
-
-
- -

This is the complete list of members for ToggleController< T >, including all inherited members.

- - - -
onToggleState(const String &instance, GenericToggleStateCallback cb)ToggleController< T >
sendToggleStateEvent(const String &instance, bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)ToggleController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html deleted file mode 100644 index 4b30c0a..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - -SinricPro Library: ToggleController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
ToggleController< T >
-
-
- -

ToggleController. - More...

- - - - - - - - -

-Public Member Functions

void onToggleState (const String &instance, GenericToggleStateCallback cb)
 Set callback function for toggleState request. More...
 
bool sendToggleStateEvent (const String &instance, bool state, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setToggleState event to SinricPro Server indicating actual toggle state. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::ToggleController< T >

- -

ToggleController.

-

Member Function Documentation

- -

◆ onToggleState()

- -
-
- - - - - - - - - - - - - - - - - - -
void onToggleState (const String & instance,
GenericToggleStateCallback cb 
)
-
- -

Set callback function for toggleState request.

-
Parameters
- - - -
instanceString instance name (custom device)
cbFunction pointer to a ToggleStateCallback function
-
-
-
Returns
void
-
See also
ToggleStateCallback
- -
-
- -

◆ sendToggleStateEvent()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
bool sendToggleStateEvent (const String & instance,
bool state,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setToggleState event to SinricPro Server indicating actual toggle state.

-
Parameters
- - - - -
instanceString instance name (custom device)
statetrue = state turned on
- false = tate turned off
cause(optional) String reason why event is sent (default = "PHYSICAL_INTERACTION")
-
-
-
Returns
the success of sending the even
-
Return values
- - - -
trueevent has been sent successfully
falseevent has not been sent, maybe you sent to much events in a short distance of time
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.js deleted file mode 100644 index 259f2ff..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.js +++ /dev/null @@ -1,5 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller = -[ - [ "onToggleState", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html#a7ccd28a4f20922847d0461649af5572d", null ], - [ "sendToggleStateEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html#a7fcc5084fea488e5b5e95f5ad7015a0f", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller-members.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller-members.html deleted file mode 100644 index 0e5aabc..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -SinricPro Library: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
VolumeController< T > Member List
-
-
- -

This is the complete list of members for VolumeController< T >, including all inherited members.

- - - - -
onAdjustVolume(AdjustVolumeCallback cb)VolumeController< T >
onSetVolume(SetVolumeCallback cb)VolumeController< T >
sendVolumeEvent(int volume, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)VolumeController< T >
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html deleted file mode 100644 index ff998ac..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - -SinricPro Library: VolumeController< T > - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
VolumeController< T >
-
-
- -

VolumeController. - More...

-
-Inheritance diagram for VolumeController< T >:
-
-
Inheritance graph
- - - - - - - -
[legend]
- - - - - - - - - - - -

-Public Member Functions

void onSetVolume (SetVolumeCallback cb)
 Set callback function for setVolume request. More...
 
void onAdjustVolume (AdjustVolumeCallback cb)
 Set callback function for adjustVolume request. More...
 
bool sendVolumeEvent (int volume, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)
 Send setVolume event to SinricPro Server indicating actual volume has changed. More...
 
-

Detailed Description

-

template<typename T>
-class SINRICPRO_2_9_17::VolumeController< T >

- -

VolumeController.

-

Member Function Documentation

- -

◆ onAdjustVolume()

- -
-
- - - - - - - - -
void onAdjustVolume (AdjustVolumeCallback cb)
-
- -

Set callback function for adjustVolume request.

-
Parameters
- - -
cbFunction pointer to a AdjustVolumeCallback function
-
-
-
Returns
void
-
See also
AdjustVolumeCallback
- -
-
- -

◆ onSetVolume()

- -
-
- - - - - - - - -
void onSetVolume (SetVolumeCallback cb)
-
- -

Set callback function for setVolume request.

-
Parameters
- - -
cbFunction pointer to a SetVolumeCallback function
-
-
-
Returns
void
-
See also
SetVolumeCallback
- -
-
- -

◆ sendVolumeEvent()

- -
-
- - - - - - - - - - - - - - - - - - -
bool sendVolumeEvent (int volume,
String cause = FSTR_SINRICPRO_PHYSICAL_INTERACTION 
)
-
- -

Send setVolume event to SinricPro Server indicating actual volume has changed.

-
Parameters
- - - -
volumeInteger reporting the volume that the device have been set to
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
-
-
- -
-
-
-
- - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.js b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.js deleted file mode 100644 index af7fa9e..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.js +++ /dev/null @@ -1,6 +0,0 @@ -var class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller = -[ - [ "onAdjustVolume", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html#a2c868c87f96e3924c8b309e1bcfb507e", null ], - [ "onSetVolume", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html#a5db8c85f222debbece54c794015f9402", null ], - [ "sendVolumeEvent", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html#aa2d3dbea5b07e4c5f39d3d20aa2167a4", null ] -]; \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller__inherit__graph.map b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller__inherit__graph.map deleted file mode 100644 index f628bbb..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller__inherit__graph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller__inherit__graph.md5 b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller__inherit__graph.md5 deleted file mode 100644 index 6ce7975..0000000 --- a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -8369635a66356a8d57fb8c4b50cdb231 \ No newline at end of file diff --git a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller__inherit__graph.png b/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller__inherit__graph.png deleted file mode 100644 index d95ff62..0000000 Binary files a/docs/docs/class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller__inherit__graph.png and /dev/null differ diff --git a/docs/docs/classes.html b/docs/docs/classes.html deleted file mode 100644 index 69cb5c6..0000000 --- a/docs/docs/classes.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - -SinricPro Library: Class Index - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Class Index
-
-
-
A | B | C | D | E | I | K | L | M | P | R | S | T | V
-
-
-
A
-
AirQualitySensor (SINRICPRO_2_9_17)
-
-
B
-
BrightnessController (SINRICPRO_2_9_17)
-
-
C
-
ChannelController (SINRICPRO_2_9_17)
ColorController (SINRICPRO_2_9_17)
ColorTemperatureController (SINRICPRO_2_9_17)
ContactSensor (SINRICPRO_2_9_17)
-
-
D
-
Doorbell (SINRICPRO_2_9_17)
DoorController (SINRICPRO_2_9_17)
-
-
E
-
EqualizerController (SINRICPRO_2_9_17)
-
-
I
-
InputController (SINRICPRO_2_9_17)
-
-
K
-
KeypadController (SINRICPRO_2_9_17)
-
-
L
-
LockController (SINRICPRO_2_9_17)
-
-
M
-
MediaController (SINRICPRO_2_9_17)
ModeController (SINRICPRO_2_9_17)
MotionSensor (SINRICPRO_2_9_17)
MuteController (SINRICPRO_2_9_17)
-
-
P
-
PercentageController (SINRICPRO_2_9_17)
PowerLevelController (SINRICPRO_2_9_17)
PowerSensor (SINRICPRO_2_9_17)
PowerStateController (SINRICPRO_2_9_17)
PushNotification (SINRICPRO_2_9_17)
-
-
R
-
RangeController (SINRICPRO_2_9_17)
-
-
S
-
SinricProAirQualitySensor (SINRICPRO_2_9_17)
SinricProBlinds (SINRICPRO_2_9_17)
SinricProCamera (SINRICPRO_2_9_17)
SinricProClass (SINRICPRO_2_9_17)
SinricProContactsensor (SINRICPRO_2_9_17)
SinricProDevice (SINRICPRO_2_9_17)
SinricProDimSwitch (SINRICPRO_2_9_17)
SinricProDoorbell (SINRICPRO_2_9_17)
SinricProFan (SINRICPRO_2_9_17)
SinricProFanUS (SINRICPRO_2_9_17)
SinricProGarageDoor (SINRICPRO_2_9_17)
SinricProLight (SINRICPRO_2_9_17)
SinricProLock (SINRICPRO_2_9_17)
SinricProMotionsensor (SINRICPRO_2_9_17)
SinricProPowerSensor (SINRICPRO_2_9_17)
SinricProSpeaker (SINRICPRO_2_9_17)
SinricProSwitch (SINRICPRO_2_9_17)
SinricProTemperaturesensor (SINRICPRO_2_9_17)
SinricProThermostat (SINRICPRO_2_9_17)
SinricProTV (SINRICPRO_2_9_17)
SinricProWindowAC (SINRICPRO_2_9_17)
-
-
T
-
TemperatureSensor (SINRICPRO_2_9_17)
ThermostatController (SINRICPRO_2_9_17)
ToggleController (SINRICPRO_2_9_17)
-
-
V
-
VolumeController (SINRICPRO_2_9_17)
-
-
-
- - - - diff --git a/docs/docs/closed.png b/docs/docs/closed.png deleted file mode 100644 index 98cc2c9..0000000 Binary files a/docs/docs/closed.png and /dev/null differ diff --git a/docs/docs/dir_7df6307e8ce44a8864ff8c0ace2ba173.html b/docs/docs/dir_7df6307e8ce44a8864ff8c0ace2ba173.html deleted file mode 100644 index 0113f5d..0000000 --- a/docs/docs/dir_7df6307e8ce44a8864ff8c0ace2ba173.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: src Directory Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
src Directory Reference
-
-
- - -

-Directories

-
-
- - - - diff --git a/docs/docs/dir_9396324f83557d33beb10fc6add6bec2.html b/docs/docs/dir_9396324f83557d33beb10fc6add6bec2.html deleted file mode 100644 index fbaea42..0000000 --- a/docs/docs/dir_9396324f83557d33beb10fc6add6bec2.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - -SinricPro Library: C:/Users/Boris/.platformio/lib/esp8266-esp32-sdk-documentation Directory Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
esp8266-esp32-sdk-documentation Directory Reference
-
-
- - -

-Directories

-
-
- - - - diff --git a/docs/docs/dir_a3d2086e3c3fe22c73a549735325deec.html b/docs/docs/dir_a3d2086e3c3fe22c73a549735325deec.html deleted file mode 100644 index a398562..0000000 --- a/docs/docs/dir_a3d2086e3c3fe22c73a549735325deec.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - -SinricPro Library: C:/Users/Boris/.platformio/lib/esp8266-esp32-sdk-documentation/doc-examples Directory Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
doc-examples Directory Reference
-
-
- - - - - -

-Files

file  callbacks.cpp
 Example callbacks.
 
-
-
- - - - diff --git a/docs/docs/dir_aa16df8496461ec3bcf35908592889b5.html b/docs/docs/dir_aa16df8496461ec3bcf35908592889b5.html deleted file mode 100644 index e5d05fa..0000000 --- a/docs/docs/dir_aa16df8496461ec3bcf35908592889b5.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - -SinricPro Library: src/Capabilities Directory Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Capabilities Directory Reference
-
-
-
-
- - - - diff --git a/docs/docs/doc.png b/docs/docs/doc.png deleted file mode 100644 index 17edabf..0000000 Binary files a/docs/docs/doc.png and /dev/null differ diff --git a/docs/docs/doxygen.css b/docs/docs/doxygen.css deleted file mode 100644 index ffbff02..0000000 --- a/docs/docs/doxygen.css +++ /dev/null @@ -1,1793 +0,0 @@ -/* The standard CSS for doxygen 1.9.1 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; -} - -p.reference, p.definition { - font: 400 14px/22px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font: 400 14px/28px Roboto,sans-serif; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -ul.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; - column-count: 3; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -th p.starttd, th p.intertd, th p.endtd { - font-size: 100%; - font-weight: 700; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -p.interli { -} - -p.interdd { -} - -p.intertd { -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.navtab { - border-right: 1px solid #A3B4D7; - padding-right: 15px; - text-align: right; - line-height: 110%; -} - -div.navtab table { - border-spacing: 0; -} - -td.navtab { - padding-right: 6px; - padding-left: 6px; -} -td.navtabHL { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - padding-right: 6px; - padding-left: 6px; -} - -td.navtabHL a, td.navtabHL a:visited { - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} - -a.navtab { - font-weight: bold; -} - -div.qindex{ - text-align: center; - width: 100%; - line-height: 140%; - font-size: 130%; - color: #A0A0A0; -} - -dt.alphachar{ - font-size: 180%; - font-weight: bold; -} - -.alphachar a{ - color: black; -} - -.alphachar a:hover, .alphachar a:visited{ - text-decoration: none; -} - -.classindex dl { - padding: 25px; - column-count:1 -} - -.classindex dd { - display:inline-block; - margin-left: 50px; - width: 90%; - line-height: 1.15em; -} - -.classindex dl.odd { - background-color: #F8F9FC; -} - -@media(min-width: 1120px) { - .classindex dl { - column-count:2 - } -} - -@media(min-width: 1320px) { - .classindex dl { - column-count:3 - } -} - - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -.contents a.qindexHL:visited { - color: #FFFFFF; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -ul { - overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ -} - -#side-nav ul { - overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ -} - -#main-nav ul { - overflow: visible; /* reset ul rule for the navigation bar drop down lists */ -} - -.fragment { - text-align: left; - direction: ltr; - overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ - overflow-y: hidden; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ - margin: 4px 8px 4px 2px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line:after { - content:"\000A"; - white-space: pre; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -.lineno { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -div.ah, span.ah { - background-color: black; - font-weight: bold; - color: #FFFFFF; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); -} - -div.classindex ul { - list-style: none; - padding-left: 0; -} - -div.classindex span.ai { - display: inline-block; -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl, img.inline { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -blockquote.DocNodeRTL { - border-left: 0; - border-right: 2px solid #9CAFD4; - margin: 0 4px 0 24px; - padding: 0 16px 0 12px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #DEE4F0; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight, .memTemplItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtitle { - padding: 8px; - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - border-top-right-radius: 4px; - border-top-left-radius: 4px; - margin-bottom: -1px; - background-image: url('nav_f.png'); - background-repeat: repeat-x; - background-color: #E2E8F2; - line-height: 1.25; - font-weight: 300; - float:left; -} - -.permalink -{ - font-size: 65%; - display: inline-block; - vertical-align: middle; -} - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: 400; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-color: #DFE5F1; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -} - -.overload { - font-family: "courier new",courier,monospace; - font-size: 65%; -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 10px 2px 10px; - background-color: #FBFCFD; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype, .tparams .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir, .tparams .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view inside a (index) page */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #9CAFD4; - border-bottom: 1px solid #9CAFD4; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #F7F8FB; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #3D578C; -} - -.arrow { - color: #9CAFD4; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: Arial, Helvetica; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: #728DC1; - color: white; - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderopen.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderclosed.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('doc.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -table.directory { - font: 400 14px Roboto,sans-serif; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable caption { - caption-side: top; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - font-weight: 400; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -table.classindex -{ - margin: 10px; - white-space: nowrap; - margin-left: 3%; - margin-right: 3%; - width: 94%; - border: 0; - border-spacing: 0; - padding: 0; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -.PageDocRTL-title div.headertitle { - text-align: right; - direction: rtl; -} - -dl { - padding: 0 0 0 0; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ -dl.section { - margin-left: 0px; - padding-left: 0px; -} - -dl.section.DocNodeRTL { - margin-right: 0px; - padding-right: 0px; -} - -dl.note { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #D0C000; -} - -dl.note.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #FF0000; -} - -dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #00D000; -} - -dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #00D000; -} - -dl.deprecated { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #505050; -} - -dl.deprecated.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #505050; -} - -dl.todo { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #00C0E0; -} - -dl.todo.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #00C0E0; -} - -dl.test { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #3030E0; -} - -dl.test.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #3030E0; -} - -dl.bug { - margin-left: -7px; - padding-left: 3px; - border-left: 4px solid; - border-color: #C08050; -} - -dl.bug.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectalign -{ - vertical-align: middle; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.plantumlgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; - text-align:right; - width:52px; -} - -dl.citelist dd { - margin:2px 0 2px 72px; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 8px 10px 10px; - width: 200px; -} - -.PageDocRTL-title div.toc { - float: left !important; - text-align: right; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -.PageDocRTL-title div.toc li { - background-position-x: right !important; - padding-left: 0 !important; - padding-right: 10px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -span.emoji { - /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html - * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; - */ -} - -.PageDocRTL-title div.toc li.level1 { - margin-left: 0 !important; - margin-right: 0; -} - -.PageDocRTL-title div.toc li.level2 { - margin-left: 0 !important; - margin-right: 15px; -} - -.PageDocRTL-title div.toc li.level3 { - margin-left: 0 !important; - margin-right: 30px; -} - -.PageDocRTL-title div.toc li.level4 { - margin-left: 0 !important; - margin-right: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; - border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: grey; - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: #006318; -} - -#powerTip div { - margin: 0px; - padding: 0px; - font: 12px/16px Roboto,sans-serif; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #FFFFFF; - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before { - border-top-color: #808080; - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #FFFFFF; - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: #FFFFFF; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: #FFFFFF; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - -/* @group Markdown */ - -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTable tr { -} - -th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft, td.markdownTableBodyLeft { - text-align: left -} - -th.markdownTableHeadRight, td.markdownTableBodyRight { - text-align: right -} - -th.markdownTableHeadCenter, td.markdownTableBodyCenter { - text-align: center -} - -.DocNodeRTL { - text-align: right; - direction: rtl; -} - -.DocNodeLTR { - text-align: left; - direction: ltr; -} - -table.DocNodeRTL { - width: auto; - margin-right: 0; - margin-left: auto; -} - -table.DocNodeLTR { - width: auto; - margin-right: auto; - margin-left: 0; -} - -tt, code, kbd, samp -{ - display: inline-block; - direction:ltr; -} -/* @end */ - -u { - text-decoration: underline; -} - diff --git a/docs/docs/doxygen.svg b/docs/docs/doxygen.svg deleted file mode 100644 index d42dad5..0000000 --- a/docs/docs/doxygen.svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docs/dynsections.js b/docs/docs/dynsections.js deleted file mode 100644 index 3174bd7..0000000 --- a/docs/docs/dynsections.js +++ /dev/null @@ -1,121 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ -function toggleVisibility(linkObj) -{ - var base = $(linkObj).attr('id'); - var summary = $('#'+base+'-summary'); - var content = $('#'+base+'-content'); - var trigger = $('#'+base+'-trigger'); - var src=$(trigger).attr('src'); - if (content.is(':visible')===true) { - content.hide(); - summary.show(); - $(linkObj).addClass('closed').removeClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - content.show(); - summary.hide(); - $(linkObj).removeClass('closed').addClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } - return false; -} - -function updateStripes() -{ - $('table.directory tr'). - removeClass('even').filter(':visible:even').addClass('even'); -} - -function toggleLevel(level) -{ - $('table.directory tr').each(function() { - var l = this.id.split('_').length-1; - var i = $('#img'+this.id.substring(3)); - var a = $('#arr'+this.id.substring(3)); - if (l - - - - - - -SinricPro Library: Class Members - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- b -

- - -

- g -

- - -

- h -

- - -

- o -

- - -

- r -

- - -

- s -

-
-
- - - - diff --git a/docs/docs/functions_func.html b/docs/docs/functions_func.html deleted file mode 100644 index bc17047..0000000 --- a/docs/docs/functions_func.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - -SinricPro Library: Class Members - Functions - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-  - -

- b -

- - -

- g -

- - -

- h -

- - -

- o -

- - -

- r -

- - -

- s -

-
-
- - - - diff --git a/docs/docs/graph_legend.html b/docs/docs/graph_legend.html deleted file mode 100644 index b9c26a1..0000000 --- a/docs/docs/graph_legend.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - -SinricPro Library: Graph Legend - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Graph Legend
-
-
-

This page explains how to interpret the graphs that are generated by doxygen.

-

Consider the following example:

/*! Invisible class because of truncation */
-
class Invisible { };
-
-
/*! Truncated class, inheritance relation is hidden */
-
class Truncated : public Invisible { };
-
-
/* Class not documented with doxygen comments */
-
class Undocumented { };
-
-
/*! Class that is inherited using public inheritance */
-
class PublicBase : public Truncated { };
-
-
/*! A template class */
-
template<class T> class Templ { };
-
-
/*! Class that is inherited using protected inheritance */
-
class ProtectedBase { };
-
-
/*! Class that is inherited using private inheritance */
-
class PrivateBase { };
-
-
/*! Class that is used by the Inherited class */
-
class Used { };
-
-
/*! Super class that inherits a number of other classes */
-
class Inherited : public PublicBase,
-
protected ProtectedBase,
-
private PrivateBase,
-
public Undocumented,
-
public Templ<int>
-
{
-
private:
-
Used *m_usedClass;
-
};
-

This will result in the following graph:

-

The boxes in the above graph have the following meaning:

-
    -
  • -A filled gray box represents the struct or class for which the graph is generated.
  • -
  • -A box with a black border denotes a documented struct or class.
  • -
  • -A box with a gray border denotes an undocumented struct or class.
  • -
  • -A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • -
-

The arrows have the following meaning:

-
    -
  • -A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • -
  • -A dark green arrow is used for protected inheritance.
  • -
  • -A dark red arrow is used for private inheritance.
  • -
  • -A purple dashed arrow is used if a class is contained or used by another class. The arrow is labelled with the variable(s) through which the pointed class or struct is accessible.
  • -
  • -A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labelled with the template parameters of the instance.
  • -
-
-
- - - - diff --git a/docs/docs/graph_legend.md5 b/docs/docs/graph_legend.md5 deleted file mode 100644 index 8fcdccd..0000000 --- a/docs/docs/graph_legend.md5 +++ /dev/null @@ -1 +0,0 @@ -f51bf6e9a10430aafef59831b08dcbfe \ No newline at end of file diff --git a/docs/docs/graph_legend.png b/docs/docs/graph_legend.png deleted file mode 100644 index ed2e657..0000000 Binary files a/docs/docs/graph_legend.png and /dev/null differ diff --git a/docs/docs/hierarchy.html b/docs/docs/hierarchy.html deleted file mode 100644 index 0621465..0000000 --- a/docs/docs/hierarchy.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - - -SinricPro Library: Class Hierarchy - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Class Hierarchy
-
-
-
-

Go to the graphical class hierarchy

-This inheritance list is sorted roughly, but not completely, alphabetically:
-
[detail level 12]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 CAirQualitySensor< T >AirQuality
 CAirQualitySensor< SinricProAirQualitySensor >
 CBrightnessController< T >BrightnessController
 CBrightnessController< SinricProLight >
 CChannelController< T >ChannelController
 CChannelController< SinricProTV >
 CColorController< T >ColorController
 CColorController< SinricProLight >
 CColorTemperatureController< T >ColorTemperatureController
 CColorTemperatureController< SinricProLight >
 CContactSensor< T >ContactSensor
 CContactSensor< SinricProContactsensor >
 CDoorbell< T >Dorbell
 CDoorbell< SinricProDoorbell >
 CDoorController< T >DoorController - only used for GarageDoor device and cannot used as capability for a custom device!
 CDoorController< SinricProGarageDoor >
 CEqualizerController< T >EqualizerController
 CEqualizerController< SinricProSpeaker >
 CInputController< T >InputController
 CInputController< SinricProSpeaker >
 CInputController< SinricProTV >
 CKeypadController< T >KeypadController
 CLockController< T >LockController
 CLockController< SinricProLock >
 CMediaController< T >MediaController
 CMediaController< SinricProSpeaker >
 CMediaController< SinricProTV >
 CModeController< T >ModeController
 CModeController< SinricProSpeaker >
 CMotionSensor< T >MotionSensor
 CMotionSensor< SinricProMotionsensor >
 CMuteController< T >MuteController
 CMuteController< SinricProSpeaker >
 CMuteController< SinricProTV >
 CPercentageController< T >PercentageController
 CPowerLevelController< T >PowerLevelController
 CPowerLevelController< SinricProDimSwitch >
 CPowerLevelController< SinricProFan >
 CPowerSensor< T >PowerSensor
 CPowerSensor< SinricProPowerSensor >
 CPowerStateController< T >PowerStateController
 CPowerStateController< SinricProAirQualitySensor >
 CPowerStateController< SinricProBlinds >
 CPowerStateController< SinricProCamera >
 CPowerStateController< SinricProContactsensor >
 CPowerStateController< SinricProDimSwitch >
 CPowerStateController< SinricProDoorbell >
 CPowerStateController< SinricProFan >
 CPowerStateController< SinricProFanUS >
 CPowerStateController< SinricProLight >
 CPowerStateController< SinricProMotionsensor >
 CPowerStateController< SinricProPowerSensor >
 CPowerStateController< SinricProSpeaker >
 CPowerStateController< SinricProSwitch >
 CPowerStateController< SinricProTemperaturesensor >
 CPowerStateController< SinricProThermostat >
 CPowerStateController< SinricProTV >
 CPowerStateController< SinricProWindowAC >
 CPushNotification< T >PushNotification
 CPushNotification< SinricProAirQualitySensor >
 CPushNotification< SinricProBlinds >
 CPushNotification< SinricProCamera >
 CPushNotification< SinricProContactsensor >
 CPushNotification< SinricProDimSwitch >
 CPushNotification< SinricProDoorbell >
 CPushNotification< SinricProFan >
 CPushNotification< SinricProFanUS >
 CPushNotification< SinricProGarageDoor >
 CPushNotification< SinricProLight >
 CPushNotification< SinricProLock >
 CPushNotification< SinricProMotionsensor >
 CPushNotification< SinricProPowerSensor >
 CPushNotification< SinricProSpeaker >
 CPushNotification< SinricProSwitch >
 CPushNotification< SinricProTemperaturesensor >
 CPushNotification< SinricProThermostat >
 CPushNotification< SinricProTV >
 CPushNotification< SinricProWindowAC >
 CRangeController< T >RangeControllerFloatInt
 CRangeController< SinricProBlinds >
 CRangeController< SinricProFanUS >
 CRangeController< SinricProWindowAC >
 CSinricProClassThe main class of this library, handling communication between SinricPro Server and your devices
 CSinricProDeviceBase class for all device types
 CTemperatureSensor< T >TemperatureSensor
 CTemperatureSensor< SinricProTemperaturesensor >
 CTemperatureSensor< SinricProThermostat >
 CThermostatController< T >ThermostatController
 CThermostatController< SinricProThermostat >
 CThermostatController< SinricProWindowAC >
 CToggleController< T >ToggleController
 CVolumeController< T >VolumeController
 CVolumeController< SinricProSpeaker >
 CVolumeController< SinricProTV >
-
-
-
- - - - diff --git a/docs/docs/hierarchy.js b/docs/docs/hierarchy.js deleted file mode 100644 index 5fa6d99..0000000 --- a/docs/docs/hierarchy.js +++ /dev/null @@ -1,249 +0,0 @@ -var hierarchy = -[ - [ "AirQualitySensor< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html", null ], - [ "AirQualitySensor< SinricProAirQualitySensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html", [ - [ "SinricProAirQualitySensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html", null ] - ] ], - [ "BrightnessController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html", null ], - [ "BrightnessController< SinricProLight >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html", [ - [ "SinricProLight", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html", null ] - ] ], - [ "ChannelController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html", null ], - [ "ChannelController< SinricProTV >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html", [ - [ "SinricProTV", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html", null ] - ] ], - [ "ColorController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html", null ], - [ "ColorController< SinricProLight >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html", [ - [ "SinricProLight", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html", null ] - ] ], - [ "ColorTemperatureController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html", null ], - [ "ColorTemperatureController< SinricProLight >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html", [ - [ "SinricProLight", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html", null ] - ] ], - [ "ContactSensor< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html", null ], - [ "ContactSensor< SinricProContactsensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html", [ - [ "SinricProContactsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html", null ] - ] ], - [ "Doorbell< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html", null ], - [ "Doorbell< SinricProDoorbell >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html", [ - [ "SinricProDoorbell", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html", null ] - ] ], - [ "DoorController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html", null ], - [ "DoorController< SinricProGarageDoor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html", [ - [ "SinricProGarageDoor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html", null ] - ] ], - [ "EqualizerController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html", null ], - [ "EqualizerController< SinricProSpeaker >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html", [ - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", null ] - ] ], - [ "InputController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html", null ], - [ "InputController< SinricProSpeaker >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html", [ - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", null ] - ] ], - [ "InputController< SinricProTV >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html", [ - [ "SinricProTV", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html", null ] - ] ], - [ "KeypadController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html", null ], - [ "LockController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html", null ], - [ "LockController< SinricProLock >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html", [ - [ "SinricProLock", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html", null ] - ] ], - [ "MediaController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html", null ], - [ "MediaController< SinricProSpeaker >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html", [ - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", null ] - ] ], - [ "MediaController< SinricProTV >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html", [ - [ "SinricProTV", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html", null ] - ] ], - [ "ModeController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html", null ], - [ "ModeController< SinricProSpeaker >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html", [ - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", null ] - ] ], - [ "MotionSensor< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html", null ], - [ "MotionSensor< SinricProMotionsensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html", [ - [ "SinricProMotionsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html", null ] - ] ], - [ "MuteController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html", null ], - [ "MuteController< SinricProSpeaker >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html", [ - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", null ] - ] ], - [ "MuteController< SinricProTV >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html", [ - [ "SinricProTV", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html", null ] - ] ], - [ "PercentageController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html", null ], - [ "PowerLevelController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html", null ], - [ "PowerLevelController< SinricProDimSwitch >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html", [ - [ "SinricProDimSwitch", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html", null ] - ] ], - [ "PowerLevelController< SinricProFan >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html", [ - [ "SinricProFan", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html", null ] - ] ], - [ "PowerSensor< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html", null ], - [ "PowerSensor< SinricProPowerSensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html", [ - [ "SinricProPowerSensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html", null ] - ] ], - [ "PowerStateController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", null ], - [ "PowerStateController< SinricProAirQualitySensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProAirQualitySensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html", null ] - ] ], - [ "PowerStateController< SinricProBlinds >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProBlinds", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html", null ] - ] ], - [ "PowerStateController< SinricProCamera >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProCamera", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html", null ] - ] ], - [ "PowerStateController< SinricProContactsensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProContactsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html", null ] - ] ], - [ "PowerStateController< SinricProDimSwitch >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProDimSwitch", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html", null ] - ] ], - [ "PowerStateController< SinricProDoorbell >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProDoorbell", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html", null ] - ] ], - [ "PowerStateController< SinricProFan >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProFan", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html", null ] - ] ], - [ "PowerStateController< SinricProFanUS >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProFanUS", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html", null ] - ] ], - [ "PowerStateController< SinricProLight >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProLight", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html", null ] - ] ], - [ "PowerStateController< SinricProMotionsensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProMotionsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html", null ] - ] ], - [ "PowerStateController< SinricProPowerSensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProPowerSensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html", null ] - ] ], - [ "PowerStateController< SinricProSpeaker >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", null ] - ] ], - [ "PowerStateController< SinricProSwitch >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProSwitch", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html", null ] - ] ], - [ "PowerStateController< SinricProTemperaturesensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProTemperaturesensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html", null ] - ] ], - [ "PowerStateController< SinricProThermostat >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProThermostat", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html", null ] - ] ], - [ "PowerStateController< SinricProTV >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProTV", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html", null ] - ] ], - [ "PowerStateController< SinricProWindowAC >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html", [ - [ "SinricProWindowAC", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html", null ] - ] ], - [ "PushNotification< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", null ], - [ "PushNotification< SinricProAirQualitySensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProAirQualitySensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html", null ] - ] ], - [ "PushNotification< SinricProBlinds >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProBlinds", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html", null ] - ] ], - [ "PushNotification< SinricProCamera >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProCamera", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html", null ] - ] ], - [ "PushNotification< SinricProContactsensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProContactsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html", null ] - ] ], - [ "PushNotification< SinricProDimSwitch >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProDimSwitch", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html", null ] - ] ], - [ "PushNotification< SinricProDoorbell >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProDoorbell", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html", null ] - ] ], - [ "PushNotification< SinricProFan >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProFan", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html", null ] - ] ], - [ "PushNotification< SinricProFanUS >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProFanUS", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html", null ] - ] ], - [ "PushNotification< SinricProGarageDoor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProGarageDoor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html", null ] - ] ], - [ "PushNotification< SinricProLight >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProLight", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html", null ] - ] ], - [ "PushNotification< SinricProLock >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProLock", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html", null ] - ] ], - [ "PushNotification< SinricProMotionsensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProMotionsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html", null ] - ] ], - [ "PushNotification< SinricProPowerSensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProPowerSensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html", null ] - ] ], - [ "PushNotification< SinricProSpeaker >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", null ] - ] ], - [ "PushNotification< SinricProSwitch >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProSwitch", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html", null ] - ] ], - [ "PushNotification< SinricProTemperaturesensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProTemperaturesensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html", null ] - ] ], - [ "PushNotification< SinricProThermostat >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProThermostat", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html", null ] - ] ], - [ "PushNotification< SinricProTV >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProTV", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html", null ] - ] ], - [ "PushNotification< SinricProWindowAC >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html", [ - [ "SinricProWindowAC", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html", null ] - ] ], - [ "RangeController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html", null ], - [ "RangeController< SinricProBlinds >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html", [ - [ "SinricProBlinds", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html", null ] - ] ], - [ "RangeController< SinricProFanUS >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html", [ - [ "SinricProFanUS", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html", null ] - ] ], - [ "RangeController< SinricProWindowAC >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html", [ - [ "SinricProWindowAC", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html", null ] - ] ], - [ "SinricProClass", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html", null ], - [ "SinricProDevice", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device.html", [ - [ "SinricProAirQualitySensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html", null ], - [ "SinricProBlinds", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html", null ], - [ "SinricProCamera", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html", null ], - [ "SinricProContactsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html", null ], - [ "SinricProDimSwitch", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html", null ], - [ "SinricProDoorbell", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html", null ], - [ "SinricProFan", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html", null ], - [ "SinricProFanUS", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html", null ], - [ "SinricProGarageDoor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html", null ], - [ "SinricProLight", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html", null ], - [ "SinricProLock", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html", null ], - [ "SinricProMotionsensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html", null ], - [ "SinricProPowerSensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html", null ], - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", null ], - [ "SinricProSwitch", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html", null ], - [ "SinricProTV", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html", null ], - [ "SinricProTemperaturesensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html", null ], - [ "SinricProThermostat", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html", null ], - [ "SinricProWindowAC", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html", null ] - ] ], - [ "TemperatureSensor< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html", null ], - [ "TemperatureSensor< SinricProTemperaturesensor >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html", [ - [ "SinricProTemperaturesensor", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html", null ] - ] ], - [ "TemperatureSensor< SinricProThermostat >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html", [ - [ "SinricProThermostat", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html", null ] - ] ], - [ "ThermostatController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html", null ], - [ "ThermostatController< SinricProThermostat >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html", [ - [ "SinricProThermostat", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html", null ] - ] ], - [ "ThermostatController< SinricProWindowAC >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html", [ - [ "SinricProWindowAC", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html", null ] - ] ], - [ "ToggleController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html", null ], - [ "VolumeController< T >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html", null ], - [ "VolumeController< SinricProSpeaker >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html", [ - [ "SinricProSpeaker", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html", null ] - ] ], - [ "VolumeController< SinricProTV >", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html", [ - [ "SinricProTV", "class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html", null ] - ] ] -]; \ No newline at end of file diff --git a/docs/docs/index.html b/docs/docs/index.html deleted file mode 100644 index 0447e1e..0000000 --- a/docs/docs/index.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - -SinricPro Library: SinricPro (ESP8266 / ESP32 SDK) - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
SinricPro (ESP8266 / ESP32 SDK)
-
-
-

arduino-library-badge PlatformIO Registry

-

Platform ESP8266 Platform ESP32

-

Framework

-

GitHub release (latest by date)

-

Build

-

-Note

-
    -
  1. Use the latest ESP Arduino Core!
  2. -
  3. Use the latest WebSocktes library!
  4. -
-

-Installation

-

-VS Code & PlatformIO:

-
    -
  1. Install VS Code
    -
  2. -
  3. Install PlatformIO
    -
  4. -
  5. Install SinricPro library by using Library Manager
    -
  6. -
  7. Use included platformio.ini file from examples to ensure that all dependent libraries will installed automaticly.
  8. -
-

sinricpro library manager

-

-ArduinoIDE

-
    -
  1. Open Library Manager (Tools / Manage Libraries)
    -
  2. -
  3. Search for SinricPro and click Install
    -
  4. -
  5. Repeat step 2 for all dependent libraries!
  6. -
  7. Open example in ArduinoIDE (File / Examples / SinricPro / ...)
    -
  8. -
-

ArduinoIDE Library Manager

-
-

-Dependencies

-

ArduinoJson by Benoit Blanchon (minimum Version 6.12.0)
- WebSockets by Markus Sattler (minimum Version 2.3.5)

-
-

-Full user documentation

-

Please see here for full user documentation

-
-

-Examples

-

See examples on GitHub

-
-

-Usage

-

-Include SinricPro-Library (SinricPro.h) and SinricPro-Device-Libraries (eg. SinricProSwitch.h)

-
{C++}
-
#include <SinricPro.h>
-
#include <SinricProSwitch.h>
-

-Define your credentials from SinricPro-Portal (portal.sinric.pro)

-
{C++}
-
#define APP_KEY "YOUR-APP-KEY" // Should look like "de0bxxxx-1x3x-4x3x-ax2x-5dabxxxxxxxx"
-
#define APP_SECRET "YOUR-APP-SECRET" // Should look like "5f36xxxx-x3x7-4x3x-xexe-e86724a9xxxx-4c4axxxx-3x3x-x5xe-x9x3-333d65xxxxxx"
-
#define SWITCH_ID "YOUR-DEVICE-ID" // Should look like "5dc1564130xxxxxxxxxxxxxx"
-

-Define callback routine(s)

-
{C++}
-
bool onPowerState(const String &deviceId, bool &state) {
-
Serial.printf("device %s turned %s\r\n", deviceId.c_str(), state?"on":"off");
-
return true; // indicate that callback handled correctly
-
}
-

-In setup()

-
{C++}
-
// create and add a switch to SinricPro
-
SinricProSwitch& mySwitch = SinricPro[SWITCH_ID];
-
// set callback function
-
mySwitch.onPowerState(onPowerState);
-
// startup SinricPro
-
SinricPro.begin(APP_KEY, APP_SECRET);
-

-In loop()

-
{C++}
-
SinricPro.handle();
-

-

-How to add a device?

-

Syntax is
-

{C++}
-
DeviceType& myDevice = SinricPro[DEVICE_ID];
-

Example
-

{C++}
-
SinricProSwitch& mySwitch = SinricPro["YOUR-SWITCH-ID-HERE"];
-

Example 2 (alternatively)

{C++}
-
SinricProSwitch& mySwitch = SinricPro.add<SinricProSwitch>("YOUR-SWITCH-ID-HERE");
-

-

-How to retrieve a device for sending an event?

-

Syntax is
-

{C++}
-
DeviceType& myDevice = SinricPro[DEVICE_ID];
-

Example 1

{C++}
-
SinricProDoorbell& myDoorbell = SinricPro["YOUR-DOORBELL-ID-HERE"];
-
myDoorbell.sendDoorbellEvent();
-

Example 2 (alternatively)

{C++}
-
SinricPro["YOUR-DOORBELL-ID-HERE"].as<SinricProDoorbell>().sendDoorbellEvent();
-

-

-Devices

-
    -
  • Switch
  • -
  • Dimmable Switch
  • -
  • Light
  • -
  • TV
  • -
  • Speaker
  • -
  • Thermostat
  • -
  • Fan (US and non US version)
  • -
  • Lock
  • -
  • Doorbell
  • -
  • Temperaturesensor
  • -
  • Motionsensor
  • -
  • Contactsensor
  • -
  • Windows Air Conditioner
  • -
  • Interior Blinds
  • -
  • Garage Door
  • -
-

-* Custom devices

-
-
-
- - - - diff --git a/docs/docs/inherit_graph_0.map b/docs/docs/inherit_graph_0.map deleted file mode 100644 index ced46d0..0000000 --- a/docs/docs/inherit_graph_0.map +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/docs/inherit_graph_0.md5 b/docs/docs/inherit_graph_0.md5 deleted file mode 100644 index f0d43b7..0000000 --- a/docs/docs/inherit_graph_0.md5 +++ /dev/null @@ -1 +0,0 @@ -92faddbb363d28af3e393f99fe4ff90c \ No newline at end of file diff --git a/docs/docs/inherit_graph_0.png b/docs/docs/inherit_graph_0.png deleted file mode 100644 index dffdb21..0000000 Binary files a/docs/docs/inherit_graph_0.png and /dev/null differ diff --git a/docs/docs/inherit_graph_1.map b/docs/docs/inherit_graph_1.map deleted file mode 100644 index 708cddb..0000000 --- a/docs/docs/inherit_graph_1.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_1.md5 b/docs/docs/inherit_graph_1.md5 deleted file mode 100644 index a67f181..0000000 --- a/docs/docs/inherit_graph_1.md5 +++ /dev/null @@ -1 +0,0 @@ -5e0f9c6e02f4985fa69edc664b35f6b8 \ No newline at end of file diff --git a/docs/docs/inherit_graph_1.png b/docs/docs/inherit_graph_1.png deleted file mode 100644 index c60ec67..0000000 Binary files a/docs/docs/inherit_graph_1.png and /dev/null differ diff --git a/docs/docs/inherit_graph_10.map b/docs/docs/inherit_graph_10.map deleted file mode 100644 index 2c55b19..0000000 --- a/docs/docs/inherit_graph_10.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_10.md5 b/docs/docs/inherit_graph_10.md5 deleted file mode 100644 index 21e5c1e..0000000 --- a/docs/docs/inherit_graph_10.md5 +++ /dev/null @@ -1 +0,0 @@ -097584a903e1f373de2896689b425a6e \ No newline at end of file diff --git a/docs/docs/inherit_graph_10.png b/docs/docs/inherit_graph_10.png deleted file mode 100644 index c953bdb..0000000 Binary files a/docs/docs/inherit_graph_10.png and /dev/null differ diff --git a/docs/docs/inherit_graph_11.map b/docs/docs/inherit_graph_11.map deleted file mode 100644 index 3c30f35..0000000 --- a/docs/docs/inherit_graph_11.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_11.md5 b/docs/docs/inherit_graph_11.md5 deleted file mode 100644 index a3c8c1b..0000000 --- a/docs/docs/inherit_graph_11.md5 +++ /dev/null @@ -1 +0,0 @@ -a92b501591d64d4e3d13dde93c02d555 \ No newline at end of file diff --git a/docs/docs/inherit_graph_11.png b/docs/docs/inherit_graph_11.png deleted file mode 100644 index 8fa3143..0000000 Binary files a/docs/docs/inherit_graph_11.png and /dev/null differ diff --git a/docs/docs/inherit_graph_12.map b/docs/docs/inherit_graph_12.map deleted file mode 100644 index b5b363b..0000000 --- a/docs/docs/inherit_graph_12.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_12.md5 b/docs/docs/inherit_graph_12.md5 deleted file mode 100644 index 44ed4fb..0000000 --- a/docs/docs/inherit_graph_12.md5 +++ /dev/null @@ -1 +0,0 @@ -e0510917645712db03cd1eedb5e635fe \ No newline at end of file diff --git a/docs/docs/inherit_graph_12.png b/docs/docs/inherit_graph_12.png deleted file mode 100644 index a187b9e..0000000 Binary files a/docs/docs/inherit_graph_12.png and /dev/null differ diff --git a/docs/docs/inherit_graph_13.map b/docs/docs/inherit_graph_13.map deleted file mode 100644 index 0b7b0f6..0000000 --- a/docs/docs/inherit_graph_13.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_13.md5 b/docs/docs/inherit_graph_13.md5 deleted file mode 100644 index 9f48105..0000000 --- a/docs/docs/inherit_graph_13.md5 +++ /dev/null @@ -1 +0,0 @@ -219a7ede12bbe81f5d241ee5145dc1a2 \ No newline at end of file diff --git a/docs/docs/inherit_graph_13.png b/docs/docs/inherit_graph_13.png deleted file mode 100644 index 14d0f65..0000000 Binary files a/docs/docs/inherit_graph_13.png and /dev/null differ diff --git a/docs/docs/inherit_graph_14.map b/docs/docs/inherit_graph_14.map deleted file mode 100644 index 1d3e863..0000000 --- a/docs/docs/inherit_graph_14.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_14.md5 b/docs/docs/inherit_graph_14.md5 deleted file mode 100644 index bea6655..0000000 --- a/docs/docs/inherit_graph_14.md5 +++ /dev/null @@ -1 +0,0 @@ -071e61694046a8801636fe2c9d96109d \ No newline at end of file diff --git a/docs/docs/inherit_graph_14.png b/docs/docs/inherit_graph_14.png deleted file mode 100644 index c1ea66a..0000000 Binary files a/docs/docs/inherit_graph_14.png and /dev/null differ diff --git a/docs/docs/inherit_graph_15.map b/docs/docs/inherit_graph_15.map deleted file mode 100644 index ea1b75d..0000000 --- a/docs/docs/inherit_graph_15.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_15.md5 b/docs/docs/inherit_graph_15.md5 deleted file mode 100644 index 403a4dc..0000000 --- a/docs/docs/inherit_graph_15.md5 +++ /dev/null @@ -1 +0,0 @@ -07f6bd13b5ff4dc4acc24079b10a03f7 \ No newline at end of file diff --git a/docs/docs/inherit_graph_15.png b/docs/docs/inherit_graph_15.png deleted file mode 100644 index 8a6ae11..0000000 Binary files a/docs/docs/inherit_graph_15.png and /dev/null differ diff --git a/docs/docs/inherit_graph_16.map b/docs/docs/inherit_graph_16.map deleted file mode 100644 index 0fca128..0000000 --- a/docs/docs/inherit_graph_16.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_16.md5 b/docs/docs/inherit_graph_16.md5 deleted file mode 100644 index cf0320f..0000000 --- a/docs/docs/inherit_graph_16.md5 +++ /dev/null @@ -1 +0,0 @@ -701ce3c8071a0db532a86abe4c463c4d \ No newline at end of file diff --git a/docs/docs/inherit_graph_16.png b/docs/docs/inherit_graph_16.png deleted file mode 100644 index 800e46e..0000000 Binary files a/docs/docs/inherit_graph_16.png and /dev/null differ diff --git a/docs/docs/inherit_graph_17.map b/docs/docs/inherit_graph_17.map deleted file mode 100644 index 16502a7..0000000 --- a/docs/docs/inherit_graph_17.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_17.md5 b/docs/docs/inherit_graph_17.md5 deleted file mode 100644 index e2b88f6..0000000 --- a/docs/docs/inherit_graph_17.md5 +++ /dev/null @@ -1 +0,0 @@ -e56922f3d2b5208ac886588f13d98c72 \ No newline at end of file diff --git a/docs/docs/inherit_graph_17.png b/docs/docs/inherit_graph_17.png deleted file mode 100644 index c41f8c3..0000000 Binary files a/docs/docs/inherit_graph_17.png and /dev/null differ diff --git a/docs/docs/inherit_graph_18.map b/docs/docs/inherit_graph_18.map deleted file mode 100644 index 02f8188..0000000 --- a/docs/docs/inherit_graph_18.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_18.md5 b/docs/docs/inherit_graph_18.md5 deleted file mode 100644 index 1436d4a..0000000 --- a/docs/docs/inherit_graph_18.md5 +++ /dev/null @@ -1 +0,0 @@ -9e39a868edc1ac325e09c98639b913e8 \ No newline at end of file diff --git a/docs/docs/inherit_graph_18.png b/docs/docs/inherit_graph_18.png deleted file mode 100644 index d6d1c17..0000000 Binary files a/docs/docs/inherit_graph_18.png and /dev/null differ diff --git a/docs/docs/inherit_graph_19.map b/docs/docs/inherit_graph_19.map deleted file mode 100644 index 1d17067..0000000 --- a/docs/docs/inherit_graph_19.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_19.md5 b/docs/docs/inherit_graph_19.md5 deleted file mode 100644 index 935dc1f..0000000 --- a/docs/docs/inherit_graph_19.md5 +++ /dev/null @@ -1 +0,0 @@ -f8ba803295059b389518470bf6074dfb \ No newline at end of file diff --git a/docs/docs/inherit_graph_19.png b/docs/docs/inherit_graph_19.png deleted file mode 100644 index 967ebb1..0000000 Binary files a/docs/docs/inherit_graph_19.png and /dev/null differ diff --git a/docs/docs/inherit_graph_2.map b/docs/docs/inherit_graph_2.map deleted file mode 100644 index 0bb7ed5..0000000 --- a/docs/docs/inherit_graph_2.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_2.md5 b/docs/docs/inherit_graph_2.md5 deleted file mode 100644 index 002bc19..0000000 --- a/docs/docs/inherit_graph_2.md5 +++ /dev/null @@ -1 +0,0 @@ -fa4d23f06c860b84a4260c815f89a2e7 \ No newline at end of file diff --git a/docs/docs/inherit_graph_2.png b/docs/docs/inherit_graph_2.png deleted file mode 100644 index 5dc83b9..0000000 Binary files a/docs/docs/inherit_graph_2.png and /dev/null differ diff --git a/docs/docs/inherit_graph_20.map b/docs/docs/inherit_graph_20.map deleted file mode 100644 index 7d7d989..0000000 --- a/docs/docs/inherit_graph_20.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_20.md5 b/docs/docs/inherit_graph_20.md5 deleted file mode 100644 index e6c252a..0000000 --- a/docs/docs/inherit_graph_20.md5 +++ /dev/null @@ -1 +0,0 @@ -b0535a940f9b972af03a6c03421c80bc \ No newline at end of file diff --git a/docs/docs/inherit_graph_20.png b/docs/docs/inherit_graph_20.png deleted file mode 100644 index f5e0ebf..0000000 Binary files a/docs/docs/inherit_graph_20.png and /dev/null differ diff --git a/docs/docs/inherit_graph_21.map b/docs/docs/inherit_graph_21.map deleted file mode 100644 index 322c515..0000000 --- a/docs/docs/inherit_graph_21.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_21.md5 b/docs/docs/inherit_graph_21.md5 deleted file mode 100644 index 7fef692..0000000 --- a/docs/docs/inherit_graph_21.md5 +++ /dev/null @@ -1 +0,0 @@ -a20990d02cf3f507981abfbe28f4479b \ No newline at end of file diff --git a/docs/docs/inherit_graph_21.png b/docs/docs/inherit_graph_21.png deleted file mode 100644 index 1b71dbd..0000000 Binary files a/docs/docs/inherit_graph_21.png and /dev/null differ diff --git a/docs/docs/inherit_graph_22.map b/docs/docs/inherit_graph_22.map deleted file mode 100644 index f251eeb..0000000 --- a/docs/docs/inherit_graph_22.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_22.md5 b/docs/docs/inherit_graph_22.md5 deleted file mode 100644 index 3aca8ba..0000000 --- a/docs/docs/inherit_graph_22.md5 +++ /dev/null @@ -1 +0,0 @@ -dc7b2c026dd29f15c93e77eacdbce937 \ No newline at end of file diff --git a/docs/docs/inherit_graph_22.png b/docs/docs/inherit_graph_22.png deleted file mode 100644 index 8a838aa..0000000 Binary files a/docs/docs/inherit_graph_22.png and /dev/null differ diff --git a/docs/docs/inherit_graph_23.map b/docs/docs/inherit_graph_23.map deleted file mode 100644 index c8528c8..0000000 --- a/docs/docs/inherit_graph_23.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_23.md5 b/docs/docs/inherit_graph_23.md5 deleted file mode 100644 index a809120..0000000 --- a/docs/docs/inherit_graph_23.md5 +++ /dev/null @@ -1 +0,0 @@ -61b046629e30ee985799df347e8f3e0e \ No newline at end of file diff --git a/docs/docs/inherit_graph_23.png b/docs/docs/inherit_graph_23.png deleted file mode 100644 index bb1e6ea..0000000 Binary files a/docs/docs/inherit_graph_23.png and /dev/null differ diff --git a/docs/docs/inherit_graph_24.map b/docs/docs/inherit_graph_24.map deleted file mode 100644 index 71bd024..0000000 --- a/docs/docs/inherit_graph_24.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_24.md5 b/docs/docs/inherit_graph_24.md5 deleted file mode 100644 index 41e7a95..0000000 --- a/docs/docs/inherit_graph_24.md5 +++ /dev/null @@ -1 +0,0 @@ -fecb9c5ba3d5425724a5126c49c9f8a2 \ No newline at end of file diff --git a/docs/docs/inherit_graph_24.png b/docs/docs/inherit_graph_24.png deleted file mode 100644 index 8a951ec..0000000 Binary files a/docs/docs/inherit_graph_24.png and /dev/null differ diff --git a/docs/docs/inherit_graph_25.map b/docs/docs/inherit_graph_25.map deleted file mode 100644 index 28ccdfe..0000000 --- a/docs/docs/inherit_graph_25.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_25.md5 b/docs/docs/inherit_graph_25.md5 deleted file mode 100644 index 9a82654..0000000 --- a/docs/docs/inherit_graph_25.md5 +++ /dev/null @@ -1 +0,0 @@ -a34560f987989a447b41f73ee39cb038 \ No newline at end of file diff --git a/docs/docs/inherit_graph_25.png b/docs/docs/inherit_graph_25.png deleted file mode 100644 index 387fbdc..0000000 Binary files a/docs/docs/inherit_graph_25.png and /dev/null differ diff --git a/docs/docs/inherit_graph_26.map b/docs/docs/inherit_graph_26.map deleted file mode 100644 index 21700cd..0000000 --- a/docs/docs/inherit_graph_26.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_26.md5 b/docs/docs/inherit_graph_26.md5 deleted file mode 100644 index 7cdcfb2..0000000 --- a/docs/docs/inherit_graph_26.md5 +++ /dev/null @@ -1 +0,0 @@ -058172ecc59cab4d6d439c5b8c8f0039 \ No newline at end of file diff --git a/docs/docs/inherit_graph_26.png b/docs/docs/inherit_graph_26.png deleted file mode 100644 index 8ad7d10..0000000 Binary files a/docs/docs/inherit_graph_26.png and /dev/null differ diff --git a/docs/docs/inherit_graph_27.map b/docs/docs/inherit_graph_27.map deleted file mode 100644 index d5793d3..0000000 --- a/docs/docs/inherit_graph_27.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_27.md5 b/docs/docs/inherit_graph_27.md5 deleted file mode 100644 index 1b08bd6..0000000 --- a/docs/docs/inherit_graph_27.md5 +++ /dev/null @@ -1 +0,0 @@ -90a542863d137792d02ac7d76c8de92d \ No newline at end of file diff --git a/docs/docs/inherit_graph_27.png b/docs/docs/inherit_graph_27.png deleted file mode 100644 index c16e7d1..0000000 Binary files a/docs/docs/inherit_graph_27.png and /dev/null differ diff --git a/docs/docs/inherit_graph_3.map b/docs/docs/inherit_graph_3.map deleted file mode 100644 index 9a7ac4a..0000000 --- a/docs/docs/inherit_graph_3.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_3.md5 b/docs/docs/inherit_graph_3.md5 deleted file mode 100644 index 9e4a783..0000000 --- a/docs/docs/inherit_graph_3.md5 +++ /dev/null @@ -1 +0,0 @@ -00ac09e4f48effceb0e5d33f4d1a5f11 \ No newline at end of file diff --git a/docs/docs/inherit_graph_3.png b/docs/docs/inherit_graph_3.png deleted file mode 100644 index d39722e..0000000 Binary files a/docs/docs/inherit_graph_3.png and /dev/null differ diff --git a/docs/docs/inherit_graph_4.map b/docs/docs/inherit_graph_4.map deleted file mode 100644 index 63d34be..0000000 --- a/docs/docs/inherit_graph_4.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_4.md5 b/docs/docs/inherit_graph_4.md5 deleted file mode 100644 index 808d22c..0000000 --- a/docs/docs/inherit_graph_4.md5 +++ /dev/null @@ -1 +0,0 @@ -c50938a4c1c6868367837d6fe13bb0a0 \ No newline at end of file diff --git a/docs/docs/inherit_graph_4.png b/docs/docs/inherit_graph_4.png deleted file mode 100644 index fcf3446..0000000 Binary files a/docs/docs/inherit_graph_4.png and /dev/null differ diff --git a/docs/docs/inherit_graph_5.map b/docs/docs/inherit_graph_5.map deleted file mode 100644 index c90c273..0000000 --- a/docs/docs/inherit_graph_5.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_5.md5 b/docs/docs/inherit_graph_5.md5 deleted file mode 100644 index 9ff9516..0000000 --- a/docs/docs/inherit_graph_5.md5 +++ /dev/null @@ -1 +0,0 @@ -7d990cd673cd87f9c03229dfc1d8fc57 \ No newline at end of file diff --git a/docs/docs/inherit_graph_5.png b/docs/docs/inherit_graph_5.png deleted file mode 100644 index bf9d303..0000000 Binary files a/docs/docs/inherit_graph_5.png and /dev/null differ diff --git a/docs/docs/inherit_graph_6.map b/docs/docs/inherit_graph_6.map deleted file mode 100644 index d250c2e..0000000 --- a/docs/docs/inherit_graph_6.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_6.md5 b/docs/docs/inherit_graph_6.md5 deleted file mode 100644 index 55a5115..0000000 --- a/docs/docs/inherit_graph_6.md5 +++ /dev/null @@ -1 +0,0 @@ -6276f12a2d68e1ca206c84dba62ec223 \ No newline at end of file diff --git a/docs/docs/inherit_graph_6.png b/docs/docs/inherit_graph_6.png deleted file mode 100644 index 7ab7c2e..0000000 Binary files a/docs/docs/inherit_graph_6.png and /dev/null differ diff --git a/docs/docs/inherit_graph_7.map b/docs/docs/inherit_graph_7.map deleted file mode 100644 index bbe5013..0000000 --- a/docs/docs/inherit_graph_7.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_7.md5 b/docs/docs/inherit_graph_7.md5 deleted file mode 100644 index c4700d3..0000000 --- a/docs/docs/inherit_graph_7.md5 +++ /dev/null @@ -1 +0,0 @@ -cbacda5af4aefcc61b1fdc5ee24d6e91 \ No newline at end of file diff --git a/docs/docs/inherit_graph_7.png b/docs/docs/inherit_graph_7.png deleted file mode 100644 index 8f95146..0000000 Binary files a/docs/docs/inherit_graph_7.png and /dev/null differ diff --git a/docs/docs/inherit_graph_8.map b/docs/docs/inherit_graph_8.map deleted file mode 100644 index ef40f52..0000000 --- a/docs/docs/inherit_graph_8.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_8.md5 b/docs/docs/inherit_graph_8.md5 deleted file mode 100644 index 130e135..0000000 --- a/docs/docs/inherit_graph_8.md5 +++ /dev/null @@ -1 +0,0 @@ -5cba821b2e25837e7cc09e36ed19471f \ No newline at end of file diff --git a/docs/docs/inherit_graph_8.png b/docs/docs/inherit_graph_8.png deleted file mode 100644 index 8e502f4..0000000 Binary files a/docs/docs/inherit_graph_8.png and /dev/null differ diff --git a/docs/docs/inherit_graph_9.map b/docs/docs/inherit_graph_9.map deleted file mode 100644 index d034be9..0000000 --- a/docs/docs/inherit_graph_9.map +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/docs/docs/inherit_graph_9.md5 b/docs/docs/inherit_graph_9.md5 deleted file mode 100644 index 0318c62..0000000 --- a/docs/docs/inherit_graph_9.md5 +++ /dev/null @@ -1 +0,0 @@ -7af2076992cb5ce99f4e7887b1303fc7 \ No newline at end of file diff --git a/docs/docs/inherit_graph_9.png b/docs/docs/inherit_graph_9.png deleted file mode 100644 index 06d7d0a..0000000 Binary files a/docs/docs/inherit_graph_9.png and /dev/null differ diff --git a/docs/docs/inherits.html b/docs/docs/inherits.html deleted file mode 100644 index 989174c..0000000 --- a/docs/docs/inherits.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - - -SinricPro Library: Class Hierarchy - - - - - - - - - - - - - -
-
- - - - - - -
-
SinricPro Library -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
Class Hierarchy
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
-
-
- - - - diff --git a/docs/docs/jquery.js b/docs/docs/jquery.js deleted file mode 100644 index 103c32d..0000000 --- a/docs/docs/jquery.js +++ /dev/null @@ -1,35 +0,0 @@ -/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),h=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):h=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
"),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element -},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),m&&(p-=l),g&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable});/** - * Copyright (c) 2007 Ariel Flesler - aflesler ○ gmail • com | https://github.com/flesler - * Licensed under MIT - * @author Ariel Flesler - * @version 2.1.2 - */ -;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 - * http://www.smartmenus.org/ - * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file diff --git a/docs/docs/menu.js b/docs/docs/menu.js deleted file mode 100644 index 2fe2214..0000000 --- a/docs/docs/menu.js +++ /dev/null @@ -1,51 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ -function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { - function makeTree(data,relPath) { - var result=''; - if ('children' in data) { - result+=''; - } - return result; - } - - $('#main-nav').append(makeTree(menudata,relPath)); - $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); - if (searchEnabled) { - if (serverSide) { - $('#main-menu').append('
  • '); - } else { - $('#main-menu').append('
  • '); - } - } - $('#main-menu').smartmenus(); -} -/* @license-end */ diff --git a/docs/docs/menudata.js b/docs/docs/menudata.js deleted file mode 100644 index b46f043..0000000 --- a/docs/docs/menudata.js +++ /dev/null @@ -1,45 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file -*/ -var menudata={children:[ -{text:"Main Page",url:"index.html"}, -{text:"Classes",url:"annotated.html",children:[ -{text:"Class List",url:"annotated.html"}, -{text:"Class Index",url:"classes.html"}, -{text:"Class Hierarchy",url:"inherits.html"}, -{text:"Class Members",url:"functions.html",children:[ -{text:"All",url:"functions.html",children:[ -{text:"b",url:"functions.html#index_b"}, -{text:"g",url:"functions.html#index_g"}, -{text:"h",url:"functions.html#index_h"}, -{text:"o",url:"functions.html#index_o"}, -{text:"r",url:"functions.html#index_r"}, -{text:"s",url:"functions.html#index_s"}]}, -{text:"Functions",url:"functions_func.html",children:[ -{text:"b",url:"functions_func.html#index_b"}, -{text:"g",url:"functions_func.html#index_g"}, -{text:"h",url:"functions_func.html#index_h"}, -{text:"o",url:"functions_func.html#index_o"}, -{text:"r",url:"functions_func.html#index_r"}, -{text:"s",url:"functions_func.html#index_s"}]}]}]}]} diff --git a/docs/docs/namespace_s_i_n_r_i_c_p_r_o__2__9__17.html b/docs/docs/namespace_s_i_n_r_i_c_p_r_o__2__9__17.html deleted file mode 100644 index 49923eb..0000000 --- a/docs/docs/namespace_s_i_n_r_i_c_p_r_o__2__9__17.html +++ /dev/null @@ -1,1989 +0,0 @@ - - - - - - - -SinricPro Library: SINRICPRO_2_9_17 Namespace Reference - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    SinricPro Library -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    - -
    -
    SINRICPRO_2_9_17 Namespace Reference
    -
    -
    - -

    SinricPro namespace. -More...

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Classes

    class  SinricProClass
     The main class of this library, handling communication between SinricPro Server and your devices. More...
     
    class  SinricProAirQualitySensor
     Device to report air quality events. More...
     
    class  SinricProBlinds
     Device to control interior blinds. More...
     
    class  SinricProCamera
     Camera suporting basic on / off command. More...
     
    class  SinricProContactsensor
     Device to report contact sensor events. More...
     
    class  SinricProDevice
     Base class for all device types. More...
     
    class  SinricProDimSwitch
     Device which supports on / off and dimming commands. More...
     
    class  SinricProDoorbell
     Device to report doorbell events. More...
     
    class  SinricProFan
     Device to turn on / off a fan and change it's speed by using powerlevel. More...
     
    class  SinricProFanUS
     Device to control a fan with on / off commands and its speed by a range value. More...
     
    class  SinricProGarageDoor
     Device to control a garage door. More...
     
    class  SinricProLight
     Device to control a light. More...
     
    class  SinricProLock
     Device to control a smart lock. More...
     
    class  SinricProMotionsensor
     Device to report motion detection events. More...
     
    class  SinricProPowerSensor
     Device to report power usage. More...
     
    class  SinricProSpeaker
     Device to control a smart speaker. More...
     
    class  SinricProSwitch
     Device suporting basic on / off command. More...
     
    class  SinricProTemperaturesensor
     Device to report actual temperature and humidity. More...
     
    class  SinricProThermostat
     Device to control Thermostat. More...
     
    class  SinricProTV
     Device to control a TV. More...
     
    class  SinricProWindowAC
     Device to control Window Air Conditioner. More...
     
    class  AirQualitySensor
     AirQuality. More...
     
    class  BrightnessController
     BrightnessController. More...
     
    class  ChannelController
     ChannelController. More...
     
    class  ColorController
     ColorController. More...
     
    class  ColorTemperatureController
     ColorTemperatureController. More...
     
    class  ContactSensor
     ContactSensor. More...
     
    class  Doorbell
     Dorbell. More...
     
    class  DoorController
     DoorController - only used for GarageDoor device and cannot used as capability for a custom device! More...
     
    class  EqualizerController
     EqualizerController. More...
     
    class  InputController
     InputController. More...
     
    class  KeypadController
     KeypadController. More...
     
    class  LockController
     LockController. More...
     
    class  MediaController
     MediaController. More...
     
    class  ModeController
     ModeController. More...
     
    class  MotionSensor
     MotionSensor. More...
     
    class  MuteController
     MuteController. More...
     
    class  PercentageController
     PercentageController. More...
     
    class  PowerLevelController
     PowerLevelController. More...
     
    class  PowerSensor
     PowerSensor. More...
     
    class  PowerStateController
     PowerStateController. More...
     
    class  PushNotification
     PushNotification. More...
     
    class  RangeController
     RangeControllerFloatInt. More...
     
    class  TemperatureSensor
     TemperatureSensor. More...
     
    class  ThermostatController
     ThermostatController. More...
     
    class  ToggleController
     ToggleController. More...
     
    class  VolumeController
     VolumeController. More...
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Typedefs

    using ConnectedCallbackHandler = std::function< void(void)>
     Callback definition for onConnected function. More...
     
    using DisconnectedCallbackHandler = std::function< void(void)>
     Callback definition for onDisconnected function. More...
     
    using BrightnessCallback = std::function< bool(const String &, int &)>
     Callback definition for onBrightness function. More...
     
    using AdjustBrightnessCallback = std::function< bool(const String &, int &)>
     Callback definition for onAdjustBrightness function. More...
     
    using ChangeChannelCallback = std::function< bool(const String &, String &)>
     Callback definition for onChangeChannel function. More...
     
    using ChangeChannelNumberCallback = std::function< bool(const String &, int, String &)>
     Callback definition for onChangeChannelNumber function. More...
     
    using SkipChannelsCallback = std::function< bool(const String &, int, String &)>
     Callback definition for onSkipChannels function. More...
     
    using ColorCallback = std::function< bool(const String &, byte &, byte &, byte &)>
     Callback definition for onColor function. More...
     
    using ColorTemperatureCallback = std::function< bool(const String &, int &)>
     Callback definition for onColorTemperature function. More...
     
    using IncreaseColorTemperatureCallback = std::function< bool(const String &, int &)>
     Callback definition for onIncreaseColorTemperature function. More...
     
    using DecreaseColorTemperatureCallback = std::function< bool(const String &, int &)>
     Callback definition for onDecreaseColorTemperature function. More...
     
    using DoorCallback = std::function< bool(const String &, bool &)>
     Callback definition for onDoorState function. More...
     
    using SetBandsCallback = std::function< bool(const String &, const String &, int &)>
     Callback definition for onSetBands function. More...
     
    using AdjustBandsCallback = std::function< bool(const String &, const String &, int &)>
     Callback definition for onAdjustBands function. More...
     
    using ResetBandsCallback = std::function< bool(const String &, const String &, int &)>
     Callback definition for onResetBands function. More...
     
    using SelectInputCallback = std::function< bool(const String &, String &)>
     Callback definition for onSelectInput function. More...
     
    using KeystrokeCallback = std::function< bool(const String &, String &)>
     Callback definition for onKeystroke function. More...
     
    using LockStateCallback = std::function< bool(const String &, bool &)>
     Callback definition for onLockState function. More...
     
    using MediaControlCallback = std::function< bool(const String &, String &)>
     Callback definition for onMediaControl function. More...
     
    using ModeCallback = std::function< bool(const String &, String &)>
     Callback definition for onSetMode function. More...
     
    using GenericModeCallback = std::function< bool(const String &, const String &, String &)>
     Callback definition for onSetMode function for a specific instance. More...
     
    using MuteCallback = std::function< bool(const String &, bool &)>
     Callback definition for onMute function. More...
     
    using SetPercentageCallback = std::function< bool(const String &, int &)>
     Callback definition for onSetPercentage function. More...
     
    using AdjustPercentageCallback = std::function< bool(const String &, int &)>
     Callback definition for onAdjustPercentage function. More...
     
    using SetPowerLevelCallback = std::function< bool(const String &, int &)>
     Definition for setPowerLevel callback. More...
     
    using AdjustPowerLevelCallback = std::function< bool(const String &, int &)>
     Definition for onAdjustPowerLevel callback. More...
     
    using PowerStateCallback = std::function< bool(const String &, bool &)>
     Callback definition for onPowerState function. More...
     
    using GenericRangeValueCallback_int = bool(*)(const String &, const String &, int &)
     Callback definition for onRangeValue function. More...
     
    using GenericSetRangeValueCallback_int = GenericRangeValueCallback_int
     Callback definition for onRangeValue function on a specific instance. More...
     
    using AdjustRangeValueCallback = bool(*)(const String &, int &)
     Callback definition for onAdjustRangeValue function. More...
     
    using GenericAdjustRangeValueCallback_int = GenericRangeValueCallback_int
     Callback definition for onAdjustRangeValue function on a specific instance for custom devices. More...
     
    using ThermostatModeCallback = std::function< bool(const String &, String &)>
     Callback definition for onThermostatMode function. More...
     
    using SetTargetTemperatureCallback = std::function< bool(const String &, float &)>
     Callback definition for onTargetTemperature function. More...
     
    using AdjustTargetTemperatureCallback = std::function< bool(const String &, float &)>
     Callback definition for onAdjustTargetTemperature function. More...
     
    using GenericToggleStateCallback = std::function< bool(const String &, const String &, bool &)>
     Callback definition for onToggleState function. More...
     
    using SetVolumeCallback = std::function< bool(const String &, int &)>
     Callback definition for onSetVolume function. More...
     
    using AdjustVolumeCallback = std::function< bool(const String &, int &, bool)>
     Callback definition for onAdjustVolume function. More...
     
    -

    Detailed Description

    -

    SinricPro namespace.

    -

    Typedef Documentation

    - -

    ◆ AdjustBandsCallback

    - -
    -
    - - - - -
    using AdjustBandsCallback = std::function<bool(const String &, const String &, int &)>
    -
    - -

    Callback definition for onAdjustBands function.

    -

    Gets called when device receive a adjustBands request
    -

    Parameters
    - - - - - - -
    [in]deviceIdString which contains the ID of device
    [in]bandsString with requested bands to change
    - BASS, MIDRANGE, TREBBLE
    [in]levelDeltaInteger with relative level value device should change bands about
    [out]bandsString with changed bands
    - BASS, MIDRANGE, TREBBLE
    [out]levelDeltaInteger value with level bands changed to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    std::map<String, int> equalizerBands;
    -
    -
    bool onAdjustBands(const String &deviceId, String &bands, int &levelDelta) {
    -
    equalizerBands[bands] += levelDelta; // calculate absolute bands level
    -
    Serial.printf("Device %s bands %s changed about %d to %d\r\n", deviceId.c_str(), bands.c_str(), levelDelta, equalizerBands[bands]);
    -
    levelDelta = equalizerBands[bands]; // return absolute bands level
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ AdjustBrightnessCallback

    - -
    -
    - - - - -
    using AdjustBrightnessCallback = std::function<bool(const String &, int &)>
    -
    - -

    Callback definition for onAdjustBrightness function.

    -

    Gets called when device receive a adjustBrightness request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]brightnessRelative integer value the device should change the brightness about
    [out]brightnessAbsolute integer value with new brightness the device is set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    int absoluteBrightness;
    -
    -
    bool onAdjustBrightness(const String &deviceId, int &brightnessDelta) {
    -
    absoluteBrightness += brightnessDelta; // calculate absolute brigthness
    -
    Serial.printf("Device %s brightness changed about %i to %d\r\n", deviceId.c_str(), brightnessDelta, absoluteBrightness);
    -
    brightnessDelta = absoluteBrightness; // return absolute brightness
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ AdjustPercentageCallback

    - -
    -
    - - - - -
    using AdjustPercentageCallback = std::function<bool(const String &, int &)>
    -
    - -

    Callback definition for onAdjustPercentage function.

    -

    Gets called when device receive a adjustPercentage request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]percentageDeltaInteger with relative percentage the device should change about (-100..100)
    [out]percentageDeltaInteger with absolute percentage device has been set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    int absolutePercentage;
    -
    -
    bool onAdjustPercentage(const String &deviceId, int &percentageDelta) {
    -
    absolutePercentage += percentageDelta; // calculate absolute percentage
    -
    Serial.printf("Device %s percentage changed about %i to %d\r\n", deviceId.c_str(), percentageDelta, absolutePercentage);
    -
    percentageDelta = absolutePercentage; // return absolute percentage
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ AdjustPowerLevelCallback

    - -
    -
    - - - - -
    using AdjustPowerLevelCallback = std::function<bool(const String &, int &)>
    -
    - -

    Definition for onAdjustPowerLevel callback.

    -

    Gets called when device receive a adjustPowerLevel reuqest
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]powerLevelinteger -100..100 delta value which power level have to be changed
    [out]powerLevelinteger 0..100 report the absolute powerlevel that the device have been set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest can`t be handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    int absolutePowerLevel;
    -
    -
    bool onAdjustPowerLevel(const String &deviceId, int &powerDelta) {
    -
    absolutePowerLevel += powerDelta; // calculate absolute power level
    -
    Serial.printf("Device %s brightness changed about %i to %d\r\n", deviceId.c_str(), powerDelta, absolutePowerLevel);
    -
    powerDelta = absolutePowerLevel; // return absolute power level
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ AdjustRangeValueCallback

    - -
    -
    - - - - -
    using AdjustRangeValueCallback = bool (*)(const String &, int &)
    -
    - -

    Callback definition for onAdjustRangeValue function.

    -

    Gets called when device receive a adjustRangeValue reuqest
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]rangeValuedelta value for range value have to change
    [out]rangeValuereturning the absolute range value
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    int globalRangeValue;
    -
    -
    bool onAdjustRangeValue(const String &deviceId, int &rangeValueDelta) {
    -
    globalRangeValue += rangeValue; // calculate absolute rangeValue
    -
    Serial.printf("Device %s range value has been changed about %i to %d\r\n", deviceId.c_str(), rangeValueDelta, globalRangeValue);
    -
    rangeValueDelta = globalRangeValue; // return absolute rangeValue
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ AdjustTargetTemperatureCallback

    - -
    -
    - - - - -
    using AdjustTargetTemperatureCallback = std::function<bool(const String &, float &)>
    -
    - -

    Callback definition for onAdjustTargetTemperature function.

    -

    Gets called when device receive a adjustTargetTemperature reuqest
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]temperatureFloat relative temperature device should change about
    [out]temperatureFloat absolute temperature device is set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    float globalTargetTemp;
    -
    -
    bool onAdjustTargetTemperature(const String &deviceId, float &tempDelta) {
    -
    globalTargetTemp += tempDelta; // change global target temperature about tempDelta
    -
    Serial.printf("Device %s target temperature changed about %f to %f\r\n", deviceId.c_str(), tempDelta, globalTargetTemp);
    -
    tempDelta = globalTargetTemp; // return absolute target temperature
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ AdjustVolumeCallback

    - -
    -
    - - - - -
    using AdjustVolumeCallback = std::function<bool(const String &, int &, bool)>
    -
    - -

    Callback definition for onAdjustVolume function.

    -

    Gets called when device receive a adjustVolume request
    -

    Parameters
    - - - - - -
    [in]deviceIdString which contains the ID of device
    [in]volumeDeltaInteger with relative volume the device should change about (-100..100)
    [out]volumeDeltaInteger with absolute volume device has been set to
    [in]volumeDefaultBool false if the user specified the amount by which to change the volume; otherwise true
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    int absoluteVolume;
    -
    -
    bool onAdjustVolume(const String &deviceId, int &volumeDelta, bool volumeDefault) {
    -
    absoluteVolume += volumeDelta; // calculate absolute volume
    -
    Serial.printf("Device %s volume changed about %i to %d (default: %s)\r\n", deviceId.c_str(), volumeDelta, absoluteVolume, volumeDefault);
    -
    volumeDelta = absoluteVolume; // return absolute volume
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ BrightnessCallback

    - -
    -
    - - - - -
    using BrightnessCallback = std::function<bool(const String &, int &)>
    -
    - -

    Callback definition for onBrightness function.

    -

    Gets called when device receive a setBrightness request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]brightnessAbsolute integer value the device should set its brightness to
    [out]brightnessAbsolute integer value with new brightness the device is set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onBrightness(const String &deviceId, int &brightness) {
    -
    Serial.printf("Device %s brightness %d\r\n", deviceId.c_str(), brightness);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ ChangeChannelCallback

    - -
    -
    - - - - -
    using ChangeChannelCallback = std::function<bool(const String &, String &)>
    -
    - -

    Callback definition for onChangeChannel function.

    -

    Gets called when device receive a changeChannel request by using channel name

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]channelString with channel name device is requested to switch to
    [out]channelString with channel name device has switchted to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    // channelNames used to convert channelNumber into channelName
    -
    // please put in your TV channel names
    -
    // channel numbers starts counting from 0!
    -
    // so "ZDF" is channel 2
    -
    const char* channelNames[] = {
    -
    "A/V",
    -
    "ard",
    -
    "ZDF",
    -
    "n. d. r.",
    -
    "kabel eins",
    -
    "VOX",
    -
    "Sat.1",
    -
    "ProSieben",
    -
    "rtl",
    -
    "RTL II",
    -
    "SUPER RTL",
    -
    "KiKA"
    -
    };
    -
    -
    int tvChannel; // current channel selected
    -
    -
    #define MAX_CHANNELS sizeof(channelNames) / sizeof(channelNames[0]) // just to determine how many channels are in channelNames array
    -
    -
    // map channelNumbers used to convert channelName into channelNumber
    -
    // This map is initialized in "setupChannelNumbers()" function by using the "channelNames" array
    -
    std::map<String, unsigned int> channelNumbers;
    -
    -
    void setupChannelNumbers() {
    -
    for (unsigned int i=0; i < MAX_CHANNELS; i++) {
    -
    channelNumbers[channelNames[i]] = i;
    -
    }
    -
    }
    -
    -
    bool onChangeChannel(const String &deviceId, String &channel) {
    -
    tvChannel = channelNumbers[channel]; // save new channelNumber in tvChannel variable
    -
    Serial.printf("Change channel to \"%s\" (channel number %d)\r\n", channel.c_str(), tvChannel);
    -
    return true;
    -
    }
    -
    -
    -
    - -

    ◆ ChangeChannelNumberCallback

    - -
    -
    - - - - -
    using ChangeChannelNumberCallback = std::function<bool(const String &, int, String &)>
    -
    - -

    Callback definition for onChangeChannelNumber function.

    -

    Gets called when device receive a changeChannel request by using channel number

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]channelNumberInteger with channel number device is requested to switch to
    [out]channelNameString with channel name device has switchted to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    // channelNames used to convert channelNumber into channelName
    -
    // please put in your TV channel names
    -
    // channel numbers starts counting from 0!
    -
    // so "ZDF" is channel 2
    -
    const char* channelNames[] = {
    -
    "A/V",
    -
    "ard",
    -
    "ZDF",
    -
    "n. d. r.",
    -
    "kabel eins",
    -
    "VOX",
    -
    "Sat.1",
    -
    "ProSieben",
    -
    "rtl",
    -
    "RTL II",
    -
    "SUPER RTL",
    -
    "KiKA"
    -
    };
    -
    -
    int tvChannel; // current channel selected
    -
    -
    #define MAX_CHANNELS sizeof(channelNames) / sizeof(channelNames[0]) // just to determine how many channels are in channelNames array
    -
    -
    // map channelNumbers used to convert channelName into channelNumber
    -
    // This map is initialized in "setupChannelNumbers()" function by using the "channelNames" array
    -
    std::map<String, unsigned int> channelNumbers;
    -
    -
    void setupChannelNumbers() {
    -
    for (unsigned int i=0; i < MAX_CHANNELS; i++) {
    -
    channelNumbers[channelNames[i]] = i;
    -
    }
    -
    }
    -
    -
    bool onChangeChannelNumber(const String& deviceId, int channelNumber, String& channelName) {
    -
    tvChannel = channelNumber; // update tvChannel to new channel number
    -
    if (tvChannel < 0) tvChannel = 0;
    -
    if (tvChannel > MAX_CHANNELS-1) tvChannel = MAX_CHANNELS-1;
    -
    -
    channelName = channelNames[tvChannel]; // return the channelName
    -
    -
    Serial.printf("Change to channel to %d (channel name \"%s\")\r\n", tvChannel, channelName.c_str());
    -
    return true;
    -
    }
    -
    -
    -
    - -

    ◆ ColorCallback

    - -
    -
    - - - - -
    using ColorCallback = std::function<bool(const String &, byte &, byte &, byte &)>
    -
    - -

    Callback definition for onColor function.

    -

    Gets called when device receive a setColor request
    -

    Parameters
    - - - - - - - - -
    [in]deviceIdString which contains the ID of device
    [in]rByte value for red
    [in]gByte value for green
    [in]bByte value for blue
    [out]rByte value for red
    [out]gByte value for green
    [out]bByte value for blue
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onColor(const String &deviceId, byte &r, byte &g, byte &b) {
    -
    Serial.printf("Device %s color is set to red=%d, green=%d, blue=%d\r\n", deviceId.c_str(), r, g, b);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ ColorTemperatureCallback

    - -
    -
    - - - - -
    using ColorTemperatureCallback = std::function<bool(const String &, int &)>
    -
    - -

    Callback definition for onColorTemperature function.

    -

    Gets called when device receive a setColorTemperature request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]colorTemperatureInteger value with color temperature the device should set to
    - 2200 = warm white
    - 2700 = soft white
    - 4000 = white
    - 5500 = daylight white
    - 7000 = cool white
    [out]colorTemperatureInteger value with color temperature the device is set to
    - 2200 = warm white
    - 2700 = soft white
    - 4000 = white
    - 5500 = daylight white
    - 7000 = cool white
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onColorTemperature(const String &deviceId, int &colorTemperature) {
    -
    Serial.printf("Device %s colorTemperature is set to %i\r\n", deviceId.c_str(), colorTemperature);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ ConnectedCallbackHandler

    - -
    -
    - - - - -
    using ConnectedCallbackHandler = std::function<void(void)>
    -
    - -

    Callback definition for onConnected function.

    -

    Gets called when device is connected to SinricPro server

    Parameters
    - - -
    void
    -
    -
    -
    Returns
    void
    - -
    -
    - -

    ◆ DecreaseColorTemperatureCallback

    - -
    -
    - - - - -
    using DecreaseColorTemperatureCallback = std::function<bool(const String &, int &)>
    -
    - -

    Callback definition for onDecreaseColorTemperature function.

    -

    Gets called when device receive a decreaseColorTemperature request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]colorTemperatureInteger value -1 = Device should decrease color temperature
    [out]colorTemperatureInteger value return the new color temperarature
    - 2200 = warm white
    - 2700 = soft white
    - 4000 = white
    - 5500 = daylight white
    - 7000 = cool white
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    int globalColorTemperature;
    -
    -
    bool onDecreaseColorTemperature(const String &deviceId, int &colorTemperature) {
    -
    globalColorTemperature -= 1000; // decrease globalColorTemperature about 1000;
    -
    Serial.printf("Device %s colorTemperature changed %i\r\n", deviceId.c_str(), colorTemperature);
    -
    colorTemperature = globalColorTemperature; // return new colorTemperature
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ DisconnectedCallbackHandler

    - -
    -
    - - - - -
    using DisconnectedCallbackHandler = std::function<void(void)>
    -
    - -

    Callback definition for onDisconnected function.

    -

    Gets called when device is disconnected from SinricPro server

    Parameters
    - - -
    void
    -
    -
    -
    Returns
    void
    - -
    -
    - -

    ◆ DoorCallback

    - -
    -
    - - - - -
    using DoorCallback = std::function<bool(const String &, bool &)>
    -
    - -

    Callback definition for onDoorState function.

    -

    Gets called when device receive a open or close request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]doorStatefalse = open, device is requested to open the garage door
    -true = close, device is requested to close the garage door
    [out]doorStatebool with actual state false = open, true = closed
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onDoorState(const String &deviceId, bool &doorState) {
    -
    Serial.printf("Device %s garage door is now %s\r\n", deviceId.c_str(), doorState?"closed":"open");
    -
    return true;
    -
    }
    -
    -
    -
    - -

    ◆ GenericAdjustRangeValueCallback_int

    - -
    -
    - -

    Callback definition for onAdjustRangeValue function on a specific instance for custom devices.

    -

    Gets called when device receive a adjustRangeValue reuqest
    -

    Parameters
    - - - - - -
    [in]deviceIdString which contains the ID of device
    [in]instanceString instance name
    [in]rangeValuedelta value for range value have to change
    [out]rangeValuereturning the absolute range value
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    int globalRangeValue;
    -
    -
    bool onAdjustRangeValue(const String &deviceId, const String& instance, int &rangeValueDelta) {
    -
    globalRangeValue += rangeValueDelta; // calculate absolute rangeValue
    -
    Serial.printf("Device %s range value for %s has been changed about %i to %d\r\n", deviceId.c_str(), instance.c_str(), rangeValueDelta, globalRangeValue);
    -
    rangeValueDelta = globalRangeValue; // return absolute rangeValue
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ GenericModeCallback

    - -
    -
    - - - - -
    using GenericModeCallback = std::function<bool(const String &, const String &, String &)>
    -
    - -

    Callback definition for onSetMode function for a specific instance.

    -

    Gets called when device receive a setBands request
    -

    Parameters
    - - - - - -
    [in]deviceIdString which contains the ID of device
    [in]instanceString name of the instance
    [in]modeString device mode should set to
    [out]modeString devices mode is set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onSetMode(const String &deviceId, const String &instance, String &mode) {
    -
    Serial.printf("Device %s mode %s set to %s\r\n", deviceId.c_str(), instance.c_str(), mode);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ GenericRangeValueCallback_int

    - -
    -
    - - - - -
    using GenericRangeValueCallback_int = bool (*)(const String &, const String &, int &)
    -
    - -

    Callback definition for onRangeValue function.

    -

    Gets called when device receive a setRangeValue reuqest
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]rangeValuefor range value device has to be set
    [out]rangeValuereturning the current range value
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onRangeValue(const String &deviceId, int &rangeValue) {
    -
    Serial.printf("Device %s range value has been set to %d\r\n", deviceId.c_str(), rangeValue);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ GenericSetRangeValueCallback_int

    - -
    -
    - -

    Callback definition for onRangeValue function on a specific instance.

    -

    Gets called when device receive a setRangeValue reuqest
    -

    Parameters
    - - - - - -
    [in]deviceIdString which contains the ID of device
    [in]instanceString instance name
    [in]rangeValuefor range value device has to be set
    [out]rangeValuereturning the current range value
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onRangeValue(const String &deviceId, const String &instance, int &rangeValue) {
    -
    Serial.printf("Device %s range value for %s has been set to %d\r\n", deviceId.c_str(), instance.c_str(), rangeValue);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ GenericToggleStateCallback

    - -
    -
    - - - - -
    using GenericToggleStateCallback = std::function<bool(const String &, const String&, bool &)>
    -
    - -

    Callback definition for onToggleState function.

    -

    Gets called when device receive a setPowerState reuqest
    -

    Parameters
    - - - - - -
    [in]deviceIdString which contains the ID of device
    [in]instanceString which instance is requested
    [in]statetrue = device is requested to turn on
    - false = device is requested to turn off
    [out]statetrue = device has been turned on
    - false = device has been turned off
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onToggleState(const String &deviceId, const String &instance, bool &state) {
    -
    Serial.printf("Device %s state \"%s\" turned %s\r\n", deviceId.c_str(), instance.c_str(), state ? "on" : "off");
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ IncreaseColorTemperatureCallback

    - -
    -
    - - - - -
    using IncreaseColorTemperatureCallback = std::function<bool(const String &, int &)>
    -
    - -

    Callback definition for onIncreaseColorTemperature function.

    -

    Gets called when device receive a increaseColorTemperature request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]colorTemperatureInteger value 1 = Device should increase color temperature
    [out]colorTemperatureInteger value return the new color temperarature
    - 2200 = warm white
    - 2700 = soft white
    - 4000 = white
    - 5500 = daylight white
    - 7000 = cool white
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    int globalColorTemperature;
    -
    -
    bool onIncreaseColorTemperature(const String &deviceId, int &colorTemperature) {
    -
    globalColorTemperature += 1000; // increase globalColorTemperature about 1000;
    -
    Serial.printf("Device %s colorTemperature changed to %i\r\n", deviceId.c_str(), colorTemperature);
    -
    colorTemperature = globalColorTemperature; // return new colorTemperature
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ KeystrokeCallback

    - -
    -
    - - - - -
    using KeystrokeCallback = std::function<bool(const String &, String &)>
    -
    - -

    Callback definition for onKeystroke function.

    -

    Gets called when device receive a setBands request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]keystrokeString keystroke
    - INFO, MORE, SELECT, UP, DOWN, LEFT, RIGHT, PAGE_UP, PAGE_DOWN, PAGE_LEFT, PAGE_RIGHT
    [out]keystrokeString keystroke
    - INFO, MORE, SELECT, UP, DOWN, LEFT, RIGHT, PAGE_UP, PAGE_DOWN, PAGE_LEFT, PAGE_RIGHT
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onKeystroke(const String& deviceId, String &keystroke) {
    -
    Serial.printf("Device %s, key %s pressed\r\n", deviceId.c_str(), keystroke.c_str());
    -
    return true;
    -
    }
    -
    -
    -
    - -

    ◆ LockStateCallback

    - -
    -
    - - - - -
    using LockStateCallback = std::function<bool(const String &, bool &)>
    -
    - -

    Callback definition for onLockState function.

    -

    Gets called when device receive a setLockState request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]statetrue = device is requested to lock
    - false = device is requested to unlock
    [out]statetrue = device has been locked
    - false = device has been unlocked
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onLockState(const String &deviceId, bool &lockState) {
    -
    Serial.printf("Device is %s\r\n", lockState?"locked":"unlocked");
    -
    return true;
    -
    }
    -
    -
    -
    - -

    ◆ MediaControlCallback

    - -
    -
    - - - - -
    using MediaControlCallback = std::function<bool(const String &, String &)>
    -
    - -

    Callback definition for onMediaControl function.

    -

    Gets called when device receive a mediaControl request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]controlString with requested control
    - FastForward, Next, Pause, Play, Previous, Rewind, StartOver, Stop
    [out]controlString with control
    - FastForward, Next, Pause, Play, Previous, Rewind, StartOver, Stop
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onMediaControl(const String &deviceId, String &control) {
    -
    Serial.printf("Device %s: %s\r\n", deviceId.c_str(), control.c_str());
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ ModeCallback

    - -
    -
    - - - - -
    using ModeCallback = std::function<bool(const String &, String &)>
    -
    - -

    Callback definition for onSetMode function.

    -

    Gets called when device receive a setBands request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]modeString device mode should set to
    - MOVIE, MUSIC, NIGHT, SPORT, TV
    [out]modeString devices mode is set to
    - MOVIE, MUSIC, NIGHT, SPORT, TV
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onSetMode(const String &deviceId, String &mode) {
    -
    Serial.printf("Device %s is set to mode %s\r\n", deviceId.c_str(), mode);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ MuteCallback

    - -
    -
    - - - - -
    using MuteCallback = std::function<bool(const String &, bool &)>
    -
    - -

    Callback definition for onMute function.

    -

    Gets called when device receive a setMute request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]mutetrue mute device
    - false unmute device
    [out]mutetrue device is muted
    - false device is unmuted
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onMute(const String &deviceId, bool &mute) {
    -
    Serial.printf("Device %s is %s\r\n", deviceId.c_str(), mute?"muted":"unmuted");
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ PowerStateCallback

    - -
    -
    - - - - -
    using PowerStateCallback = std::function<bool(const String &, bool &)>
    -
    - -

    Callback definition for onPowerState function.

    -

    Gets called when device receive a setPowerState reuqest
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]statetrue = device is requested to turn on
    - false = device is requested to turn off
    [out]statetrue = device has been turned on
    - false = device has been turned off
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onPowerState(const String &deviceId, bool &state) {
    -
    Serial.printf("Device %s turned %s\r\n", deviceId.c_str(), state?"on":"off");
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ ResetBandsCallback

    - -
    -
    - - - - -
    using ResetBandsCallback = std::function<bool(const String &, const String &, int &)>
    -
    - -

    Callback definition for onResetBands function.

    -

    Gets called when device receive a onResetBands request
    -

    Parameters
    - - - - - -
    [in]deviceIdString which contains the ID of device
    [in]bandsString with requested bands to reset
    - BASS, MIDRANGE, TREBBLE
    [out]bandsString with changed bands
    - BASS, MIDRANGE, TREBBLE
    [out]levelInteger value with level bands changed to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    std::map<String, int> equalizerBands;
    -
    -
    bool onResetBands(const String &deviceId, String &bands, int &level) {
    -
    equalizerBands[bands] = 0; // reset bands level to 0
    -
    Serial.printf("Device %s bands %s reset to %d\r\n", deviceId.c_str(), bands.c_str(), equalizerBands[bands]);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ SelectInputCallback

    - -
    -
    - - - - -
    using SelectInputCallback = std::function<bool(const String &, String &)>
    -
    - -

    Callback definition for onSelectInput function.

    -

    Gets called when device receive a selectInput request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]inputString with input name device is requested to switch to
    - AUX 1..AUX 7, BLURAY, CABLE, CD, COAX 1,COAX 2, COMPOSITE 1, DVD, GAME, HD RADIO, HDMI 1.. HDMI 10, HDMI ARC, INPUT 1..INPUT 10, IPOD, LINE 1..LINE 7, MEDIA PLAYER, OPTICAL 1, OPTICAL 2, PHONO, PLAYSTATION, PLAYSTATION 3, PLAYSTATION 4, SATELLITE, SMARTCAST, TUNER, TV, USB DAC, VIDEO 1..VIDEO 3, XBOX
    [out]inputString with input name device has switchted to
    - AUX 1..AUX 7, BLURAY, CABLE, CD, COAX 1,COAX 2, COMPOSITE 1, DVD, GAME, HD RADIO, HDMI 1.. HDMI 10, HDMI ARC, INPUT 1..INPUT 10, IPOD, LINE 1..LINE 7, MEDIA PLAYER, OPTICAL 1, OPTICAL 2, PHONO, PLAYSTATION, PLAYSTATION 3, PLAYSTATION 4, SATELLITE, SMARTCAST, TUNER, TV, USB DAC, VIDEO 1..VIDEO 3, XBOX
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onSelectInput(const String &deviceId, String &input) {
    -
    Serial.printf("Device %s input changed to %s\r\n", deviceId.c_str(), input.c_str());
    -
    return true;
    -
    }
    -
    -
    -
    - -

    ◆ SetBandsCallback

    - -
    -
    - - - - -
    using SetBandsCallback = std::function<bool(const String &, const String &, int &)>
    -
    - -

    Callback definition for onSetBands function.

    -

    Gets called when device receive a setBands request
    -

    Parameters
    - - - - - - -
    [in]deviceIdString which contains the ID of device
    [in]bandsString with requested bands to change
    - BASS, MIDRANGE, TREBBLE
    [in]levelInteger value with level bands should set to
    [out]bandsString with changed bands
    - BASS, MIDRANGE, TREBBLE
    [out]levelInteger value with level bands changed to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    std::map<String, int> equalizerBands;
    -
    -
    bool onSetBands(const String &deviceId, String &bands, int &level) {
    -
    Serial.printf("Device %s bands %s set to %d\r\n", deviceId.c_str(), bands.c_str(), level);
    -
    equalizerBands[bands] = level;
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ SetPercentageCallback

    - -
    -
    - - - - -
    using SetPercentageCallback = std::function<bool(const String &, int &)>
    -
    - -

    Callback definition for onSetPercentage function.

    -

    Gets called when device receive a setPercentage request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]percentageInteger with percentage device should set to
    [out]percentageInteger with percentage device has been set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onSetPercentage(const String &deviceId, int &percentage) {
    -
    Serial.printf("Device %s percentage %d\r\n", deviceId.c_str(), percentage);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ SetPowerLevelCallback

    - -
    -
    - - - - -
    using SetPowerLevelCallback = std::function<bool(const String &, int &)>
    -
    - -

    Definition for setPowerLevel callback.

    -

    Gets called when device receive a setPowerLevel reuqest
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]powerLevelinteger 0..100 new powerlevel the device should be set to
    [out]powerLevelinteger 0..100 report the powerlevel that the device have been set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onPowerLevel(const String &deviceId, int &powerLevel) {
    -
    Serial.printf("Device %s powerlevel %d\r\n", deviceId.c_str(), powerLevel);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ SetTargetTemperatureCallback

    - -
    -
    - - - - -
    using SetTargetTemperatureCallback = std::function<bool(const String &, float &)>
    -
    - -

    Callback definition for onTargetTemperature function.

    -

    Gets called when device receive a targetTemperature request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]temperatureFloat device is requested to set the target temperature to
    [out]temperatureFloat target temperature temperature device is set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onTargetTemperature(const String &deviceId, float &targetTemp) {
    -
    Serial.printf("Device %s target temperature set to %f\r\n", deviceId.c_str(), targetTemp);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ SetVolumeCallback

    - -
    -
    - - - - -
    using SetVolumeCallback = std::function<bool(const String &, int &)>
    -
    - -

    Callback definition for onSetVolume function.

    -

    Gets called when device receive a setVolume request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]volumeInteger with volume device should set to
    [out]volumeInteger with volume device has been set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onSetVolume(const String &deviceId, int &volume) {
    -
    Serial.printf("Device %s volume set to %d\r\n", deviceId.c_str(), volume);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    - -

    ◆ SkipChannelsCallback

    - -
    -
    - - - - -
    using SkipChannelsCallback = std::function<bool(const String &, int, String &)>
    -
    - -

    Callback definition for onSkipChannels function.

    -

    Gets called when device receive a changeChannel request by using channel number

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]channelCountInteger with channels device is requested to skip -n..+n
    [out]channelNameString with channel name device has switchted to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    // channelNames used to convert channelNumber into channelName
    -
    // please put in your TV channel names
    -
    // channel numbers starts counting from 0!
    -
    // so "ZDF" is channel 2
    -
    const char* channelNames[] = {
    -
    "A/V",
    -
    "ard",
    -
    "ZDF",
    -
    "n. d. r.",
    -
    "kabel eins",
    -
    "VOX",
    -
    "Sat.1",
    -
    "ProSieben",
    -
    "rtl",
    -
    "RTL II",
    -
    "SUPER RTL",
    -
    "KiKA"
    -
    };
    -
    -
    int tvChannel; // current channel selected
    -
    -
    #define MAX_CHANNELS sizeof(channelNames) / sizeof(channelNames[0]) // just to determine how many channels are in channelNames array
    -
    -
    // map channelNumbers used to convert channelName into channelNumber
    -
    // This map is initialized in "setupChannelNumbers()" function by using the "channelNames" array
    -
    std::map<String, unsigned int> channelNumbers;
    -
    -
    void setupChannelNumbers() {
    -
    for (unsigned int i=0; i < MAX_CHANNELS; i++) {
    -
    channelNumbers[channelNames[i]] = i;
    -
    }
    -
    }
    -
    -
    bool onSkipChannels(const String &deviceId, const int channelCount, String &channelName) {
    -
    tvChannel += channelCount; // calculate new channel number
    -
    if (tvChannel < 0) tvChannel = 0;
    -
    if (tvChannel > MAX_CHANNELS-1) tvChannel = MAX_CHANNELS-1;
    -
    channelName = String(channelNames[tvChannel]); // return channel name
    -
    -
    Serial.printf("Skip channel: %i (number: %i / name: \"%s\")\r\n", channelCount, tvChannel, channelName.c_str());
    -
    -
    return true;
    -
    }
    -
    -
    -
    - -

    ◆ ThermostatModeCallback

    - -
    -
    - - - - -
    using ThermostatModeCallback = std::function<bool(const String &, String &)>
    -
    - -

    Callback definition for onThermostatMode function.

    -

    Gets called when device receive a setThermostatMode request
    -

    Parameters
    - - - - -
    [in]deviceIdString which contains the ID of device
    [in]modeString with mode device should set to
    [out]modeString device mode is set to
    -
    -
    -
    Returns
    the success of the request
    -
    Return values
    - - - -
    truerequest handled properly
    falserequest was not handled properly because of some error
    -
    -
    -

    -Example-Code

    -
    bool onThermostatMode(const String& deviceId, String& mode) {
    -
    Serial.printf("Deivce %s thermostat mode set to %s\r\n", deviceId.c_str(), mode);
    -
    return true; // request handled properly
    -
    }
    -
    -
    -
    -
    -
    - - - - diff --git a/docs/docs/namespacemembers.html b/docs/docs/namespacemembers.html deleted file mode 100644 index 4e141c7..0000000 --- a/docs/docs/namespacemembers.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - - -SinricPro Library: Namespace Members - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    SinricPro Library -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    Here is a list of all documented namespace members with links to the namespaces they belong to:
    - -

    - a -

    - - -

    - b -

    - - -

    - c -

    - - -

    - d -

    - - -

    - g -

    - - -

    - i -

    - - -

    - k -

    - - -

    - l -

    - - -

    - m -

    - - -

    - p -

    - - -

    - r -

    - - -

    - s -

    - - -

    - t -

    -
    -
    - - - - diff --git a/docs/docs/namespacemembers_type.html b/docs/docs/namespacemembers_type.html deleted file mode 100644 index 047259a..0000000 --- a/docs/docs/namespacemembers_type.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - - -SinricPro Library: Namespace Members - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    SinricPro Library -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -  - -

    - a -

    - - -

    - b -

    - - -

    - c -

    - - -

    - d -

    - - -

    - g -

    - - -

    - i -

    - - -

    - k -

    - - -

    - l -

    - - -

    - m -

    - - -

    - p -

    - - -

    - r -

    - - -

    - s -

    - - -

    - t -

    -
    -
    - - - - diff --git a/docs/docs/nav_f.png b/docs/docs/nav_f.png deleted file mode 100644 index 72a58a5..0000000 Binary files a/docs/docs/nav_f.png and /dev/null differ diff --git a/docs/docs/nav_g.png b/docs/docs/nav_g.png deleted file mode 100644 index 2093a23..0000000 Binary files a/docs/docs/nav_g.png and /dev/null differ diff --git a/docs/docs/nav_h.png b/docs/docs/nav_h.png deleted file mode 100644 index 33389b1..0000000 Binary files a/docs/docs/nav_h.png and /dev/null differ diff --git a/docs/docs/navtree.css b/docs/docs/navtree.css deleted file mode 100644 index 33341a6..0000000 --- a/docs/docs/navtree.css +++ /dev/null @@ -1,146 +0,0 @@ -#nav-tree .children_ul { - margin:0; - padding:4px; -} - -#nav-tree ul { - list-style:none outside none; - margin:0px; - padding:0px; -} - -#nav-tree li { - white-space:nowrap; - margin:0px; - padding:0px; -} - -#nav-tree .plus { - margin:0px; -} - -#nav-tree .selected { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} - -#nav-tree img { - margin:0px; - padding:0px; - border:0px; - vertical-align: middle; -} - -#nav-tree a { - text-decoration:none; - padding:0px; - margin:0px; - outline:none; -} - -#nav-tree .label { - margin:0px; - padding:0px; - font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; -} - -#nav-tree .label a { - padding:2px; -} - -#nav-tree .selected a { - text-decoration:none; - color:#fff; -} - -#nav-tree .children_ul { - margin:0px; - padding:0px; -} - -#nav-tree .item { - margin:0px; - padding:0px; -} - -#nav-tree { - padding: 0px 0px; - background-color: #FAFAFF; - font-size:14px; - overflow:auto; -} - -#doc-content { - overflow:auto; - display:block; - padding:0px; - margin:0px; - -webkit-overflow-scrolling : touch; /* iOS 5+ */ -} - -#side-nav { - padding:0 6px 0 0; - margin: 0px; - display:block; - position: absolute; - left: 0px; - width: 250px; -} - -.ui-resizable .ui-resizable-handle { - display:block; -} - -.ui-resizable-e { - background-image:url("splitbar.png"); - background-size:100%; - background-repeat:repeat-y; - background-attachment: scroll; - cursor:ew-resize; - height:100%; - right:0; - top:0; - width:6px; -} - -.ui-resizable-handle { - display:none; - font-size:0.1px; - position:absolute; - z-index:1; -} - -#nav-tree-contents { - margin: 6px 0px 0px 0px; -} - -#nav-tree { - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - -webkit-overflow-scrolling : touch; /* iOS 5+ */ -} - -#nav-sync { - position:absolute; - top:5px; - right:24px; - z-index:0; -} - -#nav-sync img { - opacity:0.3; -} - -#nav-sync img:hover { - opacity:0.9; -} - -@media print -{ - #nav-tree { display: none; } - div.ui-resizable-handle { display: none; position: relative; } -} - diff --git a/docs/docs/navtree.js b/docs/docs/navtree.js deleted file mode 100644 index 1e272d3..0000000 --- a/docs/docs/navtree.js +++ /dev/null @@ -1,546 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ -var navTreeSubIndices = new Array(); -var arrowDown = '▼'; -var arrowRight = '►'; - -function getData(varName) -{ - var i = varName.lastIndexOf('/'); - var n = i>=0 ? varName.substring(i+1) : varName; - return eval(n.replace(/\-/g,'_')); -} - -function stripPath(uri) -{ - return uri.substring(uri.lastIndexOf('/')+1); -} - -function stripPath2(uri) -{ - var i = uri.lastIndexOf('/'); - var s = uri.substring(i+1); - var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/); - return m ? uri.substring(i-6) : s; -} - -function hashValue() -{ - return $(location).attr('hash').substring(1).replace(/[^\w\-]/g,''); -} - -function hashUrl() -{ - return '#'+hashValue(); -} - -function pathName() -{ - return $(location).attr('pathname').replace(/[^-A-Za-z0-9+&@#/%?=~_|!:,.;\(\)]/g, ''); -} - -function localStorageSupported() -{ - try { - return 'localStorage' in window && window['localStorage'] !== null && window.localStorage.getItem; - } - catch(e) { - return false; - } -} - -function storeLink(link) -{ - if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) { - window.localStorage.setItem('navpath',link); - } -} - -function deleteLink() -{ - if (localStorageSupported()) { - window.localStorage.setItem('navpath',''); - } -} - -function cachedLink() -{ - if (localStorageSupported()) { - return window.localStorage.getItem('navpath'); - } else { - return ''; - } -} - -function getScript(scriptName,func,show) -{ - var head = document.getElementsByTagName("head")[0]; - var script = document.createElement('script'); - script.id = scriptName; - script.type = 'text/javascript'; - script.onload = func; - script.src = scriptName+'.js'; - head.appendChild(script); -} - -function createIndent(o,domNode,node,level) -{ - var level=-1; - var n = node; - while (n.parentNode) { level++; n=n.parentNode; } - if (node.childrenData) { - var imgNode = document.createElement("span"); - imgNode.className = 'arrow'; - imgNode.style.paddingLeft=(16*level).toString()+'px'; - imgNode.innerHTML=arrowRight; - node.plus_img = imgNode; - node.expandToggle = document.createElement("a"); - node.expandToggle.href = "javascript:void(0)"; - node.expandToggle.onclick = function() { - if (node.expanded) { - $(node.getChildrenUL()).slideUp("fast"); - node.plus_img.innerHTML=arrowRight; - node.expanded = false; - } else { - expandNode(o, node, false, false); - } - } - node.expandToggle.appendChild(imgNode); - domNode.appendChild(node.expandToggle); - } else { - var span = document.createElement("span"); - span.className = 'arrow'; - span.style.width = 16*(level+1)+'px'; - span.innerHTML = ' '; - domNode.appendChild(span); - } -} - -var animationInProgress = false; - -function gotoAnchor(anchor,aname,updateLocation) -{ - var pos, docContent = $('#doc-content'); - var ancParent = $(anchor.parent()); - if (ancParent.hasClass('memItemLeft') || - ancParent.hasClass('memtitle') || - ancParent.hasClass('fieldname') || - ancParent.hasClass('fieldtype') || - ancParent.is(':header')) - { - pos = ancParent.position().top; - } else if (anchor.position()) { - pos = anchor.position().top; - } - if (pos) { - var dist = Math.abs(Math.min( - pos-docContent.offset().top, - docContent[0].scrollHeight- - docContent.height()-docContent.scrollTop())); - animationInProgress=true; - docContent.animate({ - scrollTop: pos + docContent.scrollTop() - docContent.offset().top - },Math.max(50,Math.min(500,dist)),function(){ - if (updateLocation) window.location.href=aname; - animationInProgress=false; - }); - } -} - -function newNode(o, po, text, link, childrenData, lastNode) -{ - var node = new Object(); - node.children = Array(); - node.childrenData = childrenData; - node.depth = po.depth + 1; - node.relpath = po.relpath; - node.isLast = lastNode; - - node.li = document.createElement("li"); - po.getChildrenUL().appendChild(node.li); - node.parentNode = po; - - node.itemDiv = document.createElement("div"); - node.itemDiv.className = "item"; - - node.labelSpan = document.createElement("span"); - node.labelSpan.className = "label"; - - createIndent(o,node.itemDiv,node,0); - node.itemDiv.appendChild(node.labelSpan); - node.li.appendChild(node.itemDiv); - - var a = document.createElement("a"); - node.labelSpan.appendChild(a); - node.label = document.createTextNode(text); - node.expanded = false; - a.appendChild(node.label); - if (link) { - var url; - if (link.substring(0,1)=='^') { - url = link.substring(1); - link = url; - } else { - url = node.relpath+link; - } - a.className = stripPath(link.replace('#',':')); - if (link.indexOf('#')!=-1) { - var aname = '#'+link.split('#')[1]; - var srcPage = stripPath(pathName()); - var targetPage = stripPath(link.split('#')[0]); - a.href = srcPage!=targetPage ? url : "javascript:void(0)"; - a.onclick = function(){ - storeLink(link); - if (!$(a).parent().parent().hasClass('selected')) - { - $('.item').removeClass('selected'); - $('.item').removeAttr('id'); - $(a).parent().parent().addClass('selected'); - $(a).parent().parent().attr('id','selected'); - } - var anchor = $(aname); - gotoAnchor(anchor,aname,true); - }; - } else { - a.href = url; - a.onclick = function() { storeLink(link); } - } - } else { - if (childrenData != null) - { - a.className = "nolink"; - a.href = "javascript:void(0)"; - a.onclick = node.expandToggle.onclick; - } - } - - node.childrenUL = null; - node.getChildrenUL = function() { - if (!node.childrenUL) { - node.childrenUL = document.createElement("ul"); - node.childrenUL.className = "children_ul"; - node.childrenUL.style.display = "none"; - node.li.appendChild(node.childrenUL); - } - return node.childrenUL; - }; - - return node; -} - -function showRoot() -{ - var headerHeight = $("#top").height(); - var footerHeight = $("#nav-path").height(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - (function (){ // retry until we can scroll to the selected item - try { - var navtree=$('#nav-tree'); - navtree.scrollTo('#selected',100,{offset:-windowHeight/2}); - } catch (err) { - setTimeout(arguments.callee, 0); - } - })(); -} - -function expandNode(o, node, imm, showRoot) -{ - if (node.childrenData && !node.expanded) { - if (typeof(node.childrenData)==='string') { - var varName = node.childrenData; - getScript(node.relpath+varName,function(){ - node.childrenData = getData(varName); - expandNode(o, node, imm, showRoot); - }, showRoot); - } else { - if (!node.childrenVisited) { - getNode(o, node); - } - $(node.getChildrenUL()).slideDown("fast"); - node.plus_img.innerHTML = arrowDown; - node.expanded = true; - } - } -} - -function glowEffect(n,duration) -{ - n.addClass('glow').delay(duration).queue(function(next){ - $(this).removeClass('glow');next(); - }); -} - -function highlightAnchor() -{ - var aname = hashUrl(); - var anchor = $(aname); - if (anchor.parent().attr('class')=='memItemLeft'){ - var rows = $('.memberdecls tr[class$="'+hashValue()+'"]'); - glowEffect(rows.children(),300); // member without details - } else if (anchor.parent().attr('class')=='fieldname'){ - glowEffect(anchor.parent().parent(),1000); // enum value - } else if (anchor.parent().attr('class')=='fieldtype'){ - glowEffect(anchor.parent().parent(),1000); // struct field - } else if (anchor.parent().is(":header")) { - glowEffect(anchor.parent(),1000); // section header - } else { - glowEffect(anchor.next(),1000); // normal member - } -} - -function selectAndHighlight(hash,n) -{ - var a; - if (hash) { - var link=stripPath(pathName())+':'+hash.substring(1); - a=$('.item a[class$="'+link+'"]'); - } - if (a && a.length) { - a.parent().parent().addClass('selected'); - a.parent().parent().attr('id','selected'); - highlightAnchor(); - } else if (n) { - $(n.itemDiv).addClass('selected'); - $(n.itemDiv).attr('id','selected'); - } - if ($('#nav-tree-contents .item:first').hasClass('selected')) { - $('#nav-sync').css('top','30px'); - } else { - $('#nav-sync').css('top','5px'); - } - showRoot(); -} - -function showNode(o, node, index, hash) -{ - if (node && node.childrenData) { - if (typeof(node.childrenData)==='string') { - var varName = node.childrenData; - getScript(node.relpath+varName,function(){ - node.childrenData = getData(varName); - showNode(o,node,index,hash); - },true); - } else { - if (!node.childrenVisited) { - getNode(o, node); - } - $(node.getChildrenUL()).css({'display':'block'}); - node.plus_img.innerHTML = arrowDown; - node.expanded = true; - var n = node.children[o.breadcrumbs[index]]; - if (index+11) hash = '#'+parts[1].replace(/[^\w\-]/g,''); - else hash=''; - } - if (hash.match(/^#l\d+$/)) { - var anchor=$('a[name='+hash.substring(1)+']'); - glowEffect(anchor.parent(),1000); // line number - hash=''; // strip line number anchors - } - var url=root+hash; - var i=-1; - while (NAVTREEINDEX[i+1]<=url) i++; - if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index - if (navTreeSubIndices[i]) { - gotoNode(o,i,root,hash,relpath) - } else { - getScript(relpath+'navtreeindex'+i,function(){ - navTreeSubIndices[i] = eval('NAVTREEINDEX'+i); - if (navTreeSubIndices[i]) { - gotoNode(o,i,root,hash,relpath); - } - },true); - } -} - -function showSyncOff(n,relpath) -{ - n.html(''); -} - -function showSyncOn(n,relpath) -{ - n.html(''); -} - -function toggleSyncButton(relpath) -{ - var navSync = $('#nav-sync'); - if (navSync.hasClass('sync')) { - navSync.removeClass('sync'); - showSyncOff(navSync,relpath); - storeLink(stripPath2(pathName())+hashUrl()); - } else { - navSync.addClass('sync'); - showSyncOn(navSync,relpath); - deleteLink(); - } -} - -var loadTriggered = false; -var readyTriggered = false; -var loadObject,loadToRoot,loadUrl,loadRelPath; - -$(window).on('load',function(){ - if (readyTriggered) { // ready first - navTo(loadObject,loadToRoot,loadUrl,loadRelPath); - showRoot(); - } - loadTriggered=true; -}); - -function initNavTree(toroot,relpath) -{ - var o = new Object(); - o.toroot = toroot; - o.node = new Object(); - o.node.li = document.getElementById("nav-tree-contents"); - o.node.childrenData = NAVTREE; - o.node.children = new Array(); - o.node.childrenUL = document.createElement("ul"); - o.node.getChildrenUL = function() { return o.node.childrenUL; }; - o.node.li.appendChild(o.node.childrenUL); - o.node.depth = 0; - o.node.relpath = relpath; - o.node.expanded = false; - o.node.isLast = true; - o.node.plus_img = document.createElement("span"); - o.node.plus_img.className = 'arrow'; - o.node.plus_img.innerHTML = arrowRight; - - if (localStorageSupported()) { - var navSync = $('#nav-sync'); - if (cachedLink()) { - showSyncOff(navSync,relpath); - navSync.removeClass('sync'); - } else { - showSyncOn(navSync,relpath); - } - navSync.click(function(){ toggleSyncButton(relpath); }); - } - - if (loadTriggered) { // load before ready - navTo(o,toroot,hashUrl(),relpath); - showRoot(); - } else { // ready before load - loadObject = o; - loadToRoot = toroot; - loadUrl = hashUrl(); - loadRelPath = relpath; - readyTriggered=true; - } - - $(window).bind('hashchange', function(){ - if (window.location.hash && window.location.hash.length>1){ - var a; - if ($(location).attr('hash')){ - var clslink=stripPath(pathName())+':'+hashValue(); - a=$('.item a[class$="'+clslink.replace(/=desktop_vp) { - if (!collapsed) { - collapseExpand(); - } - } else if (width>desktop_vp && collapsedWidth0) { - restoreWidth(0); - collapsed=true; - } - else { - var width = readCookie('width'); - if (width>200 && width<$(window).width()) { restoreWidth(width); } else { restoreWidth(200); } - collapsed=false; - } - } - - header = $("#top"); - sidenav = $("#side-nav"); - content = $("#doc-content"); - navtree = $("#nav-tree"); - footer = $("#nav-path"); - $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); - $(sidenav).resizable({ minWidth: 0 }); - $(window).resize(function() { resizeHeight(); }); - var device = navigator.userAgent.toLowerCase(); - var touch_device = device.match(/(iphone|ipod|ipad|android)/); - if (touch_device) { /* wider split bar for touch only devices */ - $(sidenav).css({ paddingRight:'20px' }); - $('.ui-resizable-e').css({ width:'20px' }); - $('#nav-sync').css({ right:'34px' }); - barWidth=20; - } - var width = readCookie('width'); - if (width) { restoreWidth(width); } else { resizeWidth(); } - resizeHeight(); - var url = location.href; - var i=url.indexOf("#"); - if (i>=0) window.location.hash=url.substr(i); - var _preventDefault = function(evt) { evt.preventDefault(); }; - $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); - $(".ui-resizable-handle").dblclick(collapseExpand); - $(window).on('load',resizeHeight); -} -/* @license-end */ diff --git a/docs/docs/search/all_0.html b/docs/docs/search/all_0.html deleted file mode 100644 index 1ec5b2d..0000000 --- a/docs/docs/search/all_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_0.js b/docs/docs/search/all_0.js deleted file mode 100644 index 3c159a0..0000000 --- a/docs/docs/search/all_0.js +++ /dev/null @@ -1,12 +0,0 @@ -var searchData= -[ - ['adjustbandscallback_0',['AdjustBandsCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a28446c362f1f44e269b50619761c9e9b',1,'SINRICPRO_2_9_17']]], - ['adjustbrightnesscallback_1',['AdjustBrightnessCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a3ff8d93d9483f41bf8504fd3e9cc8f49',1,'SINRICPRO_2_9_17']]], - ['adjustpercentagecallback_2',['AdjustPercentageCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a088a491b8656c376085bc31d558fd05d',1,'SINRICPRO_2_9_17']]], - ['adjustpowerlevelcallback_3',['AdjustPowerLevelCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a3ec3aad26d06f5b943a6906e11afc1f3',1,'SINRICPRO_2_9_17']]], - ['adjustrangevaluecallback_4',['AdjustRangeValueCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a2ba46d8544d48aee620fff9a930c01ff',1,'SINRICPRO_2_9_17']]], - ['adjusttargettemperaturecallback_5',['AdjustTargetTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a8d55dffbb520779ef95fc29e49032886',1,'SINRICPRO_2_9_17']]], - ['adjustvolumecallback_6',['AdjustVolumeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ac6304129491317f85cee56ca5925dfab',1,'SINRICPRO_2_9_17']]], - ['airqualitysensor_7',['AirQualitySensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html',1,'SINRICPRO_2_9_17']]], - ['airqualitysensor_3c_20sinricproairqualitysensor_20_3e_8',['AirQualitySensor< SinricProAirQualitySensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_1.html b/docs/docs/search/all_1.html deleted file mode 100644 index 9f80e90..0000000 --- a/docs/docs/search/all_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_1.js b/docs/docs/search/all_1.js deleted file mode 100644 index f07d733..0000000 --- a/docs/docs/search/all_1.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['begin_9',['begin',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a1b5b66fb0c539b9b5f5f58a135056c75',1,'SINRICPRO_2_9_17::SinricProClass']]], - ['brightnesscallback_10',['BrightnessCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aff9938ddc803e4339a3db9b31503e12d',1,'SINRICPRO_2_9_17']]], - ['brightnesscontroller_11',['BrightnessController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html',1,'SINRICPRO_2_9_17']]], - ['brightnesscontroller_3c_20sinricprolight_20_3e_12',['BrightnessController< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_10.html b/docs/docs/search/all_10.html deleted file mode 100644 index 3bf1196..0000000 --- a/docs/docs/search/all_10.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_10.js b/docs/docs/search/all_10.js deleted file mode 100644 index d872fa5..0000000 --- a/docs/docs/search/all_10.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['volumecontroller_214',['VolumeController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html',1,'SINRICPRO_2_9_17']]], - ['volumecontroller_3c_20sinricprospeaker_20_3e_215',['VolumeController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html',1,'SINRICPRO_2_9_17']]], - ['volumecontroller_3c_20sinricprotv_20_3e_216',['VolumeController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_2.html b/docs/docs/search/all_2.html deleted file mode 100644 index 02cfffc..0000000 --- a/docs/docs/search/all_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_2.js b/docs/docs/search/all_2.js deleted file mode 100644 index e52532f..0000000 --- a/docs/docs/search/all_2.js +++ /dev/null @@ -1,16 +0,0 @@ -var searchData= -[ - ['changechannelcallback_13',['ChangeChannelCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a8bc108630d532266ae36cda5ec7b4857',1,'SINRICPRO_2_9_17']]], - ['changechannelnumbercallback_14',['ChangeChannelNumberCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ab21b05b6f4a6be7e89a7173b7fafb552',1,'SINRICPRO_2_9_17']]], - ['channelcontroller_15',['ChannelController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html',1,'SINRICPRO_2_9_17']]], - ['channelcontroller_3c_20sinricprotv_20_3e_16',['ChannelController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html',1,'SINRICPRO_2_9_17']]], - ['colorcallback_17',['ColorCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ad8bcf09f6da3f41fffb001868cd3f84e',1,'SINRICPRO_2_9_17']]], - ['colorcontroller_18',['ColorController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html',1,'SINRICPRO_2_9_17']]], - ['colorcontroller_3c_20sinricprolight_20_3e_19',['ColorController< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html',1,'SINRICPRO_2_9_17']]], - ['colortemperaturecallback_20',['ColorTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a9828094e72d45dc55a1023fd677f0cc5',1,'SINRICPRO_2_9_17']]], - ['colortemperaturecontroller_21',['ColorTemperatureController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html',1,'SINRICPRO_2_9_17']]], - ['colortemperaturecontroller_3c_20sinricprolight_20_3e_22',['ColorTemperatureController< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html',1,'SINRICPRO_2_9_17']]], - ['connectedcallbackhandler_23',['ConnectedCallbackHandler',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#af256b98e6806c944c9c386821a45d01e',1,'SINRICPRO_2_9_17']]], - ['contactsensor_24',['ContactSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html',1,'SINRICPRO_2_9_17']]], - ['contactsensor_3c_20sinricprocontactsensor_20_3e_25',['ContactSensor< SinricProContactsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_3.html b/docs/docs/search/all_3.html deleted file mode 100644 index 39767b8..0000000 --- a/docs/docs/search/all_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_3.js b/docs/docs/search/all_3.js deleted file mode 100644 index a84e5d3..0000000 --- a/docs/docs/search/all_3.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['decreasecolortemperaturecallback_26',['DecreaseColorTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ae64ac4d2aa913eeb244091c7a13d2ecc',1,'SINRICPRO_2_9_17']]], - ['disconnectedcallbackhandler_27',['DisconnectedCallbackHandler',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a6cc95068e9f18665e76c37a621ca2ceb',1,'SINRICPRO_2_9_17']]], - ['doorbell_28',['Doorbell',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html',1,'SINRICPRO_2_9_17']]], - ['doorbell_3c_20sinricprodoorbell_20_3e_29',['Doorbell< SinricProDoorbell >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html',1,'SINRICPRO_2_9_17']]], - ['doorcallback_30',['DoorCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aaa6633dc67bd8f69e2f14cc0dc0a4466',1,'SINRICPRO_2_9_17']]], - ['doorcontroller_31',['DoorController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html',1,'SINRICPRO_2_9_17']]], - ['doorcontroller_3c_20sinricprogaragedoor_20_3e_32',['DoorController< SinricProGarageDoor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_4.html b/docs/docs/search/all_4.html deleted file mode 100644 index fc40463..0000000 --- a/docs/docs/search/all_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_4.js b/docs/docs/search/all_4.js deleted file mode 100644 index 4062fb4..0000000 --- a/docs/docs/search/all_4.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['equalizercontroller_33',['EqualizerController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html',1,'SINRICPRO_2_9_17']]], - ['equalizercontroller_3c_20sinricprospeaker_20_3e_34',['EqualizerController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_5.html b/docs/docs/search/all_5.html deleted file mode 100644 index 9dd9344..0000000 --- a/docs/docs/search/all_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_5.js b/docs/docs/search/all_5.js deleted file mode 100644 index 242b9ed..0000000 --- a/docs/docs/search/all_5.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['genericadjustrangevaluecallback_5fint_35',['GenericAdjustRangeValueCallback_int',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a38dc8a8eb0e769ed32348b7166e39ad3',1,'SINRICPRO_2_9_17']]], - ['genericmodecallback_36',['GenericModeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ac29fade927b50eac618999f84b29d02b',1,'SINRICPRO_2_9_17']]], - ['genericrangevaluecallback_5fint_37',['GenericRangeValueCallback_int',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a0acdc221a5d0592fea85aa0c7f236cf0',1,'SINRICPRO_2_9_17']]], - ['genericsetrangevaluecallback_5fint_38',['GenericSetRangeValueCallback_int',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a29997b424c4b141240a08d26406e4a14',1,'SINRICPRO_2_9_17']]], - ['generictogglestatecallback_39',['GenericToggleStateCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a87371479ad42795e9dc9344bd02a6312',1,'SINRICPRO_2_9_17']]], - ['gettimestamp_40',['getTimestamp',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#afb2be26eef972203404140612fa31326',1,'SINRICPRO_2_9_17::SinricProClass']]] -]; diff --git a/docs/docs/search/all_6.html b/docs/docs/search/all_6.html deleted file mode 100644 index f1e516d..0000000 --- a/docs/docs/search/all_6.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_6.js b/docs/docs/search/all_6.js deleted file mode 100644 index 33feb0b..0000000 --- a/docs/docs/search/all_6.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['handle_41',['handle',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a37c2d0658e498b1bf878f8a3d9a7c5b4',1,'SINRICPRO_2_9_17::SinricProClass']]] -]; diff --git a/docs/docs/search/all_7.html b/docs/docs/search/all_7.html deleted file mode 100644 index 8ddbf6c..0000000 --- a/docs/docs/search/all_7.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_7.js b/docs/docs/search/all_7.js deleted file mode 100644 index e9dd8d0..0000000 --- a/docs/docs/search/all_7.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['increasecolortemperaturecallback_42',['IncreaseColorTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aed3d41935f8162074c2a2cc0168164dd',1,'SINRICPRO_2_9_17']]], - ['inputcontroller_43',['InputController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html',1,'SINRICPRO_2_9_17']]], - ['inputcontroller_3c_20sinricprospeaker_20_3e_44',['InputController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html',1,'SINRICPRO_2_9_17']]], - ['inputcontroller_3c_20sinricprotv_20_3e_45',['InputController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_8.html b/docs/docs/search/all_8.html deleted file mode 100644 index 83c55ae..0000000 --- a/docs/docs/search/all_8.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_8.js b/docs/docs/search/all_8.js deleted file mode 100644 index ebbbd58..0000000 --- a/docs/docs/search/all_8.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['keypadcontroller_46',['KeypadController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html',1,'SINRICPRO_2_9_17']]], - ['keystrokecallback_47',['KeystrokeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a3dd7e26af9b9026ccc6f5328f563a8c3',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_9.html b/docs/docs/search/all_9.html deleted file mode 100644 index 1e263c1..0000000 --- a/docs/docs/search/all_9.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_9.js b/docs/docs/search/all_9.js deleted file mode 100644 index 4c7b803..0000000 --- a/docs/docs/search/all_9.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['lockcontroller_48',['LockController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html',1,'SINRICPRO_2_9_17']]], - ['lockcontroller_3c_20sinricprolock_20_3e_49',['LockController< SinricProLock >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html',1,'SINRICPRO_2_9_17']]], - ['lockstatecallback_50',['LockStateCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a53b5285d1315f98fa2c5dd27c7547ea5',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_a.html b/docs/docs/search/all_a.html deleted file mode 100644 index 3a6cac1..0000000 --- a/docs/docs/search/all_a.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_a.js b/docs/docs/search/all_a.js deleted file mode 100644 index 40ba5e0..0000000 --- a/docs/docs/search/all_a.js +++ /dev/null @@ -1,16 +0,0 @@ -var searchData= -[ - ['mediacontrolcallback_51',['MediaControlCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a9e92d9efafd5313ef1b056030655c526',1,'SINRICPRO_2_9_17']]], - ['mediacontroller_52',['MediaController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html',1,'SINRICPRO_2_9_17']]], - ['mediacontroller_3c_20sinricprospeaker_20_3e_53',['MediaController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html',1,'SINRICPRO_2_9_17']]], - ['mediacontroller_3c_20sinricprotv_20_3e_54',['MediaController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html',1,'SINRICPRO_2_9_17']]], - ['modecallback_55',['ModeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aa2d0fe1a7983a8ec5e8fb3e69a5af60f',1,'SINRICPRO_2_9_17']]], - ['modecontroller_56',['ModeController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html',1,'SINRICPRO_2_9_17']]], - ['modecontroller_3c_20sinricprospeaker_20_3e_57',['ModeController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html',1,'SINRICPRO_2_9_17']]], - ['motionsensor_58',['MotionSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html',1,'SINRICPRO_2_9_17']]], - ['motionsensor_3c_20sinricpromotionsensor_20_3e_59',['MotionSensor< SinricProMotionsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html',1,'SINRICPRO_2_9_17']]], - ['mutecallback_60',['MuteCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a0e4c9c4ee0b526732bc0a868ac4f2c41',1,'SINRICPRO_2_9_17']]], - ['mutecontroller_61',['MuteController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html',1,'SINRICPRO_2_9_17']]], - ['mutecontroller_3c_20sinricprospeaker_20_3e_62',['MuteController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html',1,'SINRICPRO_2_9_17']]], - ['mutecontroller_3c_20sinricprotv_20_3e_63',['MuteController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_b.html b/docs/docs/search/all_b.html deleted file mode 100644 index 130deb4..0000000 --- a/docs/docs/search/all_b.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_b.js b/docs/docs/search/all_b.js deleted file mode 100644 index 350d298..0000000 --- a/docs/docs/search/all_b.js +++ /dev/null @@ -1,38 +0,0 @@ -var searchData= -[ - ['onadjustbands_64',['onAdjustBands',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#a41a5c1506545c44c2408054a8675c7a8',1,'SINRICPRO_2_9_17::EqualizerController']]], - ['onadjustbrightness_65',['onAdjustBrightness',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html#a0633e5fa2981189f4a093bab00a8c7f1',1,'SINRICPRO_2_9_17::BrightnessController']]], - ['onadjustpercentage_66',['onAdjustPercentage',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html#a77ac70c4880e38dae4f640dceaeb2816',1,'SINRICPRO_2_9_17::PercentageController']]], - ['onadjustpowerlevel_67',['onAdjustPowerLevel',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html#a13b10bdb1844babe4de320fff9172d96',1,'SINRICPRO_2_9_17::PowerLevelController']]], - ['onadjustrangevalue_68',['onAdjustRangeValue',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#ae85696d55112ae7343f9807faee6e064',1,'SINRICPRO_2_9_17::RangeController']]], - ['onadjusttargettemperature_69',['onAdjustTargetTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#ac51f6fecfdf4c7bc8e0712e2da47bbf4',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['onadjustvolume_70',['onAdjustVolume',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html#a2c868c87f96e3924c8b309e1bcfb507e',1,'SINRICPRO_2_9_17::VolumeController']]], - ['onbrightness_71',['onBrightness',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html#abbaab3067b1fcdcc5928451b818a4420',1,'SINRICPRO_2_9_17::BrightnessController']]], - ['onchangechannel_72',['onChangeChannel',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#a92f3b83744b5bb82d32628eef39c1eb9',1,'SINRICPRO_2_9_17::ChannelController']]], - ['onchangechannelnumber_73',['onChangeChannelNumber',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#afd8aee20590bfadec181c6ee515125ec',1,'SINRICPRO_2_9_17::ChannelController']]], - ['oncolor_74',['onColor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html#a059ff103149869b7c49cdb8911875b7b',1,'SINRICPRO_2_9_17::ColorController']]], - ['oncolortemperature_75',['onColorTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a8535c44fd2517ed09ebe6a203cc25b67',1,'SINRICPRO_2_9_17::ColorTemperatureController']]], - ['onconnected_76',['onConnected',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#ac33a355adfc413d4ff36974d735115bd',1,'SINRICPRO_2_9_17::SinricProClass']]], - ['ondecreasecolortemperature_77',['onDecreaseColorTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a7468976e7fffeee14cc869b7236cbb50',1,'SINRICPRO_2_9_17::ColorTemperatureController']]], - ['ondisconnected_78',['onDisconnected',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a654bb017ca55b448d55bb36e0346f38a',1,'SINRICPRO_2_9_17::SinricProClass']]], - ['ondoorstate_79',['onDoorState',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html#a6b536531ab89b39f1a48cb107e22185e',1,'SINRICPRO_2_9_17::DoorController']]], - ['onincreasecolortemperature_80',['onIncreaseColorTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a7ea9fd9861a5668a41d06267bfbec82a',1,'SINRICPRO_2_9_17::ColorTemperatureController']]], - ['onkeystroke_81',['onKeystroke',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html#ab24b4858dcc69145a367e964c2ae7961',1,'SINRICPRO_2_9_17::KeypadController']]], - ['onlockstate_82',['onLockState',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html#aee42cc397234a454fd353ca6bc12a859',1,'SINRICPRO_2_9_17::LockController']]], - ['onmediacontrol_83',['onMediaControl',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html#afc2620621377fff928737b5a8a537020',1,'SINRICPRO_2_9_17::MediaController']]], - ['onmute_84',['onMute',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html#ab5fc79cc8903c3ccc1c106abf61d7cfd',1,'SINRICPRO_2_9_17::MuteController']]], - ['onpowerlevel_85',['onPowerLevel',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html#a0685d34694badb4442fed6b69b69b366',1,'SINRICPRO_2_9_17::PowerLevelController']]], - ['onpowerstate_86',['onPowerState',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html#a32f3257da431a1035f23a265ff0cc4cf',1,'SINRICPRO_2_9_17::PowerStateController']]], - ['onrangevalue_87',['onRangeValue',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#a94adbcdf6ce61cb6552a5f9915e705ae',1,'SINRICPRO_2_9_17::RangeController::onRangeValue(SetRangeValueCallback cb)'],['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#a6d6d8070b49c8b5272460836a1120b33',1,'SINRICPRO_2_9_17::RangeController::onRangeValue(const String &instance, GenericSetRangeValueCallback_int cb)']]], - ['onresetbands_88',['onResetBands',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#aa6c3aabc2b442d82ac5456ccaac3f60d',1,'SINRICPRO_2_9_17::EqualizerController']]], - ['onselectinput_89',['onSelectInput',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html#a18f8f71ecf0d7292a63d9486f94e5180',1,'SINRICPRO_2_9_17::InputController']]], - ['onsetbands_90',['onSetBands',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#a4aaa7a29394560be7537a86b0304d199',1,'SINRICPRO_2_9_17::EqualizerController']]], - ['onsetmode_91',['onSetMode',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#ada087c948c3ab923bdb7818daa6b2b79',1,'SINRICPRO_2_9_17::ModeController::onSetMode(ModeCallback cb)'],['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#a6b15ba168b3a673b98da43ac5e4ef76c',1,'SINRICPRO_2_9_17::ModeController::onSetMode(const String &instance, GenericModeCallback cb)']]], - ['onsetpercentage_92',['onSetPercentage',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html#aeef432df118679c689ccd8a48d47dc3d',1,'SINRICPRO_2_9_17::PercentageController']]], - ['onsetvolume_93',['onSetVolume',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html#a5db8c85f222debbece54c794015f9402',1,'SINRICPRO_2_9_17::VolumeController']]], - ['onskipchannels_94',['onSkipChannels',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#ab1123d03d471fad4896eb2960ed41855',1,'SINRICPRO_2_9_17::ChannelController']]], - ['ontargettemperature_95',['onTargetTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#a1c73725f1f3fbb1c5b72208aae5c2bf2',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['onthermostatmode_96',['onThermostatMode',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#a2ef31536973b20815dd6c80a28e19c9f',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['ontogglestate_97',['onToggleState',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html#a7ccd28a4f20922847d0461649af5572d',1,'SINRICPRO_2_9_17::ToggleController']]], - ['operator_5b_5d_98',['operator[]',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a84a491d393b5c7c1433a2a9e62a58766',1,'SINRICPRO_2_9_17::SinricProClass']]] -]; diff --git a/docs/docs/search/all_c.html b/docs/docs/search/all_c.html deleted file mode 100644 index 3dd5af0..0000000 --- a/docs/docs/search/all_c.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_c.js b/docs/docs/search/all_c.js deleted file mode 100644 index fc90e8c..0000000 --- a/docs/docs/search/all_c.js +++ /dev/null @@ -1,48 +0,0 @@ -var searchData= -[ - ['percentagecontroller_99',['PercentageController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerlevelcontroller_100',['PowerLevelController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerlevelcontroller_3c_20sinricprodimswitch_20_3e_101',['PowerLevelController< SinricProDimSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerlevelcontroller_3c_20sinricprofan_20_3e_102',['PowerLevelController< SinricProFan >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html',1,'SINRICPRO_2_9_17']]], - ['powersensor_103',['PowerSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html',1,'SINRICPRO_2_9_17']]], - ['powersensor_3c_20sinricpropowersensor_20_3e_104',['PowerSensor< SinricProPowerSensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecallback_105',['PowerStateCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aad370bc6b280bbdeac98181a31f22df4',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_106',['PowerStateController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricproairqualitysensor_20_3e_107',['PowerStateController< SinricProAirQualitySensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricproblinds_20_3e_108',['PowerStateController< SinricProBlinds >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprocamera_20_3e_109',['PowerStateController< SinricProCamera >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprocontactsensor_20_3e_110',['PowerStateController< SinricProContactsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprodimswitch_20_3e_111',['PowerStateController< SinricProDimSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprodoorbell_20_3e_112',['PowerStateController< SinricProDoorbell >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprofan_20_3e_113',['PowerStateController< SinricProFan >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprofanus_20_3e_114',['PowerStateController< SinricProFanUS >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprolight_20_3e_115',['PowerStateController< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricpromotionsensor_20_3e_116',['PowerStateController< SinricProMotionsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricpropowersensor_20_3e_117',['PowerStateController< SinricProPowerSensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprospeaker_20_3e_118',['PowerStateController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricproswitch_20_3e_119',['PowerStateController< SinricProSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprotemperaturesensor_20_3e_120',['PowerStateController< SinricProTemperaturesensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprothermostat_20_3e_121',['PowerStateController< SinricProThermostat >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprotv_20_3e_122',['PowerStateController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprowindowac_20_3e_123',['PowerStateController< SinricProWindowAC >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_124',['PushNotification',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricproairqualitysensor_20_3e_125',['PushNotification< SinricProAirQualitySensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricproblinds_20_3e_126',['PushNotification< SinricProBlinds >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprocamera_20_3e_127',['PushNotification< SinricProCamera >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprocontactsensor_20_3e_128',['PushNotification< SinricProContactsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprodimswitch_20_3e_129',['PushNotification< SinricProDimSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprodoorbell_20_3e_130',['PushNotification< SinricProDoorbell >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprofan_20_3e_131',['PushNotification< SinricProFan >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprofanus_20_3e_132',['PushNotification< SinricProFanUS >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprogaragedoor_20_3e_133',['PushNotification< SinricProGarageDoor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprolight_20_3e_134',['PushNotification< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprolock_20_3e_135',['PushNotification< SinricProLock >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricpromotionsensor_20_3e_136',['PushNotification< SinricProMotionsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricpropowersensor_20_3e_137',['PushNotification< SinricProPowerSensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprospeaker_20_3e_138',['PushNotification< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricproswitch_20_3e_139',['PushNotification< SinricProSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprotemperaturesensor_20_3e_140',['PushNotification< SinricProTemperaturesensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprothermostat_20_3e_141',['PushNotification< SinricProThermostat >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprotv_20_3e_142',['PushNotification< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprowindowac_20_3e_143',['PushNotification< SinricProWindowAC >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_d.html b/docs/docs/search/all_d.html deleted file mode 100644 index af7f2f0..0000000 --- a/docs/docs/search/all_d.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_d.js b/docs/docs/search/all_d.js deleted file mode 100644 index 64fddc4..0000000 --- a/docs/docs/search/all_d.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['rangecontroller_144',['RangeController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html',1,'SINRICPRO_2_9_17']]], - ['rangecontroller_3c_20sinricproblinds_20_3e_145',['RangeController< SinricProBlinds >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html',1,'SINRICPRO_2_9_17']]], - ['rangecontroller_3c_20sinricprofanus_20_3e_146',['RangeController< SinricProFanUS >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html',1,'SINRICPRO_2_9_17']]], - ['rangecontroller_3c_20sinricprowindowac_20_3e_147',['RangeController< SinricProWindowAC >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html',1,'SINRICPRO_2_9_17']]], - ['resetbandscallback_148',['ResetBandsCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aa8c78de42c40ee03966f3c96cdc05bab',1,'SINRICPRO_2_9_17']]], - ['restoredevicestates_149',['restoreDeviceStates',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a27a9bb7f1e8bde0f39398649493b6f93',1,'SINRICPRO_2_9_17::SinricProClass']]] -]; diff --git a/docs/docs/search/all_e.html b/docs/docs/search/all_e.html deleted file mode 100644 index e25df42..0000000 --- a/docs/docs/search/all_e.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_e.js b/docs/docs/search/all_e.js deleted file mode 100644 index 86380c3..0000000 --- a/docs/docs/search/all_e.js +++ /dev/null @@ -1,59 +0,0 @@ -var searchData= -[ - ['selectinputcallback_150',['SelectInputCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a2f7a91a480cd401f4df2f7ddda4a8f13',1,'SINRICPRO_2_9_17']]], - ['sendairqualityevent_151',['sendAirQualityEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html#a733195bdc5b15c858e4e890847b3a0d5',1,'SINRICPRO_2_9_17::AirQualitySensor']]], - ['sendbandsevent_152',['sendBandsEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#a4ad5674e36d96a73147388251b794c82',1,'SINRICPRO_2_9_17::EqualizerController']]], - ['sendbrightnessevent_153',['sendBrightnessEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html#a2a96c414210f61de3ce53a4ca8c963b3',1,'SINRICPRO_2_9_17::BrightnessController']]], - ['sendchangechannelevent_154',['sendChangeChannelEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#aff5839c3020c3006af1a2a8c37cc858e',1,'SINRICPRO_2_9_17::ChannelController']]], - ['sendcolorevent_155',['sendColorEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html#a3599a6d00eb0f9127a7c1188885c5bc0',1,'SINRICPRO_2_9_17::ColorController']]], - ['sendcolortemperatureevent_156',['sendColorTemperatureEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a0f90d7f5a5b365116f97beca7630ccc9',1,'SINRICPRO_2_9_17::ColorTemperatureController']]], - ['sendcontactevent_157',['sendContactEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html#a452a4cfa3177d8d8d31c5919e9ccbb19',1,'SINRICPRO_2_9_17::ContactSensor']]], - ['senddoorbellevent_158',['sendDoorbellEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html#a168f5a4ddcbf381fd548bf10ee05b272',1,'SINRICPRO_2_9_17::Doorbell']]], - ['senddoorstateevent_159',['sendDoorStateEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html#a375cda2b0bc05e1a66e3bc29d059d9a7',1,'SINRICPRO_2_9_17::DoorController']]], - ['sendlockstateevent_160',['sendLockStateEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html#a8fb3fec204da21e69d05f89a9ecb4739',1,'SINRICPRO_2_9_17::LockController']]], - ['sendmediacontrolevent_161',['sendMediaControlEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html#a7af593cbf79d38f6b90efb5afee45077',1,'SINRICPRO_2_9_17::MediaController']]], - ['sendmodeevent_162',['sendModeEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#a7c84d5c26f2ded88e4941313015f7f4c',1,'SINRICPRO_2_9_17::ModeController::sendModeEvent(String instance, String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)'],['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#a41f8465e89d147c08ab8cbc6839d34da',1,'SINRICPRO_2_9_17::ModeController::sendModeEvent(String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)']]], - ['sendmotionevent_163',['sendMotionEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html#a9be024aa2bb70f0146a02dd1b79d3faa',1,'SINRICPRO_2_9_17::MotionSensor']]], - ['sendmuteevent_164',['sendMuteEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html#a4717d892b64a14052712152924bd5b29',1,'SINRICPRO_2_9_17::MuteController']]], - ['sendpowerlevelevent_165',['sendPowerLevelEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html#a2f1f88c7b4d9503bfcfe5557c5e55ed4',1,'SINRICPRO_2_9_17::PowerLevelController']]], - ['sendpowersensorevent_166',['sendPowerSensorEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html#aec04692842ae1953973503f6be6d9afc',1,'SINRICPRO_2_9_17::PowerSensor']]], - ['sendpowerstateevent_167',['sendPowerStateEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html#acfd5f3a30933ace93751bd823630cded',1,'SINRICPRO_2_9_17::PowerStateController']]], - ['sendpushnotification_168',['sendPushNotification',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html#a04266791a4b23e9614b8773edb5f67b6',1,'SINRICPRO_2_9_17::PushNotification']]], - ['sendrangevalueevent_169',['sendRangeValueEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#aaf84aa417e2246843a27e819898e64b5',1,'SINRICPRO_2_9_17::RangeController::sendRangeValueEvent(const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)'],['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#a1d726751c416fe6dd408e5dd19f6b53b',1,'SINRICPRO_2_9_17::RangeController::sendRangeValueEvent(int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)']]], - ['sendselectinputevent_170',['sendSelectInputEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html#a973241ac912a18b142d236dda7f80e97',1,'SINRICPRO_2_9_17::InputController']]], - ['sendsetpercentageevent_171',['sendSetPercentageEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html#adf688c12e451e52b05670f150bdabcc8',1,'SINRICPRO_2_9_17::PercentageController']]], - ['sendtargettemperatureevent_172',['sendTargetTemperatureEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#ab8b7fdd977a0a38413f2279b50274890',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['sendtemperatureevent_173',['sendTemperatureEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html#a75956fe7aff6e595a9b57519316ff789',1,'SINRICPRO_2_9_17::TemperatureSensor']]], - ['sendthermostatmodeevent_174',['sendThermostatModeEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#ae7273cd094f64a93494ae99501fc83e8',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['sendtogglestateevent_175',['sendToggleStateEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html#a7fcc5084fea488e5b5e95f5ad7015a0f',1,'SINRICPRO_2_9_17::ToggleController']]], - ['sendvolumeevent_176',['sendVolumeEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html#aa2d3dbea5b07e4c5f39d3d20aa2167a4',1,'SINRICPRO_2_9_17::VolumeController']]], - ['setbandscallback_177',['SetBandsCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aaabec5dea3546d52e744a4b0b90c02f4',1,'SINRICPRO_2_9_17']]], - ['setpercentagecallback_178',['SetPercentageCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a3ab0c4ff332f49884fe6a75cb2a293c2',1,'SINRICPRO_2_9_17']]], - ['setpowerlevelcallback_179',['SetPowerLevelCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a5be6c20c0ba9e9b19bd76d42918451b2',1,'SINRICPRO_2_9_17']]], - ['settargettemperaturecallback_180',['SetTargetTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a64ecf52eb927d219b3acabf01ad0d31f',1,'SINRICPRO_2_9_17']]], - ['setvolumecallback_181',['SetVolumeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a5744ad6a31085c216c2193b0f2d86673',1,'SINRICPRO_2_9_17']]], - ['sinricpro_20_28esp8266_20_2f_20esp32_20sdk_29_182',['SinricPro (ESP8266 / ESP32 SDK)',['../index.html',1,'']]], - ['sinricpro_5f2_5f9_5f17_183',['SINRICPRO_2_9_17',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html',1,'']]], - ['sinricproairqualitysensor_184',['SinricProAirQualitySensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricproblinds_185',['SinricProBlinds',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html',1,'SINRICPRO_2_9_17']]], - ['sinricprocamera_186',['SinricProCamera',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html',1,'SINRICPRO_2_9_17']]], - ['sinricproclass_187',['SinricProClass',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html',1,'SINRICPRO_2_9_17']]], - ['sinricprocontactsensor_188',['SinricProContactsensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricprodevice_189',['SinricProDevice',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device.html',1,'SINRICPRO_2_9_17']]], - ['sinricprodimswitch_190',['SinricProDimSwitch',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html',1,'SINRICPRO_2_9_17']]], - ['sinricprodoorbell_191',['SinricProDoorbell',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html',1,'SINRICPRO_2_9_17']]], - ['sinricprofan_192',['SinricProFan',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html',1,'SINRICPRO_2_9_17']]], - ['sinricprofanus_193',['SinricProFanUS',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html',1,'SINRICPRO_2_9_17']]], - ['sinricprogaragedoor_194',['SinricProGarageDoor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html',1,'SINRICPRO_2_9_17']]], - ['sinricprolight_195',['SinricProLight',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html',1,'SINRICPRO_2_9_17']]], - ['sinricprolock_196',['SinricProLock',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html',1,'SINRICPRO_2_9_17']]], - ['sinricpromotionsensor_197',['SinricProMotionsensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricpropowersensor_198',['SinricProPowerSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricprospeaker_199',['SinricProSpeaker',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html',1,'SINRICPRO_2_9_17']]], - ['sinricproswitch_200',['SinricProSwitch',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html',1,'SINRICPRO_2_9_17']]], - ['sinricprotemperaturesensor_201',['SinricProTemperaturesensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricprothermostat_202',['SinricProThermostat',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html',1,'SINRICPRO_2_9_17']]], - ['sinricprotv_203',['SinricProTV',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html',1,'SINRICPRO_2_9_17']]], - ['sinricprowindowac_204',['SinricProWindowAC',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html',1,'SINRICPRO_2_9_17']]], - ['skipchannelscallback_205',['SkipChannelsCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a434616b976d1339be63540d16977fa3d',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/all_f.html b/docs/docs/search/all_f.html deleted file mode 100644 index b23da6c..0000000 --- a/docs/docs/search/all_f.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/all_f.js b/docs/docs/search/all_f.js deleted file mode 100644 index 9faa042..0000000 --- a/docs/docs/search/all_f.js +++ /dev/null @@ -1,11 +0,0 @@ -var searchData= -[ - ['temperaturesensor_206',['TemperatureSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html',1,'SINRICPRO_2_9_17']]], - ['temperaturesensor_3c_20sinricprotemperaturesensor_20_3e_207',['TemperatureSensor< SinricProTemperaturesensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html',1,'SINRICPRO_2_9_17']]], - ['temperaturesensor_3c_20sinricprothermostat_20_3e_208',['TemperatureSensor< SinricProThermostat >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html',1,'SINRICPRO_2_9_17']]], - ['thermostatcontroller_209',['ThermostatController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html',1,'SINRICPRO_2_9_17']]], - ['thermostatcontroller_3c_20sinricprothermostat_20_3e_210',['ThermostatController< SinricProThermostat >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html',1,'SINRICPRO_2_9_17']]], - ['thermostatcontroller_3c_20sinricprowindowac_20_3e_211',['ThermostatController< SinricProWindowAC >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html',1,'SINRICPRO_2_9_17']]], - ['thermostatmodecallback_212',['ThermostatModeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a6cb473352a45a2ae76a46a4292c95a8c',1,'SINRICPRO_2_9_17']]], - ['togglecontroller_213',['ToggleController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_0.html b/docs/docs/search/classes_0.html deleted file mode 100644 index af8159e..0000000 --- a/docs/docs/search/classes_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_0.js b/docs/docs/search/classes_0.js deleted file mode 100644 index 87b6dc9..0000000 --- a/docs/docs/search/classes_0.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['airqualitysensor_217',['AirQualitySensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html',1,'SINRICPRO_2_9_17']]], - ['airqualitysensor_3c_20sinricproairqualitysensor_20_3e_218',['AirQualitySensor< SinricProAirQualitySensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_1.html b/docs/docs/search/classes_1.html deleted file mode 100644 index 576e916..0000000 --- a/docs/docs/search/classes_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_1.js b/docs/docs/search/classes_1.js deleted file mode 100644 index 0ee1f2c..0000000 --- a/docs/docs/search/classes_1.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['brightnesscontroller_219',['BrightnessController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html',1,'SINRICPRO_2_9_17']]], - ['brightnesscontroller_3c_20sinricprolight_20_3e_220',['BrightnessController< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_2.html b/docs/docs/search/classes_2.html deleted file mode 100644 index 956405e..0000000 --- a/docs/docs/search/classes_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_2.js b/docs/docs/search/classes_2.js deleted file mode 100644 index afe613c..0000000 --- a/docs/docs/search/classes_2.js +++ /dev/null @@ -1,11 +0,0 @@ -var searchData= -[ - ['channelcontroller_221',['ChannelController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html',1,'SINRICPRO_2_9_17']]], - ['channelcontroller_3c_20sinricprotv_20_3e_222',['ChannelController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html',1,'SINRICPRO_2_9_17']]], - ['colorcontroller_223',['ColorController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html',1,'SINRICPRO_2_9_17']]], - ['colorcontroller_3c_20sinricprolight_20_3e_224',['ColorController< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html',1,'SINRICPRO_2_9_17']]], - ['colortemperaturecontroller_225',['ColorTemperatureController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html',1,'SINRICPRO_2_9_17']]], - ['colortemperaturecontroller_3c_20sinricprolight_20_3e_226',['ColorTemperatureController< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html',1,'SINRICPRO_2_9_17']]], - ['contactsensor_227',['ContactSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html',1,'SINRICPRO_2_9_17']]], - ['contactsensor_3c_20sinricprocontactsensor_20_3e_228',['ContactSensor< SinricProContactsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_3.html b/docs/docs/search/classes_3.html deleted file mode 100644 index d33343b..0000000 --- a/docs/docs/search/classes_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_3.js b/docs/docs/search/classes_3.js deleted file mode 100644 index b60728f..0000000 --- a/docs/docs/search/classes_3.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['doorbell_229',['Doorbell',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html',1,'SINRICPRO_2_9_17']]], - ['doorbell_3c_20sinricprodoorbell_20_3e_230',['Doorbell< SinricProDoorbell >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html',1,'SINRICPRO_2_9_17']]], - ['doorcontroller_231',['DoorController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html',1,'SINRICPRO_2_9_17']]], - ['doorcontroller_3c_20sinricprogaragedoor_20_3e_232',['DoorController< SinricProGarageDoor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_4.html b/docs/docs/search/classes_4.html deleted file mode 100644 index 8430b07..0000000 --- a/docs/docs/search/classes_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_4.js b/docs/docs/search/classes_4.js deleted file mode 100644 index 5856d27..0000000 --- a/docs/docs/search/classes_4.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['equalizercontroller_233',['EqualizerController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html',1,'SINRICPRO_2_9_17']]], - ['equalizercontroller_3c_20sinricprospeaker_20_3e_234',['EqualizerController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_5.html b/docs/docs/search/classes_5.html deleted file mode 100644 index c2f1b76..0000000 --- a/docs/docs/search/classes_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_5.js b/docs/docs/search/classes_5.js deleted file mode 100644 index b38cc73..0000000 --- a/docs/docs/search/classes_5.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['inputcontroller_235',['InputController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html',1,'SINRICPRO_2_9_17']]], - ['inputcontroller_3c_20sinricprospeaker_20_3e_236',['InputController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html',1,'SINRICPRO_2_9_17']]], - ['inputcontroller_3c_20sinricprotv_20_3e_237',['InputController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_6.html b/docs/docs/search/classes_6.html deleted file mode 100644 index e39847c..0000000 --- a/docs/docs/search/classes_6.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_6.js b/docs/docs/search/classes_6.js deleted file mode 100644 index 8367298..0000000 --- a/docs/docs/search/classes_6.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['keypadcontroller_238',['KeypadController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_7.html b/docs/docs/search/classes_7.html deleted file mode 100644 index a2c4d1a..0000000 --- a/docs/docs/search/classes_7.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_7.js b/docs/docs/search/classes_7.js deleted file mode 100644 index 3574de0..0000000 --- a/docs/docs/search/classes_7.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['lockcontroller_239',['LockController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html',1,'SINRICPRO_2_9_17']]], - ['lockcontroller_3c_20sinricprolock_20_3e_240',['LockController< SinricProLock >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_8.html b/docs/docs/search/classes_8.html deleted file mode 100644 index 17003e4..0000000 --- a/docs/docs/search/classes_8.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_8.js b/docs/docs/search/classes_8.js deleted file mode 100644 index 11e6a86..0000000 --- a/docs/docs/search/classes_8.js +++ /dev/null @@ -1,13 +0,0 @@ -var searchData= -[ - ['mediacontroller_241',['MediaController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html',1,'SINRICPRO_2_9_17']]], - ['mediacontroller_3c_20sinricprospeaker_20_3e_242',['MediaController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html',1,'SINRICPRO_2_9_17']]], - ['mediacontroller_3c_20sinricprotv_20_3e_243',['MediaController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html',1,'SINRICPRO_2_9_17']]], - ['modecontroller_244',['ModeController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html',1,'SINRICPRO_2_9_17']]], - ['modecontroller_3c_20sinricprospeaker_20_3e_245',['ModeController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html',1,'SINRICPRO_2_9_17']]], - ['motionsensor_246',['MotionSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html',1,'SINRICPRO_2_9_17']]], - ['motionsensor_3c_20sinricpromotionsensor_20_3e_247',['MotionSensor< SinricProMotionsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html',1,'SINRICPRO_2_9_17']]], - ['mutecontroller_248',['MuteController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html',1,'SINRICPRO_2_9_17']]], - ['mutecontroller_3c_20sinricprospeaker_20_3e_249',['MuteController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html',1,'SINRICPRO_2_9_17']]], - ['mutecontroller_3c_20sinricprotv_20_3e_250',['MuteController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_9.html b/docs/docs/search/classes_9.html deleted file mode 100644 index b8afa8c..0000000 --- a/docs/docs/search/classes_9.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_9.js b/docs/docs/search/classes_9.js deleted file mode 100644 index 8b6bb0b..0000000 --- a/docs/docs/search/classes_9.js +++ /dev/null @@ -1,47 +0,0 @@ -var searchData= -[ - ['percentagecontroller_251',['PercentageController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerlevelcontroller_252',['PowerLevelController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerlevelcontroller_3c_20sinricprodimswitch_20_3e_253',['PowerLevelController< SinricProDimSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerlevelcontroller_3c_20sinricprofan_20_3e_254',['PowerLevelController< SinricProFan >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html',1,'SINRICPRO_2_9_17']]], - ['powersensor_255',['PowerSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html',1,'SINRICPRO_2_9_17']]], - ['powersensor_3c_20sinricpropowersensor_20_3e_256',['PowerSensor< SinricProPowerSensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_257',['PowerStateController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricproairqualitysensor_20_3e_258',['PowerStateController< SinricProAirQualitySensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricproblinds_20_3e_259',['PowerStateController< SinricProBlinds >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprocamera_20_3e_260',['PowerStateController< SinricProCamera >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprocontactsensor_20_3e_261',['PowerStateController< SinricProContactsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprodimswitch_20_3e_262',['PowerStateController< SinricProDimSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprodoorbell_20_3e_263',['PowerStateController< SinricProDoorbell >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprofan_20_3e_264',['PowerStateController< SinricProFan >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprofanus_20_3e_265',['PowerStateController< SinricProFanUS >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprolight_20_3e_266',['PowerStateController< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricpromotionsensor_20_3e_267',['PowerStateController< SinricProMotionsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricpropowersensor_20_3e_268',['PowerStateController< SinricProPowerSensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprospeaker_20_3e_269',['PowerStateController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricproswitch_20_3e_270',['PowerStateController< SinricProSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprotemperaturesensor_20_3e_271',['PowerStateController< SinricProTemperaturesensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprothermostat_20_3e_272',['PowerStateController< SinricProThermostat >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprotv_20_3e_273',['PowerStateController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['powerstatecontroller_3c_20sinricprowindowac_20_3e_274',['PowerStateController< SinricProWindowAC >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_275',['PushNotification',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricproairqualitysensor_20_3e_276',['PushNotification< SinricProAirQualitySensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricproblinds_20_3e_277',['PushNotification< SinricProBlinds >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprocamera_20_3e_278',['PushNotification< SinricProCamera >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprocontactsensor_20_3e_279',['PushNotification< SinricProContactsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprodimswitch_20_3e_280',['PushNotification< SinricProDimSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprodoorbell_20_3e_281',['PushNotification< SinricProDoorbell >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprofan_20_3e_282',['PushNotification< SinricProFan >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprofanus_20_3e_283',['PushNotification< SinricProFanUS >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprogaragedoor_20_3e_284',['PushNotification< SinricProGarageDoor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprolight_20_3e_285',['PushNotification< SinricProLight >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprolock_20_3e_286',['PushNotification< SinricProLock >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricpromotionsensor_20_3e_287',['PushNotification< SinricProMotionsensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricpropowersensor_20_3e_288',['PushNotification< SinricProPowerSensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprospeaker_20_3e_289',['PushNotification< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricproswitch_20_3e_290',['PushNotification< SinricProSwitch >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprotemperaturesensor_20_3e_291',['PushNotification< SinricProTemperaturesensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprothermostat_20_3e_292',['PushNotification< SinricProThermostat >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprotv_20_3e_293',['PushNotification< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]], - ['pushnotification_3c_20sinricprowindowac_20_3e_294',['PushNotification< SinricProWindowAC >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_a.html b/docs/docs/search/classes_a.html deleted file mode 100644 index 6788af2..0000000 --- a/docs/docs/search/classes_a.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_a.js b/docs/docs/search/classes_a.js deleted file mode 100644 index 8c2bd12..0000000 --- a/docs/docs/search/classes_a.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['rangecontroller_295',['RangeController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html',1,'SINRICPRO_2_9_17']]], - ['rangecontroller_3c_20sinricproblinds_20_3e_296',['RangeController< SinricProBlinds >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html',1,'SINRICPRO_2_9_17']]], - ['rangecontroller_3c_20sinricprofanus_20_3e_297',['RangeController< SinricProFanUS >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html',1,'SINRICPRO_2_9_17']]], - ['rangecontroller_3c_20sinricprowindowac_20_3e_298',['RangeController< SinricProWindowAC >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_b.html b/docs/docs/search/classes_b.html deleted file mode 100644 index 3fcb498..0000000 --- a/docs/docs/search/classes_b.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_b.js b/docs/docs/search/classes_b.js deleted file mode 100644 index 5a2e1db..0000000 --- a/docs/docs/search/classes_b.js +++ /dev/null @@ -1,24 +0,0 @@ -var searchData= -[ - ['sinricproairqualitysensor_299',['SinricProAirQualitySensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_air_quality_sensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricproblinds_300',['SinricProBlinds',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_blinds.html',1,'SINRICPRO_2_9_17']]], - ['sinricprocamera_301',['SinricProCamera',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_camera.html',1,'SINRICPRO_2_9_17']]], - ['sinricproclass_302',['SinricProClass',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html',1,'SINRICPRO_2_9_17']]], - ['sinricprocontactsensor_303',['SinricProContactsensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_contactsensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricprodevice_304',['SinricProDevice',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_device.html',1,'SINRICPRO_2_9_17']]], - ['sinricprodimswitch_305',['SinricProDimSwitch',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_dim_switch.html',1,'SINRICPRO_2_9_17']]], - ['sinricprodoorbell_306',['SinricProDoorbell',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_doorbell.html',1,'SINRICPRO_2_9_17']]], - ['sinricprofan_307',['SinricProFan',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan.html',1,'SINRICPRO_2_9_17']]], - ['sinricprofanus_308',['SinricProFanUS',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_fan_u_s.html',1,'SINRICPRO_2_9_17']]], - ['sinricprogaragedoor_309',['SinricProGarageDoor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_garage_door.html',1,'SINRICPRO_2_9_17']]], - ['sinricprolight_310',['SinricProLight',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_light.html',1,'SINRICPRO_2_9_17']]], - ['sinricprolock_311',['SinricProLock',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_lock.html',1,'SINRICPRO_2_9_17']]], - ['sinricpromotionsensor_312',['SinricProMotionsensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_motionsensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricpropowersensor_313',['SinricProPowerSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_power_sensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricprospeaker_314',['SinricProSpeaker',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_speaker.html',1,'SINRICPRO_2_9_17']]], - ['sinricproswitch_315',['SinricProSwitch',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_switch.html',1,'SINRICPRO_2_9_17']]], - ['sinricprotemperaturesensor_316',['SinricProTemperaturesensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_temperaturesensor.html',1,'SINRICPRO_2_9_17']]], - ['sinricprothermostat_317',['SinricProThermostat',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_thermostat.html',1,'SINRICPRO_2_9_17']]], - ['sinricprotv_318',['SinricProTV',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_t_v.html',1,'SINRICPRO_2_9_17']]], - ['sinricprowindowac_319',['SinricProWindowAC',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_window_a_c.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_c.html b/docs/docs/search/classes_c.html deleted file mode 100644 index 2f7b1f3..0000000 --- a/docs/docs/search/classes_c.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_c.js b/docs/docs/search/classes_c.js deleted file mode 100644 index 0c1c930..0000000 --- a/docs/docs/search/classes_c.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['temperaturesensor_320',['TemperatureSensor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html',1,'SINRICPRO_2_9_17']]], - ['temperaturesensor_3c_20sinricprotemperaturesensor_20_3e_321',['TemperatureSensor< SinricProTemperaturesensor >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html',1,'SINRICPRO_2_9_17']]], - ['temperaturesensor_3c_20sinricprothermostat_20_3e_322',['TemperatureSensor< SinricProThermostat >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html',1,'SINRICPRO_2_9_17']]], - ['thermostatcontroller_323',['ThermostatController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html',1,'SINRICPRO_2_9_17']]], - ['thermostatcontroller_3c_20sinricprothermostat_20_3e_324',['ThermostatController< SinricProThermostat >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html',1,'SINRICPRO_2_9_17']]], - ['thermostatcontroller_3c_20sinricprowindowac_20_3e_325',['ThermostatController< SinricProWindowAC >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html',1,'SINRICPRO_2_9_17']]], - ['togglecontroller_326',['ToggleController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/classes_d.html b/docs/docs/search/classes_d.html deleted file mode 100644 index f9011e7..0000000 --- a/docs/docs/search/classes_d.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/classes_d.js b/docs/docs/search/classes_d.js deleted file mode 100644 index c57d7cc..0000000 --- a/docs/docs/search/classes_d.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['volumecontroller_327',['VolumeController',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html',1,'SINRICPRO_2_9_17']]], - ['volumecontroller_3c_20sinricprospeaker_20_3e_328',['VolumeController< SinricProSpeaker >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html',1,'SINRICPRO_2_9_17']]], - ['volumecontroller_3c_20sinricprotv_20_3e_329',['VolumeController< SinricProTV >',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/close.svg b/docs/docs/search/close.svg deleted file mode 100644 index a933eea..0000000 --- a/docs/docs/search/close.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - image/svg+xml - - - - - - - - diff --git a/docs/docs/search/functions_0.html b/docs/docs/search/functions_0.html deleted file mode 100644 index eb4c501..0000000 --- a/docs/docs/search/functions_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/functions_0.js b/docs/docs/search/functions_0.js deleted file mode 100644 index 7e39210..0000000 --- a/docs/docs/search/functions_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['begin_331',['begin',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a1b5b66fb0c539b9b5f5f58a135056c75',1,'SINRICPRO_2_9_17::SinricProClass']]] -]; diff --git a/docs/docs/search/functions_1.html b/docs/docs/search/functions_1.html deleted file mode 100644 index ef4088b..0000000 --- a/docs/docs/search/functions_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/functions_1.js b/docs/docs/search/functions_1.js deleted file mode 100644 index 59690bc..0000000 --- a/docs/docs/search/functions_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['gettimestamp_332',['getTimestamp',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#afb2be26eef972203404140612fa31326',1,'SINRICPRO_2_9_17::SinricProClass']]] -]; diff --git a/docs/docs/search/functions_2.html b/docs/docs/search/functions_2.html deleted file mode 100644 index ca5aa10..0000000 --- a/docs/docs/search/functions_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/functions_2.js b/docs/docs/search/functions_2.js deleted file mode 100644 index 77d8ecf..0000000 --- a/docs/docs/search/functions_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['handle_333',['handle',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a37c2d0658e498b1bf878f8a3d9a7c5b4',1,'SINRICPRO_2_9_17::SinricProClass']]] -]; diff --git a/docs/docs/search/functions_3.html b/docs/docs/search/functions_3.html deleted file mode 100644 index d79f55b..0000000 --- a/docs/docs/search/functions_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/functions_3.js b/docs/docs/search/functions_3.js deleted file mode 100644 index 3b7d081..0000000 --- a/docs/docs/search/functions_3.js +++ /dev/null @@ -1,38 +0,0 @@ -var searchData= -[ - ['onadjustbands_334',['onAdjustBands',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#a41a5c1506545c44c2408054a8675c7a8',1,'SINRICPRO_2_9_17::EqualizerController']]], - ['onadjustbrightness_335',['onAdjustBrightness',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html#a0633e5fa2981189f4a093bab00a8c7f1',1,'SINRICPRO_2_9_17::BrightnessController']]], - ['onadjustpercentage_336',['onAdjustPercentage',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html#a77ac70c4880e38dae4f640dceaeb2816',1,'SINRICPRO_2_9_17::PercentageController']]], - ['onadjustpowerlevel_337',['onAdjustPowerLevel',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html#a13b10bdb1844babe4de320fff9172d96',1,'SINRICPRO_2_9_17::PowerLevelController']]], - ['onadjustrangevalue_338',['onAdjustRangeValue',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#ae85696d55112ae7343f9807faee6e064',1,'SINRICPRO_2_9_17::RangeController']]], - ['onadjusttargettemperature_339',['onAdjustTargetTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#ac51f6fecfdf4c7bc8e0712e2da47bbf4',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['onadjustvolume_340',['onAdjustVolume',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html#a2c868c87f96e3924c8b309e1bcfb507e',1,'SINRICPRO_2_9_17::VolumeController']]], - ['onbrightness_341',['onBrightness',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html#abbaab3067b1fcdcc5928451b818a4420',1,'SINRICPRO_2_9_17::BrightnessController']]], - ['onchangechannel_342',['onChangeChannel',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#a92f3b83744b5bb82d32628eef39c1eb9',1,'SINRICPRO_2_9_17::ChannelController']]], - ['onchangechannelnumber_343',['onChangeChannelNumber',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#afd8aee20590bfadec181c6ee515125ec',1,'SINRICPRO_2_9_17::ChannelController']]], - ['oncolor_344',['onColor',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html#a059ff103149869b7c49cdb8911875b7b',1,'SINRICPRO_2_9_17::ColorController']]], - ['oncolortemperature_345',['onColorTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a8535c44fd2517ed09ebe6a203cc25b67',1,'SINRICPRO_2_9_17::ColorTemperatureController']]], - ['onconnected_346',['onConnected',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#ac33a355adfc413d4ff36974d735115bd',1,'SINRICPRO_2_9_17::SinricProClass']]], - ['ondecreasecolortemperature_347',['onDecreaseColorTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a7468976e7fffeee14cc869b7236cbb50',1,'SINRICPRO_2_9_17::ColorTemperatureController']]], - ['ondisconnected_348',['onDisconnected',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a654bb017ca55b448d55bb36e0346f38a',1,'SINRICPRO_2_9_17::SinricProClass']]], - ['ondoorstate_349',['onDoorState',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html#a6b536531ab89b39f1a48cb107e22185e',1,'SINRICPRO_2_9_17::DoorController']]], - ['onincreasecolortemperature_350',['onIncreaseColorTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a7ea9fd9861a5668a41d06267bfbec82a',1,'SINRICPRO_2_9_17::ColorTemperatureController']]], - ['onkeystroke_351',['onKeystroke',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_keypad_controller.html#ab24b4858dcc69145a367e964c2ae7961',1,'SINRICPRO_2_9_17::KeypadController']]], - ['onlockstate_352',['onLockState',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html#aee42cc397234a454fd353ca6bc12a859',1,'SINRICPRO_2_9_17::LockController']]], - ['onmediacontrol_353',['onMediaControl',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html#afc2620621377fff928737b5a8a537020',1,'SINRICPRO_2_9_17::MediaController']]], - ['onmute_354',['onMute',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html#ab5fc79cc8903c3ccc1c106abf61d7cfd',1,'SINRICPRO_2_9_17::MuteController']]], - ['onpowerlevel_355',['onPowerLevel',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html#a0685d34694badb4442fed6b69b69b366',1,'SINRICPRO_2_9_17::PowerLevelController']]], - ['onpowerstate_356',['onPowerState',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html#a32f3257da431a1035f23a265ff0cc4cf',1,'SINRICPRO_2_9_17::PowerStateController']]], - ['onrangevalue_357',['onRangeValue',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#a94adbcdf6ce61cb6552a5f9915e705ae',1,'SINRICPRO_2_9_17::RangeController::onRangeValue(SetRangeValueCallback cb)'],['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#a6d6d8070b49c8b5272460836a1120b33',1,'SINRICPRO_2_9_17::RangeController::onRangeValue(const String &instance, GenericSetRangeValueCallback_int cb)']]], - ['onresetbands_358',['onResetBands',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#aa6c3aabc2b442d82ac5456ccaac3f60d',1,'SINRICPRO_2_9_17::EqualizerController']]], - ['onselectinput_359',['onSelectInput',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html#a18f8f71ecf0d7292a63d9486f94e5180',1,'SINRICPRO_2_9_17::InputController']]], - ['onsetbands_360',['onSetBands',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#a4aaa7a29394560be7537a86b0304d199',1,'SINRICPRO_2_9_17::EqualizerController']]], - ['onsetmode_361',['onSetMode',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#ada087c948c3ab923bdb7818daa6b2b79',1,'SINRICPRO_2_9_17::ModeController::onSetMode(ModeCallback cb)'],['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#a6b15ba168b3a673b98da43ac5e4ef76c',1,'SINRICPRO_2_9_17::ModeController::onSetMode(const String &instance, GenericModeCallback cb)']]], - ['onsetpercentage_362',['onSetPercentage',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html#aeef432df118679c689ccd8a48d47dc3d',1,'SINRICPRO_2_9_17::PercentageController']]], - ['onsetvolume_363',['onSetVolume',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html#a5db8c85f222debbece54c794015f9402',1,'SINRICPRO_2_9_17::VolumeController']]], - ['onskipchannels_364',['onSkipChannels',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#ab1123d03d471fad4896eb2960ed41855',1,'SINRICPRO_2_9_17::ChannelController']]], - ['ontargettemperature_365',['onTargetTemperature',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#a1c73725f1f3fbb1c5b72208aae5c2bf2',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['onthermostatmode_366',['onThermostatMode',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#a2ef31536973b20815dd6c80a28e19c9f',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['ontogglestate_367',['onToggleState',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html#a7ccd28a4f20922847d0461649af5572d',1,'SINRICPRO_2_9_17::ToggleController']]], - ['operator_5b_5d_368',['operator[]',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a84a491d393b5c7c1433a2a9e62a58766',1,'SINRICPRO_2_9_17::SinricProClass']]] -]; diff --git a/docs/docs/search/functions_4.html b/docs/docs/search/functions_4.html deleted file mode 100644 index 1657cad..0000000 --- a/docs/docs/search/functions_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/functions_4.js b/docs/docs/search/functions_4.js deleted file mode 100644 index d8c5c78..0000000 --- a/docs/docs/search/functions_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['restoredevicestates_369',['restoreDeviceStates',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_sinric_pro_class.html#a27a9bb7f1e8bde0f39398649493b6f93',1,'SINRICPRO_2_9_17::SinricProClass']]] -]; diff --git a/docs/docs/search/functions_5.html b/docs/docs/search/functions_5.html deleted file mode 100644 index 9301d6b..0000000 --- a/docs/docs/search/functions_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/functions_5.js b/docs/docs/search/functions_5.js deleted file mode 100644 index 1cdee11..0000000 --- a/docs/docs/search/functions_5.js +++ /dev/null @@ -1,29 +0,0 @@ -var searchData= -[ - ['sendairqualityevent_370',['sendAirQualityEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_air_quality_sensor.html#a733195bdc5b15c858e4e890847b3a0d5',1,'SINRICPRO_2_9_17::AirQualitySensor']]], - ['sendbandsevent_371',['sendBandsEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_equalizer_controller.html#a4ad5674e36d96a73147388251b794c82',1,'SINRICPRO_2_9_17::EqualizerController']]], - ['sendbrightnessevent_372',['sendBrightnessEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_brightness_controller.html#a2a96c414210f61de3ce53a4ca8c963b3',1,'SINRICPRO_2_9_17::BrightnessController']]], - ['sendchangechannelevent_373',['sendChangeChannelEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_channel_controller.html#aff5839c3020c3006af1a2a8c37cc858e',1,'SINRICPRO_2_9_17::ChannelController']]], - ['sendcolorevent_374',['sendColorEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_controller.html#a3599a6d00eb0f9127a7c1188885c5bc0',1,'SINRICPRO_2_9_17::ColorController']]], - ['sendcolortemperatureevent_375',['sendColorTemperatureEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_color_temperature_controller.html#a0f90d7f5a5b365116f97beca7630ccc9',1,'SINRICPRO_2_9_17::ColorTemperatureController']]], - ['sendcontactevent_376',['sendContactEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_contact_sensor.html#a452a4cfa3177d8d8d31c5919e9ccbb19',1,'SINRICPRO_2_9_17::ContactSensor']]], - ['senddoorbellevent_377',['sendDoorbellEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_doorbell.html#a168f5a4ddcbf381fd548bf10ee05b272',1,'SINRICPRO_2_9_17::Doorbell']]], - ['senddoorstateevent_378',['sendDoorStateEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_door_controller.html#a375cda2b0bc05e1a66e3bc29d059d9a7',1,'SINRICPRO_2_9_17::DoorController']]], - ['sendlockstateevent_379',['sendLockStateEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_lock_controller.html#a8fb3fec204da21e69d05f89a9ecb4739',1,'SINRICPRO_2_9_17::LockController']]], - ['sendmediacontrolevent_380',['sendMediaControlEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_media_controller.html#a7af593cbf79d38f6b90efb5afee45077',1,'SINRICPRO_2_9_17::MediaController']]], - ['sendmodeevent_381',['sendModeEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#a41f8465e89d147c08ab8cbc6839d34da',1,'SINRICPRO_2_9_17::ModeController::sendModeEvent(String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)'],['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mode_controller.html#a7c84d5c26f2ded88e4941313015f7f4c',1,'SINRICPRO_2_9_17::ModeController::sendModeEvent(String instance, String mode, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)']]], - ['sendmotionevent_382',['sendMotionEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_motion_sensor.html#a9be024aa2bb70f0146a02dd1b79d3faa',1,'SINRICPRO_2_9_17::MotionSensor']]], - ['sendmuteevent_383',['sendMuteEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_mute_controller.html#a4717d892b64a14052712152924bd5b29',1,'SINRICPRO_2_9_17::MuteController']]], - ['sendpowerlevelevent_384',['sendPowerLevelEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_level_controller.html#a2f1f88c7b4d9503bfcfe5557c5e55ed4',1,'SINRICPRO_2_9_17::PowerLevelController']]], - ['sendpowersensorevent_385',['sendPowerSensorEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_sensor.html#aec04692842ae1953973503f6be6d9afc',1,'SINRICPRO_2_9_17::PowerSensor']]], - ['sendpowerstateevent_386',['sendPowerStateEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_power_state_controller.html#acfd5f3a30933ace93751bd823630cded',1,'SINRICPRO_2_9_17::PowerStateController']]], - ['sendpushnotification_387',['sendPushNotification',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_push_notification.html#a04266791a4b23e9614b8773edb5f67b6',1,'SINRICPRO_2_9_17::PushNotification']]], - ['sendrangevalueevent_388',['sendRangeValueEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#a1d726751c416fe6dd408e5dd19f6b53b',1,'SINRICPRO_2_9_17::RangeController::sendRangeValueEvent(int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)'],['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_range_controller.html#aaf84aa417e2246843a27e819898e64b5',1,'SINRICPRO_2_9_17::RangeController::sendRangeValueEvent(const String &instance, int rangeValue, String cause=FSTR_SINRICPRO_PHYSICAL_INTERACTION)']]], - ['sendselectinputevent_389',['sendSelectInputEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_input_controller.html#a973241ac912a18b142d236dda7f80e97',1,'SINRICPRO_2_9_17::InputController']]], - ['sendsetpercentageevent_390',['sendSetPercentageEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_percentage_controller.html#adf688c12e451e52b05670f150bdabcc8',1,'SINRICPRO_2_9_17::PercentageController']]], - ['sendtargettemperatureevent_391',['sendTargetTemperatureEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#ab8b7fdd977a0a38413f2279b50274890',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['sendtemperatureevent_392',['sendTemperatureEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_temperature_sensor.html#a75956fe7aff6e595a9b57519316ff789',1,'SINRICPRO_2_9_17::TemperatureSensor']]], - ['sendthermostatmodeevent_393',['sendThermostatModeEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_thermostat_controller.html#ae7273cd094f64a93494ae99501fc83e8',1,'SINRICPRO_2_9_17::ThermostatController']]], - ['sendtogglestateevent_394',['sendToggleStateEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_toggle_controller.html#a7fcc5084fea488e5b5e95f5ad7015a0f',1,'SINRICPRO_2_9_17::ToggleController']]], - ['sendvolumeevent_395',['sendVolumeEvent',['../class_s_i_n_r_i_c_p_r_o__2__9__17_1_1_volume_controller.html#aa2d3dbea5b07e4c5f39d3d20aa2167a4',1,'SINRICPRO_2_9_17::VolumeController']]] -]; diff --git a/docs/docs/search/mag_sel.svg b/docs/docs/search/mag_sel.svg deleted file mode 100644 index 03626f6..0000000 --- a/docs/docs/search/mag_sel.svg +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/docs/docs/search/namespaces_0.html b/docs/docs/search/namespaces_0.html deleted file mode 100644 index 21db2c3..0000000 --- a/docs/docs/search/namespaces_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/namespaces_0.js b/docs/docs/search/namespaces_0.js deleted file mode 100644 index 98c2026..0000000 --- a/docs/docs/search/namespaces_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['sinricpro_5f2_5f9_5f17_330',['SINRICPRO_2_9_17',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html',1,'']]] -]; diff --git a/docs/docs/search/nomatches.html b/docs/docs/search/nomatches.html deleted file mode 100644 index 2b9360b..0000000 --- a/docs/docs/search/nomatches.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - -
    -
    No Matches
    -
    - - diff --git a/docs/docs/search/pages_0.html b/docs/docs/search/pages_0.html deleted file mode 100644 index 8517b48..0000000 --- a/docs/docs/search/pages_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/pages_0.js b/docs/docs/search/pages_0.js deleted file mode 100644 index 56462ae..0000000 --- a/docs/docs/search/pages_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['sinricpro_20_28esp8266_20_2f_20esp32_20sdk_29_433',['SinricPro (ESP8266 / ESP32 SDK)',['../index.html',1,'']]] -]; diff --git a/docs/docs/search/search.css b/docs/docs/search/search.css deleted file mode 100644 index 9074198..0000000 --- a/docs/docs/search/search.css +++ /dev/null @@ -1,257 +0,0 @@ -/*---------------- Search Box */ - -#MSearchBox { - white-space : nowrap; - background: white; - border-radius: 0.65em; - box-shadow: inset 0.5px 0.5px 3px 0px #555; - z-index: 102; -} - -#MSearchBox .left { - display: inline-block; - vertical-align: middle; - height: 1.4em; -} - -#MSearchSelect { - display: inline-block; - vertical-align: middle; - height: 1.4em; - padding: 0 0 0 0.3em; - margin: 0; -} - -#MSearchField { - display: inline-block; - vertical-align: middle; - width: 7.5em; - height: 1.1em; - margin: 0 0.15em; - padding: 0; - line-height: 1em; - border:none; - color: #909090; - outline: none; - font-family: Arial, Verdana, sans-serif; - -webkit-border-radius: 0px; - border-radius: 0px; - background: none; -} - - -#MSearchBox .right { - display: inline-block; - vertical-align: middle; - width: 1.4em; - height: 1.4em; -} - -#MSearchClose { - display: none; - font-size: inherit; - background : none; - border: none; - margin: 0; - padding: 0; - outline: none; - -} - -#MSearchCloseImg { - height: 1.4em; - padding: 0.3em; - margin: 0; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -#main-menu > li:last-child { - /* This
  • object is the parent of the search bar */ - display: flex; - justify-content: center; - align-items: center; - height: 36px; - margin-right: 1em; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; - z-index: 10001; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; - z-index:10000; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -span.SRScope { - padding-left: 4px; - font-family: Arial, Verdana, sans-serif; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; - font-family: Arial, Verdana, sans-serif; -} - -.SRResult { - display: none; -} - -div.searchresults { - margin-left: 10px; - margin-right: 10px; -} - -/*---------------- External search page results */ - -.searchresult { - background-color: #F0F3F8; -} - -.pages b { - color: white; - padding: 5px 5px 3px 5px; - background-image: url("../tab_a.png"); - background-repeat: repeat-x; - text-shadow: 0 1px 1px #000000; -} - -.pages { - line-height: 17px; - margin-left: 4px; - text-decoration: none; -} - -.hl { - font-weight: bold; -} - -#searchresults { - margin-bottom: 20px; -} - -.searchpages { - margin-top: 10px; -} - diff --git a/docs/docs/search/search.js b/docs/docs/search/search.js deleted file mode 100644 index fb226f7..0000000 --- a/docs/docs/search/search.js +++ /dev/null @@ -1,816 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var idxChar = searchValue.substr(0, 1).toLowerCase(); - if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair - { - idxChar = searchValue.substr(0, 2); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); - if (idx!=-1) - { - var hexCode=idx.toString(16); - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + this.extension; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches' + this.extension; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline-block'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} - -function setKeyActions(elem,action) -{ - elem.setAttribute('onkeydown',action); - elem.setAttribute('onkeypress',action); - elem.setAttribute('onkeyup',action); -} - -function setClassAttr(elem,attr) -{ - elem.setAttribute('class',attr); - elem.setAttribute('className',attr); -} - -function createResults() -{ - var results = document.getElementById("SRResults"); - for (var e=0; e - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_0.js b/docs/docs/search/typedefs_0.js deleted file mode 100644 index 3fb22df..0000000 --- a/docs/docs/search/typedefs_0.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['adjustbandscallback_396',['AdjustBandsCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a28446c362f1f44e269b50619761c9e9b',1,'SINRICPRO_2_9_17']]], - ['adjustbrightnesscallback_397',['AdjustBrightnessCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a3ff8d93d9483f41bf8504fd3e9cc8f49',1,'SINRICPRO_2_9_17']]], - ['adjustpercentagecallback_398',['AdjustPercentageCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a088a491b8656c376085bc31d558fd05d',1,'SINRICPRO_2_9_17']]], - ['adjustpowerlevelcallback_399',['AdjustPowerLevelCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a3ec3aad26d06f5b943a6906e11afc1f3',1,'SINRICPRO_2_9_17']]], - ['adjustrangevaluecallback_400',['AdjustRangeValueCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a2ba46d8544d48aee620fff9a930c01ff',1,'SINRICPRO_2_9_17']]], - ['adjusttargettemperaturecallback_401',['AdjustTargetTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a8d55dffbb520779ef95fc29e49032886',1,'SINRICPRO_2_9_17']]], - ['adjustvolumecallback_402',['AdjustVolumeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ac6304129491317f85cee56ca5925dfab',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_1.html b/docs/docs/search/typedefs_1.html deleted file mode 100644 index 46cf01e..0000000 --- a/docs/docs/search/typedefs_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_1.js b/docs/docs/search/typedefs_1.js deleted file mode 100644 index 521b39f..0000000 --- a/docs/docs/search/typedefs_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['brightnesscallback_403',['BrightnessCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aff9938ddc803e4339a3db9b31503e12d',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_2.html b/docs/docs/search/typedefs_2.html deleted file mode 100644 index 6835ee6..0000000 --- a/docs/docs/search/typedefs_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_2.js b/docs/docs/search/typedefs_2.js deleted file mode 100644 index 70892f2..0000000 --- a/docs/docs/search/typedefs_2.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['changechannelcallback_404',['ChangeChannelCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a8bc108630d532266ae36cda5ec7b4857',1,'SINRICPRO_2_9_17']]], - ['changechannelnumbercallback_405',['ChangeChannelNumberCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ab21b05b6f4a6be7e89a7173b7fafb552',1,'SINRICPRO_2_9_17']]], - ['colorcallback_406',['ColorCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ad8bcf09f6da3f41fffb001868cd3f84e',1,'SINRICPRO_2_9_17']]], - ['colortemperaturecallback_407',['ColorTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a9828094e72d45dc55a1023fd677f0cc5',1,'SINRICPRO_2_9_17']]], - ['connectedcallbackhandler_408',['ConnectedCallbackHandler',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#af256b98e6806c944c9c386821a45d01e',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_3.html b/docs/docs/search/typedefs_3.html deleted file mode 100644 index 0170047..0000000 --- a/docs/docs/search/typedefs_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_3.js b/docs/docs/search/typedefs_3.js deleted file mode 100644 index 32a6648..0000000 --- a/docs/docs/search/typedefs_3.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['decreasecolortemperaturecallback_409',['DecreaseColorTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ae64ac4d2aa913eeb244091c7a13d2ecc',1,'SINRICPRO_2_9_17']]], - ['disconnectedcallbackhandler_410',['DisconnectedCallbackHandler',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a6cc95068e9f18665e76c37a621ca2ceb',1,'SINRICPRO_2_9_17']]], - ['doorcallback_411',['DoorCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aaa6633dc67bd8f69e2f14cc0dc0a4466',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_4.html b/docs/docs/search/typedefs_4.html deleted file mode 100644 index 81466a5..0000000 --- a/docs/docs/search/typedefs_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_4.js b/docs/docs/search/typedefs_4.js deleted file mode 100644 index 62c180b..0000000 --- a/docs/docs/search/typedefs_4.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['genericadjustrangevaluecallback_5fint_412',['GenericAdjustRangeValueCallback_int',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a38dc8a8eb0e769ed32348b7166e39ad3',1,'SINRICPRO_2_9_17']]], - ['genericmodecallback_413',['GenericModeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#ac29fade927b50eac618999f84b29d02b',1,'SINRICPRO_2_9_17']]], - ['genericrangevaluecallback_5fint_414',['GenericRangeValueCallback_int',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a0acdc221a5d0592fea85aa0c7f236cf0',1,'SINRICPRO_2_9_17']]], - ['genericsetrangevaluecallback_5fint_415',['GenericSetRangeValueCallback_int',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a29997b424c4b141240a08d26406e4a14',1,'SINRICPRO_2_9_17']]], - ['generictogglestatecallback_416',['GenericToggleStateCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a87371479ad42795e9dc9344bd02a6312',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_5.html b/docs/docs/search/typedefs_5.html deleted file mode 100644 index 43fbec1..0000000 --- a/docs/docs/search/typedefs_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_5.js b/docs/docs/search/typedefs_5.js deleted file mode 100644 index 6f1753c..0000000 --- a/docs/docs/search/typedefs_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['increasecolortemperaturecallback_417',['IncreaseColorTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aed3d41935f8162074c2a2cc0168164dd',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_6.html b/docs/docs/search/typedefs_6.html deleted file mode 100644 index 99479c2..0000000 --- a/docs/docs/search/typedefs_6.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_6.js b/docs/docs/search/typedefs_6.js deleted file mode 100644 index 65da1f5..0000000 --- a/docs/docs/search/typedefs_6.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['keystrokecallback_418',['KeystrokeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a3dd7e26af9b9026ccc6f5328f563a8c3',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_7.html b/docs/docs/search/typedefs_7.html deleted file mode 100644 index 9a825e0..0000000 --- a/docs/docs/search/typedefs_7.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_7.js b/docs/docs/search/typedefs_7.js deleted file mode 100644 index 770e344..0000000 --- a/docs/docs/search/typedefs_7.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['lockstatecallback_419',['LockStateCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a53b5285d1315f98fa2c5dd27c7547ea5',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_8.html b/docs/docs/search/typedefs_8.html deleted file mode 100644 index e968613..0000000 --- a/docs/docs/search/typedefs_8.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_8.js b/docs/docs/search/typedefs_8.js deleted file mode 100644 index 52621ea..0000000 --- a/docs/docs/search/typedefs_8.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['mediacontrolcallback_420',['MediaControlCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a9e92d9efafd5313ef1b056030655c526',1,'SINRICPRO_2_9_17']]], - ['modecallback_421',['ModeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aa2d0fe1a7983a8ec5e8fb3e69a5af60f',1,'SINRICPRO_2_9_17']]], - ['mutecallback_422',['MuteCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a0e4c9c4ee0b526732bc0a868ac4f2c41',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_9.html b/docs/docs/search/typedefs_9.html deleted file mode 100644 index 2e91532..0000000 --- a/docs/docs/search/typedefs_9.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_9.js b/docs/docs/search/typedefs_9.js deleted file mode 100644 index c15626d..0000000 --- a/docs/docs/search/typedefs_9.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['powerstatecallback_423',['PowerStateCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aad370bc6b280bbdeac98181a31f22df4',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_a.html b/docs/docs/search/typedefs_a.html deleted file mode 100644 index bb6ac2a..0000000 --- a/docs/docs/search/typedefs_a.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_a.js b/docs/docs/search/typedefs_a.js deleted file mode 100644 index dbff9cb..0000000 --- a/docs/docs/search/typedefs_a.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['resetbandscallback_424',['ResetBandsCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aa8c78de42c40ee03966f3c96cdc05bab',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_b.html b/docs/docs/search/typedefs_b.html deleted file mode 100644 index 566bbec..0000000 --- a/docs/docs/search/typedefs_b.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_b.js b/docs/docs/search/typedefs_b.js deleted file mode 100644 index 293c368..0000000 --- a/docs/docs/search/typedefs_b.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['selectinputcallback_425',['SelectInputCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a2f7a91a480cd401f4df2f7ddda4a8f13',1,'SINRICPRO_2_9_17']]], - ['setbandscallback_426',['SetBandsCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#aaabec5dea3546d52e744a4b0b90c02f4',1,'SINRICPRO_2_9_17']]], - ['setpercentagecallback_427',['SetPercentageCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a3ab0c4ff332f49884fe6a75cb2a293c2',1,'SINRICPRO_2_9_17']]], - ['setpowerlevelcallback_428',['SetPowerLevelCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a5be6c20c0ba9e9b19bd76d42918451b2',1,'SINRICPRO_2_9_17']]], - ['settargettemperaturecallback_429',['SetTargetTemperatureCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a64ecf52eb927d219b3acabf01ad0d31f',1,'SINRICPRO_2_9_17']]], - ['setvolumecallback_430',['SetVolumeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a5744ad6a31085c216c2193b0f2d86673',1,'SINRICPRO_2_9_17']]], - ['skipchannelscallback_431',['SkipChannelsCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a434616b976d1339be63540d16977fa3d',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/search/typedefs_c.html b/docs/docs/search/typedefs_c.html deleted file mode 100644 index 974c71a..0000000 --- a/docs/docs/search/typedefs_c.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/docs/docs/search/typedefs_c.js b/docs/docs/search/typedefs_c.js deleted file mode 100644 index 1525e9d..0000000 --- a/docs/docs/search/typedefs_c.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['thermostatmodecallback_432',['ThermostatModeCallback',['../namespace_s_i_n_r_i_c_p_r_o__2__9__17.html#a6cb473352a45a2ae76a46a4292c95a8c',1,'SINRICPRO_2_9_17']]] -]; diff --git a/docs/docs/splitbar.png b/docs/docs/splitbar.png deleted file mode 100644 index fe895f2..0000000 Binary files a/docs/docs/splitbar.png and /dev/null differ diff --git a/docs/docs/sync_off.png b/docs/docs/sync_off.png deleted file mode 100644 index 3b443fc..0000000 Binary files a/docs/docs/sync_off.png and /dev/null differ diff --git a/docs/docs/sync_on.png b/docs/docs/sync_on.png deleted file mode 100644 index e08320f..0000000 Binary files a/docs/docs/sync_on.png and /dev/null differ diff --git a/docs/docs/tab_a.png b/docs/docs/tab_a.png deleted file mode 100644 index 3b725c4..0000000 Binary files a/docs/docs/tab_a.png and /dev/null differ diff --git a/docs/docs/tab_b.png b/docs/docs/tab_b.png deleted file mode 100644 index e2b4a86..0000000 Binary files a/docs/docs/tab_b.png and /dev/null differ diff --git a/docs/docs/tab_h.png b/docs/docs/tab_h.png deleted file mode 100644 index fd5cb70..0000000 Binary files a/docs/docs/tab_h.png and /dev/null differ diff --git a/docs/docs/tab_s.png b/docs/docs/tab_s.png deleted file mode 100644 index ab478c9..0000000 Binary files a/docs/docs/tab_s.png and /dev/null differ diff --git a/docs/docs/tabs.css b/docs/docs/tabs.css deleted file mode 100644 index 85a0cd5..0000000 --- a/docs/docs/tabs.css +++ /dev/null @@ -1 +0,0 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 7f871ec..939e157 100644 --- a/docs/index.html +++ b/docs/index.html @@ -130,7 +130,7 @@


    Full user documentation

    -

    Please see here for full user documentation

    +

    Please see here for full user documentation


    Examples

    diff --git a/documentation.dox b/documentation.dox index 98efa6a..c0ecb1b 100644 --- a/documentation.dox +++ b/documentation.dox @@ -7,10 +7,4 @@ * * @defgroup Capabilities Capabilities * @brief Capabilities - * - * @defgroup Callbacks Callbacks - * @brief Callbacks - * - * @defgroup Override Override - * @brief overrides of request handler **/