From e90d7844c1db6c10e8528d1657db1c501e28fdfe Mon Sep 17 00:00:00 2001 From: Andrea Tosatto Date: Wed, 3 Oct 2018 21:51:49 +0200 Subject: [PATCH 1/6] New component tplink_lte with SMS notify service --- source/_components/notify.tplink_lte.markdown | 41 +++++++++++++++++++ source/_components/tplink_lte.markdown | 40 ++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 source/_components/notify.tplink_lte.markdown create mode 100644 source/_components/tplink_lte.markdown diff --git a/source/_components/notify.tplink_lte.markdown b/source/_components/notify.tplink_lte.markdown new file mode 100644 index 000000000000..f7a03eb9b485 --- /dev/null +++ b/source/_components/notify.tplink_lte.markdown @@ -0,0 +1,41 @@ +--- +layout: page +title: "TP-Link LTE Notify" +description: "Instructions on how to add TP-Link LTE notifications to Home Assistant." +date: 2018-10-03 21:30 +sidebar: true +comments: false +sharing: true +footer: true +logo: tp-link.png +ha_category: Notifications +ha_release: 0.80 +--- + +The `tplink_lte` platform allows you to use a TP-Link LTE router for notifications from Home Assistant. The message will be sent as an SMS text message. + +This requires you to have set up the [TP-Link LTE component](/components/tplink_lte/). + +```yaml +# Example configuration.yaml entry +notify: + - platform: tplink_lte + name: sms + target: "+15105550123" +``` + +{% configuration %} +target: + description: The phone number of a default recipient or a list with multiple recipients. + required: true + type: string, list +name: + description: Setting the optional parameter `name` allows multiple notifiers to be created. + required: false + default: notify + type: string +host: + description: The modem to use. Not needed if you only have one. + required: false + type: string +{% endconfiguration %} diff --git a/source/_components/tplink_lte.markdown b/source/_components/tplink_lte.markdown new file mode 100644 index 000000000000..74b160811209 --- /dev/null +++ b/source/_components/tplink_lte.markdown @@ -0,0 +1,40 @@ +--- +layout: page +title: "TP-Link LTE" +description: "Instructions on how to integrate your TP-Link LTE routers within Home Assistant." +date: 2018-08-03 21:30 +sidebar: true +comments: false +sharing: true +footer: true +logo: tp-link.png +ha_release: 0.80 +ha_category: Network +ha_iot_class: "Local Polling" +--- + +The TP-Link LTE integration for Home Assistant allows you to observe and control TP-Link LTE routers, currently only tested with TL-MR6400 (firmware 1.4.0). + +The integration provides a notify service that will send an SMS + +## {% linkable_title Configuration %} + +To enable the component, add the following lines to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +tplink_lte: + - host: IP_ADDRESS + password: SECRET +``` + +{% configuration %} +host: + description: The IP address of the router web interface. + required: true + type: string +password: + description: The password used for the router web interface. + required: true + type: string +{% endconfiguration %} From e061c4707774505f877e6c2cd3dd8084cd2a9d09 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 3 Oct 2018 22:39:18 +0200 Subject: [PATCH 2/6] :pencil2: Tweak --- source/_components/notify.tplink_lte.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/notify.tplink_lte.markdown b/source/_components/notify.tplink_lte.markdown index f7a03eb9b485..a8dfbbb8b7f5 100644 --- a/source/_components/notify.tplink_lte.markdown +++ b/source/_components/notify.tplink_lte.markdown @@ -9,7 +9,7 @@ sharing: true footer: true logo: tp-link.png ha_category: Notifications -ha_release: 0.80 +ha_release: "0.80" --- The `tplink_lte` platform allows you to use a TP-Link LTE router for notifications from Home Assistant. The message will be sent as an SMS text message. From e93a86ca2e9c5bababf8f10e41f6f766b4057ba3 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 3 Oct 2018 22:40:02 +0200 Subject: [PATCH 3/6] :pencil2: Tweak --- source/_components/tplink_lte.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/tplink_lte.markdown b/source/_components/tplink_lte.markdown index 74b160811209..a931e3e7f52a 100644 --- a/source/_components/tplink_lte.markdown +++ b/source/_components/tplink_lte.markdown @@ -8,14 +8,14 @@ comments: false sharing: true footer: true logo: tp-link.png -ha_release: 0.80 +ha_release: "0.80" ha_category: Network ha_iot_class: "Local Polling" --- The TP-Link LTE integration for Home Assistant allows you to observe and control TP-Link LTE routers, currently only tested with TL-MR6400 (firmware 1.4.0). -The integration provides a notify service that will send an SMS +The integration provides a notification service that will send an SMS. ## {% linkable_title Configuration %} From 43b34caccb22749461cb5a901c31632cd123ef35 Mon Sep 17 00:00:00 2001 From: Andrea Tosatto Date: Sun, 4 Nov 2018 12:28:51 +0100 Subject: [PATCH 4/6] Updated configuration to handle notify discovery. Bumped ha_release to 0.82 --- source/_components/notify.tplink_lte.markdown | 28 ++----------------- source/_components/tplink_lte.markdown | 23 +++++++++++++-- 2 files changed, 23 insertions(+), 28 deletions(-) diff --git a/source/_components/notify.tplink_lte.markdown b/source/_components/notify.tplink_lte.markdown index a8dfbbb8b7f5..8ca449c16d95 100644 --- a/source/_components/notify.tplink_lte.markdown +++ b/source/_components/notify.tplink_lte.markdown @@ -9,33 +9,9 @@ sharing: true footer: true logo: tp-link.png ha_category: Notifications -ha_release: "0.80" +ha_release: "0.82" --- The `tplink_lte` platform allows you to use a TP-Link LTE router for notifications from Home Assistant. The message will be sent as an SMS text message. -This requires you to have set up the [TP-Link LTE component](/components/tplink_lte/). - -```yaml -# Example configuration.yaml entry -notify: - - platform: tplink_lte - name: sms - target: "+15105550123" -``` - -{% configuration %} -target: - description: The phone number of a default recipient or a list with multiple recipients. - required: true - type: string, list -name: - description: Setting the optional parameter `name` allows multiple notifiers to be created. - required: false - default: notify - type: string -host: - description: The modem to use. Not needed if you only have one. - required: false - type: string -{% endconfiguration %} +See the [TP-Link LTE component](/components/tplink_lte/) for configuration and setup instructions. diff --git a/source/_components/tplink_lte.markdown b/source/_components/tplink_lte.markdown index a931e3e7f52a..22eddc179a8e 100644 --- a/source/_components/tplink_lte.markdown +++ b/source/_components/tplink_lte.markdown @@ -2,13 +2,13 @@ layout: page title: "TP-Link LTE" description: "Instructions on how to integrate your TP-Link LTE routers within Home Assistant." -date: 2018-08-03 21:30 +date: 2018-10-03 21:30 sidebar: true comments: false sharing: true footer: true logo: tp-link.png -ha_release: "0.80" +ha_release: "0.82" ha_category: Network ha_iot_class: "Local Polling" --- @@ -26,6 +26,11 @@ To enable the component, add the following lines to your `configuration.yaml` fi tplink_lte: - host: IP_ADDRESS password: SECRET + notify: + - name: sms1 + target: "+15105550123" + - name: sms2 + target: "+55520525252" ``` {% configuration %} @@ -37,4 +42,18 @@ password: description: The password used for the router web interface. required: true type: string +notify: + description: A list of notification services conneted to this specific host. + required: false + type: list + keys: + target: + description: The phone number of a default recipient or a list with multiple recipients. + required: true + type: string, list + name: + description: The name of the notification service. + required: false + default: notify + type: string {% endconfiguration %} From afe0ce854474da3911d2ed90e8f091f19420245b Mon Sep 17 00:00:00 2001 From: Andrea Tosatto Date: Mon, 5 Nov 2018 18:44:34 +0100 Subject: [PATCH 5/6] Bumped ha_release to 0.83. Added ha_io_class to notify --- source/_components/notify.tplink_lte.markdown | 3 ++- source/_components/tplink_lte.markdown | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_components/notify.tplink_lte.markdown b/source/_components/notify.tplink_lte.markdown index 8ca449c16d95..727014eb34a7 100644 --- a/source/_components/notify.tplink_lte.markdown +++ b/source/_components/notify.tplink_lte.markdown @@ -9,7 +9,8 @@ sharing: true footer: true logo: tp-link.png ha_category: Notifications -ha_release: "0.82" +ha_release: "0.83" +ha_iot_class: "Local Polling" --- The `tplink_lte` platform allows you to use a TP-Link LTE router for notifications from Home Assistant. The message will be sent as an SMS text message. diff --git a/source/_components/tplink_lte.markdown b/source/_components/tplink_lte.markdown index 22eddc179a8e..f0aebbd531a4 100644 --- a/source/_components/tplink_lte.markdown +++ b/source/_components/tplink_lte.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: tp-link.png -ha_release: "0.82" +ha_release: "0.83" ha_category: Network ha_iot_class: "Local Polling" --- From 1bd75efce0d2b49e48e28dca42154b3d5656022f Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 11 Nov 2018 14:10:16 +0100 Subject: [PATCH 6/6] :pencil2: Typo --- source/_components/tplink_lte.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/tplink_lte.markdown b/source/_components/tplink_lte.markdown index f0aebbd531a4..1adabfe82d92 100644 --- a/source/_components/tplink_lte.markdown +++ b/source/_components/tplink_lte.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: tp-link.png -ha_release: "0.83" +ha_release: 0.83 ha_category: Network ha_iot_class: "Local Polling" --- @@ -43,7 +43,7 @@ password: required: true type: string notify: - description: A list of notification services conneted to this specific host. + description: A list of notification services connected to this specific host. required: false type: list keys: