Thermal- and light-induced spin-crossover bistability in a disrupted Hofmann-type 3D framework.