I am currently working on an IoT project with the LaMetric device.
I've set up a Jetty server, as well as java clients which can communicate using websockets from jetty API.
The clients can see each other in a chat and can send each other data or messages, that are encoded into a Json format string before being sent.
This work great.
However, i would like now to be able to link my LaMetric to this chat, and use the websockets/server (which proceed the data) to push data to my LaMetric; or even better to send notifications from my LaMetric to the chat (via the server).
I know that LaMetric can read and print Json, but is it able to do what i want to do ?
If it is, what is the best way to proceed ?
Thanks for your help and advice !