diff --git a/sass/custom/_component_page.scss b/sass/custom/_component_page.scss index a0cb1d53718..e3830dc2f8f 100644 --- a/sass/custom/_component_page.scss +++ b/sass/custom/_component_page.scss @@ -14,6 +14,16 @@ } } +@media only screen and (max-width: $palm-end) { + #components-page { + .hass-option-cards { + .option-card { + width: 100%; + } + } + } +} + @media only screen and (max-width: $lap-end) { #components-page { .filter-button-group { @@ -246,4 +256,4 @@ transform:scale(0); opacity:0 } -} \ No newline at end of file +} diff --git a/sass/custom/_paulus.scss b/sass/custom/_paulus.scss index 651eacf82b6..4a1bd4a6cf2 100644 --- a/sass/custom/_paulus.scss +++ b/sass/custom/_paulus.scss @@ -1,5 +1,47 @@ @charset "UTF-8"; +$primary-color: #049cdb; + +.site-header { + position: relative; +} + +.search-container { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: white; + padding-top: 19px; + padding-right: 15%; + + .search { + max-width: 500px; + width: 100%; + border-bottom: 2px solid $primary-color; + float: right; + + .algolia-autocomplete { + width: calc(100% - 58px); + margin: 0 10px; + } + + input { + border: 0; + width: 100%; + } + } +} + +@media only screen and (max-width: $menu-collapse) { + .search-container { + z-index: 20; + padding-right: 5px; + padding-left: 5px; + } +} + .hero { background-color: #038FC7; padding-bottom: 0; diff --git a/sass/oscailte/base/_navigation.scss b/sass/oscailte/base/_navigation.scss index 6478e6aec4f..24f68005e6c 100644 --- a/sass/oscailte/base/_navigation.scss +++ b/sass/oscailte/base/_navigation.scss @@ -81,17 +81,23 @@ header .grid { font-weight: normal; font-size: 14px; line-height: 1; + + &.show-search { + padding-left: 0; + padding-right: 0; + } } .menu > li > a:hover, .menu > li > a:focus{ background: $site-background; box-shadow: inset 0px 5px $navigation-color; color: $navigation-color; - padding: 40px 12px 24px; + padding-top: 40px; + padding-bottom: 24px; } -.toggle{ - z-index: 20; +.toggle{ + z-index: 20; } @media only screen and (max-width: $menu-collapse){ diff --git a/source/_addons/dnsmasq.markdown b/source/_addons/dnsmasq.markdown index 31ddd01fcfd..fe4687f4412 100644 --- a/source/_addons/dnsmasq.markdown +++ b/source/_addons/dnsmasq.markdown @@ -11,6 +11,10 @@ footer: true Setup and manage a [Dnsmasq](http://thekelleys.org.uk/dnsmasq/doc.html) dns server. This allow your to manipulate some dns requests. I.e. that inside your network, your homeassistant domain will resolve with a internal address. +
+`interface` options are for resinos based installation. On other system you can set it to `""`, for listen on every interface. +
+ ```json { "defaults": ["8.8.8.8", "8.8.4.4"], diff --git a/source/_addons/lets_encrypt.markdown b/source/_addons/lets_encrypt.markdown index 2b7d51b470d..022911183fa 100644 --- a/source/_addons/lets_encrypt.markdown +++ b/source/_addons/lets_encrypt.markdown @@ -17,6 +17,7 @@ This add-on need port 80/443 to verify the certificate request, please stop all ```json { + "challenge": "https", "email": "example@example.com", "domains": ["example.com", "mqtt.example.com", "hass.example.com"] } @@ -24,6 +25,7 @@ This add-on need port 80/443 to verify the certificate request, please stop all Configuration variables: +- **challenge** (*Optional*): Default it use 443 ('https') you can change it to 'http' for use port 80. - **email** (*Required*): Your email address for registration on Let's Encrypt. - **domains** (*Required*): A list of domains to create/renew the certificate. diff --git a/source/_addons/mariadb.markdown b/source/_addons/mariadb.markdown new file mode 100644 index 00000000000..548d4d0c145 --- /dev/null +++ b/source/_addons/mariadb.markdown @@ -0,0 +1,55 @@ +--- +layout: page +title: "MariaDB" +description: "MariaDB Server is one of the most popular database servers in the world." +date: 2017-04-30 13:28 +sidebar: true +comments: false +sharing: true +footer: true +--- + +Set up a [mariadb](https://mariadb.org/) SQL server. It support multible database, users and permission. If you want only connect from inside use `172.17.0.1` as host address. + +```json +{ + "databases": ["homeassistant"], + "logins": [ + { + "username": "hass", + "host": "172.17.0.1", + "password": "securePassword" + } + ], + "rights": [ + { + "username": "hass", + "host": "172.17.0.1", + "database": "homeassistant", + "grant": "ALL PRIVILEGES ON" + } + ] +} +``` + +Configuration variables: + +- **databases** (*Require*): Listen of databases. +- **logins** (*Require*): Listen of logindata they will create or update. + - **username** (*Require*): Username for login. + - **host** (*Require*): Host for login, if you need a login with multibe hosts, use '%'. + - **password** (*Require*): Password for login. +- **rights** (*Require*): Listen of rights to be handle. + - **username** (*Require*): Username for grant rights. + - **host** (*Require*): Host is a part of username like above. + - **database** (*Require*): Database name to grant this user rights to. + - **grant** (*Require*): SQL grant part for access too. + +## {% linkable_title Home Assistant configuration %} + +Use the following configuration in Home Assistant to use the database above: + +```yaml +recorder: + db_url: mysql://hass:securePassword@127.0.0.1/homeassistant +``` diff --git a/source/_addons/samba.markdown b/source/_addons/samba.markdown index baba4d50372..bfca0c16c01 100644 --- a/source/_addons/samba.markdown +++ b/source/_addons/samba.markdown @@ -13,6 +13,7 @@ This allows you to set up a [Samba](https://samba.org/) server to access hass.io ```json { + "name": "hassio", "workgroup": "WORKGROUP", "guest": true, "map_config": true, @@ -25,6 +26,7 @@ This allows you to set up a [Samba](https://samba.org/) server to access hass.io Configuration variables: +- **name** (*Optional*): default `hassio`. Set netbios name of hassio device. - **workgroup** (*Optional*): default `WORKGROUP`. Set network workgroup. - **guest** (*Optional*): Allow login without a username or password. Defaults to `true`. - **map_config** (*Optional*): Expose Home Assistant configuration folder. Defaults to `true`. diff --git a/source/_addons/ssh.markdown b/source/_addons/ssh.markdown index 2361e378ab4..710521d675b 100644 --- a/source/_addons/ssh.markdown +++ b/source/_addons/ssh.markdown @@ -35,3 +35,12 @@ If you're coming from Rasbian or similar, use `root` rather than `pi` when conne Permission denied (publickey,keyboard-interactive) ``` + ++If you install this addon you can use `sshfs` as well to access files from a remote system where you have git and your favourite editing tools installed. + +```bash +$ mkdir ~/ha_config +$ sshfs -o allow_other,defer_permissions root@h[your_hassio_ip]:/config ~/ha_config +``` +
diff --git a/source/_components/axis.markdown b/source/_components/axis.markdown index bdf70c5a40c..bf4736548d3 100644 --- a/source/_components/axis.markdown +++ b/source/_components/axis.markdown @@ -23,7 +23,7 @@ Home Assistant will automatically discover their presence on your network. $ sudo apt-get install python3-gi gir1.2-gstreamer-1.0 ``` -Depending on how you run Home Assistant you might be needed to symlink the `gi` module into your environment. +Depending on how you run Home Assistant, you may need to symlink the `gi` module into your environment. Hassbian: diff --git a/source/_components/binary_sensor.command_line.markdown b/source/_components/binary_sensor.command_line.markdown index 3a612d04b3a..05a482a5fb1 100644 --- a/source/_components/binary_sensor.command_line.markdown +++ b/source/_components/binary_sensor.command_line.markdown @@ -33,6 +33,7 @@ Configuration variables: - **payload_on** (*Optional*): The payload that represents enabled state. Default is "ON". - **payload_off** (*Optional*): The payload that represents disabled state. Default is "OFF". - **value_template** (*Optional*): Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract a value from the payload. +- **scan_interval** (*Optional*): Defines number of seconds for polling interval (defaults to 60 seconds). ## {% linkable_title Examples %} diff --git a/source/_components/blink.markdown b/source/_components/blink.markdown index 21cd6b4447b..217dcce7438 100644 --- a/source/_components/blink.markdown +++ b/source/_components/blink.markdown @@ -36,9 +36,9 @@ Once loaded, your front end will have the following components: * A camera image for each camera in your system. * A binary_sensor per camera that indicates whether motion detection is enabled. * A binary_sensor for the system that indicates if the system is armed or disarmed. -* A sesnor per camera that reports temperature. +* A sensor per camera that reports temperature. * A sensor per camera that reports battery level. -* A sensor per camera that reports unread notification (ie. detected motion events). +* A sensor per camera that reports unread notification (i.e., detected motion events). Since the cameras are battery operated, the images are only updated in Home Assistant when the user manually forces a new photo. This image can be updated with the `snap_picture` service to force Home Assistant to request an update from Blink's servers. As a note, all of the camera-specific sensors are only polled when a new image is requested from the camera. This means that relying on any of these sensors to provide timely and accurate data is not recommended. @@ -59,7 +59,7 @@ For `arm_system`, the value sent can be either `True` or `False` and will arm an } ``` -Arm camera follows a similar structure, but each indidivual camera can have motion detection enabled or disabled. Because of this, you also need to supply a name. For example, if you have a camera named "Living Room" and you want to turn off motion detection on that camera, you would call the `arm_camera` service with the following payload: +Arm camera follows a similar structure, but each individual camera can have motion detection enabled or disabled. Because of this, you also need to supply a name. For example, if you have a camera named "Living Room" and you want to turn off motion detection on that camera, you would call the `arm_camera` service with the following payload: ```json { diff --git a/source/_components/climate.maxcube.markdown b/source/_components/climate.maxcube.markdown index ac6e5299ba9..0b918cf1033 100644 --- a/source/_components/climate.maxcube.markdown +++ b/source/_components/climate.maxcube.markdown @@ -1,6 +1,6 @@ --- layout: page -title: "eQ-3 MAX! Cube binary sensors" +title: "eQ-3 MAX! Cube thermostat" description: "Instructions on how to integrate eQ-3 MAX! components with Home Assistant via eQ-3 MAX! Cube." date: 2017-02-04 22:00 sidebar: true diff --git a/source/_components/device_tracker.snmp.markdown b/source/_components/device_tracker.snmp.markdown index d8559db08c0..65630b80fc0 100644 --- a/source/_components/device_tracker.snmp.markdown +++ b/source/_components/device_tracker.snmp.markdown @@ -16,20 +16,23 @@ ha_release: 0.7.5 A lot WiFi access points and WiFi routers support the Simple Network Management Protocol (SNMP). This is a standardized method for monitoring/manageing network connected devices. SNMP uses a tree-like hierarchy where each node is an object. Many of these objects contain (live) lists of insances and metrics, like network interfaces, disks, and wifi registrations.-This device tracker needs SNMP to be enabled on the router. +This device tracker needs SNMP to be enabled on the router. It could be that you need to install the SNMP support manually.
OID examples: -- Mikrotik: `1.3.6.1.4.1.14988.1.1.1.2.1.1` (confirmed, unknown RouterOS version/model) -- Mikrotik: `1.3.6.1.2.1.4.22.1.2` (confirmed, RouterOS 6.x on RB2011) -- Aruba: `1.3.6.1.4.1.14823.2.3.3.1.2.4.1.2` (untested) -- BiPAC 7800DXL: `1.3.6.1.2.1.17.7.1.2.2.1.1` (confirmed on firmware 2.32e) -- OpenWrt: `1.3.6.1.2.1.4.22.1.2` (tested on Chaos Calmer 15.05 firmware, need to install snmpd package) -- pfSense: `1.3.6.1.2.1.4.22.1.2` (tested on 2.2.4-RELEASE, need to enable SNMP service) -- TPLink: `1.3.6.1.2.1.3.1.1.2.19.1` (Archer VR2600v, need to enable SNMP service) -- EdgeRouter `1.3.6.1.2.1.4.22.1.2` (EdgeRouter Lite v1.9.0, need to enable SNMP service) -- Ruckus: `1.3.6.1.4.1.25053.1.2.2.1.1.3.1.1.1.6` (Ruckus ZoneDirector, tested on 9.13.3) +| Brand | Device/Firmware | OID | +|---|---|---|---| +| Mikrotik | unknown RouterOS version/model | `1.3.6.1.4.1.14988.1.1.1.2.1.1` | +| Mikrotik | RouterOS 6.x on RB2011 | `1.3.6.1.2.1.4.22.1.2` | +| Aruba | (untested) | `1.3.6.1.4.1.14823.2.3.3.1.2.4.1.2` | +| pfSense | 2.2.4 | `1.3.6.1.2.1.4.22.1.2` | +| BiPAC | 7800DXL Firmware 2.32e | `1.3.6.1.2.1.17.7.1.2.2.1.1` | +| OpenWrt | Chaos Calmer 15.05 | `1.3.6.1.2.1.4.22.1.2` | +| TP-Link | Archer VR2600v | `1.3.6.1.2.1.3.1.1.2.19.1` | +| TP-Link | Archer VR600 | `1.3.6.1.2.1.3.1.1.2` | +| EdgeRouter | Lite v1.9.0 | `1.3.6.1.2.1.4.22.1.2` | +| Ruckus | ZoneDirector 9.13.3 | `1.3.6.1.4.1.25053.1.2.2.1.1.3.1.1.1.6` | To use the SNMP version 1 platform in your installation, add the following to your `configuration.yaml` file: diff --git a/source/_components/input_select.markdown b/source/_components/input_select.markdown index 45dbc19c0d8..d41555c13ab 100644 --- a/source/_components/input_select.markdown +++ b/source/_components/input_select.markdown @@ -43,6 +43,10 @@ Configuration variables: Pick an icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) to use for your input and prefix the name with `mdi:`. For example `mdi:car`, `mdi:ambulance`, or `mdi:motorbike`. ++Because YAML defines [booleans](http://yaml.org/type/bool.html) as equivalent, any variations of 'On', 'Yes', 'Y', 'Off', 'No', or 'N' (regardless of case) used as option names will be replaced by True and False unless they are defined in quotation marks. +
+ ### {% linkable_title Services %} This components provide three services to modify the state of the `input_select`: diff --git a/source/_components/sensor.buienradar.markdown b/source/_components/sensor.buienradar.markdown index 351e7ce3e13..750a0ae7901 100644 --- a/source/_components/sensor.buienradar.markdown +++ b/source/_components/sensor.buienradar.markdown @@ -33,8 +33,9 @@ sensor: Configuration variables: -- **latitude** (*Optional*): Latitude to use for selection of data source location. Longitude and latitude will be taken from Home Assistant configuration, but can be overridden/changed in this component to select a different location for buienradar. -- **longitude** (*Optional*): Longitude to use for selection of data source location. Longitude & latitude will be taken from Home Assistant configuration, but can be overridden/changed in this component to select a different location for buienradar. +- **name** (*Optional*): You can specify a name of the component, but do not have to. If you specify a name, the sensors will get an entity name of 'sensor.[name]`[monitored_condition]`, for example: `sensor.lopik_temperature`; if no name is specified the sensors will be called `sensor.br_[monitored_condition]`, for example `sensor.br_temperature`. +- **latitude** (*Optional*): Latitude to use for selection of data source location. Longitude and latitude will be taken from Home Assistant configuration, but can be overridden/changed in this component to select a different location for buienradar.nl. +- **longitude** (*Optional*): Longitude to use for selection of data source location. Longitude and latitude will be taken from Home Assistant configuration, but can be overridden/changed in this component to select a different location for buienradar.nl. - **timeframe** (*Optional*): Minutes to look ahead for precipitation (5..120) [default: 60]. - **monitored_conditions** array (*Required*): One or more conditions to display in the frontend. - **stationname**: The name of the selected meteo-station. diff --git a/source/_components/sensor.command_line.markdown b/source/_components/sensor.command_line.markdown index c0a39d4093e..ba1bee321aa 100644 --- a/source/_components/sensor.command_line.markdown +++ b/source/_components/sensor.command_line.markdown @@ -31,7 +31,7 @@ Configuration variables: - **name** (*Optional*): Name of the command sensor. - **unit_of_measurement** (*Optional*): Defines the unit of measurement of the sensor, if any. - **value_template** (*Optional*): Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract a value from the payload. -- **scan_interval** (*Optional*): Defines number of seconds for polling interval. +- **scan_interval** (*Optional*): Defines number of seconds for polling interval (defaults to 60 seconds). ## {% linkable_title Examples %} @@ -104,7 +104,7 @@ sensor: ### {% linkable_title Read value out of a remote text file %} -If you own a devices which are storing values in text files which are accessible over HTTP then you can use the same approach as shown in the previous section. Instead of looking at the JSON response we directly grab the sensor's value. +If you own a devices which are storing values in text files which are accessible over HTTP then you can use the same approach as shown in the previous section. Instead of looking at the JSON response we directly grab the sensor's value. ```yaml sensor: diff --git a/source/_components/sensor.netatmo.markdown b/source/_components/sensor.netatmo.markdown index 398a341a607..e92471bdb15 100644 --- a/source/_components/sensor.netatmo.markdown +++ b/source/_components/sensor.netatmo.markdown @@ -52,10 +52,10 @@ Configuration variables: - **rain**: Estimated rainfall for today in mm. - **sum_rain_1**: Rainfall in the last hour in mm. - **sum_rain_24**: Rainfall in mm from 00:00am - 23:59pm. - - **WindAngle**: Wind angle - - **WindStrength**: Wind strength - - **GustAngle**: Wind gust angle - - **GustStrength**: Wind gust strength + - **windangle**: Wind angle + - **windstrength**: Wind strength + - **gustangle**: Wind gust angle + - **guststrength**: Wind gust strength - **min_temp**: Min temperature for today - **max_temp**: Max temperature for today - **rf_status**: Current radio status per module. (90=low, 60=highest) @@ -69,4 +69,3 @@ You can find your modules name in your [online NetAtmo account](https://my.netat