The bad boy I’m talking about:
A description on how the app works and how you can configure it.
With the basic configuration the behaviour is as follows:
- release ON button after short press of the button-> light turns on at 100%
- release OFF button after short press of the button-> light turns off
- press and hold INCREASE BRIGHTNESS button -> brightness increases smoothly
- press and hold DECREASE BRIGHTNESS button -> brightness decreases smoothly
- release INCREASE BRIGHTNESS or DECREASE BRIGHTNESS after holding the button -> dimming stops
dimmer_test: module: hue_dimmer_switch class: HueDimmerSwitch entities: switch: dimmer_switch_bedroom (required) light: light.bedroom (required)
The switch behaves the same way as with the basic configuration. However, the button presses can be overwritten and other button presses can be added. The available actions to assign to a button press are “turn_on”, “turn_off” and “service_call”.
The configuration for a button press looks like this.
button_press_name: action_type: turn_on | turn_off | service_call action_entity: entity_id of entity to be used in the action parameters: optional, parameters to give if you chose service_call
The following button_press_names are available and can be overwritten:
dimmer_test: module: hue_dimmer_switch class: HueDimmerSwitch entities: switch: dimmer_switch_bedroom (required) light: light.bedroom (required) advanced: short_press_on_release: (optional) action_type: turn_on entity: scene.good_night long_press_on_release: (optional) action_type: service_call entity: light.bedroom service: turn_on parameters: brightness: 255 color_name: blue short_press_off_release (optional): action_type: turn_off entity: light.bedroom long_press_off_release (optional): action_type: turn_off entity: group.bedroom
The app can be found here - > click me
I’d love to get some feedback on the app.
I could integrate other switches if there’s a demand for that, as long as they work with events and have a hold button and release button event.
If you have some issues/feature requests/ideas please let me know.
Edit: App now available in HACS as a custom repository under this address: https://github.com/Burningstone91/Hue_Dimmer_Deconz
I made a PR to get it added to the default store.
Edit 2: PR has been merged, app should be available in a few hours in the default store.