To add to this thread…
The device number, in this case 6201, then has a dedicated json file (wizard_6201.json
) , which seems to be the script that would take you through the inclusion / exclusion process etc.
{
"category_id": "70",
"wizard": {
"name": "Nano Dimmer - Aeotec ZW111",
"countable_steps": 4,
"delete_step": 100,
"steps": [
{
"id": 1,
"step_count": 1,
"template": 1,
"step_headline": {
"lang_tag": "ui7_kitdevice_6201_headline",
"text": "Aeotec Nano Dimmer"
},
"text_content": [
{
"static_group": 1,
"group_type": "manual",
"target": "",
"group_text": {
"lang_tag": "",
"text": ""
}
},
{
"static_group": 2,
"group_text": [
{
"lang_tag": "ui7_kitdevice_6201_step_1_11",
"text": "<span style='color: red;'><b style='color: red;'> Warning: </b>Risk of electric shock!</span><br> \nIt is strongly recommended that you consult a qualified electrician to install the Nano Dimmer.<br>\nMake sure to turn off the main power before beginning installation.<br><br>\nFollow the installation manual instructions for wiring."
},
{
"lang_tag": "",
"text": ""
}
]
}
],
"images": [
{
"static_group": 2,
"group_image": "aeotec_nano_dimmer_zw111_wiring.jpg"
}
],
"buttons": [
{
"button_id": 1,
"label": {
"lang_tag": "ui7_devwiz_btn_exit",
"text": "Exit"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_exit_wizard",
"argument": 2
}
}
]
},
{
"button_id": 2,
"label": {
"lang_tag": "ui7_devwiz_btn_next",
"text": "Next"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_go_to_step",
"argument": "3"
}
}
]
}
]
},
{
"id": 2,
"step_count": "",
"template": 1,
"text_content": [
{
"static_group": 1,
"group_text": [
{
"lang_tag": "",
"text": ""
}
]
}
],
"images": [
{
"static_group": 1,
"group_image": ""
}
],
"buttons": [
{
"button_id": 1,
"label": {
"lang_tag": "ui7_devwiz_btn_exit",
"text": "Exit"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_exit_wizard",
"argument": 2
}
}
]
},
{
"button_id": 2,
"label": {
"lang_tag": "ui7_devwiz_btn_next",
"text": "Next"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_go_to_step",
"argument": ""
}
}
]
}
]
},
{
"id": 3,
"step_count": 2,
"template": 1,
"text_content": [
{
"static_group": 1,
"group_text": [
{
"lang_tag": "ui7_kitdevice_6201_step_3_01",
"text": "Make sure to keep the Nano Dimmer exposed until pairing is successful. Press the Next button below to begin pairing.<br><br>\n<span style='color: red;'><b style='color: red;'> Warning: </b>Even when the Nano Dimmer is turned off, voltage may be present on the terminals.</span><br>"
}
]
},
{
"static_group": 2,
"group_text": [
{
"lang_tag": "",
"text": ""
}
]
}
],
"images": [
{
"static_group": 1,
"group_image": "aeotec_nano_dimmer_zw111_power.jpg"
}
],
"buttons": [
{
"button_id": 1,
"label": {
"lang_tag": "ui7_devwiz_btn_exit",
"text": "Exit"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_exit_wizard",
"argument": 2
}
}
]
},
{
"button_id": 2,
"label": {
"lang_tag": "ui7_devwiz_btn_next",
"text": "Next"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_go_to_step",
"argument": 4
}
}
]
}
]
},
{
"id": 4,
"step_count": 3,
"template": 1,
"text_content": [
{
"static_group": 1,
"group_text": [
{
"lang_tag": "ui7_kitdevice_6201_step_4_01",
"text": "Turn on the main power to the Nano Dimmer.<br>\nPress or flip the external wall switch connected to the (S1) input of the Nano Dimmer once. If you don't have an external wall switch connected to the (S1) input, carefully press (voltage will be present on terminals) the Action Button once on your Nano Dimmer to begin the pairing process.<br>\nThe LED will blink green for a few seconds then turn solid indicating inclusion is successful."
}
]
},
{
"static_group": 2,
"group_text": [
{
"lang_tag": "ui7_kitdevice_6201_step_4_11",
"text": "If the LED on your Nano Dimmer turns red for 2 seconds and then returns to a colorful gradient (changing colors), and isn't detected in 60 seconds, click the 'Retry' button below to begin un-pairing it."
}
]
}
],
"images": [
{
"static_group": 1,
"group_image": "aeotec_nano_dimmer_zw111_pairing.jpg"
}
],
"auto_command": [
{
"command_type": "gateway",
"action": {
"type": "include_mode"
}
},
{
"command_type": "event",
"event_add": "device_added",
"action": {
"type": "action_go_to_step",
"argument": 5
}
}
],
"buttons": [
{
"button_id": 1,
"label": {
"lang_tag": "ui7_devwiz_btn_exit",
"text": "Exit"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_exit_wizard",
"argument": 2
}
}
]
},
{
"button_id": 2,
"label": {
"lang_tag": "ui7_devwiz_btn_reset",
"text": "Retry"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_go_to_step",
"argument": 6
}
}
]
}
]
},
{
"id": 5,
"step_count": 4,
"template": 3,
"text_content": [
{
"static_group": 1,
"group_text": [
{
"lang_tag": "ui7_install_device_name_room_step",
"text": "Add a name for the device and assign it to a room."
},
{
"lang_tag": "",
"text": ""
}
]
}
],
"images": [
{
"static_group": 1,
"group_image": ""
}
],
"auto_command": [
{
"command_type": "event",
"event_remove": "device_added"
},
{
"command_type": "event",
"event_remove": "device_removed"
}
],
"widgets": [
"device_type_found"
],
"buttons": [
{
"button_id": 1,
"label": {
"lang_tag": "ui7_devwiz_btn_finish",
"text": "Finish"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_exit_wizard",
"argument": 2
}
}
]
}
]
},
{
"id": 6,
"template": 1,
"reset_step": 1,
"text_content": [
{
"static_group": 1,
"group_text": [
{
"lang_tag": "ui7_kitdevice_6201_step_6_01",
"text": "The controller will now begin to un-pair your device."
},
{
"lang_tag": "ui7_kitdevice_6201_step_6_02",
"text": "Carefully press (voltage will be present on terminals) the Action button once to un-pair your Nano Dimmer. The LED will be in a colorful gradient (changing colors) status indicating it has been successfully unpaired."
}
]
},
{
"static_group": 2,
"group_text": [
{
"lang_tag": "ui7_kitdevice_6201_step_6_11",
"text": "Click the 'Try Adding It Again' button to restart the pairing process."
}
]
}
],
"images": [
{
"static_group": 1,
"group_image": "aeotec_nano_dimmer_zw111_unpairing.jpg"
}
],
"auto_command": [
{
"command_type": "gateway",
"action": {
"type": "exclude_mode"
}
},
{
"command_type": "event",
"event_remove": "device_added"
},
{
"command_type": "event",
"event_add": "device_removed",
"action": {
"type": "action_go_to_step",
"argument": 1
}
}
],
"buttons": [
{
"button_id": 1,
"label": {
"lang_tag": "ui7_devwiz_btn_exit",
"text": "Exit"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_exit_wizard",
"argument": 2
}
}
]
},
{
"button_id": 2,
"label": {
"lang_tag": "ui7_devwiz_btn_add_again",
"text": "Try adding it again"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_go_to_step",
"argument": 1
}
}
]
}
]
},
{
"id": 100,
"template": 1,
"text_content": [
{
"static_group": 1,
"group_text": [
{
"lang_tag": "ui7_devwiz_reset_intro",
"text": "The controller will now begin the un-pairing process."
},
{
"lang_tag": "ui7_kitdevice_6201_step_6_02",
"text": "Carefully press (voltage will be present on terminals) the Action button once to un-pair your Nano Dimmer. The LED will be in a colorful gradient (changing colors) status indicating it has been successfully unpaired."
}
]
}
],
"images": [
{
"static_group": 1,
"group_image": "aeotec_nano_dimmer_zw111_unpairing.jpg"
}
],
"auto_command": [
{
"command_type": "gateway",
"action": {
"type": "exclude_mode"
}
},
{
"command_type": "event",
"event_add": "device_removed",
"action": {
"type": "action_exit_wizard",
"argument": 3
}
}
],
"buttons": [
{
"button_id": 1,
"label": {
"lang_tag": "ui7_devwiz_btn_exit",
"text": "Exit"
},
"button_command": [
{
"command_type": "navigation",
"action": {
"type": "action_exit_wizard",
"argument": 2
}
}
]
}
]
}
]
}
}