Using HTTP JSON receiver with application/json
-
Hello all,
I'm Pierre-Philippe. I've just begin with mango. I would like to connect an arduino using a server socket
My arduino send information on http://192.168.1.44:4200 (in my LAN)
I receive this information in the browser :
and in raw data
about headers :
In the data sources i put this information :
Data source
Name : Test
Roles that can edit : user
Remote IP white list : 192.168.1.44:4200
Set point URL : http://192.168.1.44:4200
Receive type : ParameterIn the data point configuration :
Data type : Alphanumeric
http parameter name : /:"analog_0"
Device identifier key : analog_0
Device identifier : analog_0When i go to the resume of data point, I see as device name analog_0 and in name analog_0 but "No value" in the point value.
I can imagine that my question is more or less a "newbee" question. But I think I need some helps to begin
Somebody can help me to configure this "basic" behavior ?
Thanks a lot,
PP
Note : Sorry for my english, it's not my native language
-
From the help information:
Data is received at the path httpds. So, if your system is accessible at, for example, 'http://localhost/', data should be directed to 'http://localhost/httpds'.
So in your case you want 192.168.1.44:4200/httpds to send data in.
Click on listen to check and ensure data is coming in:
This should help you get started
Fox