Start a new topic

How to push Text to Lametric

Hi

I am working on my first app for Lametric Time (only local use).

How can I push Information to Lametric?


I have a local URL for pushing data:


https://<device local ip>:4343/api/v1/dev/witget/update/com.lametric.<some letters>


I also have a Acces Token


But how do I get data on there.


Via SSH or what


Thank you guys


Dear Alain,


Thanks for writing to us.

Please try to use Push Indicator app in such a case. It will  push the data once they change to your local push URL on LaMetric Time  device in JSON format (the URL is available at the app page at developer.lametric.com). JSON format reference can be found here: https://help.lametric.com/support/solutions/articles/6000225467-my-data-diy.


To push some data copy and paste your push request into terminal app, change values and run.


Hope this help. If you have other questions, please drop an email on [email protected].


Best regards,

LaMetric Team

 Hello LaMetric Team,

can you provide the sample Push reqeust as shown at https://lametric-documentation.readthedocs.io/en/latest/guides/first-steps/first-lametric-indicator-app.html#push-indicator-app also for the new API for the My Data DIY App when using local Push.

Best regards,

Josef


Login or Signup to post a comment