Philips Hue was one of the first to get smart lights accepted by the mainstream. Their Zigbee-based hub is rock solid, never crashes, great API and worked with other Zigbee light bulbs too. They are a bit expensive but the platform was worth every penny, till now.
+ Philips Hue was one of the first to get smart lights accepted by the mainstream. Their Zigbee-based hub is rock solid, never crashes, great API and worked with other Zigbee light bulbs too. They are a bit expensive but the platform was worth every penny, till now.
diff --git a/components/sensor.command_sensor/index.html b/components/sensor.command_sensor/index.html
index 6363cca78c..e037dbb315 100644
--- a/components/sensor.command_sensor/index.html
+++ b/components/sensor.command_sensor/index.html
@@ -115,8 +115,7 @@
command: SENSOR_COMMAND
name: Command sensor
unit_of_measurement: "°C"
- correction_factor: 0.4921
- decimal_places: 0
+ value_template: '{{ template }}'
@@ -127,8 +126,7 @@
command (Required): The action to take to get the value.
name (Optional): Name of the command sensor.
unit_of_measurement (Optional): Defines the unit of measurement of the sensor, if any.
- correction_factor (Optional): A float value to do some basic calculations.
- decimal_places (Optional): Number of decimal places of the value.
+ value_template (Optional): Defines a template to extract a value from the payload.
Examples
@@ -168,7 +166,7 @@
name: CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C"
- correction_factor: 0.001
+ value_template: '{{ value | multiply(0.001) }}'
diff --git a/components/sensor.mqtt/index.html b/components/sensor.mqtt/index.html
index 1c8f2aac9a..afbcd85af2 100644
--- a/components/sensor.mqtt/index.html
+++ b/components/sensor.mqtt/index.html
@@ -116,7 +116,7 @@
name: "MQTT Sensor"
qos: 0
unit_of_measurement: "°C"
- value_template: ''
+ value_template: '{{ template }}'
@@ -128,7 +128,7 @@
name (Optional): The name of the sensor. Default is ‘MQTT Sensor’.
qos (Optional): The maximum QoS level of the state topic. Default is 0.
unit_of_measurement (Optional): Defines the units of measurement of the sensor, if any.
- value_template (Optional): Defines a template to extract a value from the payload.
+ value_template (Optional): Defines a template to extract a value from the payload.
Examples
diff --git a/components/sensor.rest/index.html b/components/sensor.rest/index.html
index 7db121e8c8..a26785d996 100644
--- a/components/sensor.rest/index.html
+++ b/components/sensor.rest/index.html
@@ -115,10 +115,8 @@
resource: http://IP_ADDRESS/ENDPOINT
method: GET
name: REST GET sensor
- variable: 'return_value'
+ value_template: '{{ template }}'
unit_of_measurement: "°C"
- correction_factor: 0.01
- decimal_places: 0
@@ -131,12 +129,10 @@
platform: rest
resource: http://IP_ADDRESS/ENDPOINT
method: POST
- variable: 'temperature' or ['Temperatures', 0, 'CurrentReading']
+ value_template: '{{ template }}'
payload: '{ "device" : "heater" }'
name: REST POST sensor
unit_of_measurement: "°C"
- correction_factor: 0.0001
- decimal_places: 0
@@ -146,12 +142,10 @@
- resource (Required): The resource or endpoint that contains the value.
- method (Optional): The method of the request. Default is GET.
- - variable (Optional): Defines the variable or a list of element for complex responses to extract, if any.
+ - value_template (Required): Defines a template to extract the value.
- payload (Optional): The payload to send with a POST request. Usualy formed as a dictionary-
- name (Optional): Name of the REST sensor.
- unit_of_measurement (Optional): Defines the unit of measurement of the sensor, if any.
- - correction_factor (Optional): A float value to do some basic calculations.
- - decimal_places (Optional): Number of decimal places of the value.
@@ -182,7 +176,7 @@ Make sure that the URL matches exactly your endpoint or resource.
- platform: rest
resource: http://ip.jsontest.com
name: External IP
- variable: 'ip'
+ value_template: '{{ value_json.ip }}'
@@ -198,10 +192,8 @@ Make sure that the URL matches exactly your endpoint or resource.
- platform: rest
resource: http://IP_ADRRESS:61208/api/2/mem/used
name: Used mem
- variable: 'used'
+ value_template: '{{ value_json.used| multiply(0.000000954) | round(0) }}'
unit_of_measurement: MB
- correction_factor: 0.000000954
- decimal_places: 0
diff --git a/getting-started/configuration/index.html b/getting-started/configuration/index.html
index 20e7179996..e16a7bc8d5 100644
--- a/getting-started/configuration/index.html
+++ b/getting-started/configuration/index.html
@@ -107,13 +107,13 @@
- Home Assistant will create a configuration folder when it is run for the first time. Location depends on operating system: on OS X/Linux it is ~/.homeassistant
and on Windows it is %APPDATA%/.homeassistant
. If you want to use a different folder for configuration, run hass --config path/to/config
.
+ Home Assistant will create a configuration folder when it is run for the first time. The location of the folder depends on operating system: on OS X/Linux it’s ~/.homeassistant
and on Windows it’s %APPDATA%/.homeassistant
. If you want to use a different folder for configuration, run hass --config path/to/config
.
Inside your configuration folder is the file configuration.yaml
. This is the main file that contains which components will be loaded and what their configuration is. An example configuration file is located here.
When launched for the first time, Home Assistant will write a default configuration enabling the web interface and device discovery. It can take up to a minute for your devices to be discovered and show up in the interface.
-If you are running into troubles while configuring Home Assistant, have a look at the configuration troubleshoot page.
+If you are running into trouble while configuring Home Assistant, have a look at the configuration troubleshoot page.
You will have to restart Home Assistant for changes in configuration.yaml
to take effect.
@@ -157,11 +157,11 @@
Setting up your phone or tablet
-Home Assistant runs as a self hosted web application. Home Assistant contains support to be added to your homescreen. If you’re on Android you can follow the visual guide. For other devices, open Home Assistant on your mobile browser and click on the add to homescreen option.
+Home Assistant runs as a self hosted web application and contains support to be added to your homescreen. If you’re on Android you can follow the visual guide. For other devices, open Home Assistant on your mobile browser and tap on the add to homescreen option.
Remote access
-To make Home Assistant accessible while away from home, you will have to setup port forwarding from your router to port 8123 on the computer that is hosting Home Assistant. Instructions how to do this can be found by searching <Router model> port forwarding instructions
.
+To make Home Assistant accessible while away from home, you will have to setup port forwarding from your router to port 8123 on the computer that is hosting Home Assistant. Instructions on how to do this can be found by searching <Router model> port forwarding instructions
.
Some internet service providers will only offer dynamic IPs. This can cause you to be unable to access Home Assistant while being remote. You can solve this by using a free Dynamic DNS service like DuckDNS.
diff --git a/getting-started/index.html b/getting-started/index.html
index da9ba93cb2..ffbdb573fd 100644
--- a/getting-started/index.html
+++ b/getting-started/index.html
@@ -156,7 +156,7 @@ When using boot2docker on OS X you are unable to map the local time to your Dock
-
Home Assistant requires the Raspberry Pi to run Raspbian Jessie. This version has been released on September 24, 2015 and comes by default with Python 3.4 which is required for Home Assistant.
+
Home Assistant requires the Raspberry Pi to run Raspbian Jessie. This version was released on September 24, 2015 and comes by default with Python 3.4 which is required for Home Assistant.
Execute the following code in a console:
@@ -181,20 +181,21 @@ $ hass --open-ui
If you run into any issues, please see the troubleshooting page. It contains solutions to many of the more commonly encountered issues.
-
For additional help, in addition to this site, there are three sources:
+
For additional help, in addition to this site, there are four sources:
What’s next
-
If you want to have Home Assistant start on boot, autostart instructions can be found here.
+
If you want to have Home Assistant start on boot, autostart instructions can be found here.
-
To see what Home Assistant can do, launch demo mode: hass --demo-mode
+
To see what Home Assistant can do, launch demo mode: hass --demo-mode
or visit the demo page.
-
To update Home Assistant to the latest release: pip3 install --upgrade homeassistant
+
To update Home Assistant to the latest release run: pip3 install --upgrade homeassistant
diff --git a/getting-started/templating/index.html b/getting-started/templating/index.html
index 26114f5189..80fd1206bc 100644
--- a/getting-started/templating/index.html
+++ b/getting-started/templating/index.html
@@ -107,9 +107,15 @@
-
The template helper enables one to mathematically manipulate values and use variables to extract values from JSON.
+
The template helper enables one to mathematically manipulate values and use variables to extract values from JSON. If the entity has template support then the value_template
key can be set in the configuration.yaml
file.
-
For a complete overview, check the Jinja2 Template documentation.
+
+
value_template: '{{ value.x }}'
+
+
+
+
+
For a complete overview, check the Jinja2 documentation.
Accessing variables
diff --git a/help/index.html b/help/index.html
index 75e60cfee8..ab70993aaa 100644
--- a/help/index.html
+++ b/help/index.html
@@ -112,9 +112,9 @@
Communication channels
Bugs, Feature requests, and alike
diff --git a/images/blog/2015-12-philips-hue-3rd-party/philips-hue-reversed-faq.png b/images/blog/2015-12-philips-hue-3rd-party/philips-hue-reversed-faq.png
new file mode 100644
index 0000000000..c686d36efc
Binary files /dev/null and b/images/blog/2015-12-philips-hue-3rd-party/philips-hue-reversed-faq.png differ
diff --git a/images/supported_brands/icloud.png b/images/supported_brands/icloud.png
new file mode 100644
index 0000000000..2058986018
Binary files /dev/null and b/images/supported_brands/icloud.png differ
diff --git a/sitemap.xml b/sitemap.xml
index d3c94139c2..12ea5d5108 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -751,6 +751,9 @@
https://home-assistant.io/components/device_tracker.fritz/
+
+ https://home-assistant.io/components/device_tracker.icloud/
+
https://home-assistant.io/cookbook/automation_for_rainy_days/