From 23bb2d7bda0da4928ba87cdedc73bab6450e8ee2 Mon Sep 17 00:00:00 2001 From: jxwolstenholme Date: Fri, 5 Oct 2018 10:05:10 +0100 Subject: [PATCH 1/7] Create page for bt_smarthub device tracker --- .../device_tracker.bt_smarthub.markdown | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 source/_components/device_tracker.bt_smarthub.markdown diff --git a/source/_components/device_tracker.bt_smarthub.markdown b/source/_components/device_tracker.bt_smarthub.markdown new file mode 100644 index 000000000000..989c89b2835c --- /dev/null +++ b/source/_components/device_tracker.bt_smarthub.markdown @@ -0,0 +1,31 @@ +--- +layout: page +title: "BT Smart Hub" +description: "Instructions on how to integrate BT Smart Hub router into Home Assistant." +date: 2018-10-05 10:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: bt.png +ha_category: Presence Detection +--- + + +This platform offers presence detection by looking at connected devices to a [BT Smart Hub](https://en.wikipedia.org/wiki/BT_Smart_Hub) based router. +This router is sometimes referred to as the BT Home Hub 6. + +To use a BT Smart Hub router in your installation, add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +device_tracker: + - platform: bt_smarthub + host: 192.168.1.254 +``` + +Configuration variables: + +- **host** (*Optional*): The IP address of your router, Default: 192.168.1.254. + +See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked. From 0a46624e6c4138aea7bed1eecfd169476a56b18e Mon Sep 17 00:00:00 2001 From: jxwolstenholme Date: Fri, 5 Oct 2018 11:51:54 +0100 Subject: [PATCH 2/7] Update device_tracker.bt_smarthub.markdown --- source/_components/device_tracker.bt_smarthub.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_components/device_tracker.bt_smarthub.markdown b/source/_components/device_tracker.bt_smarthub.markdown index 989c89b2835c..165b6aa10f1f 100644 --- a/source/_components/device_tracker.bt_smarthub.markdown +++ b/source/_components/device_tracker.bt_smarthub.markdown @@ -9,6 +9,7 @@ sharing: true footer: true logo: bt.png ha_category: Presence Detection +ha_release: "0.79.4" --- From ccfa8fbe51eed3849c535ab003ebd0cc9864ce96 Mon Sep 17 00:00:00 2001 From: jxwolstenholme Date: Fri, 5 Oct 2018 11:57:13 +0100 Subject: [PATCH 3/7] Update device_tracker.bt_smarthub.markdown --- .../_components/device_tracker.bt_smarthub.markdown | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/source/_components/device_tracker.bt_smarthub.markdown b/source/_components/device_tracker.bt_smarthub.markdown index 165b6aa10f1f..60e32e64bfd1 100644 --- a/source/_components/device_tracker.bt_smarthub.markdown +++ b/source/_components/device_tracker.bt_smarthub.markdown @@ -22,11 +22,17 @@ To use a BT Smart Hub router in your installation, add the following to your `co # Example configuration.yaml entry device_tracker: - platform: bt_smarthub - host: 192.168.1.254 + ``` +{% configuration %} +host: + description: The IP address of your router + Default: 192.168.1.254 + required: false + type: string + -Configuration variables: +{% endconfiguration %} -- **host** (*Optional*): The IP address of your router, Default: 192.168.1.254. See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked. From 9a82d8973588d4bc2f2d3d8e06ed7bd4756d66a3 Mon Sep 17 00:00:00 2001 From: jxwolstenholme Date: Fri, 5 Oct 2018 11:58:13 +0100 Subject: [PATCH 4/7] Update device_tracker.bt_smarthub.markdown --- source/_components/device_tracker.bt_smarthub.markdown | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/_components/device_tracker.bt_smarthub.markdown b/source/_components/device_tracker.bt_smarthub.markdown index 60e32e64bfd1..b0e9ff86560e 100644 --- a/source/_components/device_tracker.bt_smarthub.markdown +++ b/source/_components/device_tracker.bt_smarthub.markdown @@ -30,9 +30,7 @@ host: Default: 192.168.1.254 required: false type: string - - {% endconfiguration %} -See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked. +See the [device tracker component page](/components/device_tracker/) for instructions on how to configure the people to be tracked. From d9be725e2d607aa383c2ffbd598e835d16e71cb1 Mon Sep 17 00:00:00 2001 From: jxwolstenholme Date: Fri, 5 Oct 2018 12:15:26 +0100 Subject: [PATCH 5/7] Update device_tracker.bt_smarthub.markdown --- source/_components/device_tracker.bt_smarthub.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/device_tracker.bt_smarthub.markdown b/source/_components/device_tracker.bt_smarthub.markdown index b0e9ff86560e..f9246a08d977 100644 --- a/source/_components/device_tracker.bt_smarthub.markdown +++ b/source/_components/device_tracker.bt_smarthub.markdown @@ -9,7 +9,7 @@ sharing: true footer: true logo: bt.png ha_category: Presence Detection -ha_release: "0.79.4" +ha_release: "0.80" --- From 8cd97e3d0e58fc9f77599c977e2b19a65ef4a78e Mon Sep 17 00:00:00 2001 From: jxwolstenholme Date: Wed, 17 Oct 2018 09:30:16 +0100 Subject: [PATCH 6/7] Fix unnecessary blank lines --- source/_components/device_tracker.bt_smarthub.markdown | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/_components/device_tracker.bt_smarthub.markdown b/source/_components/device_tracker.bt_smarthub.markdown index f9246a08d977..cf37ca633dcf 100644 --- a/source/_components/device_tracker.bt_smarthub.markdown +++ b/source/_components/device_tracker.bt_smarthub.markdown @@ -12,7 +12,6 @@ ha_category: Presence Detection ha_release: "0.80" --- - This platform offers presence detection by looking at connected devices to a [BT Smart Hub](https://en.wikipedia.org/wiki/BT_Smart_Hub) based router. This router is sometimes referred to as the BT Home Hub 6. @@ -22,15 +21,14 @@ To use a BT Smart Hub router in your installation, add the following to your `co # Example configuration.yaml entry device_tracker: - platform: bt_smarthub - ``` + {% configuration %} host: description: The IP address of your router - Default: 192.168.1.254 + default: 192.168.1.254 required: false type: string {% endconfiguration %} - See the [device tracker component page](/components/device_tracker/) for instructions on how to configure the people to be tracked. From b5fa6860136ccd7f436d2261ad11e783f4d8a11e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 28 Oct 2018 23:55:15 +0100 Subject: [PATCH 7/7] Add missing elements --- source/_components/device_tracker.bt_smarthub.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/_components/device_tracker.bt_smarthub.markdown b/source/_components/device_tracker.bt_smarthub.markdown index cf37ca633dcf..1f6f4f77f216 100644 --- a/source/_components/device_tracker.bt_smarthub.markdown +++ b/source/_components/device_tracker.bt_smarthub.markdown @@ -9,12 +9,15 @@ sharing: true footer: true logo: bt.png ha_category: Presence Detection -ha_release: "0.80" +ha_release: "0.82" +ha_iot_class: "Local Polling" --- This platform offers presence detection by looking at connected devices to a [BT Smart Hub](https://en.wikipedia.org/wiki/BT_Smart_Hub) based router. This router is sometimes referred to as the BT Home Hub 6. +## {% linkable_title Configuration %} + To use a BT Smart Hub router in your installation, add the following to your `configuration.yaml` file: ```yaml