In this study, the electronic states of Os-based metallo-supramolecular polymers (poly(OsL)2+) during electrochromism were tracked by in situ X-ray absorption fine structure (XAFS), infrared (IR), and impedance spectroscopies.