reel sensor discovery on the beagleboard/raspberry pi [message #1749207] |
Sat, 03 December 2016 00:09  |
Eclipse User |
|
|
|
Hi,
I have install the gateway on my raspberry pi, and on this raspberry pi, i have many sensor working, i have some python code that display sensor values, but i'm not able to retreive they data to my OM2M gateway, please can you show step by step a quick sample. on how to establish communication betwwen the sensor and my gateway, or recommand me a good framework to do that ?
Thks in advance
@Cyril
|
|
|
|
Re: reel sensor discovery on the beagleboard/raspberry pi [message #1750071 is a reply to message #1749788] |
Thu, 15 December 2016 12:35   |
Eclipse User |
|
|
|
Thank you Guillaume,
i've been able to create a TEMPERATURE sensor APP on my server (not possible on the gateway) and the main problem is that, when i try to update the sensor value using a POST request, it's not working, i think i'm not wel retargeting the good container or the sensor has been not well created,
Find attached my screen capture of the temperature sensor,
then i use POSTMAN to try to update/retrive the sensor value , (not working)
When i copy the same datacreation code, it jus create another container instance and store the value inside it, but me i jus want to be able the update the sensor value, and also get it directly, using the GetValue buton.
So please, if you could send me a tutorial on how to POST data to update a sensor value
and how to retrieve a sensor value also, using GET request, with clear URL, Clear Body,
Please,
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04708 seconds