🧯 Zigbee2MQTT Aqara Magic Cube T1-Pro CTP-R01 Xiaomi Lumi cagl02

Change the step size of what?

1 Like

Hi - have had the original cube working perfect with your blueprint Z2M for ages. At Xmas, got the pro for the lounge… but can I get it work with with Z2M Pro blueprint… No! lol

MQTT device info shows correctly what happening such as turn cube from side 1 to side 2 etc, but whatever device I ask it to operate such as turn on a lamp, well, it doesnt. Using in action mode.

Nothing in HA logs either.

Any ideas,

You are not giving me much to go on here. I will say the majority of the problems I’ve solved with the new cube is that it was not in the mode you think it is in, so try changing the mode back and forth, or try adding a different function to the scene and the action functions and see if you can chase something down. However if the blueprint is sending the event out that it did a thing, the matching action should be triggering.

Also make sure the topics are correct and the cubes are not interfereing with each other due to a naming problem.
My set-up has a z2m one, a z2m pro one, and one running zha so they should work together just fine.

1 Like

Thanks SG, will do some further investigation…

NEW VERSION →

:bookmark_tabs: Changelog

  • 2024-06-04: Blueprint Input Sections for enhanced Descriptions.

Hello, I have a problem with this bluescript, more precisely with importing it. When I click Add to HA button, I get redirected to my HA install, and see this link: HA_Blueprints/Automations/Zigbee2MQTT-Aqara-Magic-Cube-T1-Pro-CTP-R01-Xiaomi-Lumi.yaml at d1c15d75a7b5fa3042d60f7eee2d7633ea8a27a3 ¡ SirGoodenough/HA_Blueprints ¡ GitHub
After clicking preview I see a very long error, I will include part of it not to make too much mess here:

Invalid blueprint: extra keys not allowed @ data[‘blueprint’][‘input’][‘action_any_side_group_2_actions’][‘collapsed’]. Got True extra keys not allowed @ data[‘blueprint’][‘input’][‘action_any_side_group_2_actions’][‘icon’]. Got ‘mdi:fruit-cherries’ extra keys not allowed @ data[‘blueprint’][‘input’][‘action_any_side_group_2_actions’][‘input’]. Got {‘action_slide_any’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 2 :cherries: Slide on any side’, ‘description’: “Side doesn’t matter on this one.\n**!!Warning!!** The automations for the specific side will also trigger. :apple::pear:\nI suggest using only one of the three groups of triggers, not multiple groups…”, ‘default’: , ‘selector’: {‘action’: {}}}, ‘action_doubletap_any’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 2 :cherries: Double tap on any side’, ‘description’: "Side doesn’t matter on this one.\n**!!Warning!!** The a… extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_1_group_1_actions’][‘collapsed’]. Got True extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_1_group_1_actions’][‘icon’]. Got ‘mdi:numeric-1-box’ extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_1_group_1_actions’][‘input’]. Got {‘action_slide_face_1’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 1 :apple: Slide with face 1 up’, ‘description’: “Face 1 is the one with the ‘Aqara’ LOGO”, ‘default’: , ‘selector’: {‘action’: {}}}, ‘action_doubletap_face_1’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 1 :apple: Double tap with face 1 up’, ‘description’: “Face 1 is the one with the ‘Aqara’ LOGO”, ‘default’: , ‘selector’: {‘action’: {}}}, ‘action_flipped90_face_1’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 1 :apple: Flip 90 degrees to face 1’, ‘description’… extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_1_group_3_actions’][‘collapsed’]. Got True extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_1_group_3_actions’][‘icon’]. Got ‘mdi:numeric-1-circle’ extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_1_group_3_actions’][‘input’]. Got {‘action_1_from_6’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 3 :pear: Flip to side 1 from side 6’, ‘description’: ‘!!Warning!! The flip 180 automations :apple: for side 1 and the ANY :cherries: automations will also trigger.\nI suggest using only one of the three groups of triggers, not multiple groups…’, ‘default’: , ‘selector’: {‘action’: {}}}, ‘action_1_from_2’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 3 :pear: Flip to side 1 from side 2’, ‘description’: '!!Warning!! The flip 90 automations :apple: for side 1 and th… extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_2_group_1_actions’][‘collapsed’]. Got True extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_2_group_1_actions’][‘icon’]. Got ‘mdi:numeric-2-box’ extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_2_group_1_actions’][‘input’]. Got {‘action_slide_face_2’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 1 :apple: Slide with face 2 up’, ‘default’: , ‘selector’: {‘action’: {}}}, ‘action_doubletap_face_2’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 1 :apple: Double tap with face 2 up’, ‘default’: , ‘selector’: {‘action’: {}}}, ‘action_flipped90_face_2’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 1 :apple: Flip 90 degrees to face 2’, ‘default’: , ‘selector’: {‘action’: {}}}, ‘action_flipped180_face_2’: {‘name’: ':palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 1 :apple: Flip 180 degrees… extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_2_group_3_actions’][‘collapsed’]. Got True extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_2_group_3_actions’][‘icon’]. Got ‘mdi:numeric-2-circle’ extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_2_group_3_actions’][‘input’]. Got {‘action_2_from_1’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 3 :pear: Flip to side 2 from side 1’, ‘description’: ‘!!Warning!! The flip 90 automations :apple: for side 2 and the ANY :cherries: automations will also trigger.\nI suggest using only one of the three groups of triggers, not multiple groups…’, ‘default’: , ‘selector’: {‘action’: {}}}, ‘action_2_from_3’: {‘name’: ‘:palm_down_hand: ACTION MODE ONLY :palm_down_hand: Group 3 :pear: Flip to side 2 from side 3’, ‘description’: '!!Warning!! The flip 90 automations :apple: for side 2 and the… extra keys not allowed @ data[‘blueprint’][‘input’][‘action_side_3_group_1_actions’][‘collapsed’]. Got True extra keys not allowed @ data[‘blueprint’][‘input’][

I don’t know what to do, maybe somebody will show me where is the missing character or other probably primitive mistake. I got an aquara t1 pro recently and id love to use your script as it seems to have everything I need.

I just updated it last nught and didn’t test importing, becayse I only change description. I may have messed it up. Let me check and I’ll fix it right away .

UPDATE:
I just went to the top post, clicked the button, and imported it. Looked OK no error.

Are you using Home Assistant 2024.6.0 or newer? That is required to allow import.
This error tells me you are running something older:

Okay, my HA installation was 2024.4.(something), gonna update it and check again, thanks for help

EDIT: It works! Thanks for help a lot!

1 Like

Hi, I am getting Error: Template rendered invalid entity IDs: number.Aqara-T1-Pro_last_side
What do I do wrong?
Thanks

Hello li.ilya,

Thanks for considering my blueprint.
I am thinking the answer to your question might be found in this section of the documentation.

🧯 Zigbee2MQTT Aqara Magic Cube T1-Pro CTP-R01 Xiaomi Lumi cagl02.

Read this over and simplify that name, and I think you will have better luck.