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
B
Bill D
said
about 9 years ago
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
And does it work if my phone is not on the same LAN as my LaMetric?
C
Chris B
said
about 9 years ago
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.
B
Bill D
said
about 9 years ago
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.
C
Chris B
said
about 9 years ago
"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?
B
Bill D
said
about 9 years ago
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
Chris B
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?
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
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstIngo Dean
And does it work if my phone is not on the same LAN as my LaMetric?
Chris B
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.
Bill D
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.
Chris B
"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?
Bill D
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
-
How to pull data from external site to display?
-
nodejs request "gets acces denied"
-
curl to python for eventghost
-
Push text from Eventghost to LaMetric via python
-
Basic API pull and json parse example....
-
A guide for starting an app?
-
A small wrapper to push your just created JIRA issues to your LaMetric.
-
Simple project to push home consumption data to be shown on a Lametric device
-
Interface to have Slack send messages to a LaMetric Time
-
Very simple module to push frames to LaMetric
See all 149 topics