   root["temperature"] = temperature;
   root["pressure"] = P;
   root["humidity"] = RH;
+  root["ppm"] = ppm;
   root.printTo(Serial);
   sensorsData = &root;
 


void register_receive_hooks(MqttConnector* mqtt)
{

}

void register_publish_hooks(MqttConnector* mqtt)

    data["temperature"] = sensorsData->get("temperature");
    data["pressure"] = sensorsData->get("pressure");
    data["humidity"] = sensorsData->get("humidity");
    data["ppm"] = sensorsData->get("ppm");

  }, PUBLISH_EVERY);

