GoogleCloudPlatform / google-cloud-iot-arduino

Google Cloud IOT Example on ESP8266
Apache License 2.0
352 stars 157 forks source link

How to upload a file from iot device into the cloud bucket #236

Open ghost opened 3 years ago

ghost commented 3 years ago

I need to upload a csv file from my ESP32 to the cloud bucket. Is it possible to do so? I was looking at issue #171 but don't want the break the file into 265 segments. Can use something like signed URLs to directly upload/POST the file to cloud?

Corne173 commented 2 years ago

I don't know how you would do that using only a micro controller, but what I do know is that you can use the MQTT protocol as a "gateway" to the google cloud platform. From there the world is your oyster. You can use dataflow or cloud functions to manage the flow of data to your bucket