How to push two values to the same key from Arduino to Firebase 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&lt;50&gt; jsonBuffer;
JsonObject&amp; timeStampObject = jsonBuffer.createObject();
timeStampObject[&quot;.sv&quot;] = &quot;timestamp&quot;;

Firebase.push(&quot;Sensors/20/temperatures/001&quot;, temp1);
Firebase.push(&quot;Sensors/20/temperatures/001&quot;, timeStampObject);

How it should look like in Firebase
Thanks in advance!
@hcheung thanks for your help! It solved the problem. This is my code now:
StaticJsonBuffer&lt;256&gt; jsonBuffer;
JsonArray&amp; array = jsonBuffer.createArray();
array.add(timeStampObject);
array.add(temp1);
Firebase.push(&quot;Sensors&quot;, array);