Mbed forum

ARM Pelion integrating with Web Application - HELP


(yongyuth phasukyued) #1

I have light sensor device connected to ARM Pelion and want to get value into Web Application. Can anyone explain to me OR show me some example?

(Jenny Plunkett) #2

Hi Yongyuth,

Here is the main mbed-cloud-client-example reference application: https://github.com/ARMmbed/mbed-cloud-client-example/

You will need to setup an M2MResource to the light sensor data within your application code and then you will be able to view that resource within the Pelion portal, something similar to the code in main.cpp here: https://github.com/ARMmbed/mbed-cloud-client-example/blob/master/main.cpp#L190

ā€“ Jenny, team Mbed

(yongyuth phasukyued) #3

Hi Jenny,
Thanks for your quick respond, but Iā€™m looking for getting sensor value from ARM Pelion to my backend of my web application. I have already done connected my device to ARM Pelion and be able to view the resource of my light sensor and graph.
Can you help me please?
Yongyuth Phasukyued

(Jenny Plunkett) #4

Hi again Yongyuth,

Here is the documentation for integration with web applications: https://cloud.mbed.com/docs/current/integrate-web-app/index.html

Please let me know if you have any more questions!

ā€“ Jenny, team Mbed

(Graham Hammond) #5

Hi Yongyuth,

It might help to take a look at the SDKs, depending on the language you are using in your back end these will help get you started.


Best regards,