Google Cloud IOT


#1

Has anyone got a project working posting data to Google Cloud Platform through Pub/Sub or Cloud IOT?
Is the info here still up-to-date for OAuth-2.0 - an Amazon (as well as Google) account is needed for signatures? Any idea of the costs involved?
At the moment, I’m posting data to google sheets, which is simple, but not very scalable. So I’m looking for a solution that is more scalable, but not too difficult for a single person to get a system going.


#2

Yes, there’s actually a library for this here: https://developer.electricimp.com/libraries/utilities/googlepubsub

The big gotcha right now is that we don’t have RS256 in the agents, so the JWT auth requires you to use AWS lambda which provides the crypto necessary to get tokens.

RS256 is however in development, so when that’s available it’ll be a totally google only solution.