DzVents automation wizard

From Domoticz Wiki
Jump to navigation Jump to search

The Domoticz Automation Wizard is a built-in step-by-step UI tool allowing you to create dzVents Lua scripts without writing code. Accessible via the Events Editor, it guides you through selecting triggers, conditions, and actions. The tool automatically translates these parameters into readable, underlying code.

How to Access the Wizard

  1. Open your Domoticz dashboard and navigate to SetupMore OptionsEvents.
  2. Click the + button to create a new script.
  3. Select dzVents and launch the Automation Wizard.

How it Works (UI Steps)

  • Trigger Selection: Define what activates the script (e.g., a specific device turning On, a security panel state change, or a time schedule).
  • Configuration: Establish exactly which device or condition to evaluate.
  • Action Setup: Determine the outcome (e.g., toggle another light, send a notification).
  • Review & Output: The wizard dynamically generates the proper dzVents syntax, minimizing potential syntax errors.

Typical Use Cases

  • Linking a motion detector to a smart plug while factoring in room temperature or lux constraints.
  • Setting up automatic sunset and sunrise schedules.
  • Sending automated alerts if a door sensor changes state