this is taken from a working python script
self.request.send(b'[P]\x00' + bytes([interval]) + b'\x06\r\n')