Site updated at 2017-02-23 10:37:02 UTC
This commit is contained in:
parent
ac0a1f4c4f
commit
1cc11da707
231 changed files with 47289 additions and 37 deletions
470
docs/ecosystem/ios/notifications/actions/index.html
Normal file
470
docs/ecosystem/ios/notifications/actions/index.html
Normal file
|
@ -0,0 +1,470 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Actionable notifications - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Making push notifications a two way system">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/ecosystem/ios/notifications/actions/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Actionable notifications">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/ecosystem/ios/notifications/actions/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Making push notifications a two way system">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Actionable notifications">
|
||||
<meta name="twitter:description" content="Making push notifications a two way system">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href="/getting-started/">Getting started</a></li>
|
||||
<li><a href="/components/">Components</a></li>
|
||||
<li><a href="/docs/">Docs</a></li>
|
||||
<li><a href="/cookbook/">Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_docs/ecosystem/ios/notifications/actions.markdown'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Actionable Notifications
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>Actionable notifications allow you to attach 1-4 custom buttons to a notification. When one of the actions is selected Home Assistant will be notified which action was chosen. This allows you to build complex automations.</p>
|
||||
|
||||
<p>Examples of actionable notifications:</p>
|
||||
|
||||
<ul>
|
||||
<li>A notification is sent whenever motion is detected in your home while you are away or asleep. You can add an action to Sound Alarm. When tapped, Home Assistant is notified that the <code class="highlighter-rouge">sound_alarm</code> action was selected. You can add an automation to sound the burglar alarm whenever this event is seen.</li>
|
||||
<li>Someone rings your front door bell. You can send an action to lock or unlock your front door. When tapped, a notification is sent back to Home Assistant upon which you can build automations.</li>
|
||||
<li>Send a notification whenever your garage door opens with actions to open and close the garage.</li>
|
||||
</ul>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/ios/actions.png" />
|
||||
Actionable notifications allow the user to send a command back to Home Assistant.
|
||||
</p>
|
||||
|
||||
<h2><a class="title-link" name="overview-of-how-actionable-notifications-work" href="#overview-of-how-actionable-notifications-work"></a> Overview of how actionable notifications work</h2>
|
||||
|
||||
<p>In advance of sending a notification:</p>
|
||||
|
||||
<ol>
|
||||
<li>Define a notification category in your Home Assistant configuration which contain 1-4 actions.</li>
|
||||
<li>At launch iOS app requests notification categories from Home Assistant (can also be done manually in notification settings).</li>
|
||||
</ol>
|
||||
|
||||
<p>When sending a notification:</p>
|
||||
|
||||
<ol>
|
||||
<li>Send a notification with <code class="highlighter-rouge">data.push.category</code> set to a pre-defined notification category identifer.</li>
|
||||
<li>Push notification delivered to device</li>
|
||||
<li>User opens notification.</li>
|
||||
<li>Action tapped</li>
|
||||
<li>Identifier of action sent back to HA as the <code class="highlighter-rouge">actionName</code> property of the event <code class="highlighter-rouge">ios.notification_action_fired</code>, along with other metadata such as the device and category name.</li>
|
||||
</ol>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/ios/NotificationActionFlow.png" />
|
||||
How the iOS device and Home Assistant work together to enable actionable notifications.
|
||||
</p>
|
||||
|
||||
<h2><a class="title-link" name="definitions" href="#definitions"></a> Definitions</h2>
|
||||
<ul>
|
||||
<li>Category - A category represents a type of notification that the app might receive. Think of it as a unique group of actions. A categories parameters include:</li>
|
||||
<li>Action - An action consists of a button title and the information that iOS needs to notify the app when the action is selected. You create separate action objects for distinct action your app supports. An actions parameters include:</li>
|
||||
</ul>
|
||||
|
||||
<h2><a class="title-link" name="category-parameters" href="#category-parameters"></a> Category parameters</h2>
|
||||
|
||||
<ul>
|
||||
<li><strong>name</strong> (<em>Required</em>): A friendly name for this category.</li>
|
||||
<li><strong>identifier</strong> (<em>Required</em>): A unique identifier for the category. Must be uppercase and have no special characters or spaces.</li>
|
||||
<li><strong>action</strong> (<em>Required</em>): A list of actions.</li>
|
||||
</ul>
|
||||
|
||||
<h2><a class="title-link" name="action-parameters" href="#action-parameters"></a> Action parameters</h2>
|
||||
|
||||
<ul>
|
||||
<li><strong>identifier</strong> (<em>Required</em>): A unique identifier for this action. Must be uppercase and have no special characters or spaces. Only needs to be unique to the category, not unique globally.</li>
|
||||
<li><strong>title</strong> (<em>Required</em>): The text to display on the button. Keep it short.</li>
|
||||
<li><strong>activationMode</strong> (<em>Optional</em>): The mode in which to run the app when the action is performed. Setting this to <code class="highlighter-rouge">foreground</code> will make the app open after selecting. Default value is <code class="highlighter-rouge">background</code>.</li>
|
||||
<li><strong>authenticationRequired</strong> (<em>Optional</em>): If a truthy value (<code class="highlighter-rouge">true</code>, <code class="highlighter-rouge">True</code>, <code class="highlighter-rouge">yes</code>, etc.) the user must unlock the device before the action is performed.</li>
|
||||
<li><strong>destructive</strong> (<em>Optional</em>): When the value of this property is a truthy value, the system displays the corresponding button differently to indicate that the action is destructive (text color is red).</li>
|
||||
<li><strong>behavior</strong> (<em>Optional</em>): When <code class="highlighter-rouge">textInput</code> the system provides a way for the user to enter a text response to be included with the notification. The entered text will be sent back to Home Assistant. Default value is <code class="highlighter-rouge">default</code>.</li>
|
||||
<li><strong>textInputButtonTitle</strong> (<em>Optional</em>): The button label. <em>Required</em> if <code class="highlighter-rouge">behavior</code> is <code class="highlighter-rouge">textInput</code>.</li>
|
||||
<li><strong>textInputPlaceholder</strong> (<em>Optional</em>): The placeholder text to show in the text input field. Only used if <code class="highlighter-rouge">behavior</code> is <code class="highlighter-rouge">textInput</code> and the device runs iOS 10.</li>
|
||||
</ul>
|
||||
|
||||
<p>Here’s a fully built example configuration:</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">ios</span><span class="pi">:</span>
|
||||
<span class="s">push</span><span class="pi">:</span>
|
||||
<span class="s">categories</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">name</span><span class="pi">:</span> <span class="s">Alarm</span>
|
||||
<span class="s">identifier</span><span class="pi">:</span> <span class="s1">'</span><span class="s">ALARM'</span>
|
||||
<span class="s">actions</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">identifier</span><span class="pi">:</span> <span class="s1">'</span><span class="s">SOUND_ALARM'</span>
|
||||
<span class="s">title</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Sound</span><span class="nv"> </span><span class="s">Alarm'</span>
|
||||
<span class="s">activationMode</span><span class="pi">:</span> <span class="s1">'</span><span class="s">background'</span>
|
||||
<span class="s">authenticationRequired</span><span class="pi">:</span> <span class="s">yes</span>
|
||||
<span class="s">destructive</span><span class="pi">:</span> <span class="s">yes</span>
|
||||
<span class="s">behavior</span><span class="pi">:</span> <span class="s1">'</span><span class="s">default'</span>
|
||||
<span class="pi">-</span> <span class="s">identifier</span><span class="pi">:</span> <span class="s1">'</span><span class="s">SILENCE_ALARM'</span>
|
||||
<span class="s">title</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Silence</span><span class="nv"> </span><span class="s">Alarm'</span>
|
||||
<span class="s">activationMode</span><span class="pi">:</span> <span class="s1">'</span><span class="s">background'</span>
|
||||
<span class="s">authenticationRequired</span><span class="pi">:</span> <span class="s">yes</span>
|
||||
<span class="s">destructive</span><span class="pi">:</span> <span class="s">no</span>
|
||||
<span class="s">behavior</span><span class="pi">:</span> <span class="s1">'</span><span class="s">textInput'</span>
|
||||
<span class="s">textInputButtonTitle</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Silencio!'</span>
|
||||
<span class="s">textInputPlaceholder</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Placeholder'</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<h2><a class="title-link" name="building-automations-for-notification-actions" href="#building-automations-for-notification-actions"></a> Building automations for notification actions</h2>
|
||||
<p>Here is an example automation to send a notification with a category in the payload:</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">automation</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">alias</span><span class="pi">:</span> <span class="s">Notify iOS app</span>
|
||||
<span class="s">trigger</span><span class="pi">:</span>
|
||||
<span class="s">...</span>
|
||||
<span class="s">action</span><span class="pi">:</span>
|
||||
<span class="s">service</span><span class="pi">:</span> <span class="s">notify.ios_robbies_iphone_7_plus</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">message</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Something</span><span class="nv"> </span><span class="s">happened</span><span class="nv"> </span><span class="s">at</span><span class="nv"> </span><span class="s">home!"</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">push</span><span class="pi">:</span>
|
||||
<span class="s">badge</span><span class="pi">:</span> <span class="s">5</span>
|
||||
<span class="s">sound</span><span class="pi">:</span> <span class="s"><SOUND FILE HERE></span>
|
||||
<span class="s">category</span><span class="pi">:</span> <span class="s2">"</span><span class="s">ALARM"</span> <span class="c1"># Needs to match the top level identifier you used in the ios configuration</span>
|
||||
<span class="s">action_data</span><span class="pi">:</span> <span class="c1"># Anything passed in action_data will get echoed back to Home Assistant.</span>
|
||||
<span class="s">entity_id</span><span class="pi">:</span> <span class="s">light.test</span>
|
||||
<span class="s">my_custom_data</span><span class="pi">:</span> <span class="s">foo_bar</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>When an action is selected an event named <code class="highlighter-rouge">ios.notification_action_fired</code> will be emitted on the Home Assistant event bus. Below is an example payload.</p>
|
||||
|
||||
<div class="language-json highlighter-rouge"><pre class="highlight"><code><span class="p">{</span><span class="w">
|
||||
</span><span class="nt">"sourceDeviceName"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Robbie's iPhone 7 Plus"</span><span class="p">,</span><span class="w">
|
||||
</span><span class="nt">"sourceDeviceID"</span><span class="p">:</span><span class="w"> </span><span class="s2">"robbies_iphone_7_plus"</span><span class="p">,</span><span class="w">
|
||||
</span><span class="nt">"actionName"</span><span class="p">:</span><span class="w"> </span><span class="s2">"SOUND_ALARM"</span><span class="p">,</span><span class="w">
|
||||
</span><span class="nt">"sourceDevicePushId"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ab9f02fe-6ac6-47b8-adeb-5dd87b489156"</span><span class="p">,</span><span class="w">
|
||||
</span><span class="nt">"textInput"</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="p">,</span><span class="w">
|
||||
</span><span class="nt">"actionData"</span><span class="p">:</span><span class="w"> </span><span class="p">{}</span><span class="w">
|
||||
</span><span class="p">}</span><span class="w">
|
||||
</span></code></pre>
|
||||
</div>
|
||||
|
||||
<p>Here’s an example automation for the given payload:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">automation</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">alias</span><span class="pi">:</span> <span class="s">Sound the alarm</span>
|
||||
<span class="s">trigger</span><span class="pi">:</span>
|
||||
<span class="s">platform</span><span class="pi">:</span> <span class="s">event</span>
|
||||
<span class="s">event_type</span><span class="pi">:</span> <span class="s">ios.notification_action_fired</span>
|
||||
<span class="s">event_data</span><span class="pi">:</span>
|
||||
<span class="s">actionName</span><span class="pi">:</span> <span class="s">SOUND_ALARM</span>
|
||||
<span class="s">action</span><span class="pi">:</span>
|
||||
<span class="s">...</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>Notes:</p>
|
||||
|
||||
<ul>
|
||||
<li><code class="highlighter-rouge">textInput</code> will only exist if <code class="highlighter-rouge">behavior</code> was set to <code class="highlighter-rouge">textInput</code>.</li>
|
||||
<li><code class="highlighter-rouge">actionData</code> is a dictionary with parameters passed in the <code class="highlighter-rouge">action_data</code> dictionary of the <code class="highlighter-rouge">push</code> dictionary in the original notification.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Topics</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/docs/installation/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/installation/python/'>Python </a></li>
|
||||
<li><a href='/docs/installation/virtualenv/'>Python Virtual Env </a></li>
|
||||
<li><a href='/docs/installation/docker/'>Docker </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi-all-in-one/'>Raspberrry Pi All-in-One </a></li>
|
||||
<li><a href='/docs/installation/vagrant/'>Vagrant </a></li>
|
||||
<li><a href='/docs/installation/synology/'>Synology </a></li>
|
||||
<li><a href='/docs/installation/updating/'>Updating </a></li>
|
||||
<li><a href='/docs/installation/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/hassbian/'>Hassbian </a>
|
||||
<ul>
|
||||
<li><a href='/docs/hassbian/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/hassbian/customization/'>Customization </a></li>
|
||||
<li><a href='/docs/hassbian/common-tasks/'>Common tasks </a></li>
|
||||
<li><a href='/docs/hassbian/integrations/'>Integrations </a></li>
|
||||
<li><a href='/docs/hassbian/upgrading/'>Upgrading </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/yaml/'>YAML </a></li>
|
||||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Advanced Configuration
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/remote/'>Remote access </a></li>
|
||||
<li><a href='/docs/configuration/packages/'>Packages </a></li>
|
||||
<li><a href='/docs/configuration/splitting_configuration/'>Splitting up the configuration </a></li>
|
||||
<li><a href='/docs/configuration/secrets/'>Storing Secrets </a></li>
|
||||
<li><a href='/docs/configuration/templating/'>Templating </a></li>
|
||||
<li><a href='/docs/configuration/group_visibility/'>Group Visibility </a></li>
|
||||
<li><a href='/docs/configuration/events/'>Events </a></li>
|
||||
<li><a href='/docs/configuration/state_object/'>State Objects </a></li>
|
||||
<li><a href='/docs/configuration/platform_options/'>Entity component platform options </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
<li><a href='/docs/automation/templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/frontend/'>Frontend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/frontend/mobile/'>Android/iOS Homescreen </a></li>
|
||||
<li><a href='/docs/frontend/webserver/'>Web server fingerprint </a></li>
|
||||
<li><a href='/docs/frontend/browsers/'>Browser Compatibility List </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/backend/'>Backend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/backend/database/'>Database </a></li>
|
||||
<li><a href='/docs/backend/updater/'>Updater </a></li>
|
||||
<li><a href='/developers/api/'>API </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/docs/scripts/service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
<li><a href='/docs/z-wave/controllers/'>Controllers </a></li>
|
||||
<li><a href='/docs/z-wave/settings/'>Modifying Settings </a></li>
|
||||
<li><a href='/docs/z-wave/device-specific/'>Device Specific </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/mqtt/'>MQTT </a>
|
||||
<ul>
|
||||
<li><a href='/docs/mqtt/broker/'>Broker </a></li>
|
||||
<li><a href='/docs/mqtt/certificate/'>Certificate </a></li>
|
||||
<li><a href='/docs/mqtt/discovery/'>Discovery </a></li>
|
||||
<li><a href='/docs/mqtt/service/'>Publish service </a></li>
|
||||
<li><a href='/docs/mqtt/birth_will/'>Birth and last will messages </a></li>
|
||||
<li><a href='/docs/mqtt/testing/'>Testing your setup </a></li>
|
||||
<li><a href='/docs/mqtt/logging/'>Logging </a></li>
|
||||
<li><a href='/docs/mqtt/processing_json/'>Processing JSON </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/'>Ecosystem </a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/autostart/systemd/'>systemd (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/upstart/'>Upstart (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/init.d/'>init.d (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/macos/'>macOS </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/appdaemon/'>AppDaemon </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/appdaemon/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/configuration/'>Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/example_apps/'>Example Apps </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/running/'>Running AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/reboot/'>Starting AppDaemon at Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/operation/'>Operation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/windows/'>AppDaemon on Windows </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/updating/'>Updating AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/tutorial/'>AppDaemon Tutorial </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/api/'>AppDaemon API Reference </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/hadashboard/'>HADashboard </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/hadashboard/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/dash_config/'>Dashboard Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/hapush/'>HAPush </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/reboot/'>Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/updating/'>Updating HADashboard </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/notebooks/'>Notebooks </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/notebooks/'>Introduction </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/graph/'>Graph </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/api/'>Home Assistant API </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/database/'>Databsase </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/stats/'>Statistics </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/ios/notifications/'>iOS </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/basic/'>Basic notifications </a></li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/sounds/'>Sounds </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/architecture/'>Architecture </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/privacy_security_rate_limits/'>Privacy, rate limiting and security </a></li>
|
||||
</ul>
|
||||
<li>Advanced notifications</li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/attachments/'>Attachments </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/content_extensions/'>Dynamic content </a></li>
|
||||
<li><a class='active' href='/docs/ecosystem/ios/notifications/actions/'>Actionable notifications </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/requesting_location_updates/'>Requesting location updates </a></li>
|
||||
</ul>
|
||||
<li><a href='/docs/ecosystem/ios/location/'>Location Tracking </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/integration/'>Integration with other apps </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
|
||||
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
329
docs/ecosystem/ios/notifications/architecture/index.html
Normal file
329
docs/ecosystem/ios/notifications/architecture/index.html
Normal file
|
@ -0,0 +1,329 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Architecture - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="The push notification system layout">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/ecosystem/ios/notifications/architecture/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Architecture">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/ecosystem/ios/notifications/architecture/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="The push notification system layout">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Architecture">
|
||||
<meta name="twitter:description" content="The push notification system layout">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href="/getting-started/">Getting started</a></li>
|
||||
<li><a href="/components/">Components</a></li>
|
||||
<li><a href="/docs/">Docs</a></li>
|
||||
<li><a href="/cookbook/">Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_docs/ecosystem/ios/notifications/architecture.markdown'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Architecture
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/ios/PushNotificationLayout.png" />
|
||||
The push notification infrastructure layout
|
||||
</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Topics</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/docs/installation/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/installation/python/'>Python </a></li>
|
||||
<li><a href='/docs/installation/virtualenv/'>Python Virtual Env </a></li>
|
||||
<li><a href='/docs/installation/docker/'>Docker </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi-all-in-one/'>Raspberrry Pi All-in-One </a></li>
|
||||
<li><a href='/docs/installation/vagrant/'>Vagrant </a></li>
|
||||
<li><a href='/docs/installation/synology/'>Synology </a></li>
|
||||
<li><a href='/docs/installation/updating/'>Updating </a></li>
|
||||
<li><a href='/docs/installation/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/hassbian/'>Hassbian </a>
|
||||
<ul>
|
||||
<li><a href='/docs/hassbian/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/hassbian/customization/'>Customization </a></li>
|
||||
<li><a href='/docs/hassbian/common-tasks/'>Common tasks </a></li>
|
||||
<li><a href='/docs/hassbian/integrations/'>Integrations </a></li>
|
||||
<li><a href='/docs/hassbian/upgrading/'>Upgrading </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/yaml/'>YAML </a></li>
|
||||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Advanced Configuration
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/remote/'>Remote access </a></li>
|
||||
<li><a href='/docs/configuration/packages/'>Packages </a></li>
|
||||
<li><a href='/docs/configuration/splitting_configuration/'>Splitting up the configuration </a></li>
|
||||
<li><a href='/docs/configuration/secrets/'>Storing Secrets </a></li>
|
||||
<li><a href='/docs/configuration/templating/'>Templating </a></li>
|
||||
<li><a href='/docs/configuration/group_visibility/'>Group Visibility </a></li>
|
||||
<li><a href='/docs/configuration/events/'>Events </a></li>
|
||||
<li><a href='/docs/configuration/state_object/'>State Objects </a></li>
|
||||
<li><a href='/docs/configuration/platform_options/'>Entity component platform options </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
<li><a href='/docs/automation/templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/frontend/'>Frontend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/frontend/mobile/'>Android/iOS Homescreen </a></li>
|
||||
<li><a href='/docs/frontend/webserver/'>Web server fingerprint </a></li>
|
||||
<li><a href='/docs/frontend/browsers/'>Browser Compatibility List </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/backend/'>Backend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/backend/database/'>Database </a></li>
|
||||
<li><a href='/docs/backend/updater/'>Updater </a></li>
|
||||
<li><a href='/developers/api/'>API </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/docs/scripts/service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
<li><a href='/docs/z-wave/controllers/'>Controllers </a></li>
|
||||
<li><a href='/docs/z-wave/settings/'>Modifying Settings </a></li>
|
||||
<li><a href='/docs/z-wave/device-specific/'>Device Specific </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/mqtt/'>MQTT </a>
|
||||
<ul>
|
||||
<li><a href='/docs/mqtt/broker/'>Broker </a></li>
|
||||
<li><a href='/docs/mqtt/certificate/'>Certificate </a></li>
|
||||
<li><a href='/docs/mqtt/discovery/'>Discovery </a></li>
|
||||
<li><a href='/docs/mqtt/service/'>Publish service </a></li>
|
||||
<li><a href='/docs/mqtt/birth_will/'>Birth and last will messages </a></li>
|
||||
<li><a href='/docs/mqtt/testing/'>Testing your setup </a></li>
|
||||
<li><a href='/docs/mqtt/logging/'>Logging </a></li>
|
||||
<li><a href='/docs/mqtt/processing_json/'>Processing JSON </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/'>Ecosystem </a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/autostart/systemd/'>systemd (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/upstart/'>Upstart (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/init.d/'>init.d (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/macos/'>macOS </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/appdaemon/'>AppDaemon </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/appdaemon/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/configuration/'>Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/example_apps/'>Example Apps </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/running/'>Running AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/reboot/'>Starting AppDaemon at Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/operation/'>Operation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/windows/'>AppDaemon on Windows </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/updating/'>Updating AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/tutorial/'>AppDaemon Tutorial </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/api/'>AppDaemon API Reference </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/hadashboard/'>HADashboard </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/hadashboard/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/dash_config/'>Dashboard Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/hapush/'>HAPush </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/reboot/'>Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/updating/'>Updating HADashboard </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/notebooks/'>Notebooks </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/notebooks/'>Introduction </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/graph/'>Graph </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/api/'>Home Assistant API </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/database/'>Databsase </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/stats/'>Statistics </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/ios/notifications/'>iOS </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/basic/'>Basic notifications </a></li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/sounds/'>Sounds </a></li>
|
||||
<li><a class='active' href='/docs/ecosystem/ios/notifications/architecture/'>Architecture </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/privacy_security_rate_limits/'>Privacy, rate limiting and security </a></li>
|
||||
</ul>
|
||||
<li>Advanced notifications</li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/attachments/'>Attachments </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/content_extensions/'>Dynamic content </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/actions/'>Actionable notifications </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/requesting_location_updates/'>Requesting location updates </a></li>
|
||||
</ul>
|
||||
<li><a href='/docs/ecosystem/ios/location/'>Location Tracking </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/integration/'>Integration with other apps </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
|
||||
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
394
docs/ecosystem/ios/notifications/attachments/index.html
Normal file
394
docs/ecosystem/ios/notifications/attachments/index.html
Normal file
|
@ -0,0 +1,394 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Notification attachments - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Adding attachments to iOS push notifications">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/ecosystem/ios/notifications/attachments/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Notification attachments">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/ecosystem/ios/notifications/attachments/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Adding attachments to iOS push notifications">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Notification attachments">
|
||||
<meta name="twitter:description" content="Adding attachments to iOS push notifications">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href="/getting-started/">Getting started</a></li>
|
||||
<li><a href="/components/">Components</a></li>
|
||||
<li><a href="/docs/">Docs</a></li>
|
||||
<li><a href="/cookbook/">Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_docs/ecosystem/ios/notifications/attachments.markdown'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Notification Attachments
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>iOS 10 adds <em>attachments</em> to notifications. An attachment is an image, video, or audio file which is downloaded to the device when a notification is received and shown alongside the notification. A thumbnail is shown when the notification is not expanded. The full size attachment is shown when the notification is expanded.</p>
|
||||
|
||||
<p class="note">
|
||||
To expand a notification on 3D Touch devices simply force touch any notification. On non-3D Touch devices swipe and tap the “View” button.
|
||||
</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="pi">-</span> <span class="s">alias</span><span class="pi">:</span> <span class="s">Notify iOS app</span>
|
||||
<span class="s">trigger</span><span class="pi">:</span>
|
||||
<span class="s">...</span>
|
||||
<span class="s">action</span><span class="pi">:</span>
|
||||
<span class="s">service</span><span class="pi">:</span> <span class="s">notify.ios_robbies_iphone_7_plus</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">message</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Something</span><span class="nv"> </span><span class="s">happened</span><span class="nv"> </span><span class="s">at</span><span class="nv"> </span><span class="s">home!"</span><span class="s2">"</span>
|
||||
<span class="s">data:</span>
|
||||
<span class="s">attachment:</span>
|
||||
<span class="s">url:</span><span class="nv"> </span><span class="s">https://67.media.tumblr.com/ab04c028a5244377a0ab96e73915e584/tumblr_nfn3ztLjxk1tq4of6o1_400.gif</span>
|
||||
<span class="s">content-type:</span><span class="nv"> </span><span class="s">gif</span>
|
||||
<span class="s">hide-thumbnail:</span><span class="nv"> </span><span class="s">false</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>Notes:</p>
|
||||
<ul>
|
||||
<li>The thumbnail of the notification will be the media at the <code class="highlighter-rouge">url</code>.</li>
|
||||
<li>The notification content is the media at the <code class="highlighter-rouge">url</code>.</li>
|
||||
<li>Attachment can be used with custom push notification categories.</li>
|
||||
</ul>
|
||||
|
||||
<h2>Example</h2>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/ios/attachment.png" />
|
||||
An unexpanded push notification with an attachment.
|
||||
</p>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/ios/expanded_attachment.png" />
|
||||
The same notification but expanded to show the full size attachment
|
||||
</p>
|
||||
|
||||
<h2>Supported media types</h2>
|
||||
|
||||
<p>If the attachment does not appear please ensure it is in one of the following formats:</p>
|
||||
|
||||
<h3>Audio attachments</h3>
|
||||
|
||||
<p>Maximum file size: 5 MB</p>
|
||||
|
||||
<p>Allowed Formats: AIFF, WAV, MP3, MPEG4 Audio</p>
|
||||
|
||||
<h3>Image attachments</h3>
|
||||
|
||||
<p>Maximum file size: 10 MB</p>
|
||||
|
||||
<p>Allowed Formats: JPEG, GIF, PNG</p>
|
||||
|
||||
<h3>Video attachments</h3>
|
||||
|
||||
<p>Maximum file size: 50 MB</p>
|
||||
|
||||
<p>Allowed Formats: MPEG, MPEG2, MPEG4, AVI</p>
|
||||
|
||||
<h2>Configuration</h2>
|
||||
|
||||
<ul>
|
||||
<li><strong>url</strong> (<em>Required</em>): The URL of content to use as the attachment. This URL <em>must</em> be accessible from the Internet, or the receiving device must be on the same network as the hosted content.</li>
|
||||
<li><strong>content-type</strong> (<em>Optional</em>): By default, the extension of the URL will be checked to determine the filetype. If there is no extension/it can’t be determined you can manually provide a file extension.</li>
|
||||
<li><strong>hide-thumbnail</strong> (<em>Optional</em>): If set to <code class="highlighter-rouge">true</code> the thumbnail will not show on the notification. The content will only be viewable by expanding.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Topics</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/docs/installation/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/installation/python/'>Python </a></li>
|
||||
<li><a href='/docs/installation/virtualenv/'>Python Virtual Env </a></li>
|
||||
<li><a href='/docs/installation/docker/'>Docker </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi-all-in-one/'>Raspberrry Pi All-in-One </a></li>
|
||||
<li><a href='/docs/installation/vagrant/'>Vagrant </a></li>
|
||||
<li><a href='/docs/installation/synology/'>Synology </a></li>
|
||||
<li><a href='/docs/installation/updating/'>Updating </a></li>
|
||||
<li><a href='/docs/installation/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/hassbian/'>Hassbian </a>
|
||||
<ul>
|
||||
<li><a href='/docs/hassbian/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/hassbian/customization/'>Customization </a></li>
|
||||
<li><a href='/docs/hassbian/common-tasks/'>Common tasks </a></li>
|
||||
<li><a href='/docs/hassbian/integrations/'>Integrations </a></li>
|
||||
<li><a href='/docs/hassbian/upgrading/'>Upgrading </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/yaml/'>YAML </a></li>
|
||||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Advanced Configuration
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/remote/'>Remote access </a></li>
|
||||
<li><a href='/docs/configuration/packages/'>Packages </a></li>
|
||||
<li><a href='/docs/configuration/splitting_configuration/'>Splitting up the configuration </a></li>
|
||||
<li><a href='/docs/configuration/secrets/'>Storing Secrets </a></li>
|
||||
<li><a href='/docs/configuration/templating/'>Templating </a></li>
|
||||
<li><a href='/docs/configuration/group_visibility/'>Group Visibility </a></li>
|
||||
<li><a href='/docs/configuration/events/'>Events </a></li>
|
||||
<li><a href='/docs/configuration/state_object/'>State Objects </a></li>
|
||||
<li><a href='/docs/configuration/platform_options/'>Entity component platform options </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
<li><a href='/docs/automation/templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/frontend/'>Frontend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/frontend/mobile/'>Android/iOS Homescreen </a></li>
|
||||
<li><a href='/docs/frontend/webserver/'>Web server fingerprint </a></li>
|
||||
<li><a href='/docs/frontend/browsers/'>Browser Compatibility List </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/backend/'>Backend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/backend/database/'>Database </a></li>
|
||||
<li><a href='/docs/backend/updater/'>Updater </a></li>
|
||||
<li><a href='/developers/api/'>API </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/docs/scripts/service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
<li><a href='/docs/z-wave/controllers/'>Controllers </a></li>
|
||||
<li><a href='/docs/z-wave/settings/'>Modifying Settings </a></li>
|
||||
<li><a href='/docs/z-wave/device-specific/'>Device Specific </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/mqtt/'>MQTT </a>
|
||||
<ul>
|
||||
<li><a href='/docs/mqtt/broker/'>Broker </a></li>
|
||||
<li><a href='/docs/mqtt/certificate/'>Certificate </a></li>
|
||||
<li><a href='/docs/mqtt/discovery/'>Discovery </a></li>
|
||||
<li><a href='/docs/mqtt/service/'>Publish service </a></li>
|
||||
<li><a href='/docs/mqtt/birth_will/'>Birth and last will messages </a></li>
|
||||
<li><a href='/docs/mqtt/testing/'>Testing your setup </a></li>
|
||||
<li><a href='/docs/mqtt/logging/'>Logging </a></li>
|
||||
<li><a href='/docs/mqtt/processing_json/'>Processing JSON </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/'>Ecosystem </a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/autostart/systemd/'>systemd (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/upstart/'>Upstart (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/init.d/'>init.d (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/macos/'>macOS </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/appdaemon/'>AppDaemon </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/appdaemon/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/configuration/'>Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/example_apps/'>Example Apps </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/running/'>Running AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/reboot/'>Starting AppDaemon at Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/operation/'>Operation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/windows/'>AppDaemon on Windows </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/updating/'>Updating AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/tutorial/'>AppDaemon Tutorial </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/api/'>AppDaemon API Reference </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/hadashboard/'>HADashboard </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/hadashboard/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/dash_config/'>Dashboard Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/hapush/'>HAPush </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/reboot/'>Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/updating/'>Updating HADashboard </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/notebooks/'>Notebooks </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/notebooks/'>Introduction </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/graph/'>Graph </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/api/'>Home Assistant API </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/database/'>Databsase </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/stats/'>Statistics </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/ios/notifications/'>iOS </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/basic/'>Basic notifications </a></li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/sounds/'>Sounds </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/architecture/'>Architecture </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/privacy_security_rate_limits/'>Privacy, rate limiting and security </a></li>
|
||||
</ul>
|
||||
<li>Advanced notifications</li>
|
||||
<ul>
|
||||
<li><a class='active' href='/docs/ecosystem/ios/notifications/attachments/'>Attachments </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/content_extensions/'>Dynamic content </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/actions/'>Actionable notifications </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/requesting_location_updates/'>Requesting location updates </a></li>
|
||||
</ul>
|
||||
<li><a href='/docs/ecosystem/ios/location/'>Location Tracking </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/integration/'>Integration with other apps </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
|
||||
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
377
docs/ecosystem/ios/notifications/basic/index.html
Normal file
377
docs/ecosystem/ios/notifications/basic/index.html
Normal file
|
@ -0,0 +1,377 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Basic Notifications - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Basic notes about iOS notifications">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/ecosystem/ios/notifications/basic/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Basic Notifications">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/ecosystem/ios/notifications/basic/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Basic notes about iOS notifications">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Basic Notifications">
|
||||
<meta name="twitter:description" content="Basic notes about iOS notifications">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href="/getting-started/">Getting started</a></li>
|
||||
<li><a href="/components/">Components</a></li>
|
||||
<li><a href="/docs/">Docs</a></li>
|
||||
<li><a href="/cookbook/">Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_docs/ecosystem/ios/notifications/basic.markdown'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Basic Notifications
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The iOS notify platform accepts the standard <code class="highlighter-rouge">title</code>, <code class="highlighter-rouge">message</code> and <code class="highlighter-rouge">target</code> parameters. The iOS notify platform supports targets as services. Assuming that you did not set a <code class="highlighter-rouge">name</code> when configuring the platform you should find all your registered and notification-enabled iOS devices available as notify targets as services with names prefixed “notify.ios_” and then the device name you entered at setup.</p>
|
||||
|
||||
<p>Notes:</p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<p><code class="highlighter-rouge">title</code> only displays on Apple Watch and iOS 10 devices.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code class="highlighter-rouge">target</code> can be used to specific a single device using its PushID, found in <code class="highlighter-rouge">ios.conf</code>. The preferred way of providing a target is through a target specific notify service.</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/ios/example.png" />
|
||||
A push notification showing all of the basic options <code class="highlighter-rouge">title</code> and <code class="highlighter-rouge">message</code> as well as <code class="highlighter-rouge">subtitle</code> and <a href="/ecosystem/ios/notifications/actions/">actions</a>.
|
||||
</p>
|
||||
|
||||
<h3><a class="title-link" name="enhancing-basic-notifications" href="#enhancing-basic-notifications"></a> Enhancing basic notifications</h3>
|
||||
|
||||
<h4>Badge</h4>
|
||||
<p>You can set the icon badge in the payload:</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">automation</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">alias</span><span class="pi">:</span> <span class="s">Notify iOS app</span>
|
||||
<span class="s">trigger</span><span class="pi">:</span>
|
||||
<span class="s">...</span>
|
||||
<span class="s">action</span><span class="pi">:</span>
|
||||
<span class="s">service</span><span class="pi">:</span> <span class="s">notify.iOSApp</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">message</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Something</span><span class="nv"> </span><span class="s">happened</span><span class="nv"> </span><span class="s">at</span><span class="nv"> </span><span class="s">home!"</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">push</span><span class="pi">:</span>
|
||||
<span class="s">badge</span><span class="pi">:</span> <span class="s">5</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<h4>Subtitle</h4>
|
||||
<p>iOS 10 supports a subtitle in addition to the title:</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">automation</span>
|
||||
<span class="s">- alias</span><span class="pi">:</span> <span class="s">Notify iOS app</span>
|
||||
<span class="s">trigger</span><span class="pi">:</span>
|
||||
<span class="s">...</span>
|
||||
<span class="s">action</span><span class="pi">:</span>
|
||||
<span class="s">service</span><span class="pi">:</span> <span class="s">notify.iOSApp</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">message</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Something</span><span class="nv"> </span><span class="s">happened</span><span class="nv"> </span><span class="s">at</span><span class="nv"> </span><span class="s">home!"</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">subtitle</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Subtitle</span><span class="nv"> </span><span class="s">goes</span><span class="nv"> </span><span class="s">here"</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Topics</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/docs/installation/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/installation/python/'>Python </a></li>
|
||||
<li><a href='/docs/installation/virtualenv/'>Python Virtual Env </a></li>
|
||||
<li><a href='/docs/installation/docker/'>Docker </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi-all-in-one/'>Raspberrry Pi All-in-One </a></li>
|
||||
<li><a href='/docs/installation/vagrant/'>Vagrant </a></li>
|
||||
<li><a href='/docs/installation/synology/'>Synology </a></li>
|
||||
<li><a href='/docs/installation/updating/'>Updating </a></li>
|
||||
<li><a href='/docs/installation/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/hassbian/'>Hassbian </a>
|
||||
<ul>
|
||||
<li><a href='/docs/hassbian/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/hassbian/customization/'>Customization </a></li>
|
||||
<li><a href='/docs/hassbian/common-tasks/'>Common tasks </a></li>
|
||||
<li><a href='/docs/hassbian/integrations/'>Integrations </a></li>
|
||||
<li><a href='/docs/hassbian/upgrading/'>Upgrading </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/yaml/'>YAML </a></li>
|
||||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Advanced Configuration
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/remote/'>Remote access </a></li>
|
||||
<li><a href='/docs/configuration/packages/'>Packages </a></li>
|
||||
<li><a href='/docs/configuration/splitting_configuration/'>Splitting up the configuration </a></li>
|
||||
<li><a href='/docs/configuration/secrets/'>Storing Secrets </a></li>
|
||||
<li><a href='/docs/configuration/templating/'>Templating </a></li>
|
||||
<li><a href='/docs/configuration/group_visibility/'>Group Visibility </a></li>
|
||||
<li><a href='/docs/configuration/events/'>Events </a></li>
|
||||
<li><a href='/docs/configuration/state_object/'>State Objects </a></li>
|
||||
<li><a href='/docs/configuration/platform_options/'>Entity component platform options </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
<li><a href='/docs/automation/templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/frontend/'>Frontend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/frontend/mobile/'>Android/iOS Homescreen </a></li>
|
||||
<li><a href='/docs/frontend/webserver/'>Web server fingerprint </a></li>
|
||||
<li><a href='/docs/frontend/browsers/'>Browser Compatibility List </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/backend/'>Backend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/backend/database/'>Database </a></li>
|
||||
<li><a href='/docs/backend/updater/'>Updater </a></li>
|
||||
<li><a href='/developers/api/'>API </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/docs/scripts/service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
<li><a href='/docs/z-wave/controllers/'>Controllers </a></li>
|
||||
<li><a href='/docs/z-wave/settings/'>Modifying Settings </a></li>
|
||||
<li><a href='/docs/z-wave/device-specific/'>Device Specific </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/mqtt/'>MQTT </a>
|
||||
<ul>
|
||||
<li><a href='/docs/mqtt/broker/'>Broker </a></li>
|
||||
<li><a href='/docs/mqtt/certificate/'>Certificate </a></li>
|
||||
<li><a href='/docs/mqtt/discovery/'>Discovery </a></li>
|
||||
<li><a href='/docs/mqtt/service/'>Publish service </a></li>
|
||||
<li><a href='/docs/mqtt/birth_will/'>Birth and last will messages </a></li>
|
||||
<li><a href='/docs/mqtt/testing/'>Testing your setup </a></li>
|
||||
<li><a href='/docs/mqtt/logging/'>Logging </a></li>
|
||||
<li><a href='/docs/mqtt/processing_json/'>Processing JSON </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/'>Ecosystem </a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/autostart/systemd/'>systemd (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/upstart/'>Upstart (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/init.d/'>init.d (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/macos/'>macOS </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/appdaemon/'>AppDaemon </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/appdaemon/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/configuration/'>Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/example_apps/'>Example Apps </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/running/'>Running AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/reboot/'>Starting AppDaemon at Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/operation/'>Operation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/windows/'>AppDaemon on Windows </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/updating/'>Updating AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/tutorial/'>AppDaemon Tutorial </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/api/'>AppDaemon API Reference </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/hadashboard/'>HADashboard </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/hadashboard/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/dash_config/'>Dashboard Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/hapush/'>HAPush </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/reboot/'>Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/updating/'>Updating HADashboard </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/notebooks/'>Notebooks </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/notebooks/'>Introduction </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/graph/'>Graph </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/api/'>Home Assistant API </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/database/'>Databsase </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/stats/'>Statistics </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/ios/notifications/'>iOS </a>
|
||||
<ul>
|
||||
<li><a class='active' href='/docs/ecosystem/ios/notifications/basic/'>Basic notifications </a></li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/sounds/'>Sounds </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/architecture/'>Architecture </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/privacy_security_rate_limits/'>Privacy, rate limiting and security </a></li>
|
||||
</ul>
|
||||
<li>Advanced notifications</li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/attachments/'>Attachments </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/content_extensions/'>Dynamic content </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/actions/'>Actionable notifications </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/requesting_location_updates/'>Requesting location updates </a></li>
|
||||
</ul>
|
||||
<li><a href='/docs/ecosystem/ios/location/'>Location Tracking </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/integration/'>Integration with other apps </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
|
||||
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
374
docs/ecosystem/ios/notifications/content_extensions/index.html
Normal file
374
docs/ecosystem/ios/notifications/content_extensions/index.html
Normal file
|
@ -0,0 +1,374 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Dynamic content - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Extend your notifications with dynamic content">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/ecosystem/ios/notifications/content_extensions/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Dynamic content">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/ecosystem/ios/notifications/content_extensions/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Extend your notifications with dynamic content">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Dynamic content">
|
||||
<meta name="twitter:description" content="Extend your notifications with dynamic content">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href="/getting-started/">Getting started</a></li>
|
||||
<li><a href="/components/">Components</a></li>
|
||||
<li><a href="/docs/">Docs</a></li>
|
||||
<li><a href="/cookbook/">Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_docs/ecosystem/ios/notifications/content_extensions.markdown'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Dynamic Content
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>With the new Content Extension feature found in iOS 10, dynamic content can now be displayed as part of a notification without opening an app.</p>
|
||||
|
||||
<h1>Map</h1>
|
||||
<p>Will show a map with a red tipped pin at the coordinates given.
|
||||
The map will be centered at the coordinates given.</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">service</span><span class="pi">:</span> <span class="s">notify.iOSApp</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">message</span><span class="pi">:</span> <span class="s">Something happened at home!</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">push</span><span class="pi">:</span>
|
||||
<span class="s">category</span><span class="pi">:</span> <span class="s">map</span>
|
||||
<span class="s">action_data</span><span class="pi">:</span>
|
||||
<span class="s">latitude</span><span class="pi">:</span> <span class="s">40.785091</span>
|
||||
<span class="s">longitude</span><span class="pi">:</span> <span class="s">-73.968285</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p class="img">
|
||||
<img src="/images/ios/map.png" />
|
||||
An example of the map dynamic content.
|
||||
</p>
|
||||
|
||||
<h1>Camera Stream</h1>
|
||||
|
||||
<p>The notification thumbnail will be a still image from the camera.
|
||||
The notification content is a real time MJPEG stream of a camera (assuming the camera supports it).</p>
|
||||
|
||||
<p>You can use the attachment parameters <code class="highlighter-rouge">content-type</code> and <code class="highlighter-rouge">hide-thumbnail</code> with camera.</p>
|
||||
|
||||
<p>You can view an example <a href="https://www.youtube.com/watch?v=LmYwpxPKW0g">here</a>.</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">service</span><span class="pi">:</span> <span class="s">notify.iOSApp</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">message</span><span class="pi">:</span> <span class="s">Motion detected in the Living Room</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">push</span><span class="pi">:</span>
|
||||
<span class="s">category</span><span class="pi">:</span> <span class="s">camera</span>
|
||||
<span class="s">entity_id</span><span class="pi">:</span> <span class="s">camera.demo_camera</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<div class="videoWrapper">
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/LmYwpxPKW0g" frameborder="0" allowfullscreen=""></iframe>
|
||||
</div>
|
||||
|
||||
<h1>Combining with actionable notifications</h1>
|
||||
|
||||
<p>As you can see the <code class="highlighter-rouge">category</code> key is used to tell the device what kind of content extension to use. You can use the same category identifiers in your own custom <a href="/ecosystem/ios/notifications/actions/">actions</a> to add actions to the content extension.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Topics</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/docs/installation/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/installation/python/'>Python </a></li>
|
||||
<li><a href='/docs/installation/virtualenv/'>Python Virtual Env </a></li>
|
||||
<li><a href='/docs/installation/docker/'>Docker </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi-all-in-one/'>Raspberrry Pi All-in-One </a></li>
|
||||
<li><a href='/docs/installation/vagrant/'>Vagrant </a></li>
|
||||
<li><a href='/docs/installation/synology/'>Synology </a></li>
|
||||
<li><a href='/docs/installation/updating/'>Updating </a></li>
|
||||
<li><a href='/docs/installation/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/hassbian/'>Hassbian </a>
|
||||
<ul>
|
||||
<li><a href='/docs/hassbian/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/hassbian/customization/'>Customization </a></li>
|
||||
<li><a href='/docs/hassbian/common-tasks/'>Common tasks </a></li>
|
||||
<li><a href='/docs/hassbian/integrations/'>Integrations </a></li>
|
||||
<li><a href='/docs/hassbian/upgrading/'>Upgrading </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/yaml/'>YAML </a></li>
|
||||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Advanced Configuration
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/remote/'>Remote access </a></li>
|
||||
<li><a href='/docs/configuration/packages/'>Packages </a></li>
|
||||
<li><a href='/docs/configuration/splitting_configuration/'>Splitting up the configuration </a></li>
|
||||
<li><a href='/docs/configuration/secrets/'>Storing Secrets </a></li>
|
||||
<li><a href='/docs/configuration/templating/'>Templating </a></li>
|
||||
<li><a href='/docs/configuration/group_visibility/'>Group Visibility </a></li>
|
||||
<li><a href='/docs/configuration/events/'>Events </a></li>
|
||||
<li><a href='/docs/configuration/state_object/'>State Objects </a></li>
|
||||
<li><a href='/docs/configuration/platform_options/'>Entity component platform options </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
<li><a href='/docs/automation/templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/frontend/'>Frontend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/frontend/mobile/'>Android/iOS Homescreen </a></li>
|
||||
<li><a href='/docs/frontend/webserver/'>Web server fingerprint </a></li>
|
||||
<li><a href='/docs/frontend/browsers/'>Browser Compatibility List </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/backend/'>Backend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/backend/database/'>Database </a></li>
|
||||
<li><a href='/docs/backend/updater/'>Updater </a></li>
|
||||
<li><a href='/developers/api/'>API </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/docs/scripts/service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
<li><a href='/docs/z-wave/controllers/'>Controllers </a></li>
|
||||
<li><a href='/docs/z-wave/settings/'>Modifying Settings </a></li>
|
||||
<li><a href='/docs/z-wave/device-specific/'>Device Specific </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/mqtt/'>MQTT </a>
|
||||
<ul>
|
||||
<li><a href='/docs/mqtt/broker/'>Broker </a></li>
|
||||
<li><a href='/docs/mqtt/certificate/'>Certificate </a></li>
|
||||
<li><a href='/docs/mqtt/discovery/'>Discovery </a></li>
|
||||
<li><a href='/docs/mqtt/service/'>Publish service </a></li>
|
||||
<li><a href='/docs/mqtt/birth_will/'>Birth and last will messages </a></li>
|
||||
<li><a href='/docs/mqtt/testing/'>Testing your setup </a></li>
|
||||
<li><a href='/docs/mqtt/logging/'>Logging </a></li>
|
||||
<li><a href='/docs/mqtt/processing_json/'>Processing JSON </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/'>Ecosystem </a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/autostart/systemd/'>systemd (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/upstart/'>Upstart (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/init.d/'>init.d (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/macos/'>macOS </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/appdaemon/'>AppDaemon </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/appdaemon/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/configuration/'>Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/example_apps/'>Example Apps </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/running/'>Running AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/reboot/'>Starting AppDaemon at Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/operation/'>Operation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/windows/'>AppDaemon on Windows </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/updating/'>Updating AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/tutorial/'>AppDaemon Tutorial </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/api/'>AppDaemon API Reference </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/hadashboard/'>HADashboard </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/hadashboard/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/dash_config/'>Dashboard Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/hapush/'>HAPush </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/reboot/'>Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/updating/'>Updating HADashboard </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/notebooks/'>Notebooks </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/notebooks/'>Introduction </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/graph/'>Graph </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/api/'>Home Assistant API </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/database/'>Databsase </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/stats/'>Statistics </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/ios/notifications/'>iOS </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/basic/'>Basic notifications </a></li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/sounds/'>Sounds </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/architecture/'>Architecture </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/privacy_security_rate_limits/'>Privacy, rate limiting and security </a></li>
|
||||
</ul>
|
||||
<li>Advanced notifications</li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/attachments/'>Attachments </a></li>
|
||||
<li><a class='active' href='/docs/ecosystem/ios/notifications/content_extensions/'>Dynamic content </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/actions/'>Actionable notifications </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/requesting_location_updates/'>Requesting location updates </a></li>
|
||||
</ul>
|
||||
<li><a href='/docs/ecosystem/ios/location/'>Location Tracking </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/integration/'>Integration with other apps </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
|
||||
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
328
docs/ecosystem/ios/notifications/index.html
Normal file
328
docs/ecosystem/ios/notifications/index.html
Normal file
|
@ -0,0 +1,328 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Notifications Introduction - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Getting started with iOS notifications">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/ecosystem/ios/notifications/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Notifications Introduction">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/ecosystem/ios/notifications/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Getting started with iOS notifications">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Notifications Introduction">
|
||||
<meta name="twitter:description" content="Getting started with iOS notifications">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href="/getting-started/">Getting started</a></li>
|
||||
<li><a href="/components/">Components</a></li>
|
||||
<li><a href="/docs/">Docs</a></li>
|
||||
<li><a href="/cookbook/">Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_docs/ecosystem/ios/notifications.markdown'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Notifications Introduction
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The <code class="highlighter-rouge">ios</code> notify platform enables sending push notifications to the Home Assistant iOS app.</p>
|
||||
|
||||
<p>The ‘ios’ component will automatically load the notify serivce. No extra configuration is needed or supported.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Topics</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/docs/installation/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/installation/python/'>Python </a></li>
|
||||
<li><a href='/docs/installation/virtualenv/'>Python Virtual Env </a></li>
|
||||
<li><a href='/docs/installation/docker/'>Docker </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi-all-in-one/'>Raspberrry Pi All-in-One </a></li>
|
||||
<li><a href='/docs/installation/vagrant/'>Vagrant </a></li>
|
||||
<li><a href='/docs/installation/synology/'>Synology </a></li>
|
||||
<li><a href='/docs/installation/updating/'>Updating </a></li>
|
||||
<li><a href='/docs/installation/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/hassbian/'>Hassbian </a>
|
||||
<ul>
|
||||
<li><a href='/docs/hassbian/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/hassbian/customization/'>Customization </a></li>
|
||||
<li><a href='/docs/hassbian/common-tasks/'>Common tasks </a></li>
|
||||
<li><a href='/docs/hassbian/integrations/'>Integrations </a></li>
|
||||
<li><a href='/docs/hassbian/upgrading/'>Upgrading </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/yaml/'>YAML </a></li>
|
||||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Advanced Configuration
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/remote/'>Remote access </a></li>
|
||||
<li><a href='/docs/configuration/packages/'>Packages </a></li>
|
||||
<li><a href='/docs/configuration/splitting_configuration/'>Splitting up the configuration </a></li>
|
||||
<li><a href='/docs/configuration/secrets/'>Storing Secrets </a></li>
|
||||
<li><a href='/docs/configuration/templating/'>Templating </a></li>
|
||||
<li><a href='/docs/configuration/group_visibility/'>Group Visibility </a></li>
|
||||
<li><a href='/docs/configuration/events/'>Events </a></li>
|
||||
<li><a href='/docs/configuration/state_object/'>State Objects </a></li>
|
||||
<li><a href='/docs/configuration/platform_options/'>Entity component platform options </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
<li><a href='/docs/automation/templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/frontend/'>Frontend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/frontend/mobile/'>Android/iOS Homescreen </a></li>
|
||||
<li><a href='/docs/frontend/webserver/'>Web server fingerprint </a></li>
|
||||
<li><a href='/docs/frontend/browsers/'>Browser Compatibility List </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/backend/'>Backend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/backend/database/'>Database </a></li>
|
||||
<li><a href='/docs/backend/updater/'>Updater </a></li>
|
||||
<li><a href='/developers/api/'>API </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/docs/scripts/service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
<li><a href='/docs/z-wave/controllers/'>Controllers </a></li>
|
||||
<li><a href='/docs/z-wave/settings/'>Modifying Settings </a></li>
|
||||
<li><a href='/docs/z-wave/device-specific/'>Device Specific </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/mqtt/'>MQTT </a>
|
||||
<ul>
|
||||
<li><a href='/docs/mqtt/broker/'>Broker </a></li>
|
||||
<li><a href='/docs/mqtt/certificate/'>Certificate </a></li>
|
||||
<li><a href='/docs/mqtt/discovery/'>Discovery </a></li>
|
||||
<li><a href='/docs/mqtt/service/'>Publish service </a></li>
|
||||
<li><a href='/docs/mqtt/birth_will/'>Birth and last will messages </a></li>
|
||||
<li><a href='/docs/mqtt/testing/'>Testing your setup </a></li>
|
||||
<li><a href='/docs/mqtt/logging/'>Logging </a></li>
|
||||
<li><a href='/docs/mqtt/processing_json/'>Processing JSON </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/'>Ecosystem </a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/autostart/systemd/'>systemd (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/upstart/'>Upstart (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/init.d/'>init.d (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/macos/'>macOS </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/appdaemon/'>AppDaemon </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/appdaemon/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/configuration/'>Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/example_apps/'>Example Apps </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/running/'>Running AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/reboot/'>Starting AppDaemon at Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/operation/'>Operation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/windows/'>AppDaemon on Windows </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/updating/'>Updating AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/tutorial/'>AppDaemon Tutorial </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/api/'>AppDaemon API Reference </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/hadashboard/'>HADashboard </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/hadashboard/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/dash_config/'>Dashboard Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/hapush/'>HAPush </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/reboot/'>Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/updating/'>Updating HADashboard </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/notebooks/'>Notebooks </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/notebooks/'>Introduction </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/graph/'>Graph </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/api/'>Home Assistant API </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/database/'>Databsase </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/stats/'>Statistics </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a class='active' href='/docs/ecosystem/ios/notifications/'>iOS </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/basic/'>Basic notifications </a></li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/sounds/'>Sounds </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/architecture/'>Architecture </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/privacy_security_rate_limits/'>Privacy, rate limiting and security </a></li>
|
||||
</ul>
|
||||
<li>Advanced notifications</li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/attachments/'>Attachments </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/content_extensions/'>Dynamic content </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/actions/'>Actionable notifications </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/requesting_location_updates/'>Requesting location updates </a></li>
|
||||
</ul>
|
||||
<li><a href='/docs/ecosystem/ios/location/'>Location Tracking </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/integration/'>Integration with other apps </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
|
||||
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,336 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Privacy, rate limiting and security - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Notes about important topics relating to push notifications">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/ecosystem/ios/notifications/privacy_security_rate_limits/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Privacy, rate limiting and security">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/ecosystem/ios/notifications/privacy_security_rate_limits/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Notes about important topics relating to push notifications">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Privacy, rate limiting and security">
|
||||
<meta name="twitter:description" content="Notes about important topics relating to push notifications">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href="/getting-started/">Getting started</a></li>
|
||||
<li><a href="/components/">Components</a></li>
|
||||
<li><a href="/docs/">Docs</a></li>
|
||||
<li><a href="/cookbook/">Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_docs/ecosystem/ios/notifications/privacy_security_rate_limits.markdown'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Privacy, Rate Limiting and Security
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<h2><a class="title-link" name="privacy" href="#privacy"></a> Privacy</h2>
|
||||
|
||||
<p>No notification content is stored on remote servers. Only the required push registration data and a simple counter of the total number of push notifications sent per day per device (for rate limiting purposes) is kept.</p>
|
||||
|
||||
<h2><a class="title-link" name="rate-limiting" href="#rate-limiting"></a> Rate limiting</h2>
|
||||
|
||||
<p>Currently, you are allowed to send a maximum of 150 push notifications per day per device. This is to ensure that the service remains cheap to maintain. In the future we may add support for upgrading to allow more notifications. The rate limit resets at midnight UTC daily. When a notification is sent your current rate limits (including sent notifications and notifications remaining for the day) will be output to your Home Assistant logs. If an error occurs while sending a notification your rate limit will not be affected.</p>
|
||||
|
||||
<h2><a class="title-link" name="security" href="#security"></a> Security</h2>
|
||||
|
||||
<p>All traffic between your Home Assistant instance, the push infrastructure, and Apple, is encrypted with SSL.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Topics</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/docs/installation/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/installation/python/'>Python </a></li>
|
||||
<li><a href='/docs/installation/virtualenv/'>Python Virtual Env </a></li>
|
||||
<li><a href='/docs/installation/docker/'>Docker </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi-all-in-one/'>Raspberrry Pi All-in-One </a></li>
|
||||
<li><a href='/docs/installation/vagrant/'>Vagrant </a></li>
|
||||
<li><a href='/docs/installation/synology/'>Synology </a></li>
|
||||
<li><a href='/docs/installation/updating/'>Updating </a></li>
|
||||
<li><a href='/docs/installation/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/hassbian/'>Hassbian </a>
|
||||
<ul>
|
||||
<li><a href='/docs/hassbian/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/hassbian/customization/'>Customization </a></li>
|
||||
<li><a href='/docs/hassbian/common-tasks/'>Common tasks </a></li>
|
||||
<li><a href='/docs/hassbian/integrations/'>Integrations </a></li>
|
||||
<li><a href='/docs/hassbian/upgrading/'>Upgrading </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/yaml/'>YAML </a></li>
|
||||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Advanced Configuration
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/remote/'>Remote access </a></li>
|
||||
<li><a href='/docs/configuration/packages/'>Packages </a></li>
|
||||
<li><a href='/docs/configuration/splitting_configuration/'>Splitting up the configuration </a></li>
|
||||
<li><a href='/docs/configuration/secrets/'>Storing Secrets </a></li>
|
||||
<li><a href='/docs/configuration/templating/'>Templating </a></li>
|
||||
<li><a href='/docs/configuration/group_visibility/'>Group Visibility </a></li>
|
||||
<li><a href='/docs/configuration/events/'>Events </a></li>
|
||||
<li><a href='/docs/configuration/state_object/'>State Objects </a></li>
|
||||
<li><a href='/docs/configuration/platform_options/'>Entity component platform options </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
<li><a href='/docs/automation/templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/frontend/'>Frontend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/frontend/mobile/'>Android/iOS Homescreen </a></li>
|
||||
<li><a href='/docs/frontend/webserver/'>Web server fingerprint </a></li>
|
||||
<li><a href='/docs/frontend/browsers/'>Browser Compatibility List </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/backend/'>Backend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/backend/database/'>Database </a></li>
|
||||
<li><a href='/docs/backend/updater/'>Updater </a></li>
|
||||
<li><a href='/developers/api/'>API </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/docs/scripts/service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
<li><a href='/docs/z-wave/controllers/'>Controllers </a></li>
|
||||
<li><a href='/docs/z-wave/settings/'>Modifying Settings </a></li>
|
||||
<li><a href='/docs/z-wave/device-specific/'>Device Specific </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/mqtt/'>MQTT </a>
|
||||
<ul>
|
||||
<li><a href='/docs/mqtt/broker/'>Broker </a></li>
|
||||
<li><a href='/docs/mqtt/certificate/'>Certificate </a></li>
|
||||
<li><a href='/docs/mqtt/discovery/'>Discovery </a></li>
|
||||
<li><a href='/docs/mqtt/service/'>Publish service </a></li>
|
||||
<li><a href='/docs/mqtt/birth_will/'>Birth and last will messages </a></li>
|
||||
<li><a href='/docs/mqtt/testing/'>Testing your setup </a></li>
|
||||
<li><a href='/docs/mqtt/logging/'>Logging </a></li>
|
||||
<li><a href='/docs/mqtt/processing_json/'>Processing JSON </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/'>Ecosystem </a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/autostart/systemd/'>systemd (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/upstart/'>Upstart (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/init.d/'>init.d (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/macos/'>macOS </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/appdaemon/'>AppDaemon </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/appdaemon/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/configuration/'>Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/example_apps/'>Example Apps </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/running/'>Running AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/reboot/'>Starting AppDaemon at Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/operation/'>Operation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/windows/'>AppDaemon on Windows </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/updating/'>Updating AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/tutorial/'>AppDaemon Tutorial </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/api/'>AppDaemon API Reference </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/hadashboard/'>HADashboard </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/hadashboard/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/dash_config/'>Dashboard Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/hapush/'>HAPush </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/reboot/'>Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/updating/'>Updating HADashboard </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/notebooks/'>Notebooks </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/notebooks/'>Introduction </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/graph/'>Graph </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/api/'>Home Assistant API </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/database/'>Databsase </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/stats/'>Statistics </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/ios/notifications/'>iOS </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/basic/'>Basic notifications </a></li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/sounds/'>Sounds </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/architecture/'>Architecture </a></li>
|
||||
<li><a class='active' href='/docs/ecosystem/ios/notifications/privacy_security_rate_limits/'>Privacy, rate limiting and security </a></li>
|
||||
</ul>
|
||||
<li>Advanced notifications</li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/attachments/'>Attachments </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/content_extensions/'>Dynamic content </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/actions/'>Actionable notifications </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/requesting_location_updates/'>Requesting location updates </a></li>
|
||||
</ul>
|
||||
<li><a href='/docs/ecosystem/ios/location/'>Location Tracking </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/integration/'>Integration with other apps </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
|
||||
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,344 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Requesting location updates - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Ask the device to send a location update remotely">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/ecosystem/ios/notifications/requesting_location_updates/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Requesting location updates">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/ecosystem/ios/notifications/requesting_location_updates/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Ask the device to send a location update remotely">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Requesting location updates">
|
||||
<meta name="twitter:description" content="Ask the device to send a location update remotely">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href="/getting-started/">Getting started</a></li>
|
||||
<li><a href="/components/">Components</a></li>
|
||||
<li><a href="/docs/">Docs</a></li>
|
||||
<li><a href="/cookbook/">Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_docs/ecosystem/ios/notifications/requesting_location_updates.markdown'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Requesting Location Updates
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p class="note warning">
|
||||
<strong>Do not rely on this functionality due to the time limits mentioned below.</strong>
|
||||
</p>
|
||||
|
||||
<p>You can force a device to attempt to report its location by sending a special notification.</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">automation</span>
|
||||
<span class="s">- alias</span><span class="pi">:</span> <span class="s">Notify iOS app</span>
|
||||
<span class="s">trigger</span><span class="pi">:</span>
|
||||
<span class="s">...</span>
|
||||
<span class="s">action</span><span class="pi">:</span>
|
||||
<span class="s">service</span><span class="pi">:</span> <span class="s">notify.iOSApp</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">message</span><span class="pi">:</span> <span class="s2">"</span><span class="s">request_location_update"</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>Assuming the device receives the notification, it will attempt to get a location update within 5 seconds and report it to Home Assistant. This is a little bit hit or miss since Apple imposes a maximum time allowed for the app to work with the notification and location updates sometimes take longer than usual due to factors such as waiting for GPS acquisition.</p>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Topics</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/docs/installation/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/installation/python/'>Python </a></li>
|
||||
<li><a href='/docs/installation/virtualenv/'>Python Virtual Env </a></li>
|
||||
<li><a href='/docs/installation/docker/'>Docker </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi-all-in-one/'>Raspberrry Pi All-in-One </a></li>
|
||||
<li><a href='/docs/installation/vagrant/'>Vagrant </a></li>
|
||||
<li><a href='/docs/installation/synology/'>Synology </a></li>
|
||||
<li><a href='/docs/installation/updating/'>Updating </a></li>
|
||||
<li><a href='/docs/installation/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/hassbian/'>Hassbian </a>
|
||||
<ul>
|
||||
<li><a href='/docs/hassbian/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/hassbian/customization/'>Customization </a></li>
|
||||
<li><a href='/docs/hassbian/common-tasks/'>Common tasks </a></li>
|
||||
<li><a href='/docs/hassbian/integrations/'>Integrations </a></li>
|
||||
<li><a href='/docs/hassbian/upgrading/'>Upgrading </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/yaml/'>YAML </a></li>
|
||||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Advanced Configuration
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/remote/'>Remote access </a></li>
|
||||
<li><a href='/docs/configuration/packages/'>Packages </a></li>
|
||||
<li><a href='/docs/configuration/splitting_configuration/'>Splitting up the configuration </a></li>
|
||||
<li><a href='/docs/configuration/secrets/'>Storing Secrets </a></li>
|
||||
<li><a href='/docs/configuration/templating/'>Templating </a></li>
|
||||
<li><a href='/docs/configuration/group_visibility/'>Group Visibility </a></li>
|
||||
<li><a href='/docs/configuration/events/'>Events </a></li>
|
||||
<li><a href='/docs/configuration/state_object/'>State Objects </a></li>
|
||||
<li><a href='/docs/configuration/platform_options/'>Entity component platform options </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
<li><a href='/docs/automation/templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/frontend/'>Frontend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/frontend/mobile/'>Android/iOS Homescreen </a></li>
|
||||
<li><a href='/docs/frontend/webserver/'>Web server fingerprint </a></li>
|
||||
<li><a href='/docs/frontend/browsers/'>Browser Compatibility List </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/backend/'>Backend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/backend/database/'>Database </a></li>
|
||||
<li><a href='/docs/backend/updater/'>Updater </a></li>
|
||||
<li><a href='/developers/api/'>API </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/docs/scripts/service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
<li><a href='/docs/z-wave/controllers/'>Controllers </a></li>
|
||||
<li><a href='/docs/z-wave/settings/'>Modifying Settings </a></li>
|
||||
<li><a href='/docs/z-wave/device-specific/'>Device Specific </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/mqtt/'>MQTT </a>
|
||||
<ul>
|
||||
<li><a href='/docs/mqtt/broker/'>Broker </a></li>
|
||||
<li><a href='/docs/mqtt/certificate/'>Certificate </a></li>
|
||||
<li><a href='/docs/mqtt/discovery/'>Discovery </a></li>
|
||||
<li><a href='/docs/mqtt/service/'>Publish service </a></li>
|
||||
<li><a href='/docs/mqtt/birth_will/'>Birth and last will messages </a></li>
|
||||
<li><a href='/docs/mqtt/testing/'>Testing your setup </a></li>
|
||||
<li><a href='/docs/mqtt/logging/'>Logging </a></li>
|
||||
<li><a href='/docs/mqtt/processing_json/'>Processing JSON </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/'>Ecosystem </a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/autostart/systemd/'>systemd (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/upstart/'>Upstart (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/init.d/'>init.d (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/macos/'>macOS </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/appdaemon/'>AppDaemon </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/appdaemon/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/configuration/'>Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/example_apps/'>Example Apps </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/running/'>Running AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/reboot/'>Starting AppDaemon at Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/operation/'>Operation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/windows/'>AppDaemon on Windows </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/updating/'>Updating AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/tutorial/'>AppDaemon Tutorial </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/api/'>AppDaemon API Reference </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/hadashboard/'>HADashboard </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/hadashboard/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/dash_config/'>Dashboard Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/hapush/'>HAPush </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/reboot/'>Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/updating/'>Updating HADashboard </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/notebooks/'>Notebooks </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/notebooks/'>Introduction </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/graph/'>Graph </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/api/'>Home Assistant API </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/database/'>Databsase </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/stats/'>Statistics </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/ios/notifications/'>iOS </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/basic/'>Basic notifications </a></li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/sounds/'>Sounds </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/architecture/'>Architecture </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/privacy_security_rate_limits/'>Privacy, rate limiting and security </a></li>
|
||||
</ul>
|
||||
<li>Advanced notifications</li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/attachments/'>Attachments </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/content_extensions/'>Dynamic content </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/actions/'>Actionable notifications </a></li>
|
||||
<li><a class='active' href='/docs/ecosystem/ios/notifications/requesting_location_updates/'>Requesting location updates </a></li>
|
||||
</ul>
|
||||
<li><a href='/docs/ecosystem/ios/location/'>Location Tracking </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/integration/'>Integration with other apps </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
|
||||
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
504
docs/ecosystem/ios/notifications/sounds/index.html
Normal file
504
docs/ecosystem/ios/notifications/sounds/index.html
Normal file
|
@ -0,0 +1,504 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Notification Sounds - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Adding sounds to notifications">
|
||||
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/ecosystem/ios/notifications/sounds/">
|
||||
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
<meta property="og:title" content="Notification Sounds">
|
||||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/ecosystem/ios/notifications/sounds/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Adding sounds to notifications">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
|
||||
<meta name="twitter:title" content="Notification Sounds">
|
||||
<meta name="twitter:description" content="Adding sounds to notifications">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
</head>
|
||||
|
||||
<body >
|
||||
|
||||
<header>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
|
||||
<div class="grid__item three-tenths lap-two-sixths palm-one-whole ha-title">
|
||||
<a href="/" class="site-title">
|
||||
<img width='40' src='/demo/favicon-192x192.png'>
|
||||
<span>Home Assistant</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="grid__item seven-tenths lap-four-sixths palm-one-whole">
|
||||
<nav>
|
||||
<input type="checkbox" id="toggle">
|
||||
<label for="toggle" class="toggle" data-open="Main Menu" data-close="Close Menu"></label>
|
||||
<ul class="menu pull-right">
|
||||
|
||||
<li><a href="/getting-started/">Getting started</a></li>
|
||||
<li><a href="/components/">Components</a></li>
|
||||
<li><a href="/docs/">Docs</a></li>
|
||||
<li><a href="/cookbook/">Examples</a></li>
|
||||
<li><a href="/developers/">Developers</a></li>
|
||||
<li><a href="/blog/">Blog</a></li>
|
||||
<li><a href="/help/">Need help?</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-center">
|
||||
|
||||
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
||||
|
||||
|
||||
<article class="page">
|
||||
|
||||
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_docs/ecosystem/ios/notifications/sounds.markdown'>Edit this page on GitHub</a></div>
|
||||
|
||||
|
||||
|
||||
<header>
|
||||
<h1 class="title indent">
|
||||
Notification Sounds
|
||||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
|
||||
|
||||
<p>Adding a custom sound to a notification allows you to easily identify the notification without even looking at your device. Home Assistant for iOS comes with some notification sounds pre-installed but you can also upload your own.</p>
|
||||
|
||||
<p>Here is an example notification that uses one of the pre-installed sounds.</p>
|
||||
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="pi">-</span> <span class="s">alias</span><span class="pi">:</span> <span class="s">Notify iOS app</span>
|
||||
<span class="s">trigger</span><span class="pi">:</span>
|
||||
<span class="s">...</span>
|
||||
<span class="s">action</span><span class="pi">:</span>
|
||||
<span class="s">service</span><span class="pi">:</span> <span class="s">notify.iOSApp</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">message</span><span class="pi">:</span> <span class="s">“Something happened at home!”</span>
|
||||
<span class="s">data</span><span class="pi">:</span>
|
||||
<span class="s">push</span><span class="pi">:</span>
|
||||
<span class="s">sound</span><span class="pi">:</span> <span class="s2">"</span><span class="s">US-EN-Morgan-Freeman-Roommate-Is-Arriving.wav"</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>Notes:</p>
|
||||
<ul>
|
||||
<li>You must use the full filename in the payload (including extension).</li>
|
||||
</ul>
|
||||
|
||||
<h2><a class="title-link" name="custom-push-notification-sounds" href="#custom-push-notification-sounds"></a> Custom push notification sounds</h2>
|
||||
<p>The app allows you to use your own custom sounds in push notifications. The sounds must be formatted following [Apple’s requirements][sound-requirements]. You set the filename of the sound in the notification payload. To add sounds:</p>
|
||||
|
||||
<ol>
|
||||
<li>Connect the device to a PC or Mac running the latest version of iTunes.</li>
|
||||
<li>Go to the device in iTunes.</li>
|
||||
<li>Select “Apps” on the left sidebar.</li>
|
||||
<li>Scroll down until you see the section labeled “File Sharing”.</li>
|
||||
<li>Select HomeAssistant.</li>
|
||||
<li>Drag and drop properly formatted sounds.</li>
|
||||
<li>Click Sync in the lower right.</li>
|
||||
<li>Once sync is complete, disconnect the device from the computer.</li>
|
||||
<li>On your iOS device, open the Home Assistant app.</li>
|
||||
<li>Go to Settings -> Notification Settings.</li>
|
||||
<li>Select “Import sounds from iTunes”.</li>
|
||||
</ol>
|
||||
|
||||
<p>Assuming that you correctly formatted the sounds they are now available to use in push notifications.</p>
|
||||
|
||||
<p>Notes:</p>
|
||||
<ul>
|
||||
<li><strong>Please note that due to a bug in iOS 10 you may need to restart your entire device before notification sounds can be played. This should hopefully be fixed by Apple soon.</strong></li>
|
||||
<li>Uploading a file with the same name as an existing one will overwrite the original.</li>
|
||||
<li>You can view what sounds are installed on each device by inspecting the <code class="highlighter-rouge">ios.conf</code> file in your configuration directory. They are listed in the <code class="highlighter-rouge">pushSounds</code> array.</li>
|
||||
</ul>
|
||||
|
||||
<h3><a class="title-link" name="preinstalled-notification-sounds" href="#preinstalled-notification-sounds"></a> Preinstalled notification sounds</h3>
|
||||
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>US-EN-Alexa-Back-Door-Opened.wav
|
||||
US-EN-Alexa-Back-Door-Unlocked.wav
|
||||
US-EN-Alexa-Basement-Door-Opened.wav
|
||||
US-EN-Alexa-Basement-Door-Unlocked.wav
|
||||
US-EN-Alexa-Boyfriend-Is-Arriving.wav
|
||||
US-EN-Alexa-Daughter-Is-Arriving.wav
|
||||
US-EN-Alexa-Front-Door-Opened.wav
|
||||
US-EN-Alexa-Front-Door-Unlocked.wav
|
||||
US-EN-Alexa-Garage-Door-Opened.wav
|
||||
US-EN-Alexa-Girlfriend-Is-Arriving.wav
|
||||
US-EN-Alexa-Good-Morning.wav
|
||||
US-EN-Alexa-Good-Night.wav
|
||||
US-EN-Alexa-Husband-Is-Arriving.wav
|
||||
US-EN-Alexa-Mail-Has-Arrived.wav
|
||||
US-EN-Alexa-Motion-At-Back-Door.wav
|
||||
US-EN-Alexa-Motion-At-Front-Door.wav
|
||||
US-EN-Alexa-Motion-Detected-Generic.wav
|
||||
US-EN-Alexa-Motion-In-Back-Yard.wav
|
||||
US-EN-Alexa-Motion-In-Basement.wav
|
||||
US-EN-Alexa-Motion-In-Front-Yard.wav
|
||||
US-EN-Alexa-Motion-In-Garage.wav
|
||||
US-EN-Alexa-Patio-Door-Opened.wav
|
||||
US-EN-Alexa-Patio-Door-Unlocked.wav
|
||||
US-EN-Alexa-Smoke-Detected-Generic.wav
|
||||
US-EN-Alexa-Smoke-Detected-In-Basement.wav
|
||||
US-EN-Alexa-Smoke-Detected-In-Garage.wav
|
||||
US-EN-Alexa-Smoke-Detected-In-Kitchen.wav
|
||||
US-EN-Alexa-Son-Is-Arriving.wav
|
||||
US-EN-Alexa-Water-Detected-Generic.wav
|
||||
US-EN-Alexa-Water-Detected-In-Basement.wav
|
||||
US-EN-Alexa-Water-Detected-In-Garage.wav
|
||||
US-EN-Alexa-Water-Detected-In-Kitchen.wav
|
||||
US-EN-Alexa-Welcome-Home.wav
|
||||
US-EN-Alexa-Wife-Is-Arriving.wav
|
||||
US-EN-Daisy-Back-Door-Motion.wav
|
||||
US-EN-Daisy-Back-Door-Open.wav
|
||||
US-EN-Daisy-Front-Door-Motion.wav
|
||||
US-EN-Daisy-Front-Door-Open.wav
|
||||
US-EN-Daisy-Front-Window-Open.wav
|
||||
US-EN-Daisy-Garage-Door-Open.wav
|
||||
US-EN-Daisy-Guest-Bath-Leak.wav
|
||||
US-EN-Daisy-Kitchen-Sink-Leak.wav
|
||||
US-EN-Daisy-Kitchen-Window-Open.wav
|
||||
US-EN-Daisy-Laundry-Room-Leak.wav
|
||||
US-EN-Daisy-Master-Bath-Leak.wav
|
||||
US-EN-Daisy-Master-Bedroom-Window-Open.wav
|
||||
US-EN-Daisy-Office-Window-Open.wav
|
||||
US-EN-Daisy-Refrigerator-Leak.wav
|
||||
US-EN-Daisy-Water-Heater-Leak.wav
|
||||
US-EN-Morgan-Freeman-Back-Door-Closed.wav
|
||||
US-EN-Morgan-Freeman-Back-Door-Locked.wav
|
||||
US-EN-Morgan-Freeman-Back-Door-Opened.wav
|
||||
US-EN-Morgan-Freeman-Back-Door-Unlocked.wav
|
||||
US-EN-Morgan-Freeman-Basement-Door-Closed.wav
|
||||
US-EN-Morgan-Freeman-Basement-Door-Locked.wav
|
||||
US-EN-Morgan-Freeman-Basement-Door-Opened.wav
|
||||
US-EN-Morgan-Freeman-Basement-Door-Unlocked.wav
|
||||
US-EN-Morgan-Freeman-Boss-Is-Arriving.wav
|
||||
US-EN-Morgan-Freeman-Boyfriend-Is-Arriving.wav
|
||||
US-EN-Morgan-Freeman-Cleaning-Supplies-Closet-Opened.wav
|
||||
US-EN-Morgan-Freeman-Coworker-Is-Arriving.wav
|
||||
US-EN-Morgan-Freeman-Daughter-Is-Arriving.wav
|
||||
US-EN-Morgan-Freeman-Friend-Is-Arriving.wav
|
||||
US-EN-Morgan-Freeman-Front-Door-Closed.wav
|
||||
US-EN-Morgan-Freeman-Front-Door-Locked.wav
|
||||
US-EN-Morgan-Freeman-Front-Door-Opened.wav
|
||||
US-EN-Morgan-Freeman-Front-Door-Unlocked.wav
|
||||
US-EN-Morgan-Freeman-Garage-Door-Closed.wav
|
||||
US-EN-Morgan-Freeman-Garage-Door-Opened.wav
|
||||
US-EN-Morgan-Freeman-Girlfriend-Is-Arriving.wav
|
||||
US-EN-Morgan-Freeman-Good-Morning.wav
|
||||
US-EN-Morgan-Freeman-Good-Night.wav
|
||||
US-EN-Morgan-Freeman-Liquor-Cabinet-Opened.wav
|
||||
US-EN-Morgan-Freeman-Motion-Detected.wav
|
||||
US-EN-Morgan-Freeman-Motion-In-Basement.wav
|
||||
US-EN-Morgan-Freeman-Motion-In-Bedroom.wav
|
||||
US-EN-Morgan-Freeman-Motion-In-Game-Room.wav
|
||||
US-EN-Morgan-Freeman-Motion-In-Garage.wav
|
||||
US-EN-Morgan-Freeman-Motion-In-Kitchen.wav
|
||||
US-EN-Morgan-Freeman-Motion-In-Living-Room.wav
|
||||
US-EN-Morgan-Freeman-Motion-In-Theater.wav
|
||||
US-EN-Morgan-Freeman-Motion-In-Wine-Cellar.wav
|
||||
US-EN-Morgan-Freeman-Patio-Door-Closed.wav
|
||||
US-EN-Morgan-Freeman-Patio-Door-Locked.wav
|
||||
US-EN-Morgan-Freeman-Patio-Door-Opened.wav
|
||||
US-EN-Morgan-Freeman-Patio-Door-Unlocked.wav
|
||||
US-EN-Morgan-Freeman-Roommate-Is-Arriving.wav
|
||||
US-EN-Morgan-Freeman-Searching-For-Car-Keys.wav
|
||||
US-EN-Morgan-Freeman-Setting-The-Mood.wav
|
||||
US-EN-Morgan-Freeman-Smartthings-Detected-A-Flood.wav
|
||||
US-EN-Morgan-Freeman-Smartthings-Detected-Carbon-Monoxide.wav
|
||||
US-EN-Morgan-Freeman-Smartthings-Detected-Smoke.wav
|
||||
US-EN-Morgan-Freeman-Smoke-Detected-In-Basement.wav
|
||||
US-EN-Morgan-Freeman-Smoke-Detected-In-Garage.wav
|
||||
US-EN-Morgan-Freeman-Smoke-Detected-In-Kitchen.wav
|
||||
US-EN-Morgan-Freeman-Someone-Is-Arriving.wav
|
||||
US-EN-Morgan-Freeman-Son-Is-Arriving.wav
|
||||
US-EN-Morgan-Freeman-Starting-Movie-Mode.wav
|
||||
US-EN-Morgan-Freeman-Starting-Party-Mode.wav
|
||||
US-EN-Morgan-Freeman-Starting-Romance-Mode.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-All-The-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-Air-Conditioner.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-Bar-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-Chandelier.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-Family-Room-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-Hallway-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-Kitchen-Light.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-Light.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-Mood-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-Off-The-TV.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-Air-Conditioner.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-Bar-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-Chandelier.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-Family-Room-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-Hallway-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-Kitchen-Light.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-Light.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-Mood-Lights.wav
|
||||
US-EN-Morgan-Freeman-Turning-On-The-TV.wav
|
||||
US-EN-Morgan-Freeman-Vacate-The-Premises.wav
|
||||
US-EN-Morgan-Freeman-Water-Detected-In-Basement.wav
|
||||
US-EN-Morgan-Freeman-Water-Detected-In-Garage.wav
|
||||
US-EN-Morgan-Freeman-Water-Detected-In-Kitchen.wav
|
||||
US-EN-Morgan-Freeman-Welcome-Home.wav
|
||||
US-EN-Morgan-Freeman-Wife-Is-Arriving.wav
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
<div class="grid">
|
||||
|
||||
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Topics</h1>
|
||||
<ul class='divided sidebar-menu'>
|
||||
<li>
|
||||
<a href='/docs/installation/'>Installation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/installation/python/'>Python </a></li>
|
||||
<li><a href='/docs/installation/virtualenv/'>Python Virtual Env </a></li>
|
||||
<li><a href='/docs/installation/docker/'>Docker </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi/'>Raspberry Pi </a></li>
|
||||
<li><a href='/docs/installation/raspberry-pi-all-in-one/'>Raspberrry Pi All-in-One </a></li>
|
||||
<li><a href='/docs/installation/vagrant/'>Vagrant </a></li>
|
||||
<li><a href='/docs/installation/synology/'>Synology </a></li>
|
||||
<li><a href='/docs/installation/updating/'>Updating </a></li>
|
||||
<li><a href='/docs/installation/troubleshooting/'>Troubleshooting </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/hassbian/'>Hassbian </a>
|
||||
<ul>
|
||||
<li><a href='/docs/hassbian/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/hassbian/customization/'>Customization </a></li>
|
||||
<li><a href='/docs/hassbian/common-tasks/'>Common tasks </a></li>
|
||||
<li><a href='/docs/hassbian/integrations/'>Integrations </a></li>
|
||||
<li><a href='/docs/hassbian/upgrading/'>Upgrading </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/configuration/'>Configuration </a>
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/yaml/'>YAML </a></li>
|
||||
<li><a href='/docs/configuration/basic/'>Basic information </a></li>
|
||||
<li><a href='/docs/configuration/devices/'>Setting up devices </a></li>
|
||||
<li><a href='/docs/configuration/customizing-devices/'>Customizing devices and services </a></li>
|
||||
<li><a href='/docs/configuration/presence-detection/'>Presence Detection </a></li>
|
||||
<li><a href='/docs/configuration/troubleshooting/'>Troubleshooting </a></li>
|
||||
<li><a href='/docs/configuration/securing/'>Security Check Points </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Advanced Configuration
|
||||
<ul>
|
||||
<li><a href='/docs/configuration/remote/'>Remote access </a></li>
|
||||
<li><a href='/docs/configuration/packages/'>Packages </a></li>
|
||||
<li><a href='/docs/configuration/splitting_configuration/'>Splitting up the configuration </a></li>
|
||||
<li><a href='/docs/configuration/secrets/'>Storing Secrets </a></li>
|
||||
<li><a href='/docs/configuration/templating/'>Templating </a></li>
|
||||
<li><a href='/docs/configuration/group_visibility/'>Group Visibility </a></li>
|
||||
<li><a href='/docs/configuration/events/'>Events </a></li>
|
||||
<li><a href='/docs/configuration/state_object/'>State Objects </a></li>
|
||||
<li><a href='/docs/configuration/platform_options/'>Entity component platform options </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
<li><a href='/docs/automation/templating/'>Templates </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/frontend/'>Frontend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/frontend/mobile/'>Android/iOS Homescreen </a></li>
|
||||
<li><a href='/docs/frontend/webserver/'>Web server fingerprint </a></li>
|
||||
<li><a href='/docs/frontend/browsers/'>Browser Compatibility List </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/backend/'>Backend </a>
|
||||
<ul>
|
||||
<li><a href='/docs/backend/database/'>Database </a></li>
|
||||
<li><a href='/docs/backend/updater/'>Updater </a></li>
|
||||
<li><a href='/developers/api/'>API </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/scripts/'>Scripts </a>
|
||||
<ul>
|
||||
<li><a href='/docs/scripts/service-calls/'>Service Calls </a></li>
|
||||
<li><a href='/docs/scripts/conditions/'>Conditions </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/z-wave/'>Z-Wave </a>
|
||||
<ul>
|
||||
<li><a href='/docs/z-wave/controllers/'>Controllers </a></li>
|
||||
<li><a href='/docs/z-wave/settings/'>Modifying Settings </a></li>
|
||||
<li><a href='/docs/z-wave/device-specific/'>Device Specific </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/mqtt/'>MQTT </a>
|
||||
<ul>
|
||||
<li><a href='/docs/mqtt/broker/'>Broker </a></li>
|
||||
<li><a href='/docs/mqtt/certificate/'>Certificate </a></li>
|
||||
<li><a href='/docs/mqtt/discovery/'>Discovery </a></li>
|
||||
<li><a href='/docs/mqtt/service/'>Publish service </a></li>
|
||||
<li><a href='/docs/mqtt/birth_will/'>Birth and last will messages </a></li>
|
||||
<li><a href='/docs/mqtt/testing/'>Testing your setup </a></li>
|
||||
<li><a href='/docs/mqtt/logging/'>Logging </a></li>
|
||||
<li><a href='/docs/mqtt/processing_json/'>Processing JSON </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/'>Ecosystem </a>
|
||||
<ul>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/autostart/'>Autostart </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/autostart/systemd/'>systemd (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/upstart/'>Upstart (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/init.d/'>init.d (Linux) </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/macos/'>macOS </a></li>
|
||||
<li><a href='/docs/ecosystem/autostart/synology/'>Synology NAS </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/appdaemon/'>AppDaemon </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/appdaemon/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/configuration/'>Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/example_apps/'>Example Apps </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/running/'>Running AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/reboot/'>Starting AppDaemon at Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/operation/'>Operation </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/windows/'>AppDaemon on Windows </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/updating/'>Updating AppDaemon </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/tutorial/'>AppDaemon Tutorial </a></li>
|
||||
<li><a href='/docs/ecosystem/appdaemon/api/'>AppDaemon API Reference </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/hadashboard/'>HADashboard </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/hadashboard/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/dash_config/'>Dashboard Configuration </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/hapush/'>HAPush </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/reboot/'>Reboot </a></li>
|
||||
<li><a href='/docs/ecosystem/hadashboard/updating/'>Updating HADashboard </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/notebooks/'>Notebooks </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/notebooks/'>Introduction </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/installation/'>Installation </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/graph/'>Graph </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/api/'>Home Assistant API </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/database/'>Databsase </a></li>
|
||||
<li><a href='/docs/ecosystem/notebooks/stats/'>Statistics </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/docs/ecosystem/ios/notifications/'>iOS </a>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/basic/'>Basic notifications </a></li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/examples/'>Examples </a></li>
|
||||
<li><a class='active' href='/docs/ecosystem/ios/notifications/sounds/'>Sounds </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/architecture/'>Architecture </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/privacy_security_rate_limits/'>Privacy, rate limiting and security </a></li>
|
||||
</ul>
|
||||
<li>Advanced notifications</li>
|
||||
<ul>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/attachments/'>Attachments </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/content_extensions/'>Dynamic content </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/actions/'>Actionable notifications </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/notifications/requesting_location_updates/'>Requesting location updates </a></li>
|
||||
</ul>
|
||||
<li><a href='/docs/ecosystem/ios/location/'>Location Tracking </a></li>
|
||||
<li><a href='/docs/ecosystem/ios/integration/'>Integration with other apps </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid">
|
||||
<div class="grid__item">
|
||||
<div class="copyright">
|
||||
<a rel="me" href='https://twitter.com/home_assistant'><i class="icon-twitter"></i></a>
|
||||
<a rel="me" href='https://facebook.com/homeassistantio'><i class="icon-facebook"></i></a>
|
||||
<a rel="me" href='https://plus.google.com/110560654828510104551'><i class="icon-google-plus"></i></a>
|
||||
<a rel="me" href='https://github.com/home-assistant/home-assistant'><i class="icon-github"></i></a>
|
||||
|
||||
<div class="credit">
|
||||
Contact us at <a href='mailto:hello@home-assistant.io'>hello@home-assistant.io</a>.<br>
|
||||
Website powered by <a href='http://jekyllrb.com/'>Jekyll</a> and the <a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
|
||||
Hosted by <a href='https://pages.github.com/'>GitHub</a> and served by <a href='https://cloudflare.com'>CloudFlare</a>.
|
||||
</div>
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">home-assistant.io</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var _gaq=[['_setAccount','UA-57927901-1'],['_trackPageview']];
|
||||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
||||
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
||||
s.parentNode.insertBefore(g,s)}(document,'script'));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue