Page 1 of 1

List of embedded scripts

PostPosted: Tue Sep 14, 2021 6:08 am
by MarcoGT
Hi all,

is there a way to get a list containing all the scripts existing in Indigo?
When I set my home as "away" I get an error, but it is hard to identify something I did years ago :)
In the log I only see the id of the called device, nothing else

Code: Select all
Script Error                    embedded script: 'key id 1486127284 not found in database'
   Script Error                    Exception Traceback (most recent call shown last):

     embedded script, line 1, at top level
KeyError: 'key id 1486127284 not found in database'


Thanks
Marco

Re: List of embedded scripts

PostPosted: Tue Sep 14, 2021 3:56 pm
by matt (support)
Not in a user friendly manner, but duplicate your Indigo database XML file (for safety), then open the duplicate in a raw text editor (BBEdit, etc.) and search for 1486127284. From there you'll probably find the script and can look at the nearby neighbor XML element (look for <Name>) to find what Trigger, Schedule, etc. it is inside.