Skip to content

Commit c88b3a1

Browse files
committed
Merge branch 'current' into next
2 parents b96655b + 7304efc commit c88b3a1

File tree

6 files changed

+75
-5
lines changed

6 files changed

+75
-5
lines changed

source/_components/binary_sensor.flic.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ Configuration variables:
3131
- **port** (*Optional*): The port of the flic service. (default: `5551`)
3232
- **discovery** (*Optional*): If `true`, the component is configured to constantly scan for new buttons. (default: `true`)
3333
- **ignored_click_types**: List of click types whose occurrence should not trigger and `flic_click` event.
34-
34+
- **timeout** (*Optional*): Maximum time in seconds an event can be queued locally on a button before discarding the event. (default: `3`)
3535

3636
#### {% linkable_title Discovery %}
3737

3838
If discovery is enabled, you can add a new button by pressing it for at least 7s. The button will be paired with the flic service and added to Home Assistant. Otherwise, you have to manually pair it with the flic service. The Home Assistant platform will not scan for new buttons and will only connect to buttons already paired.
3939

40+
#### {% linkable_title Timeout %}
41+
+When the flic button is triggered while disconnected from flic service, it will queue all events and try to connect and transmit them as soon as possible. The timeout variable can be used to stop events from triggering if too much time passed between the action and the notification in Home Assistant.
4042

4143
#### {% linkable_title Events %}
4244

@@ -62,7 +64,8 @@ Event data:
6264
- **button_name**: The name of the button, that triggered the event.
6365
- **button_address**: The bluetooth address of the button, that triggered the event.
6466
- **click_type**: The type of click. Possible values are `single`, `double` and `hold`.
65-
67+
- **queued_time**: The amount of time this event was queued on the button, in seconds.
6668

6769
##### {% linkable_title Ignoring Click Types %}
70+
6871
For some purposes it might make sense to exclude a specific click type from triggering click events. For example when ignoring double clicks, pressing the button twice fast results in two `single` instead of a `double` click event. This is very useful for applications where you want to click fast.

source/_components/frontend.markdown

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
layout: page
3+
title: "Frontend"
4+
description: "Offers a web framework to serve files."
5+
date: 2015-12-06 21:35
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: home-assistant.png
11+
ha_category: "Other"
12+
---
13+
14+
The `http` component serves all files and data required for the Home Assistant frontend. You only need to add this to your configuration file if you want to change any of the default settings.
15+
16+
<p class='note warning'>
17+
It's HIGHLY recommended that you set the `api_password`, especially if you are planning to expose your installation to the internet.
18+
</p>
19+
20+
```yaml
21+
# Example configuration.yaml entry
22+
frontend:
23+
```
24+

source/_components/sensor.systemmonitor.markdown

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,33 @@ The table contains types and their argument to use in your `configuration.yaml`
5858
| last_boot | |
5959
| since_last_boot | |
6060

61+
## {% linkable_title Linux specific %}
62+
63+
To retrieve all available network interfaces on a Linux System, execute the `ifconfig` command.
64+
65+
```bash
66+
$ ifconfig -a | sed 's/[ \t].*//;/^$/d'
67+
```
68+
69+
## {% linkable_title Windows specific %}
70+
71+
When running this platform on Microsoft Windows, Typically, the default interface would be called `Local Area Connection`, so your configuration might look like:
72+
73+
```yaml
74+
sensor:
75+
- platform: systemmonitor
76+
resources:
77+
- type: network_in
78+
arg: 'Local Area Connection'
79+
```
80+
81+
If you need to use some other interface, open a commandline prompt and type `ipconfig` to list all interface names. For example a wireless connection output from `ifconfig` might look like:
82+
83+
```bash
84+
Wireless LAN adapter Wireless Network Connection:
85+
86+
Media State . . . . . . . . . . . : Media disconnected
87+
Connection-specific DNS Suffix . :
88+
```
89+
90+
Where the name is `Wireless Network Connection`

