You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/climate.honeywell.markdown
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,16 @@ climate:
21
21
platform: honeywell
22
22
username: YOUR_USERNAME
23
23
password: YOUR_PASSWORD
24
+
scan_interval: 600
24
25
```
26
+
<p class='note'>
27
+
Scan interval is expressed in seconds. Omitting scan_interval may result in too-frequent polling and cause you to rate-limited by Honeywell.
28
+
</p>
25
29
26
30
Configuration variables:
27
31
28
32
- **username** (*Required*): The username of an user with access.
29
33
- **password** (*Required*): The password for your given admin account.
30
-
- **away_temperature** (*optional*): Heating setpoint when away mode is on. If omitted it defaults to 16.0 deg C.
31
-
- **region** (*optional*): Region identifier (either 'eu' or 'us'). Defaults to 'eu' if not provided.
34
+
- **away_temperature** (*Optional*): Heating setpoint when away mode is on. If omitted it defaults to 16.0 deg C.
35
+
- **region** (*Optional*): Region identifier (either 'eu' or 'us'). Defaults to 'eu' if not provided.
36
+
- **scan_interval**(*Optional*): Scan interval is expressed in seconds. Recommended value of 600 seconds. Default value is 120 seconds. Omitting scan_interval may result in too-frequent polling and cause you to rate-limited by Honeywell.
In Home Assistant 0.19 we introduced a new powerful feature: variables in scripts and automations. This makes it possible to adjust your condition and action based on the information of the trigger.
14
14
15
-
The trigger data made is available during [template](/configuration/templating/) rendering as the `trigger` variable.
15
+
The trigger data made is available during [template](/docs/configuration/templating/) rendering as the `trigger` variable.
16
16
17
17
```yaml
18
18
# Example configuration.yaml entries
@@ -128,4 +128,4 @@ The following tables show the available trigger data per platform.
128
128
| `trigger.zone` | State object of zone
129
129
| `trigger.event` | Event that trigger observed: `enter`or `leave`.
Copy file name to clipboardExpand all lines: source/_docs/autostart/systemd.markdown
+29-11Lines changed: 29 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,14 @@ $ ps -p 1 -o comm=
18
18
19
19
If the preceding command returns the string `systemd`, you are likely using `systemd`.
20
20
21
-
If you want Home Assistant to be launched automatically, an extra step is needed to setup `systemd`. You need a service file to control Home Assistant with `systemd`. If you are using a Raspberry Pi with Raspbian then replace the `[your user]` with `pi` otherwise use your user you want to run Home Assistant. `ExecStart` contains the path to `hass` and this may vary. Check with `whereis hass` for the location.
21
+
If you want Home Assistant to be launched automatically, an extra step is needed to setup `systemd`. A service file is needed to control Home Assistant with `systemd`. The template below should be created using a text editor. Note, root permissions via 'sudo' will likely be needed. The following should be noted to modify the template:
22
22
23
-
```bash
24
-
$ su -c 'cat <<EOF >> /etc/systemd/system/home-assistant@.service
23
+
+`ExecStart` contains the path to `hass` and this may vary. Check with `whereis hass` for the location.
24
+
+ If running Home Assistant in a python virtual environment or a docker, please skip to section below.
25
+
+ For most systems, the file is `/etc/systemd/system/home-assistant@[your user].service` with [your user] replaced by the user account that Home Assistant will run as - normally `homeassistant`. For Ubuntu 16.04, the file is `/lib/systemd/system/home-assistant.service` and requires running this command `sudo ln -s /lib/systemd/system/home-assistant.service /etc/systemd/system/home-assistant.service` after file is created.
26
+
+ If unfamiliar with command line text editors, `sudo nano -w [filename]` can be used with `[filename]` replaced with the full path to the file. Ex. `sudo nano -w /etc/systemd/system/home-assistant@homeassistant.service`. After text entered, press CTRL-X then press Y to save and exit.
27
+
28
+
```
25
29
[Unit]
26
30
Description=Home Assistant
27
31
After=network.target
@@ -33,10 +37,9 @@ ExecStart=/usr/bin/hass
33
37
34
38
[Install]
35
39
WantedBy=multi-user.target
36
-
EOF'
37
40
```
38
41
39
-
If you've setup Home Assistant in `virtualenv` following our [python installation guide](https://home-assistant.io/getting-started/installation-virtualenv/) or [manual installation guide for raspberry pi](https://home-assistant.io/getting-started/installation-raspberry-pi/), the following template should work for you.
42
+
If you've setup Home Assistant in `virtualenv` following our [python installation guide](https://home-assistant.io/getting-started/installation-virtualenv/) or [manual installation guide for raspberry pi](https://home-assistant.io/getting-started/installation-raspberry-pi/), the following template should work for you. If Home Assistant install is not located at `/srv/homeassistant`, please modify the `Enviroment=` and `ExecStart=` lines appropriately.
If everything went well, `sudo systemctl start home-assistant@[your user]` should give you a positive feedback.
103
+
You can also substitute the `start` above with `stop` to stop Home Assistant, `restart` to restart Home Assistant, and 'status' to see a brief status report as seen below.
86
104
87
105
```bash
88
-
$ sudo systemctl status home-assistant@[your user] -l
106
+
$ sudo systemctl status home-assistant@[your user]
89
107
● home-assistant@fab.service - Home Assistant for [your user]
0 commit comments