I would like to push two values at the same time (to the same node) from arduino to firebase. I tried to create an array and push the array to firebase, however, that is not working.
Here are the two values that I'm pushing, but I would like to push them to the same unique key:
temp1 = sensors.getTempCByIndex(0); StaticJsonBuffer<50> jsonBuffer; JsonObject& timeStampObject = jsonBuffer.createObject(); timeStampObject[".sv"] = "timestamp"; Firebase.push("Sensors/20/temperatures/001", temp1); Firebase.push("Sensors/20/temperatures/001", timeStampObject);
Thanks in advance!