source/_components/tts.markdown

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ service: tts.google_say
5555
data:
5656
message: 'May the Force be with you.'
5757
```
58+
Say to the `media_player.floor` device entitie:
5859

5960
```yaml
6061
service: tts.google_say
@@ -63,6 +64,16 @@ data:
6364
message: 'May the Force be with you.'
6465
```
6566

67+
Say to the `media_player.floor` device entitie in french:
68+
69+
```yaml
70+
service: tts.google_say
71+
entity_id: media_player.floor
72+
data:
73+
message: 'Que la force soit avec toi.'
74+
language: 'fr'
75+
```
76+
6677
With a template:
6778

6879
```yaml

source/getting-started/autostart-systemd.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ After=docker.service
6363
[Service]
6464
Restart=always
6565
RestartSec=3
66-
ExecStart=/usr/bin/docker run --name="home-assistant-%i" -v /home/%i/.homeassistant/:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant
66+
ExecStart=/usr/bin/docker run --name="home-assistant-%i" -v /home/%i/.homeassistant/:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant
6767
ExecStop=/usr/bin/docker stop -t 2 home-assistant-%i
6868
ExecStopPost=/usr/bin/docker rm -f home-assistant-%i
6969

source/getting-started/z-wave.markdown

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Configuration variables:
8181
- **ignored** (*Optional*): Ignore this entitiy completely. It won't be shown in the Web Interface and no events are generated for it.
8282
- **refresh_value** (*Optional*): Enable refreshing of the node value. Only light component uses this. Defaults to 2 second delay.
8383
- **delay** (*Optional*): Specify the delay to wait for refresh of node value if you want other than 2 seconds.
84+
- **debug** (*Optional*): Print verbose z-wave info to log. Defaults to False.
8485

8586
To find the path of your Z-Wave USB stick or module, run:
8687

@@ -226,16 +227,17 @@ The `zwave` component exposes multiple services to help maintain the network.
226227
| ------- | ----------- |
227228
| add_node | Put the Z-Wave controller in inclusion mode. Allows one to add a new device to the Z-Wave network.|
228229
| add_node_secure | Put the Z-Wave controller in secure inclusion mode. Allows one to add a new device with secure communications to the Z-Wave network. |
229-
| change_association | Add or remove an association in the Z-Wave network
230230
| cancel_command | Cancels a running Z-Wave command. If you have started a add_node or remove_node command, and decides you are not going to do it, then this must be used to stop the inclusion/exclusion command. |
231+
| change_association | Add or remove an association in the Z-Wave network |
231232
| heal_network | Tells the controller to "heal" the Z-Wave network. Basically asks the nodes to tell the controller all of their neighbors so the controller can refigure out optimal routing. |
233+
| print_config_parameter | Prints Z-wave node's config parameter value to the log.
232234
| remove_node | Put the Z-Wave controller in exclusion mode. Allows one to remove a device from the Z-Wave network.|
235+
| rename_node | Sets a node's name. Requires an `entity_id` and `name` field. |
233236
| set_config_parameter | Let's the user set a config parameter to a node.
234237
| soft_reset | Tells the controller to do a "soft reset". This is not supposed to lose any data, but different controllers can behave differently to a "soft reset" command.|
235238
| start_network | Starts the Z-Wave network.|
236239
| stop_network | Stops the Z-Wave network.|
237240
| test_network | Tells the controller to send no-op commands to each node and measure the time for a response. In theory, this can also bring back nodes which have been marked "presumed dead".|
238-
| rename_node | Sets a node's name. Requires an `entity_id` and `name` field. |
239241

240242
The `soft_reset` and `heal_network` commands can be used as part of an automation script to help keep a Z-Wave network running reliably as shown in the example below. By default, Home Assistant will run a `heal_network` at midnight. This is a configuration option for the `zwave` component, the option defaults to `true` but can be disabled by setting `auto_heal` to false. Using the `soft_reset` function with some Z-Wave controllers can cause the Z-Wave network to hang. If you're having issues with your Z-Wave network try disabling this automation.
241243

0 commit comments

Comments
 (0)