diff --git a/atom.xml b/atom.xml index 377c5c00ec..8e2d065c0f 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index c8e48f7574..cc4051e84c 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 4ff51f5b9a..beac600ad3 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 73cb220deb..f445f4a3e8 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index ce0837d1a5..4b7a065131 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index a425b26f00..48fb8c8cc0 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 52da94566b..d8a85de14d 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 8038970500..f88b13b9b9 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index e8d88f36c8..718e8a9b3e 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 17514f73d7..d570880dc0 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index c693807e37..f3235e8111 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 49f6d0e458..5084c2f0e5 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 859ff134e3..00c62bbc80 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index b768f4d922..3570c6046c 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 577e30dd3a..437862ea47 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 2f28de81ea..1cc003707a 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 758538b398..0073da4bad 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index dd885d3b26..b03830b7ef 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 0c659b0115..afb2e47368 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 13ecf4f10c..7fe6521d5b 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 3f40121969..7631dc3eaa 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-10-11T10:23:07+00:00 + 2016-10-11T12:25:29+00:00 https://home-assistant.io/ diff --git a/components/switch.pilight/index.html b/components/switch.pilight/index.html index 40b9410cce..0ae4250751 100644 --- a/components/switch.pilight/index.html +++ b/components/switch.pilight/index.html @@ -89,63 +89,90 @@
-

A switch platform that issues 433 MHz commands using pilight to turn a 433 MHz device on or off. The pilight HA hub has to be set up.

+

The pilight switch platform is issuing 433 MHz commands using pilight to turn a 433 MHz device on or off. The Pilight Home Assistant hub has to be set up.

-

Additionally RF commands can be defined that trigger this switch to turn on and off. This allows you to also use the remote shipped with your 433 MHz switch without mixing up the HA states. You can even define several on/off commands, thus several RF remotes to toggle this switch.

+

Additionally RF commands can be defined that trigger this switch to turn on and off. This allows you to also use the remote shipped with your 433 MHz switch without mixing up the Home Assistant states. You can even define several on/off commands, thus several RF remotes to toggle this switch.

-

To be really sure that HA knows the actual state of your device it is recommended to use the RF remote with codes unknown to any of your 433 MHz devices. Thus you use the remote to trigger this switch to send the correct RF code to the device.

+

To be really sure that Home Assistant knows the actual state of your device it is recommended to use the RF remote with codes unknown to any of your 433 MHz devices. Thus you use the remote to trigger this switch to send the correct RF code to the device.

-

To define a pilight switch, add the following lines to your configuration.yaml:

+

To define a Pilight switch, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
 switch:
-  platform: pilight
-  switches:
-    Bed light:
-      on_code:
-        protocol: intertechno_old  # protocol has to be defined
-        unit: 3  # these entries are protocol specific and can differ
-        id: 4    # these entries are protocol specific and can differ
-        'on': 1  # on has to be in apostrophes to be parsed correctly
-      off_code:
-        protocol: intertechno_old   # protocol has to be defined
-        unit: 3  # these entries are protocol specific and can differ
-        id: 4  # these entries are protocol specific and can differ
-        'off': 1  # off has to be in apostrophes to be parsed correctly
-      on_code_receive:  # optional
-        protocol: daycom   # protocol has to be defined
-        systemcode: 14462  # these entries are protocol specific and can differ
-        unit: 6  # these entries are protocol specific and can differ
-        id: 34  # these entries are protocol specific and can differ
-        state: 'on'  # off has to be in apostrophes to be parsed correctly
-      off_code_receive:  # optional
-        protocol: daycom   # protocol has to be defined
-        systemcode: 14462  # these entries are protocol specific and can differ
-        unit: 6  # these entries are protocol specific and can differ
-        id: 34  # these entries are protocol specific and can differ
-        state: 'off'  # on has to be in apostrophes to be parsed correctly
+  - platform: pilight
+    switches:
+      Bed light:
+        on_code:
+          protocol: intertechno_old
+          'on': 1
+        off_code:
+          protocol: intertechno_old
+          'off': 1
 

Configuration variables:

    -
  • switches (Required): The array that contains all command switches. +
  • switches array (Required): The list that contains all command switches.
      -
    • entry (Required): Name of the command switch. Multiple entries are possible. +
    • [entry] (Required): Name of the command switch. Multiple entries are possible.
      • on_code (Required): The code to turn the device on.
      • off_code (Required): The code to turn the device off.
      • -
      • on_code_receive (Optional): If given, this command will turn the switch on if it is received by pilight.
      • -
      • off_code_receive (Optional): If given, this command will turn the switch off if it is received by pilight.
      • +
      • on_code_receive (Optional): If given, this command will turn the switch on if it is received by Pilight.
      • +
      • off_code_receive (Optional): If given, this command will turn the switch off if it is received by Pilight.
+

Variables for the different codes:

+ +
    +
  • protocol (Optional): Protocol to use, eg. intertechno_old or daycom.
  • +
  • systemcode (Optional): The systemcode of the device.
  • +
  • unit (Optional): The unit to use.
  • +
  • id (Optional): ID of the device
  • +
  • state (Optional): 'on' or 'off' has to be in apostrophes to be parsed correctly.
  • +
  • ‘off’ (Optional): 1 or 0
  • +
  • ‘on’ (Optional): 1 or 0
  • +
+

For possible code entries look at the pilight API. All commands allowed by pilight-send can be used.

+

Examples

+ +
switch:
+  - platform: pilight
+    switches:
+      Bed light:
+        on_code:
+          protocol: intertechno_old
+          unit: 3
+          id: 4
+          'on': 1
+        off_code:
+          protocol: intertechno_old
+          unit: 3
+          id: 4
+          'off': 1
+        on_code_receive:
+          protocol: daycom
+          systemcode: 14462
+          unit: 6
+          id: 34
+          state: 'on'
+        off_code_receive:
+          protocol: daycom
+          systemcode: 14462
+          unit: 6
+          id: 34
+          state: 'off'
+
+
+ diff --git a/developers/website/index.html b/developers/website/index.html index e887c14db9..1aba8f6b42 100644 --- a/developers/website/index.html +++ b/developers/website/index.html @@ -156,8 +156,6 @@ Content...Written in markdown. -

If you are using templates then those parts needs to be escaped. Otherwise they will be rendered and appear blank on the website.

-

Note that you can replace yaml next to ``` with the language that is within the block.

When you’re writing code that is to be executed on the terminal, prefix it with $.

@@ -166,7 +164,7 @@ Content...Written in markdown.

For the configuration templating is Jinja used.

-

You need to embed all templates with ... otherwise they will be rendered and this result in an empty output.

+

If you are using templates then those parts needs to be escaped. Otherwise they will be rendered and appear blank on the website.

HTML

diff --git a/sitemap.xml b/sitemap.xml index e71654bba0..9bae2ae07c 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2165,62 +2165,62 @@ https://home-assistant.io/demo/frontend.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/index.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00 https://home-assistant.io/static/mdi-demo.html -2016-10-11T10:22:17+00:00 +2016-10-11T12:24:48+00:00