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 <mail@fabian-affolter.ch>
This commit is contained in:
kalebzettl 2020-12-13 23:25:47 +10:00 committed by GitHub
parent e5b1e346dd
commit 3923c99c77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 44 additions and 0 deletions

View File

@ -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 <https://www.kmart.com.au/product/mirabella-genio-wi-fi-dimmable-9w-led-downlight/2754331>`__, 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 <https://github.com/ssieb/custom_components/tree/master/cwww2>`__ 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
---------------------------