diff --git a/source/_components/automation.markdown b/source/_components/automation.markdown index 86da3cdd2cf..181d28ba123 100644 --- a/source/_components/automation.markdown +++ b/source/_components/automation.markdown @@ -11,7 +11,7 @@ logo: home-assistant.png ha_category: Automation --- -Please see the [getting started section](/getting-started/automation/) for in-depth documentation on how to use the automation component. +Please see the [docs section](/docs/automation/) for in-depth documentation on how to use the automation component. Starting with 0.28 your automation rules can be controlled with the frontend. diff --git a/source/_components/binary_sensor.aurora.markdown b/source/_components/binary_sensor.aurora.markdown index 5680e247780..08c485a37cb 100644 --- a/source/_components/binary_sensor.aurora.markdown +++ b/source/_components/binary_sensor.aurora.markdown @@ -9,7 +9,9 @@ sharing: true footer: true ha_category: Binary Sensor ha_release: 0.39 +logo: noaa.png --- + The `aurora` platform uses the [NOAA aurora forecast](http://www.swpc.noaa.gov/products/aurora-30-minute-forecast) service to let you know if an aurora might be visible at your home location in the next 30 minutes, based off of current solar flare activity. This service gives a number 0-100 representing the current likelihood of visible auroras at your latitude/longitude. By default this sensor is set up to trigger when the reported likelihood for your location is > 75. It updates every 5 minutes. @@ -24,9 +26,10 @@ binary_sensor: - platform: aurora ``` -#### Configuration variables: +Configuration variables: - **forecast_threshold** (*Optional*): Provide your own threshold number above which the sensor will trigger. Defaults to 75. +- **name** (*Optional*): The name of the sensor. Default is 'Aurora Visibility'. ```yaml binary_sensor: diff --git a/source/_components/device_tracker.bluetooth_le_tracker.markdown b/source/_components/device_tracker.bluetooth_le_tracker.markdown index dc407b3dd2d..ccd8bbddaf3 100644 --- a/source/_components/device_tracker.bluetooth_le_tracker.markdown +++ b/source/_components/device_tracker.bluetooth_le_tracker.markdown @@ -13,16 +13,24 @@ ha_iot_class: "Local Poll" ha_release: 0.27 --- -This tracker discovers new devices on boot and in regular intervals and tracks bluetooth low-energy devices periodically based on interval_seconds value. It is not required to pair the devices with each other! +

+We have received numerous reports that this integration will have a big impact on the performance of the server. +

+ +This tracker discovers new devices on boot and in regular intervals and tracks bluetooth low-energy devices periodically based on interval_seconds value. It is not required to pair the devices with each other. Devices discovered are stored with 'BLE_' as the prefix for device mac addresses in `known_devices.yaml`. -This platform requires pybluez to be installed. On Debian based installs, run `sudo apt install bluetooth libbluetooth-dev pkg-config libboost-python-dev libboost-thread-dev libglib2.0-dev python-dev` +This platform requires pybluez to be installed. On Debian based installs, run + +```bash +$ sudo apt install bluetooth libbluetooth-dev pkg-config libboost-python-dev libboost-thread-dev libglib2.0-dev python-dev +``` Before you get started with this platform, please note that: + - This platform is incompatible with Windows - This platform requires root privileges - - Don't use on a Raspberry Pi. It will become unusable slow when using this platform. To use the Bluetooth tracker in your installation, add the following to your `configuration.yaml` file: diff --git a/source/_components/emulated_hue.markdown b/source/_components/emulated_hue.markdown index fb6def109f8..47bb5291387 100644 --- a/source/_components/emulated_hue.markdown +++ b/source/_components/emulated_hue.markdown @@ -39,7 +39,7 @@ emulated_hue: Configuration variables: -- **type** (*Optional*): The type of assistant who we are emulated for. Either `alexa` or `google_home`, defaults to `alexa`. +- **type** (*Optional*): The type of assistant who we are emulated for. Either `alexa` or `google_home`, defaults to `google_home`. - **host_ip** (*Optional*): The IP address that your Home Assistant installation is running on. If you do not specify this option, the component will attempt to determine the IP address on its own. - **listen_port** (*Optional*): The port the Hue bridge API web server will run on. If not specified, this defaults to 8300. This can be any free port on your system. diff --git a/source/_components/light.mqtt.markdown b/source/_components/light.mqtt.markdown index 2d34dcbadff..3b423e62eaf 100644 --- a/source/_components/light.mqtt.markdown +++ b/source/_components/light.mqtt.markdown @@ -11,9 +11,9 @@ logo: mqtt.png ha_category: Light --- -The `mqtt` light platform lets you control your MQTT enabled light. It supports setting brightness, color temperature, effects, flashing, on/off, RGB colors, transitions, XY colors and white values. +The `mqtt` light platform lets you control your MQTT enabled lights. It supports setting brightness, color temperature, effects, flashing, on/off, RGB colors, transitions, XY colors and white values. -In an ideal scenario, the MQTT device will have a state topic to publish state changes. If these messages are published with RETAIN flag, the MQTT switch will receive an instant state update after subscription and will start with correct state. Otherwise, the initial state of the switch will be false/off. +In an ideal scenario, the MQTT device will have a state topic to publish state changes. If these messages are published with RETAIN flag, the MQTT light will receive an instant state update after subscription and will start with correct state. Otherwise, the initial state of the switch will be false/off. When a state topic is not available, the light will work in optimistic mode. In this mode, the light will immediately change state after every command. Otherwise, the light will wait for state confirmation from device (message from `state_topic`). @@ -127,4 +127,5 @@ light: ### {% linkable_title Implementations %} -A basic example using a nodeMCU board (ESP8266) to control its built-in led (on/off) can be found [here](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_light). [Here](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_rgb_light) is another example to control a RGB led (on/off, brightness and colors). +- A [basic example](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_light) using a nodeMCU board (ESP8266) to control its built-in LED (on/off). +- Another [example](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_rgb_light) to control a RGB LED (on/off, brightness, and colors). diff --git a/source/_components/light.mqtt_json.markdown b/source/_components/light.mqtt_json.markdown index d707abccb04..36ce8f23ca2 100644 --- a/source/_components/light.mqtt_json.markdown +++ b/source/_components/light.mqtt_json.markdown @@ -121,6 +121,8 @@ light: ### {% linkable_title Implementations %} -A full example of custom lighting using this platform and an ESP8266 microcontroller can be found [here](https://github.com/corbanmailloux/esp-mqtt-rgb-led). It supports on/off, brightness, transitions, RGB colors, and flashing. +- A full example of custom lighting using this platform and an ESP8266 microcontroller can be found [here](https://github.com/corbanmailloux/esp-mqtt-rgb-led). It supports on/off, brightness, transitions, RGB colors, and flashing. -There is also another implementation forked from the above repo, it supports all the same features but is made for addressable LED strips using FastLED on a NodeMCU V3 it can be found [here](https://github.com/JammyDodger231/nodemcu-mqtt-rgb-led) +- There is also another implementation forked from the above repo, it supports all the same features but is made for addressable LED strips using FastLED on a NodeMCU V3 it can be found [here](https://github.com/JammyDodger231/nodemcu-mqtt-rgb-led). + +- [MQTT JSON Light](https://github.com/mertenats/Open-Home-Automation/tree/master/ha_mqtt_rgbw_light_with_discovery) is another implementation for ESP8266 including [MQTT discovery](/docs/mqtt/discovery/). diff --git a/source/_components/light.rflink.markdown b/source/_components/light.rflink.markdown index e6cd27975b4..e596e1259b0 100644 --- a/source/_components/light.rflink.markdown +++ b/source/_components/light.rflink.markdown @@ -47,10 +47,10 @@ Configuration variables: Device configuration variables: - **name** (*Optional*): Name for the device, defaults to Rflink ID. -- **type** (*Optional*): Override automatically detected type of the light device, can be: switchable, dimmable, hybrid or toggle. See 'Light Types' below. +- **type** (*Optional*): Override automatically detected type of the light device, can be: switchable, dimmable, hybrid or toggle. See 'Light Types' below. (default: Switchable) - **aliasses** (*Optional*): Alternative Rflink ID's this device is known by. - **fire_event** (*Optional*): Fire an `button_pressed` event if this device is turned on or off (default: False). -- **signal_repetitions** (*Optional*): Repeat every Rflink command this number of times (default: 1) +- **signal_repetitions** (*Optional*): Repeat every Rflink command this number of times (default: 1). - **fire_event_** (*Optional*): Set default `fire_event` for RFLink switch devices (see below). - **signal_repetitions** (*Optional*): Set default `signal_repetitions` for RFLink switch devices (see below). @@ -71,6 +71,10 @@ light: aliasses: - newkaku_000000001_2 - kaku_000001_a + Ansluta_ce30_0: + name: Kitchen Under Counter Lights + Maclean_0d82_01: + name: Bedroom Lamp ``` Any on/off command from any allias ID updates the current state of the light. However when sending a command through the frontend only the primary ID is used. diff --git a/source/_components/logger.markdown b/source/_components/logger.markdown index 126a8384f4b..72e7b2f0f7a 100644 --- a/source/_components/logger.markdown +++ b/source/_components/logger.markdown @@ -67,3 +67,9 @@ data: homeassistant.components: warning homeassistant.components.media_player.yamaha: debug ``` + +The log information are stored in the [configuration directory](/docs/configuration/) as `home-assistant.log` and you can read it with the command-line tool `cat` or follow it dynamicly with `tail -f`. If you are a Rasbian user then like the example below: + +```bash +$ tail -f /home/pi/.homeassistant/home-assistant.log +``` diff --git a/source/_components/lutron_caseta.markdown b/source/_components/lutron_caseta.markdown new file mode 100644 index 00000000000..073694ec89e --- /dev/null +++ b/source/_components/lutron_caseta.markdown @@ -0,0 +1,39 @@ +--- +layout: page +title: "Lutron Caseta" +description: "Instructions how to use Lutron Caseta devices with Home Assistant." +date: 2017-01-28 13:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: lutron.png +ha_category: Hub +featured: False +ha_release: 0.41 +--- + +[Lutron](http://www.lutron.com/) is an American lighting control company. They have several lines of home automation devices that manage light switches/dimmers, occupancy sensors, HVAC controls, etc. The `lutron_caseta` component in Home Assistant is responsible for communicating with the Lutron SmartBridge for these systems. + +This component only supports the Caseta line of products. Current only supports Caseta dimmers as Home Assistant lights and caseta wall switches as Home Assistant switches. + +When configured, the `lutron_caseta` component will automatically discover dimmers and switches as setup in the Lutron SmartBridge. + +To use Lutron Caseta devices in your installation, add the following to your configuration.yaml file using the IP of your lutron Smartbridge: + +``` yaml +lutron_caseta: + host: + username: lutron + password: integration +``` + +Configuration variables: + +- **host** (*Required*): The IP address of the Lutron SmartBridge. +- **username** (*Required*): The login name of the user. The user `lutron` always exists. +- **password** (*Required*): The password for the user specified above. `integration` is the password for the always-present `lutron` user. + +

+ It is recommended to assign a static IP address to your Lutron SmartBridge. This ensures that it won't change IP address, so you won't have to change the `host` if it reboots and comes up with a different IP address. +

diff --git a/source/_components/media_player.nad.markdown b/source/_components/media_player.nad.markdown index eaf93d8aed0..b35a5ea99b1 100644 --- a/source/_components/media_player.nad.markdown +++ b/source/_components/media_player.nad.markdown @@ -23,12 +23,6 @@ To add an NAD receiver to your installation, add the following to your `configur media_player: - platform: nad serial_port: /dev/ttyUSB0 - name: NAD Receiver - min_volume: -60 - max_volume: -20 - sources: - 1: 'Kodi' - 2: 'TV' ``` Configuration variables: @@ -39,8 +33,7 @@ Configuration variables: - **max_volume** (*optional*): Maximum volume in dB to use with the slider. Default is `-20` - **sources** (*Optional*): A list of mappings from source to source name. Valid sources are `1 to 10`. -The min_volume and max_volume are there to protect you against misclicks on the slider so you will not blow up your speakers when you go from -92dB to +20dB. -You can still force it to go higher or lower than the values set with the plus and minus buttons. +The min_volume and max_volume are there to protect you against misclicks on the slider so you will not blow up your speakers when you go from -92dB to +20dB. You can still force it to go higher or lower than the values set with the plus and minus buttons.

On linux the user running home-assistant needs `dialout` permissions to access the serial port. @@ -48,3 +41,17 @@ This can be added to the user by doing `sudo usermod -a -G dialout `. Be aware that the user might need to logout and logon again to activate these permissions.

+A full configuration example could look like this: + +```yaml +# Example configuration.yaml entry +media_player: + - platform: nad + serial_port: /dev/ttyUSB0 + name: NAD Receiver + min_volume: -60 + max_volume: -20 + sources: + 1: 'Kodi' + 2: 'TV' +``` diff --git a/source/_components/rflink.markdown b/source/_components/rflink.markdown index ddbc650e759..6e14945c919 100644 --- a/source/_components/rflink.markdown +++ b/source/_components/rflink.markdown @@ -12,7 +12,7 @@ ha_category: Hub ha_release: 0.38 --- -The `rflink` component support devices that use [RFLink gateway firmware](http://www.nemcon.nl/blog2/), for example the [Nodo RFLink Gateway](https://www.nodo-shop.nl/nl/21-rflink-gateway). RFLink gateway is an Arduino firmware that allows two-way communication with a multitude of RF wireless devices using cheap hardware (Arduino + transceiver). +The `rflink` component support devices that use [RFLink gateway firmware](http://www.nemcon.nl/blog2/), for example the [Nodo RFLink Gateway](https://www.nodo-shop.nl/nl/21-rflink-gateway). RFLink gateway is an Arduino Mega firmware that allows two-way communication with a multitude of RF wireless devices using cheap hardware (Arduino + transceiver). The 433 Mhz spectrum is used by many manufacturers mostly using their own protocol/standard and includes devices like: light switches, blinds, weather stations, alarms and various other sensors. diff --git a/source/_components/scene.wink.markdown b/source/_components/scene.wink.markdown new file mode 100644 index 00000000000..50ef56848f4 --- /dev/null +++ b/source/_components/scene.wink.markdown @@ -0,0 +1,19 @@ +--- +layout: page +title: "Wink Scene" +description: "Instructions how to setup the Wink scenes(shortcuts) within Home Assistant." +date: 2017-04-01 16:45 +sidebar: true +comments: false +sharing: true +footer: true +logo: wink.png +ha_category: Scene +ha_release: 0.41 +ha_iot_class: "Cloud Polling" +--- + + +The Wink scene platform allows you to control your [Wink](http://www.wink.com/) shortcuts. + +The requirement is that you have setup [Wink](/components/wink/). diff --git a/source/_components/sensor.min_max.markdown b/source/_components/sensor.min_max.markdown index e9765554419..b149ea179a9 100644 --- a/source/_components/sensor.min_max.markdown +++ b/source/_components/sensor.min_max.markdown @@ -39,7 +39,7 @@ sensor: Configuration variables: -- **entity_ids** (*Required*): At least two entities to monitor +- **entity_ids** (*Required*): At least two entities to monitor. The unit of measurement of the first entry will be the one that's used. All entities must use the same unit of measurement. - **type** (*Optional*): The type of sensor: `min`, `max` or `mean`. Defaults to `max`. - **name** (*Optional*): Name of the sensor to use in the frontend. - **round_digits** (*Optional*): Round mean value to specified number of digits. Defaults to 2. diff --git a/source/_components/sensor.yweather.markdown b/source/_components/sensor.yweather.markdown index e08539154e7..487c1a3047e 100644 --- a/source/_components/sensor.yweather.markdown +++ b/source/_components/sensor.yweather.markdown @@ -13,7 +13,7 @@ ha_release: 0.24 --- -The `yweather` platform uses [Yahoo Weather](https://www.yahoo.com/news/weather/) as an source for current meteorological data. The `forecast` will show you the condition for 5 days, 0 is the current day. You can use only `weather`, `temp_min`, and `temp_max` with forecast. +The `yweather` platform uses [Yahoo Weather](https://www.yahoo.com/news/weather/) as an source for current meteorological data. The `forecast` will show you the condition for 5 days, 0 is the current day. You can use only `weather`, `temp_min`, and `temp_max` with forecast. It's important to note that a yweather sensor will only show ONE days forecast at a time so to show multiple days forecasts, you will need to use the 'name:' option and give each sensor a unique name.

Use of the Yahoo Weather API should not exceed reasonable request volume. Access is limited to 2,000 signed calls per day. @@ -55,6 +55,37 @@ Configuration variables: - **pressure**: The sea-level air pressure in millibars. - **visibility**: The average visibility. +Example of forecast using multiple days. In example, first sensor shows tomorrow's forecast, second sensor shows the next day and so on: + +```yaml +# Example configuration.yaml entry +sensor: + - platform: yweather + forecast: 1 + name: yw_day1 + monitored_conditions: + - weather + - temp_min + - temp_max + + - platform: yweather + forecast: 2 + name: yw_day2 + monitored_conditions: + - weather + - temp_min + - temp_max + + - platform: yweather + forecast: 3 + name: yw_day3 + monitored_conditions: + - weather + - temp_min + - temp_max + +``` + Details about the API are available in the [Yahoo! Developer Network](https://developer.yahoo.com/weather/). diff --git a/source/_docs/configuration/templating.markdown b/source/_docs/configuration/templating.markdown index bb94a2c912e..03fda9722b2 100644 --- a/source/_docs/configuration/templating.markdown +++ b/source/_docs/configuration/templating.markdown @@ -23,14 +23,14 @@ Templating is a powerful feature in Home Assistant that allows the user control - Formatting outgoing messages in, for example, the [notify] and [alexa] components. - Process incoming data from sources that provide raw data, like [MQTT], [REST sensor], or the [command line sensor]. -- [Advanced Automation templating]auto-template] +- [Automation Templating]. [notify]: /components/notify/ [alexa]: /components/alexa/ [MQTT]: /components/mqtt/ [REST sensor]: /components/sensor.rest/ [command line sensor]: /components/sensor.command_line/ -[auto-template]: /getting-started/automation-templating/ +[Automation Templating]: /docs/automation/templating/ ## {% linkable_title Building templates %} diff --git a/source/_docs/ecosystem/apache.markdown b/source/_docs/ecosystem/apache.markdown index 94d0a1cf20b..31747c477a2 100644 --- a/source/_docs/ecosystem/apache.markdown +++ b/source/_docs/ecosystem/apache.markdown @@ -55,7 +55,7 @@ If you don't want HTTPS, you can change `` to ` In case you are getting occasional HTTP 504 error messages ("Gateway Timeout") when accessing the Web UI through your proxy, try adding disablereuse=on to both ProxyPass directives: - +

```text [...] @@ -65,7 +65,6 @@ In case you are getting occasional HTTP 504 error messages ("Gateway Timeout") w [...] ``` -

#### {% linkable_title Multiple Instance %} diff --git a/source/_docs/hassbian/customization.markdown b/source/_docs/hassbian/customization.markdown index 2c86da09b93..86f7b28b4c4 100644 --- a/source/_docs/hassbian/customization.markdown +++ b/source/_docs/hassbian/customization.markdown @@ -14,7 +14,7 @@ To allow you to customize your installation further, we have included a set of H - Install Samba. Allows anyone on your network to edit your configuration from any computer. This share is unsecured and it's usage is not recommended if you share your network with others. - Install Libcec. Adds local [HDMI CEC support][cec]. - - Install Mossquitto MQTT server. Installs the latest Mosquitto package and client tools from the Mosquitto projects offical repository. Now includes websocket support. + - Install Mosquitto MQTT server. Installs the latest Mosquitto package and client tools from the Mosquitto projects offical repository. Now includes websocket support. - Install Open Z-Wave. Installs Open Z-Wave and prepares for using a USB or GPIO ZWave controller. All of these scripts are available in the directory `/home/pi/hassbian-scripts/`. For more information about these scripts have a look at the [hassbian-scripts repository][hassbian-repo]. diff --git a/source/_docs/installation/archlinux.markdown b/source/_docs/installation/archlinux.markdown index 8fa7188f0a7..46ac33c5da5 100644 --- a/source/_docs/installation/archlinux.markdown +++ b/source/_docs/installation/archlinux.markdown @@ -24,7 +24,7 @@ and Home Assistant itself. $ pip3 install homeassistant ``` -Home Assistant is part of the [AUR](https://aur.archlinux.org/packages/home-assistant/). This meand that it can be installed directly with `pacman`: +Home Assistant is part of the [AUR](https://aur.archlinux.org/packages/home-assistant/). This means that it can be installed directly with `pacman`: ```bash $ sudo pacman -S home-assistant diff --git a/source/_includes/asides/docs_navigation.html b/source/_includes/asides/docs_navigation.html index d71c8929a24..771ac9b3035 100644 --- a/source/_includes/asides/docs_navigation.html +++ b/source/_includes/asides/docs_navigation.html @@ -6,7 +6,7 @@ {% active_link /docs/installation/ Installation %} diff --git a/source/_posts/2017-04-01-thomas-krenn-award.markdown b/source/_posts/2017-04-01-thomas-krenn-award.markdown new file mode 100644 index 00000000000..54cb23a4f79 --- /dev/null +++ b/source/_posts/2017-04-01-thomas-krenn-award.markdown @@ -0,0 +1,40 @@ +--- +layout: post +title: "Thomas Krenn award 2017" +description: "Thomas Krenn award 2017" +date: 2017-04-01 06:00:00 +0000 +date_formatted: "April 01, 2017" +author: Fabian Affolter +comments: true +categories: Community +og_image: /images/blog/2017-04-award/social.png +--- + +You may already know from our social media channels and the release blog post for 0.41: We are now an award-winning Open source project. The jury of the [Thomas-Krenn-Award][award] put us on the 2nd place. This is an awesome achievment for an independent community project. + +I would like to thanks all contributors. Your endless effort made this possible. + + + +The prize beside the very nice trophy contains hardware and we want to give that hardware partically away. We won four [Low Energy Server v2 (LES)][LES] units with an Intel Celeron N2930, 8 GB of RAM, and a mSATA of 128 GB (one unit with 64 GB). We were thinking about to keep one of those units in Europe and one in North America for testing and to use during workshops and events. But the other two will go to interested parties. + +As a raffle would be to easy, we make a contest out of it. This means that we are looking for your application. Of course, we would like to see those systems goes to active or future developers who can justify their need for one of the systems to run CI, UI tests, public accessible Home Assistant demo instances, etc. At the other hand we would like to keep it open, to see with what people are coming up. Please participate as well if you are planning to automate the public school of your kids with 1000 switches or light, need a server to run it, and want to provide regular feedback about the user experience. + +Create an entry in our [Forum][forum]. Be creative and use your imagination. + + +### {% linkable_title The details %} + +- Jury: The Home Assistant community +- Dead line: April, 23 2017 - 23.59 UTC +- Voting period: April, 24th till April, 30 2017 - 23.59 UTC + +The decision of the jury will be final. If there will be a dispute then the Top-5 commiter of the Home Assistant organisation on Github will decide. Also, we reserve us the right to ban applications if we suspect cheating or unfair methods. Updates will be available in the [Forum][forum] and on [Twitter][twitter]. + +Keep in mind that you may have to pay the fee for customs handling and the import duty by yourself. The plan is to ship the hardware from Germany. If you are located in a country with import/export regulations, we may not be able to ship the hardware to you. + +[LES]: https://www.thomas-krenn.com/en/products/low-energy-systems/les-v2.html +[award]: https://www.thomas-krenn.com/de/tkmag/allgemein/zammad-home-assistant-und-freifunk-das-sind-die-gewinner-des-thomas-krenn-awards-2017/ +[forum]: https://community.home-assistant.io/c/contest-2017 +[twitter]: https://twitter.com/home_assistant + diff --git a/source/components/index.html b/source/components/index.html index e2b1fbe6f39..20acc5991f5 100644 --- a/source/components/index.html +++ b/source/components/index.html @@ -124,6 +124,11 @@ allComponents.pop(); // remove placeholder element at the end // set default value in search from URL jQuery('.component-search input').val(decodeURIComponent(location.hash).substring(8)); } + + // add focus to the search field - even on IE + setTimeout(function () { + jQuery('.component-search input').focus(); + }, 1); } init(); @@ -222,36 +227,6 @@ allComponents.pop(); // remove placeholder element at the end return false; }); - - /** - * Simple debounce implementation, based on http://davidwalsh.name/javascript-debounce-function - */ - function debounce(func, wait, immediate) { - var timeout; - return function() { - var context = this, args = arguments; - var later = function() { - timeout = null; - if (!immediate) { - func.apply(context, args); - } - }; - var callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) { - func.apply(context, args); - } - }; - }; - // update view by search text - $('.component-search input').keyup(debounce(function() { - var text = $(this).val(); - // sanitize input - text = text.replace(/[(\?|\&\{\}\(\))]/gi, ''); - updateHash('#search/' + text); - applyFilter(); - }, 500)); /** * Simple debounce implementation, based on http://davidwalsh.name/javascript-debounce-function @@ -286,6 +261,5 @@ allComponents.pop(); // remove placeholder element at the end window.addEventListener('hashchange', applyFilter); applyFilter(); - })(); diff --git a/source/getting-started/presence-detection.markdown b/source/getting-started/presence-detection.markdown index b3956b7213a..2bcfe1cf479 100644 --- a/source/getting-started/presence-detection.markdown +++ b/source/getting-started/presence-detection.markdown @@ -29,7 +29,7 @@ The device tracker component offers presence detection for Home Assistant. It su Scanning for connected devices is easy to setup. See the instructions for our [supported routers][routers] or [scan the network using nmap][nmap]. This approach does have its limitations, however: it will only be able to detect if a device is home, and iPhones may show as not home inaccurately (as iPhones disconnect from WiFi if idle). -Home Assistant currently supports two third-party services for presence detection: [OwnTracks][ha-owntracks] and [Locative][ha-locative]. OwnTracks is an app that you install on your iPhone or Android phone that allows you to push the location of your device to Home Assistant using an MQTT broker. An MQTT broker is an Internet of Things communication platform that you can [freely host yourself][mqtt-self] or get [a private instance for free in the cloud](/components/mqtt/#run-your-own). +Home Assistant currently supports multiple third-party services for presence detection: [OwnTracks][ha-owntracks], [GPSLogger][ha-gpslogger] and [Locative][ha-locative]. OwnTracks is an app that you install on your iPhone or Android phone that allows you to push the location of your device to Home Assistant using an MQTT broker. An MQTT broker is an Internet of Things communication platform that you can [freely host yourself][mqtt-self] or get [a private instance for free in the cloud](/components/mqtt/#run-your-own).

OwnTracks communicates directly with your MQTT broker; no data will pass through their servers. @@ -45,6 +45,7 @@ Home Assistant will know the location of your device if you are using OwnTracks. [nmap]: /components/device_tracker.nmap_tracker/ [ha-owntracks]: /components/device_tracker.owntracks/ [ha-locative]: /components/device_tracker.locative/ +[gpslogger]: /components/device_tracker.gpslogger/ [mqtt-self]: /components/mqtt/#run-your-own [mqtt-cloud]: /components/mqtt/#cloudmqtt [zone]: /components/zone/ diff --git a/source/images/blog/2017-04-award/award.jpg b/source/images/blog/2017-04-award/award.jpg new file mode 100644 index 00000000000..d1af3644471 Binary files /dev/null and b/source/images/blog/2017-04-award/award.jpg differ diff --git a/source/images/blog/2017-04-award/social.png b/source/images/blog/2017-04-award/social.png new file mode 100644 index 00000000000..af4991f4d5e Binary files /dev/null and b/source/images/blog/2017-04-award/social.png differ diff --git a/source/images/supported_brands/noaa.png b/source/images/supported_brands/noaa.png new file mode 100644 index 00000000000..a0248bef254 Binary files /dev/null and b/source/images/supported_brands/noaa.png differ