From 3923c99c776ae738cfbfb3c798c6def4a3001639 Mon Sep 17 00:00:00 2001 From: kalebzettl <56369901+kalebzettl@users.noreply.github.com> Date: Sun, 13 Dec 2020 23:25:47 +1000 Subject: [PATCH] Update mirabella-genio-bulb.rst (#857) * Update mirabella-genio-bulb.rst Added info about Genio Downlights after struggling for a bit with them. * Update mirabella-genio-bulb.rst * Update mirabella-genio-bulb.rst * Update mirabella-genio-bulb.rst * Update mirabella-genio-bulb.rst * Include links Co-authored-by: Fabian Affolter --- cookbook/mirabella-genio-bulb.rst | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/cookbook/mirabella-genio-bulb.rst b/cookbook/mirabella-genio-bulb.rst index 80045f9a9..86e72cbe4 100644 --- a/cookbook/mirabella-genio-bulb.rst +++ b/cookbook/mirabella-genio-bulb.rst @@ -240,7 +240,51 @@ variable ``output_component1``. # Ensure the light turns on by default if the physical switch is actuated. restore_mode: ALWAYS_ON +3.4 CWWW Mirabella Genio Downlights +*********************************** +Kmart also sell a `downlight option `__, which works quite well however the PWM method that is used is different to the way the CWWW lights in ESPHome works. + +A `project by ssieb `__ resolves this using a custom component. + +.. code-block:: yaml + + esphome: + name: rgbw_e27_01 + platform: ESP8266 + board: esp01_1m + + wifi: + ssid: 'WIFI' + password: 'WIFIPASS' + + logger: + + api: + + ota: + + output: + - platform: esp8266_pwm + id: output1 + pin: GPIO14 + - platform: esp8266_pwm + id: output2 + pin: GPIO12 + + light: + - platform: cwww2 + id: LED + name: "Downlight" + color_temperature: output2 + brightness: output1 + cold_white_color_temperature: 6500 K + warm_white_color_temperature: 2700 K + + # Ensure the light turns on by default if the physical switch is actuated. + restore_mode: ALWAYS_ON + + 4. Adding to Home Assistant ---------------------------