-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hue Smart Button for deCONZ #226
Comments
Device added in ControllerX v4.5.0. |
Will you be adding z2m support for the Hue Smart Button? |
Hi @blueturtleshells, Yes, not a problem for me. I do not possess this controller, so I don't know the mapping for Z2M. I got the deCONZ mapping from someone in the forum that requested it. If you let me know the following events, I will add the Z2M mapping:
Ideally, you could open a new issue of type "new device", otherwise I will do myself with the information you provide. Regards, |
Sorry, I'm not 100% sure how to get the information you're asking (kinda new here) but this is what shows in the Z2M logs when I push the button:
and when I click and hold it:
|
Hi @blueturtleshells, Thank you for your response, I am interested in the
I would need to understand when each of those actions are fired. According to your comment, these actions are fired when pressing:
And the following when click&holding:
Is this still true? If so, I don't see an easy way of distinguishing the actions. Regards, |
Hi @xaviml, Appreciate your patience here as I'm learning as I go. I'm with you in judging by the logs it's difficult to distinguish a click and a click+hold. FWIW I set my logs to show debug level and here it is again (not sure if it's helpful). Perhaps implementing simple click and release is sufficient for now - I know it is for me. click-release only
click-hold(3 sec)-release:
|
Hi @blueturtleshells, Thank you again for your response. I see that Regards, |
Thanks, this is what I came up with but can't seem to get it working:
Can you see what's wrong? Thanks again. Edit: Logs say |
Hi @blueturtleshells, My recommendation is to use smart_button_controller:
module: controllerx
class: LightController
controller: sensor.smart_button_action
integration: z2m
light: light.master_bedroom
mapping:
press: toggle Also, as you can see, you don't need to define the service toggle, since Hope it helps :) Regards, |
That helped - it works! You're awesome :) |
I'm glad you got it working :) and thank you for your support! |
New Device Support
Device Information
Integrations
If possible, provide the event mappings for the different actions that can be performed on the controller. Specify the integration.
If you can provide mappings for multiple integrations, copy the section below as many times as needed.
Integration: deconz
Actions
1000
: Initial press1001
: Hold1002
: Short release1003
: Long releaseThe text was updated successfully, but these errors were encountered: