code: def poweroff(self):
          
          command = const.CMD_POWEROFF
          command_string = b''
          response_size = 1032
          cmd_response = self.__send_command(command, command_string, response_size)
          if cmd_response.get('status'):
              self.is_connect = False
              self.next_uid = 1
              return True
          else:
              raise ZKErrorResponse("can't poweroff")
docs: shutdown the machine