This sounds like a good idea but I wouldn’t know where to start and how complex this can be. I am not an expert in HA or Yaml so I think I am going to revisit this after I gain more experience.
In the meantime maybe someone else with such knowledge creates it and shares it.
I really believe that the “rotate left and right actions per side” functionality for this cube is going to be really awesome.
I am using Zigbee2mqtt and getting “no matching devices found” when i try to use the blueprint with my aqara cube… Is there a solution for that? Thanks!
Somebody know why with z2m and deconz its possible to know which face is up when rotating but not with ZHA?
This is the only thing missing for me to make my cube working.
Is there side specific rotate options or am I missing something? Was thinking rotate could be used for light brightness with the light chosen by side facing up?
This blueprint supports double tap, its a double knock or what is listed as simply “knock” in the bullets.
I am Looking for a way to limit rotate left/right based on the activated face.
So that with face 1 rotate left/right will increase/decrease light brightness, and face 2 will change color or volume etc…
Right now the rotate trigger is global, regardless of active face.
I thought to add conditions but only battery is available as a condition.
@Necromancer I’ve added an input_select helper and when I put the cube down on a face, it changes the input_select to some text value (eg. Lights, Music). Then in rotate left/right triggers I’ve used a choose action. Depending on what the active face is (in the input_select), it switches between different actions.
Some sample code:
Face select
four_to_one:
- service: input_select.select_option
data:
option: Music
entity_id: input_select.active_cube_side
You’ve got to set it up for all x_to_y parts. Here’s the rotation part:
@makistane
How do you check which face the cube is on to update the input_select helper to keep track of the active face?
In automation the only available triggers is “device slid/knocked/flipped with face 1 activated”
Quite happy that there is a blueprint for this device. So kuddos for making this!
I have owned this device since my Hubitat days and never really could find a good use-case scenario for this. Can folks share how they are using the cube in their home automations? Suggestions is appreciated!
I use the blueprint’s “From side x to side y” input to call the input_select.select_option service and change the input_select value. It sounds like you tried to make a new automation to handle this, but there is no need, everything can be done in the blueprint.