Use the diagnostics branch of openxc-python.