Your comments
Read the manual carefully!
http://dev.iridiummobile.net/Editor_Server_Tools/en#Writing_and_reading_variables
Maybe you must join data to one request.
and
HTTP/1.0 defines the octet sequenceCR LFas the end-of-line marker for all protocol elements
except theEntity-Body(see Appendix B for tolerant applications). The end-of-line marker
within anEntity-Bodyis defined by its associated media type, as described in Section 3.6.
HTTPServer.Send(['HTTP/1.0 200 OK\r\nConnection: keep-alive\r\nContent-Type: text/plain\r\n\r\nOK you requested: ' + httpRequest]);
use Wireshark to understand what happens
http://www.cs.columbia.edu/~jae/3157/files/overview-sockets-http.pdf
HTTP 1.1 is better for persist connections
In Russia (and CIS) Dahua is better known as RVi.
simple for GET:
JSON as also available as RPC
POST:80/RPC2_Login
Requesting session ID
{"method":"global.login",
"params":{
"userName":admin,
"password":"",
"clientType":"Web3.0"},
"id":10000}
Logging in
{"method":"global.login",
"session":S_E_S_S_I_O_N_I_D,
"params":{
"userName":admin,
"password":admin,
"clientType":"Web3.0",
"authorityType":"OldDigest"},
"id":10000}
POST :80/RPC2
{"method":"accessControl.openDoor","params":{"Type":"Remote"},"id":10000+INCREMENT,"session":1234567890,"object":1234567890}
If you write a some code, please post it here for everyone to see.
DAHUA_HTTP_API_FOR_IPC - DAHUA_HTTP_API_FOR_IPC&SD-V1.40.pdf
Amcrest AMCREST_HTTP_API_SDK_V2.10.pdf
You are right.
For change background color of whole list use
l_list = IR.GetPage("Page 1").GetItem("ConList");
l_list.GetState(0).Color=0xFFFFFF99; for "Items" you may change background color of Popupsl_oTemp.GetState(0).Color=0x00FF00BB; l_oTemp2.GetState(0).Color=0xFF0000BB;
IR.AddListener(IR.EVENT_START,0,function()
{
var l_oTemp = IR.CreateItem(IR.ITEM_POPUP,'popup1',0,0,320,50);
var btn1 = l_oTemp.CreateItem(IR.ITEM_BUTTON, "Button 1", 0, 0, 320, 50);
btn1.GetState(0).Border=2 ;
btn1.GetState(0).Color=0x00FF0055;
var l_oTemp2 =IR.CreateItem(IR.ITEM_POPUP,'popup2',0,0,320,50);
var btn2 = l_oTemp2.CreateItem(IR.ITEM_BUTTON, "Button 2", 0, 0, 320, 50);
btn2.GetState(0).Border=2
btn2.GetState(0).Color=0xFF000055;
var GList1 = IR.GetPage("Page 1").CreateItem(IR.ITEM_GOOD_LIST, "ConList", 50, 50, 320, 600);
GList1.Color= 0xFFFFFFFF;
GList1.SelectMode = 1;
GList1.Direction = 1;
GList1.Adapter = {
total: 20,
GetCount : function ()
{
return this.total;
},
GetItem: function(in_nPos)
{
if (in_nPos % 2)
var l_oItem = l_oTemp.Clone(l_oTemp.Name + in_nPos);
else
var l_oItem = l_oTemp2.Clone(l_oTemp2.Name + in_nPos);
return l_oItem;
},
SetSelected : function (in_oItem, in_bSelected)
{
}
};
});
http://support.iridiummobile.net/topics/9195-new-list-alpha-channel/#comment-61522
List: http://support.iridiummobile.net/uploaded/file/15553/3/6454/749c9977bc4cbae3383b458419c4b782.irpz
Customer support service by UserEcho

Для смены пина
Для получения нескольких интерфейсов Вам придется перекомпилировать kernel, внеся изменения в файл bcm2708.c
http://holyhead.de/RaspberryPi/bcm2708-multiple_w-1.patch-3.12.21.txt
но этот вопрос не в этот форум
http://support.iridiummobile.net/topics/11933-1-wire-na-raspberry-pi-3-gpio/