Sensor working with serial monitor, but not in thinger platform

ESP32 with MQ7 sensor, its working well and showing values in the serial monitor, but showing a constant value in the thinger dashboard.

Here is the code for serial monitor.

#include "MQ7.h"

MQ7 mq7(2,5.0);

void setup() {
    Serial.begin(115200);
}

void loop() {
    Serial.println(mq7.getPPM());
    delay(1000);
}

here is the output, in serial monitor,

but not working in dashboard, showing constant value. Help pllease…
this is the program for thinger

#include <ThingerESP32.h>
#include "MQ7.h"

MQ7 mq7(2,5.0);

#define USERNAME "vishnusree000"
#define DEVICE_ID "ESP32"
#define DEVICE_CREDENTIAL "vctHRlxesQ9A"

#define SSID "sree"
#define SSID_PASSWORD "12345678"

ThingerESP32 thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

void setup() 
{
    
    thing.add_wifi(SSID, SSID_PASSWORD);
    thing["dht1"] >> outputValue(mq7.getPPM());
    
}

void loop() 
{
    
    thing.handle();
    
}

Hello @vishnusree000,

Is the device being able to connect with thinger.io server? I recommend you including the debug command and also saving the value into a variable before sending to the platform:

#define _DEBUG_

#include <ThingerESP32.h>
#include "MQ7.h"

MQ7 mq7(2,5.0);

#define USERNAME "vishnusree000"
#define DEVICE_ID "ESP32"
#define DEVICE_CREDENTIAL "vctHRlxesQ9A"

#define SSID "sree"
#define SSID_PASSWORD "12345678"

ThingerESP32 thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

void setup() 
{
    Serial.begine(115200);

    thing.add_wifi(SSID, SSID_PASSWORD);

    thing["dht1"] >> [](Pson & out){
          float value=mq7.getPPM());
          Serial.println(value);
          out=value;
    
}

void loop() 
{
    thing.handle();
}

Hope it helps