First, I am running in a virtual env on Ubuntu 18.04. Informations:
arch x86_64
dev false
docker false
hassio false
os_name Linux
python_version 3.6.9
timezone Europe/Oslo
version 0.103.5
virtualenv true
I want to control a few devices, including a xiaomi bedside lamp 2 (Bedside in configuration following). It is homekit compatible, but I chose to add it though my configuration.yaml
by IP address. I also have a few effects that I am developing:
discovery:
ignore:
- yeelight
yeelight:
devices:
192.168.0.31:
name: Bedside
transition: 1000
192.168.0.27:
name: CornerTable
transition: 1000
custom_effects:
- name: 'Sunrise3'
flow_params:
transitions:
- RGBTransition: [255, 56, 0, 50, 1]
- RGBTransition: [255, 83, 0, 10000, 10]
- RGBTransition: [255, 228, 206, 10000, 99]
- name: 'Sunrise6'
flow_params:
transitions:
- RGBTransition: [255, 56, 0, 50, 1]
- RGBTransition: [255, 83, 0, 10000, 10]
- RGBTransition: [255, 109, 0, 10000, 20]
- RGBTransition: [255, 126, 0, 10000, 30]
- RGBTransition: [255, 147, 44, 10000, 40]
- RGBTransition: [255, 157, 6, 10000, 50]
- name: 'Sunrise10'
flow_params:
transitions:
- RGBTransition: [255, 56, 0, 50, 1]
- RGBTransition: [255, 83, 0, 10000, 10]
- RGBTransition: [255, 109, 0, 10000, 20]
- RGBTransition: [255, 126, 0, 10000, 30]
- RGBTransition: [255, 147, 44, 10000, 40]
- RGBTransition: [255, 157, 6, 10000, 50]
- RGBTransition: [255, 169, 87, 10000, 60]
- RGBTransition: [255, 180, 107, 10000, 70]
- RGBTransition: [255, 204, 153, 10000, 80]
- RGBTransition: [255, 228, 206, 10000, 90]
- name: 'Sunrisef'
flow_params:
transitions:
- RGBTransition: [255, 56, 0, 50, 1]
- RGBTransition: [255, 83, 0, 10000, 10]
- RGBTransition: [255, 109, 0, 10000, 20]
- RGBTransition: [255, 126, 0, 10000, 30]
- RGBTransition: [255, 147, 44, 10000, 40]
- RGBTransition: [255, 157, 6, 10000, 50]
- RGBTransition: [255, 169, 87, 10000, 60]
- RGBTransition: [255, 180, 107, 10000, 70]
- RGBTransition: [255, 204, 153, 10000, 80]
- RGBTransition: [255, 228, 206, 10000, 90]
- RGBTransition: [255, 228, 206, 10000, 99]
Here is my problem:
- SunriseXX up to 6 included works fine.
- When calling for Sunrise10 and Sunrisef, nothing happens.
I do not understand why.
I also tested on a Xiaomi Color Bulb (the CornerTable thing). There all effects work (including Sunrise10 and Sunrisef), but it looks like there is some form of flickering on Sunrisef.
Any idea where the problem comes from? Should I report this as an issue on the github repo rather?