Programming

Sunday, October 18, 2026

I’ve been working a lot recently on partkeepr-ng which is a rewrite of PartKeepr. I got it implemented on my Debian box and did some work on the API after getting my original data migrated. It’s going to be really nice; and a modern programming environment opens up possibilities that the old PHP version could no longer deliver. More on all of that later.

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: