Go to documentation repository
Page History
...
- enabled or disabled - whether the macro is enabled or disabled;
- user_role - a role for which the macro will be available in the layout menu;
- is_add_to_menu - add macros to the layout menu;
time_zone - time zone id, if the macro should be launched on time;
Code Block "time_zone": { "timezone_id": "6fb68cf4-ca6a-46a1-b2e3-ab4cfdaa0444" }
autorule
Info title Note Contains the general information for launching the automatic rules:
- zone_ap - a camera under which the rule is created;
- only_if_armed - operate only in armed mode;
- timezone_id - id of the time zone;
Code Block "autorule": { "zone_ap": "hosts/Server1/DeviceIpint.30/SourceEndpoint.video:0:0", "only_if_armed": false, "timezone_id": "00000000-0000-0000-0000-000000000000" }
continuous
Info title ПримачаниеNote Contains the general information for launching the continuous macros:
- server - a Server;
- timezone_id - id of the time zone;
- heartbeat_ms - launch cycle in millisecond;
- random - random launch of a macro.
Code Block "continuous": { "server": "Server1", "timezone_id": "00000000-0000-0000-0000-000000000000", "heartbeat_ms": 3600000, "random": true }
...
Overview
Content Tools