Start a new topic
Answered

Tasker Example? Push app...

I want to use tasker to get some simply data together and push it to LaMetric.  I understand when I do this I get a URL to push the data to LaMetric's cloud for my device, but how/where do I put the data that I want to send?


Is it part of the URL?  Is it a file I'm supposed to attack to the push?


Best Answer

I can tell you how to do in C# .net. it can be done relatively easily in python too. I don't know python but I ran across enough example on the web to know it is supported. I posted a C# example here http://help.lametric.com/support/discussions/topics/6000021073

 Hope that helps


And does it work if my phone is not on the same LAN as my LaMetric?

Well, no one has gotten back to me with an example of how to do this, if it even is possible.  But I suspect it would work even if your phone was not on the same LAN.  When you create a push app you get a URL that points to the LaMetric Cloud, not to your individual device.  So I think it should work no matter how your device is connected to the net.  I think.

pushing data is a two step process

1. Pushing the data to the la Metric server


2. your device pulls the data or receive the data from the la metric servers.


You push data to La Metric via a http post message.


"You push data to La Metric via a http post message."


Understood, but how?  I mean I know how to create an HTTP post task, but how do I include the data that I want to get sent?

Answer

I can tell you how to do in C# .net. it can be done relatively easily in python too. I don't know python but I ran across enough example on the web to know it is supported. I posted a C# example here http://help.lametric.com/support/discussions/topics/6000021073

 Hope that helps

Login or Signup to post a comment