I've seen thermal imagers used by firefighters in training scenarios, and been allowed a squint through them myself, and they CAN see right through the thickest smoke. Bloody amazing.
Just bear in mind you would likely have nil outside visibility with a thermal solution; the window pane would be heated to some extent and be presented as a blank surface of a given colour.
-A