Editing Alarm Properties With Script

I would like to update all of the alarms in a folder to have an active delay of 60 seconds. I'd rather not do this manually. How can I modify the active delay time with scripting? I'm not seeing the active delay in the tags' alarm properties.

If you just need to do it once, consider taking a tag export, manipulating the JSON file (e.g. with jq, then re-importing over the top. Probably faster than figuring out a script. Ask ChatGPT to write the jq snippet for you, it's a great use case.

This worked, thanks!

1 Like