Eric,
I am using the code you have zipped and it works fine for me with a PIR, as you mention it transmits a hex 01 for a contact closure & a hex 00 for a contact open, (it also transmits hex 00 every 20 seconds of so) this can then be used to trigger recording, alerts etc in BI. Blue iris will...