We were wondering if this tutorial is only for the real-time database or if it also works for the new Cloud Firestore. We followed the tutorial, and we managed to send data to the real-time database, but we have not figured out how to send data to the Cloud Firestore.
We want to use the Firestore because it seems it has better sorting and searching capabilities than the real-time database.
What are you refering to?
An event would never be anywhere but “come” from outside.
If you mean a function call, where do you see the getHandler() call?
There are lots of posts in this thread that don’t contain any code whatsoever, so if you could quote the post you are refering to answering would be much easier.
I tried to publish values to Firebase integration but only time field is updated else every other data field in firebase is blank.
I created the webhook as shown below
{
“event”: “Send Data”,
“url”: “https://xxxxxxxxxxxxxxxx.firebaseio.com/Senddata/data.json”,
“requestType”: “PUT”,
“query”: {
“auth”: “your auth token”
},
“json”: {
“Temperature”: “{{temp}}”,
“Humidity”: “{{humidity}}”,
“Voltage”: “{{voltage}}”,
“Device”: “{{device}}”,
“ts”: “{{PARTICLE_PUBLISHED_AT}}”
},
“mydevices”: true,
“noDefaults”: true
}
Test data:
Send Data
“{“Temperature”:31,“Humidity”:85,“Voltage”:3}”
Result
hook-response/Send Data/0
{“Device”:"",“Humidity”:"",“Temperature”:"",“Voltage”:"",“ts”:“2019-08-11T06:24:16.427Z”}
Is there a way to read a list of data like stock prices from Google Sheets(after publishing the sheet then converting into json format using gsx2json) and display on I2C 16 x 2 lcd display.
Would you please write a demo code for me or make a tutorial on this.