Hello, I am having problems with the integration of webhook to send data to fireBase, I am making a node for monitoring the air quality and the weather the first part that was sending the weather sensors to particle was done correctly this was the template to do that right
and if I made the insertion of data in firebaseafter that we started adding the data from our air quality sensors to our particle.
in this case I am doing it this way
where msg is a char array of size [512] and my string looks like this
snprintf(msg, sizeof(msg) , //imprimimos la cadena
"{\"UT\": %u, \"VV\": %.1f , \"Precip\": %.1f , \"DV\": %.1f , \"Temp\": %.1f ,\"Hum\": %u ,\"mVB\": %u , \"O3\": %.6f ,\"CO\": %.6f ,\"NO2\": %.6f ,\"SO2\": %.6f ,\"VGASO3\": %.14f ,\"VGASCO\": %.14f ,\"VGASNO2\": %.14f ,\"VGASSO2\": %.14f ,\"PM1\": %u ,\"PM2.5\": %u ,\"PM10\": %u ,,\"O3N\": %.6f,\"CO2N\": %.6f,\"NO2N\": %.6f,\"SO2N\": %.6f}" ,
UT,
VV,
Precip,
DV ,
Temp,
Hum,
mVB,
Sensor_O3,
Sensor_CO,
Sensor_NO,
Sensor_SO2,
av0,//voltajes de o3
av1,
av2,
av3,
PM1_0,
PM2_5,
PM10,
prom_conc_o3,
prom_conc_co,
prom_conc_no2,
prom_conc_so2
);
Particle.publish("sensors", msg, PRIVATE);
now if I leave the following in my webhook json
,
when doing the test I get like
but in my database I do not see any data from my sensors only the “ts” arrives
and then I try to add the other sensors to my JSON and what appears to me is this
Does anyone have any idea why previously I sent the data to firebase and now it is no longer sent? I would appreciate your help. Thank you very much in advance!