Bernhard Frauendienst
Bernhard Frauendienst
@edmundhung, let me know if anything from my side is required to drive this forward :)
@edmundhung, is this in any way obsolete or no longer useless? Or is there another reason this cannot get merged?
Attached is my custom quirk What works: * Rotate (_start_rotation_, _rotation_, _stop_rotation_) (requires replacement endpoint 71) * Hold and rotate (_hold_start_rotation_, _hold_rotation_, _stop_hold_rotation_) (requires replacement endpoint 72) * Single press...
I've put the code into a gist to track the changes for now: https://gist.github.com/oxc/754d6436ce62d92af660d3671acd9346 I decided that I don't like the separate events for rotate_left/right, and added a rotation_direction arg....
> One thing I noticed, the direction is determined based on the net gain in either direction. For example, turning the dial +1 click to the left and then +4...
Sorry I didn't reply before. I don't remember how I did it exactly, I believe I pressed 5 times afterwards instead of before. IIRC, I had to press at least...
@0rangutan, if the quirk loaded correctly, you can now configure triggers for the device, and will also receive zha_events. Also have a look at the blueprints from @nwithan8 in the...
You will have to use the "rotation" zha event for that.
Perhaps it makes sense to expose the ongoing rotation as events too. I would have appreciated some input from the maintainers on that, but that seems hard to come by.
I believe you have to set the operation_mode attribute and then press 5 times. Or the other way around. I cannot say for sure, but somehow like that I managed...