From a0970d13512ddf9e6763604fa38b5529a6c1c419 Mon Sep 17 00:00:00 2001 From: Aruna Tennakoon Date: Tue, 21 Jun 2022 06:30:40 +0700 Subject: [PATCH 1/3] 2.9.18 - push notification feature --- changelog.md | 9 +++++++++ library.json | 2 +- library.properties | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 01329f52..3657cb2e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,13 @@ # Changelog + +## Version 2.9.18 +- Feature: Push Notification. + +```C++ +SinricProSwitch& mySwitch = SinricPro[SWITCH_ID]; +mySwitch.sendPushNotification("Hello SinricPro!"); +``` + ## Version 2.9.17 - Fixed: Case sensivitiy include [#251](https://github.com/sinricpro/esp8266-esp32-sdk/issues/251) - Fixed: platformio.ini example [#252](https://github.com/sinricpro/esp8266-esp32-sdk/issues/252) diff --git a/library.json b/library.json index 8ee3055a..8f71c17a 100644 --- a/library.json +++ b/library.json @@ -13,7 +13,7 @@ "maintainer": true } ], - "version": "2.9.17", + "version": "2.9.18", "frameworks": "arduino", "platforms": [ "espressif8266", diff --git a/library.properties b/library.properties index 357444f3..87e042bd 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SinricPro -version=2.9.17 +version=2.9.1 author=Boris Jaeger maintainer=Boris Jaeger sentence=Library for https://sinric.pro - simple way to connect your device to alexa From f229c9cae14764e5d4fa26b7f7f29d83ff4671aa Mon Sep 17 00:00:00 2001 From: Aruna Tennakoon Date: Tue, 21 Jun 2022 06:32:20 +0700 Subject: [PATCH 2/3] 2.9.18 - push notification feature --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 87e042bd..0a570d47 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SinricPro -version=2.9.1 +version=2.9.18 author=Boris Jaeger maintainer=Boris Jaeger sentence=Library for https://sinric.pro - simple way to connect your device to alexa From 415ce55af221216b5a8b2573aa3215c96ec7609b Mon Sep 17 00:00:00 2001 From: Aruna Tennakoon Date: Tue, 21 Jun 2022 10:41:40 +0700 Subject: [PATCH 3/3] 2.10.0 - version updated. example added --- README.md | 5 +++++ changelog.md | 7 +------ library.json | 2 +- library.properties | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ce87cd64..81d087d4 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,11 @@ Example 1 SinricPro["YOUR-DOORBELL-ID-HERE"].as().sendDoorbellEvent(); ``` +## How to send a push notification? +```C++ +SinricProSwitch& mySwitch = SinricPro[SWITCH_ID]; +mySwitch.sendPushNotification("Hello SinricPro!"); +``` --- diff --git a/changelog.md b/changelog.md index 3657cb2e..47ffc8db 100644 --- a/changelog.md +++ b/changelog.md @@ -1,13 +1,8 @@ # Changelog -## Version 2.9.18 +## Version 2.10.0 - Feature: Push Notification. -```C++ -SinricProSwitch& mySwitch = SinricPro[SWITCH_ID]; -mySwitch.sendPushNotification("Hello SinricPro!"); -``` - ## Version 2.9.17 - Fixed: Case sensivitiy include [#251](https://github.com/sinricpro/esp8266-esp32-sdk/issues/251) - Fixed: platformio.ini example [#252](https://github.com/sinricpro/esp8266-esp32-sdk/issues/252) diff --git a/library.json b/library.json index 8f71c17a..59acab0b 100644 --- a/library.json +++ b/library.json @@ -13,7 +13,7 @@ "maintainer": true } ], - "version": "2.9.18", + "version": "2.10.0", "frameworks": "arduino", "platforms": [ "espressif8266", diff --git a/library.properties b/library.properties index 0a570d47..02c066ca 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SinricPro -version=2.9.18 +version=2.10.0 author=Boris Jaeger maintainer=Boris Jaeger sentence=Library for https://sinric.pro - simple way to connect your device to alexa