• Home

  • Products

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

  • About Shipping

  • Contact Us

  • 更多

    Use tab to navigate through the menu items.
    0
    この動作を確認するには、公開後のサイトへ移動してください。
    • カテゴリー
    • すべての記事
    • マイポスト
    Martin Leonard
    2021年1月14日

    E27 15W RGBCCT bulb ESPHome config

    カテゴリー: Light

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

    11件の回答10件の返信
    0
    21件のコメント

    ご意見をお寄せくださいコメントを残すにはサインアップしてください。

    M
    Martin Leonard
    Martin Leonard
    2021年1月14日

    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
    2021年8月26日

    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
    Martin Leonard
    2021年1月20日

    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
    Paul Smith
    2月16日

    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
    Andris Zarsss
    2021年2月14日

    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
    Martin Leonard
    2021年2月14日
    返信先

    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.

    いいね!

    M
    Martin Leonard
    Martin Leonard
    2021年2月14日
    返信先

    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.

    いいね!

    tanderson92
    2021年2月07日

    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
    2021年1月28日

    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
    Martin Leonard
    2021年1月28日
    返信先

    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 😎

    いいね!

    drizzt321
    2021年1月28日
    返信先

    I'm a little late to the party, but found https://www.reddit.com/r/Esphome/comments/kscy9z/custom_light_component_need_c_advice_athom_15w/


    I don't have one of the bulbs yet, going to have to wait until after Chinese New Years and they end up getting some more made, but definitely anxiously awaiting some!

    いいね!

    jugmixer
    2021年1月31日
    返信先

    @Martin Leonard the 7w has an esp8285 bord the 15w is 8266

    いいね!

    M
    Mike Kahlow
    Mike Kahlow
    2021年1月23日

    Not working so well. At the blue end of the range, the light is completely off... the cw led's really never engage. At the lower ends of intensity, the bulb just turns off.


    OTOH this works in Tasmota, it just doesn't control correctly from Home Assistant.


    It's almost like I wasted a bit of $$ on these bulbs. I wanted to use them to get away from she-who-must-not-be-named (Al*xa), but in order to use them, I need to use Tasmota with Philips emulation and then control them with... Al*xa.

    1
    M
    Martin Leonard
    Martin Leonard
    2021年1月23日
    返信先

    Not using Alexa so I can not comment on that or how it integrates with HA. I use HA with the nabu casa subscription for Google Home integration.


    If Tasmota is functioning correctly for you, then the ESPHome config can likely be adjusted to work exactly the same in terms of capabilities. I had to make assumptions in my config, and acknowledge it isn't perfect.


    Would be great if Athom would publish fully functional configs for ESPHome since the direct HA integration is a winning feature for me.

    いいね!

    drizzt321
    2021年1月20日

    I'm so excited I found this! I've been trying to find a high lumen bulb that I could easily get to Tasmota/ESPHome! However, I can't seem to find this available for purchase at Tindie/Aliexpress :( Any idea of when it'll be back in stock anywhere for me to buy?

    1
    A
    Andris Zarsss
    Andris Zarsss
    2021年1月20日
    返信先

    Mine is getting very hot.

    いいね!

    drizzt321
    2021年1月20日
    返信先

    @Andris Zarsss Well, at full brightness I can imagine it'd get hot. I don't necessarily need full brightness all the time, but the 700-800lm from most other bulbs just isn't enough sometimes, and I can just have it turned down except for the times I need the brightness.

    いいね!

    M
    Martin Leonard
    Martin Leonard
    2021年1月20日

    Also, you have to remove the "White" value to zero in order to use the colour wheel.

    1
    A
    Andris Zarsss
    Andris Zarsss
    2021年1月20日
    返信先

    That was a problem here! Thank you.

    いいね!

    A
    Andris Zarsss
    Andris Zarsss
    2021年1月20日

    Managed to upload a firmware, but HA is not offering any color changes, just on or off. Am i missing something?

    1
    M
    Martin Leonard
    Martin Leonard
    2021年1月20日
    返信先

    In Lovelace, you need to make sure the bulb is on, and then click the three dots.




    いいね!
    21件のコメント
    同じような記事
    • Max Output Power of E27 RGBCCT bulb
    • Filament E27/E14 Light bulb
    • Here is an ESPHome config for the UK Power Plug

    ©2020 by athom.