Great Blueprint, I especially like the respect for which face is up functionality. Unfortunately I’m a Deconz user. Is this Blueprint coming for Deconz too?
I am also getting these issues. I see that if I change all of the trigger.to_state.attributes.action
to trigger.to_state.state
then shake will work, but the flip90’s won’t as the sub_event is never populated.
I wonder if something changed with how the action entities are set/updated?
Looks like that states are no longer in the main action’s attributes. I’m running HA 2022.3.1, and Zigbee2MQTT 20211217. Maybe something changed in an update?
EDIT:
On further testing, it seems I can get it to work with the blueprint as-is IF I enable “Home Assistant legacy entity attributes” & “Home Assistant legacy triggers”.
Did you ever get it working without setting homeassistant: false
in configuration (which caused problems when HAOS is restarted)
If I have is set to true, I just keep getting flashes, and ’ ’ as the final action payload in HA, and I can’t seem to catch the first payload.
Thanks! You’ve saved me a big headache - when after few hours I was unable to get the cube working.
Hi,
I’m looking for sort of a “reality check” on what I’m trying to do with my cube. I would like to be somehow able to detect the direction of 1side flip.
Basically what I was trying to do before getting stuck in the “well how the hell would that work” phase is to make the cube work as arrow keys. I already use it for many media controls when watching kodi and was thinking if I could just flip the cube left/right/up/down (where “top” would be the face which was on top at the time of 1st flip).
Would something like this be possible in any (however elaborate) way?
If you pick a starting point, you know where it is. on that starting side draw an arrow up so you know how to position it. Then each flip is from that side to one of the other 4 sides. The cube will tell you the from and the to.
Don’t know if this blueprint will do it or not, but mine would.
Just installed this blueprint but cannot get it working with HA 2022.10.
The device works fine but the blueprint is never triggered.
alias: Cube living room
description: ""
use_blueprint:
path: SirGoodenough/Zigbee2MQTT - Xiaomi Cube Controller.yaml
input:
remote: sensor.cube_living_room_action
slide_face_0:
- service: light.turn_off
data: {}
- service: switch.turn_off
data: {}
target:
entity_id: switch.kitchen_light_outlet_local
rotate_cw_face_0:
- service: media_player.volume_up
data: {}
target:
entity_id: media_player.sony_ke_48a9
rotate_ccw_face_0:
- service: media_player.volume_down
data: {}
target:
entity_id: media_player.sony_ke_48a9
Change your legacy settings on your device.
I have all the set-up and configuration options that you are looking for in my version of the cube controller…
Anyone knows how to download any of blueprints discussed there? links don’t work anymore.
same here, how an i download the latest version of the blueprint?
It’s possible the code is abandoned. Haven’t heard from the author in a while.
If that’s the case and the link does not work, you will have to copy it over manually and take your chances.