@npkhoi thanks for e plaining. Then it should be sufficient to replace send(msg.set((int16_t)ceil(valMQ))); with send(msg.set(random()));