use generic variables; handle pms5003.ReadTimeoutError