Wednesday, September 9, 2026
Bundling Indigo automation state into a JSON variable, political wordplay about gender, and an imagined Star Trek civilization with six genders.
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:
systemd running services as a listsystemctl list-units --type=service --state=running --no-pager
In Vim, to jump to a specific character on a line, you can use the following commands:
f{char} - Jump to the next occurrence of {char} on the current lineF{char} - Jump to the previous occurrence of {char} on the current linet{char} - Jump until (one position before) the next occurrence of {char}T{char} - Jump until (one position after) the previous occurrence of {char}For your specific example of “go to first #”: