From 0c3d0b2d0f501f19bf0794fd8a48f72222410b83 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 22 Apr 2017 09:05:49 +0000 Subject: [PATCH] Site updated at 2017-04-22 09:05:48 UTC --- atom.xml | 2 +- blog/categories/announcements/atom.xml | 2 +- blog/categories/community/atom.xml | 2 +- blog/categories/device-tracking/atom.xml | 2 +- blog/categories/esp8266/atom.xml | 2 +- blog/categories/how-to/atom.xml | 2 +- blog/categories/ibeacons/atom.xml | 2 +- blog/categories/internet-of-things/atom.xml | 2 +- blog/categories/iot-data/atom.xml | 2 +- blog/categories/merchandise/atom.xml | 2 +- blog/categories/micropython/atom.xml | 2 +- blog/categories/mqtt/atom.xml | 2 +- blog/categories/organisation/atom.xml | 2 +- blog/categories/owntracks/atom.xml | 2 +- blog/categories/presence-detection/atom.xml | 2 +- .../public-service-announcement/atom.xml | 2 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/survey/atom.xml | 2 +- blog/categories/talks/atom.xml | 2 +- blog/categories/technology/atom.xml | 2 +- blog/categories/user-stories/atom.xml | 2 +- blog/categories/video/atom.xml | 2 +- blog/categories/website/atom.xml | 2 +- components/index.html | 2 +- components/light.rpi_gpio_pwm/index.html | 70 ++++++++++++------- .../supported_brands/{Ikea.svg => ikea.svg} | 0 sitemap.xml | 30 ++++---- 27 files changed, 82 insertions(+), 66 deletions(-) rename images/supported_brands/{Ikea.svg => ikea.svg} (100%) diff --git a/atom.xml b/atom.xml index f5fcbe21ef..f28ec8800b 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index 68fc2c8b1c..6c02248f2d 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 0a068067b2..efb9978ad2 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 4a046b9495..f7e02bf239 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]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 4aa6179bd2..6e0a713cc4 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 3609d926dd..5d2cb3d4ef 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]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 37c135cbb8..a7c4f8993a 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+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 d6ff6d019c..7c36f3e3a3 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]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 9b5ffe953d..60d9ca2425 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]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index 40106fe1ae..1ab2967eb2 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 561c09c75c..8439b8277e 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index befeb663e6..de51fec749 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index adf0e93b99..0ad698a910 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 7d447fa4dc..42a4fd70ba 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 18382ae583..f441b29e2f 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]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+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 814011ebd1..cf40c9d406 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]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index cb24bbe7b6..c00daa3ab2 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]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 3c5dfc660e..1eff04e52d 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index e67d04c44c..31c4b0d05f 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index af8aecab74..58388d4a7b 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 49683773b7..b464fb40b4 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]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 66ea81207b..65a8a4e7a9 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index f1dda618bb..d702df5331 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-04-22T08:50:52+00:00 + 2017-04-22T09:01:44+00:00 https://home-assistant.io/ diff --git a/components/index.html b/components/index.html index e44e582c79..151e1c998e 100644 --- a/components/index.html +++ b/components/index.html @@ -521,7 +521,7 @@ var allComponents = [ {url:"/components/light.osramlightify/", title:"Osram Lightify", cat:"light", featured: false, v: 21, logo: "osramlightify.png"}, {url:"/components/device_tracker.owntracks/", title:"Owntracks", cat:"presence-detection", featured: true, v: 7, logo: "owntracks.png"}, {url:"/components/sensor.pvoutput/", title:"PVOutput Sensor", cat:"energy", featured: false, v: 33, logo: "pvoutput.png"}, -{url:"/components/light.rpi_gpio_pwm/", title:"PWM LED", cat:"light", featured: false, v: 43, logo: ""}, +{url:"/components/light.rpi_gpio_pwm/", title:"PWM LED", cat:"light", featured: false, v: 43, logo: "raspberry-pi.png"}, {url:"/components/media_player.panasonic_viera/", title:"Panasonic Viera TV", cat:"media-player", featured: false, v: 17, logo: "panasonic.png"}, {url:"/components/media_player.pandora/", title:"Pandora", cat:"media-player", featured: false, v: 22, logo: "pandora.png"}, {url:"/components/panel_custom/", title:"Panel Custom", cat:"front-end", featured: false, v: 26, logo: "home-assistant.png"}, diff --git a/components/light.rpi_gpio_pwm/index.html b/components/light.rpi_gpio_pwm/index.html index 8ac69ed08f..78f9994d2f 100644 --- a/components/light.rpi_gpio_pwm/index.html +++ b/components/light.rpi_gpio_pwm/index.html @@ -8,7 +8,7 @@ PWM LED - Home Assistant - + @@ -16,12 +16,12 @@ - + - + @@ -66,42 +66,57 @@
-

The rpi_gpio_pwm platform allows to control multiple lights using pulse-width modulation, for example led strips. It supports one-color, RGB and RGBW leds driven by GPIOs of an Raspberry Pi or a PCA9685 controller.

-

Configuration

+

The rpi_gpio_pwm platform allows to control multiple lights using pulse-width modulation, for example led strips. It supports one-color, RGB and RGBW LEDs driven by GPIOs of a Raspberry Pi or a PCA9685 controller.

+

To enable this platform, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
 light:
-  platform: rpi_gpio_pwm
-  leds:
-    # One-color led directly connected to GPIO
-    - name: Lightstrip Cupboard
-      driver: gpio
-      pins: [17]
-      type: simple
-    # RGB led connected to PCA9685 controller
-    - name: TV Backlight
-      driver: pca9685
-      pins: [0, 1, 2] # [R, G, B]
-      type: rgb
-    # RGBW led connected to PCA9685 controller
-    - name: Lightstrip Desk
-      driver: pca9685
-      pins: [3, 4, 5, 6] # [R, G, B, W]
-      type: rgbw
+  - platform: rpi_gpio_pwm
+    leds:
+      - name: Lightstrip Cupboard
+        driver: gpio
+        pins: [17]
+        type: simple
 

Configuration variables:

    -
  • leds array (Required): +
  • leds array (Required): Can contain multiple LEDs.
      -
    • name (Required): The name of the led.
    • -
    • driver (Required): The driver, which controls the led. Choose either gpio or pca9685.
    • -
    • pins (Required): The pins connected to the led. The order of pins is determined by the specified type.
    • -
    • type (Required): The type of led. Choose either rgb, rgbw or simple.
    • +
    • name (Required): The name of the LED.
    • +
    • driver (Required): The driver which controls the LED. Choose either gpio or pca9685.
    • +
    • pins (Required): The pins connected to the LED as a list.. The order of pins is determined by the specified type.
    • +
    • type (Required): The type of LED. Choose either rgb, rgbw or simple.
    • freq (Optional): The PWM frequency. (Default: 200)
    • address (Optional): The address of the PCA9685 driver. (Default: 0x40)
+

Examples

+

In this section you find some real life examples of how to use this sensor.

+

RGB LED connected to PCA9685 controller

+

This example uses a PCA9685 controller to control a RGB LED.

+
# Example configuration.yaml entry
+light:
+  - platform: rpi_gpio_pwm
+    leds:
+      - name: TV Backlight
+        driver: pca9685
+        pins: [0, 1, 2] # [R, G, B]
+        type: rgb
+
+
+

RGBW LED connected to PCA9685 controller

+

This example uses a PCA9685 controller to interact with a RGBW LED.

+
# Example configuration.yaml entry
+light:
+  - platform: rpi_gpio_pwm
+    leds:
+      - name: Lightstrip Desk
+        driver: pca9685
+        pins: [3, 4, 5, 6] # [R, G, B, W]
+        type: rgbw
+
+