• Home

  • Products

    • Local Shipping
    • Tasmota
    • ESPHome
    • WLED
    • Homekit
    • Home Bridge
  • Forum

  • About Shipping

  • Contact Us

  • 更多

    Use tab to navigate through the menu items.
    0
    Para ver esto en acción, dirígete a tu sitio ya publicado.
    • Categorías
    • Todas las entradas
    • Mis entradas
    Martin Leonard
    14 ene 2021

    E27 15W RGBCCT bulb ESPHome config

    en Light

    Has anyone got a working config for ESPHome for this bulb? If not, I'll start working on one.

    21 respuestas0 comentarios
    0
    21 comentarios

    Comparte lo que piensasRegístrate para dejar un comentario.

    M
    Martin Leonard
    14 ene 2021

    This is working for anyone that might be interested



    substitutions:
      devicename: athomlightbulb
      upper_devicename: Athom Light Bulb
    
    esphome:
      name: $devicename
      platform: ESP8266
      board: esp8285
    
    wifi:
      ssid: !secret wifi_ssid
      password: !secret wifi_password
    
    captive_portal:
    
    # Enable logging
    logger:
    
    # Enable Home Assistant API
    api:
    
    ota:
    
    web_server:
      port: 80
      
    output:
      - platform: esp8266_pwm
        id: output_red
        pin: GPIO4
      - platform: esp8266_pwm
        id: output_green
        pin: GPIO12
      - platform: esp8266_pwm
        id: output_blue
        pin: GPIO14
      - platform: esp8266_pwm
        id: output_warm_white
        pin: GPIO5
      - platform: esp8266_pwm
        id: output_cold_white
        pin: GPIO13
        
    light:
      - platform: rgbww
        name: "${upper_devicename}"
        red: output_red
        green: output_green
        blue: output_blue
        cold_white: output_cold_white
        warm_white: output_warm_white
        cold_white_color_temperature: 6000 K
        warm_white_color_temperature: 3000 K
        restore_mode: ALWAYS_ON
        color_interlock: false





    3

    drizzt321
    26 ago 2021

    ESPHome now has an RGBCCT Component, with HomeAssistant I'm using




    output:
      - platform: esp8266_pwm
        pin: GPIO13
        id: out_ct
        inverted: true
      - platform: esp8266_pwm
        pin: GPIO5
        id: out_ctbrightness
      - platform: esp8266_pwm
        pin: GPIO4
        id: out_red
      - platform: esp8266_pwm
        pin: GPIO12
        id: out_green
      - platform: esp8266_pwm
        pin: GPIO14
        id: out_blue
    
    
    light:
      - platform: rgbct
        name: "${upper_devicename}"
        red: out_red
        green: out_green
        blue: out_blue
        color_temperature: out_ct
        white_brightness: out_ctbrightness
        cold_white_color_temperature: 166 mireds
        warm_white_color_temperature: 333 mireds
        color_interlock: True


    2

    M
    Martin Leonard
    20 ene 2021

    The colour temperature isn't perfect, the "blue" white on the left is dim.


    Also you might want to research these two settings to suite your use.



        restore_mode: ALWAYS_ON
        color_interlock: false

    2

    P
    Paul Smith
    16 feb

    This best at home karaoke machines on smartenmyhome machine with wireless microphone is very affordable! The microphone may not be the best quality but for the price, it’s more than what we asked for. For small gatherings and home use, this home karaoke system setup served well! However, it is not a karaoke machine that records, unlike many others.


    1

    A
    Andris Zarsss
    14 feb 2021

    When my HA install crashes, or when wifi router loses connection, light bulb turns on in blueish color. Is there anything i could do to keep it off and how can i code default color?

    1
    M
    Martin Leonard
    14 feb 2021
    Contestando a

    My guess is that like other devices that have a blue "status" led that flashes when no HA or WiFi, that the lightbulb is mimicking this by showing blue.


    You may be able to prevent this by pushing the status led to an unused GPIO in the config.

    Me gusta

    M
    Martin Leonard
    14 feb 2021
    Contestando a

    You might try this in your ESP config





    status_led:
      pin:
        number: GPIOXX
        inverted: yes

    Change GPIOXX to reflect an unused GPIO. This may redirect it away from the lightbulb LED's. I've never tried though, so it may not work.

    Me gusta

    tanderson92
    07 feb 2021

    When the lights turn on, the color temperature is always fully cool. Is there a way to make it start up at the warm end? It's much brighter when fully on the yellow side of the temp bar.

    1

    jugmixer
    28 ene 2021

    Here, i made this custom light component for ESPHome: https://github.com/jaddel/ESPHome/tree/master/Devices/Bulb%20Athom%2015W%20RGBWCT

    1
    M
    Martin Leonard
    28 ene 2021
    Contestando a

    That's cool. Only comment would be to update



    board: esp01_1m

    to



    board: esp8285

    in the yaml.


    Will give this a go and see how well it works 😎

    Me gusta