Ah, good catch! But alas, I still get the same error message using ChimeAddr = b'\x00\x07', as well as ChimeAddr = 7. It seems like it must be choking on parameter=DIOon or command=Dcmd. I tried all the combinations of bytes, bytearray on the DIOon and Dcmd variables to no avail.