Create event script
create_eventCreate a new Domoticz event script by specifying name, interpreter, event type, and source XML or Blockly definition.
Instructions
Create script. Cross-ref: domoticz://docs/dzvents_syntax.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New event script name | |
| event_type | Yes | Domoticz event type | |
| eventstatus | No | 1 to enable the event, 0 to disable it | 1 |
| interpreter | Yes | Domoticz event interpreter | |
| xmlstatement | Yes | Event source or Blockly XML |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional Domoticz response title | |
| status | Yes | Status returned by Domoticz, normally OK |