-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
ZNXNKG02LMLightController does not work rotation brightness adjustments
Description
Does not work rotation brightness adjustments, after rotating in logs this information
2023-10-20 15:50:31.919697 INFO example_app: 🏃 Running Predefined (brightness_from_controller_angle)
now
2023-10-20 15:50:31.923725 WARNING example_app: No event data present
Single, Double, and Hold actions works good
Additional information
- Devices involved:
- Model: [ZNXNKG02LM] (https://www.zigbee2mqtt.io/devices/ZNXNKG02LM.html#xiaomi-znxnkg02lm)
- ...
- Integration: z2m
- AppDaemon version: 0.13.6
- ControllerX version: v4.26.2
- HACS version (if installed from there): 1.33.0
- Home Assistant Core version: 2023.10.3
AppDaemon app configuration
/config/appdaemon/appdaemon.yaml
---
secrets: /config/secrets.yaml
appdaemon:
latitude: 52.379189
longitude: 4.899431
elevation: 2
time_zone: Europe/Amsterdam
plugins:
HASS:
type: hass
MQTT:
type: mqtt
namespace: mqtt # This is important
client_host: 192.168.88.200
client_user: mqtt
client_password: ****
http:
url: http://127.0.0.1:5050
admin:
api:
hadashboard:```
/config/appdaemon/apps/apps.yaml
---
hello_world:
module: hello
class: HelloWorld
example_app:
module: controllerx
class: ZNXNKG02LMLightController
integration: z2m
controller: sensor.aqara_h1_dimmer_action
light:
name: light.kabinet_moes_cct
color_mode: color_temp
## Logs
```text
2023-10-20 15:49:54.465759 INFO AppDaemon: Loading app example_app using class ZNXNKG02LMLightController from module controllerx
2023-10-20 15:49:54.467307 INFO AppDaemon: Calling initialize() for hello_world
2023-10-20 15:49:54.523125 INFO hello_world: Hello from AppDaemon
2023-10-20 15:49:54.524139 INFO hello_world: You are now ready to run Apps!
2023-10-20 15:49:54.525078 INFO AppDaemon: Calling initialize() for example_app
2023-10-20 15:49:54.530467 INFO example_app: 🎮 ControllerX v4.26.2
2023-10-20 15:49:54.563216 INFO AppDaemon: App initialization complete
2023-10-20 15:49:56.328694 INFO AppDaemon: New client Admin Client connected
2023-10-20 15:50:07.522705 INFO example_app: 🎮 Button event triggered: `start_rotating`
2023-10-20 15:50:07.526853 INFO example_app: 🏃 Running `Predefined (brightness_from_controller_angle)` now
2023-10-20 15:50:07.530178 WARNING example_app: No event data present
2023-10-20 15:50:07.896708 INFO example_app: 🎮 Button event triggered: `stop_rotating`
2023-10-20 15:50:07.902138 INFO example_app: 🏃 Running `Predefined (release)` now
2023-10-20 15:50:09.739662 INFO example_app: 🎮 Button event triggered: `single`
2023-10-20 15:50:09.743041 INFO example_app: 🏃 Running `Predefined (toggle)` now
2023-10-20 15:50:09.749868 INFO example_app:
🤖 Service: light.toggle
- entity_id: light.kabinet_moes_cct
2023-10-20 15:50:13.884420 INFO example_app: 🎮 Button event triggered: `single`
2023-10-20 15:50:13.888500 INFO example_app: 🏃 Running `Predefined (toggle)` now
2023-10-20 15:50:13.895003 INFO example_app:
🤖 Service: light.toggle
- entity_id: light.kabinet_moes_cct
2023-10-20 15:50:18.667626 INFO example_app: 🎮 Button event triggered: `hold`
2023-10-20 15:50:18.671616 INFO example_app: 🏃 Running `Predefined (hold_color_toggle)` now
2023-10-20 15:50:18.699020 INFO example_app:
🤖 Service: light.turn_on
- entity_id: light.kabinet_moes_cct
- transition: 0.35
- color_temp: 459
2023-10-20 15:50:19.057550 INFO example_app:
🤖 Service: light.turn_on
- entity_id: light.kabinet_moes_cct
- transition: 0.35
- color_temp: 493
2023-10-20 15:50:19.413708 INFO example_app:
🤖 Service: light.turn_on
- entity_id: light.kabinet_moes_cct
- transition: 0.35
- color_temp: 500
2023-10-20 15:50:21.263896 INFO example_app: 🎮 Button event triggered: `release`
2023-10-20 15:50:21.267359 INFO example_app: 🏃 Running `Predefined (release)` now
2023-10-20 15:50:27.531916 INFO example_app: 🎮 Button event triggered: `start_rotating`
2023-10-20 15:50:27.535838 INFO example_app: 🏃 Running `Predefined (brightness_from_controller_angle)` now
2023-10-20 15:50:27.539676 WARNING example_app: No event data present
2023-10-20 15:50:28.536538 INFO example_app: 🎮 Button event triggered: `stop_rotating`
2023-10-20 15:50:28.540767 INFO example_app: 🏃 Running `Predefined (release)` now
2023-10-20 15:50:31.916215 INFO example_app: 🎮 Button event triggered: `start_rotating`
2023-10-20 15:50:31.919697 INFO example_app: 🏃 Running `Predefined (brightness_from_controller_angle)` now
2023-10-20 15:50:31.923725 WARNING example_app: No event data present
2023-10-20 15:50:32.804253 INFO example_app: 🎮 Button event triggered: `stop_rotating`
2023-10-20 15:50:32.807927 INFO example_app: 🏃 Running `Predefined (release)` now
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working