Yeelight custom effects sharing

For those who are using yeelights, here’re the custom effects that I am using. It’s nearly halloween so need to prepare for the scare lol.
If you can share your custom effects too, that would be awesome.

      - name: 'Lightning'
        flow_params:
          count: 0
          transitions:
            - TemperatureTransition: [6500, 50, 0]
            - TemperatureTransition: [6500, 50, 50]
            - TemperatureTransition: [6500, 50, 0]
            - SleepTransition:       [3000]
            - TemperatureTransition: [6500, 50, 50]
            - TemperatureTransition: [6500, 50, 0]
            - TemperatureTransition: [6500, 50, 50]
            - TemperatureTransition: [6500, 50, 0]
            - SleepTransition:       [1500]
      - name: 'Flicker'
        flow_params:
          count: 0
          transitions:
            - TemperatureTransition: [6500, 50, 0]
            - TemperatureTransition: [6500, 50, 50]
            - SleepTransition:       [3000]
      - name: 'Flicker2'
        flow_params:
          count: 0
          transitions:
            - TemperatureTransition: [6500, 50, 0]
            - TemperatureTransition: [6500, 50, 50]
            - SleepTransition:       [3000]
            - TemperatureTransition: [6500, 50, 0]
            - TemperatureTransition: [6500, 50, 50]
            - TemperatureTransition: [6500, 50, 0]
            - TemperatureTransition: [6500, 50, 50]
            - TemperatureTransition: [6500, 500, 0]
            - TemperatureTransition: [6500, 50, 80]
      - name: 'FlickerScare'
        flow_params:
          count: 0
          transitions:
            - TemperatureTransition: [6500, 50, 0]
            - TemperatureTransition: [6500, 50, 50]
            - SleepTransition:       [3000]
            - TemperatureTransition: [6500, 50, 0]
            - TemperatureTransition: [6500, 50, 50]
            - TemperatureTransition: [6500, 50, 0]
            - TemperatureTransition: [6500, 50, 50]
            - TemperatureTransition: [6500, 500, 0]
            - SleepTransition:       [3000]
            - RGBTransition: [255, 0, 0, 50, 80]
            - SleepTransition:       [10000]
      - name: 'FlickerWarm'
        flow_params:
          count: 0
          transitions:
            - TemperatureTransition: [1700, 50, 0]
            - TemperatureTransition: [1700, 50, 50]
            - SleepTransition:       [3000]
      - name: 'FlickerWarmScare'
        flow_params:
          count: 0
          transitions:
            - TemperatureTransition: [1700, 50, 0]
            - TemperatureTransition: [1700, 50, 50]
            - SleepTransition:       [3000]
            - TemperatureTransition: [1700, 50, 0]
            - TemperatureTransition: [1700, 50, 50]
            - TemperatureTransition: [1700, 50, 0]
            - TemperatureTransition: [1700, 50, 50]
            - TemperatureTransition: [1700, 500, 0]
            - SleepTransition:       [3000]
            - RGBTransition: [255, 0, 0, 50, 80]
            - RGBTransition: [255, 0, 0, 50, 0]
            - SleepTransition:       [10000]
7 Likes

Thanks for sharing.

I got this one as intruder alarm:

    - name: 'Self_Alarm'
      flow_params:
        count: 0
        transitions:
          - RGBTransition: [0,0,255,300,1]
          - RGBTransition: [222,0,0,50,1]
          - RGBTransition: [255,52,52,50,256]
          - RGBTransition: [222,0,0,50,1]
          - RGBTransition: [0,0,255,50,256]
          - RGBTransition: [222,0,0,50,1]
          - RGBTransition: [255,52,52,50,256]
          - RGBTransition: [222,0,0,50,1]
1 Like

Thanks for this. The lighting is great for when the front and/or back door opens

  custom_effects:
  
      - name: 'Romantic evening'
        flow_params:
          count: 0
          transitions:
            - RGBTransition: [255, 0, 126, 3500, 1]
            - RGBTransition: [128, 0, 128, 3500, 1]
  
      - name: 'Cinema'
        flow_params:
          count: 0
          transitions:
            - RGBTransition: [102, 102, 255, 1000, 50]
  
      - name: 'Date'
        flow_params:
          count: 0
          transitions:
            - RGBTransition: [255, 102, 0, 1000, 50]

Can you tell me how to save these effects?
Where to insert them? I have the Yeelight integration directly from UI so I don’t know how to use these effects.

Example configuration.yaml entry

yeelight:
  custom_effects:
    - name: 'Fire Flicker'
      flow_params:
        count: 0
        transitions:
          - TemperatureTransition: [1900, 1000, 80]
          - TemperatureTransition: [1900, 2000, 60]
          - SleepTransition:       [1000]
1 Like

Thanks, can you give me an example of how to call these effects with the light.turn_on service?

You can choose them from drop down menu in lovelace card of the light after HA reboot.

Ok, but if I want to use an effect in an automation I have to call the light.turn_on service. So what to put inside this service?
For example i have this inside an automation:

            - service: light.turn_on
              data:
                entity_id: light.backlight_tv
                profile: 'movie'
                transition: 20
                brightness_pct: 80

How to use an effect?

effect: Romantic evening

1 Like

Effects to Yeelight Pro Chamaleon?