Thursday, September 10, 2026
Backing up Indigo data from an aging Mac Pro with restic and Amazon S3, documenting recovery in Obsidian, and reflections on practical note-taking.
The Indigo SQL Logger plugin can save device states to a local SQLite database that is stored in Indigo’s current version support directory. But where is that directory and how can our scripts access it agnostic of the current version of Indigo?
It turns out that the server exposes its log directory path:
indigo.server.getLogsFolderPath()
Then to get the path to the device state database:
import os
db_path = os.path.join(indigo.server.getLogsFolderPath(),
"indigo_history.sqlite")And as an example:
Trigger, Scheduled or web UI element are not executed sequentially. Design accordingly to avoid race conditions.