Friday, September 4, 2026
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: