Electron - posting to multiple data aquisition services

@BIBZY84,

It might be overkill, but you might try using webhooks and webtasks. I have posted a detailed method for doing this here:

One nice thing about this approach is that once you get the Particle.publish link working to the webtask, you can pretty much do whatever you want with the data - send it to multiple services, decrypt/decompress, reformat, process the data, etc. Another nice thing is that all of this is done in a secure way - authentication is built into the webtask framework.

We use this framework for sending data from our devices to multiple databases and services - both our own and 3rd-party. And if we decide to add another, or delete one, we don't have to change anything in the firmware. We just change the webtask, recompile it, and we're good to go.

Anyway, I'm sure others have good/better ideas, but thought I'd offer this up. Cheers,

L3

PS - if you do this, you could send your data in a really tight format to cut down on cell usage, and then unpack it on the webtask

1 Like