Code: Select all
http://192.168.0.109:8084/json.htm?type=devices&filter=utility&used=true
{
"ActTime" : 1536732207,
"AstrTwilightEnd" : "21:20",
"AstrTwilightStart" : "04:05",
"CivTwilightEnd" : "19:48",
"CivTwilightStart" : "05:37",
"DayLength" : "12:58",
"NautTwilightEnd" : "20:32",
"NautTwilightStart" : "04:53",
"ServerTime" : "2018-09-12 08:03:27",
"SunAtSouth" : "12:05",
"Sunrise" : "06:13",
"Sunset" : "19:11",
"app_version" : "4.9700",
"status" : "OK",
"title" : "Devices"
}
http://192.168.0.109:8084/json.htm?type=hardware
{
"result" : [
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "false",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Pogoda Rewa",
"Password" : "pws:IGDYNIA44",
"Port" : 0,
"SerialPort" : "",
"Type" : 14,
"Username" : "2cc5f6ab120db6ee",
"idx" : "2"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "true",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Pogoda Redłowo",
"Password" : "pws:IGDYNIA44",
"Port" : 0,
"SerialPort" : "",
"Type" : 14,
"Username" : "2cc5f6ab120db6ee",
"idx" : "3"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "true",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Ogrzewanie",
"Password" : "",
"Port" : 0,
"SerialPort" : "",
"Type" : 15,
"Username" : "",
"idx" : "4"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "true",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Kamera",
"Password" : "",
"Port" : 0,
"SerialPort" : "",
"Type" : 15,
"Username" : "",
"idx" : "6"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "true",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Wentylacja",
"Password" : "",
"Port" : 0,
"SerialPort" : "",
"Type" : 15,
"Username" : "",
"idx" : "7"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "false",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 10000,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "PING",
"Password" : "",
"Port" : 0,
"SerialPort" : "",
"Type" : 51,
"Username" : "",
"idx" : "8"
}
],
"status" : "OK",
"title" : "Hardware"
}
http://192.168.0.109:8084/json.htm?type=command¶m=addhardware&htype=15&port=1&name=Eq3Virtual&enabled=true
{
"idx" : "9",
"status" : "OK",
"title" : "AddHardware"
}
Array
(
[idx] => 9
[status] => OK
[title] => AddHardware
)
http://192.168.0.109:8084/json.htm?type=hardware
{
"result" : [
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "false",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Pogoda Rewa",
"Password" : "pws:IGDYNIA44",
"Port" : 0,
"SerialPort" : "",
"Type" : 14,
"Username" : "2cc5f6ab120db6ee",
"idx" : "2"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "true",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Pogoda Redłowo",
"Password" : "pws:IGDYNIA44",
"Port" : 0,
"SerialPort" : "",
"Type" : 14,
"Username" : "2cc5f6ab120db6ee",
"idx" : "3"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "true",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Ogrzewanie",
"Password" : "",
"Port" : 0,
"SerialPort" : "",
"Type" : 15,
"Username" : "",
"idx" : "4"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "true",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Kamera",
"Password" : "",
"Port" : 0,
"SerialPort" : "",
"Type" : 15,
"Username" : "",
"idx" : "6"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "true",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Wentylacja",
"Password" : "",
"Port" : 0,
"SerialPort" : "",
"Type" : 15,
"Username" : "",
"idx" : "7"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "false",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 10000,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "PING",
"Password" : "",
"Port" : 0,
"SerialPort" : "",
"Type" : 51,
"Username" : "",
"idx" : "8"
},
{
"Address" : "",
"DataTimeout" : 0,
"Enabled" : "true",
"Extra" : "",
"Mode1" : 0,
"Mode2" : 0,
"Mode3" : 0,
"Mode4" : 0,
"Mode5" : 0,
"Mode6" : 0,
"Name" : "Eq3Virtual",
"Password" : "",
"Port" : 1,
"SerialPort" : "1",
"Type" : 15,
"Username" : "",
"idx" : "9"
}
],
"status" : "OK",
"title" : "Hardware"
}
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=1a1cf8+Termostat+Pd&sensortype=8
{
"idx" : "23",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 23
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=1a1cf8+Termostat+Pd+txt&sensortype=5
{
"idx" : "24",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 24
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=192e6d+Termostat+%C5%9Bcienny&sensortype=8
{
"idx" : "25",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 25
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=192e6d+Termostat+%C5%9Bcienny+txt&sensortype=5
{
"idx" : "26",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 26
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Termostat+zach&sensortype=8
{
"idx" : "27",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 27
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Termostat+zach+txt&sensortype=5
{
"idx" : "28",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 28
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Zachodni&sensortype=8
{
"idx" : "29",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 29
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Zachodni+txt&sensortype=5
{
"idx" : "30",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 30
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Sypialnia&sensortype=8
{
"idx" : "31",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 31
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Sypialnia+txt&sensortype=5
{
"idx" : "32",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 32
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Polnocny&sensortype=8
{
"idx" : "33",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 33
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Polnocny+txt&sensortype=5
{
"idx" : "34",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 34
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Lazienka&sensortype=8
{
"idx" : "35",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 35
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=+Lazienka+txt&sensortype=5
{
"idx" : "36",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 36
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=2a0000+&sensortype=8
{
"idx" : "37",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 37
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=2a0000++txt&sensortype=5
{
"idx" : "38",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 38
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=71f1ec+&sensortype=8
{
"idx" : "39",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 39
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=71f1ec++txt&sensortype=5
{
"idx" : "40",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 40
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=000000+&sensortype=8
{
"idx" : "41",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 41
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=000000++txt&sensortype=5
{
"idx" : "42",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 42
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=ec1219+&sensortype=8
{
"idx" : "43",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 43
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=ec1219++txt&sensortype=5
{
"idx" : "44",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 44
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=000b1a+&sensortype=8
{
"idx" : "45",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 45
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=000b1a++txt&sensortype=5
{
"idx" : "46",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Array
(
[idx] => 46
[status] => OK
[title] => CreateVirtualSensor
)
http://192.168.0.109:8084/json.htm?type=createvirtualsensor&idx=9&sensorname=Eq3GeneralAlert&sensortype=7
{
"idx" : "47",
"status" : "OK",
"title" : "CreateVirtualSensor"
}
Done
Array
(
[idx] => 47
[status] => OK
[title] => CreateVirtualSensor
)
Array
(
[1] => Array
(
[mDeviceType] => 1
[mRFAdress] => 1a1cf8
[mSerialNumber] => OEQ1037337
[mNameLength] => 12
[mDeviceName] => Termostat Pd
[mRoomID] => 1
[lLiveReadLength] => 11
[lLiveRFAdress] => 1a1cf8
[lLive?1] => c
[lValvePosition] => 0
[lTemperature] => 21
[lDateUntil] => 0.0.0
[lTimeUntil] => 0
[lTimestampUntil] => 943891200
[lvalid] => 1
[lError] => 0
[lisAnswer] => 0
[linitialized] => 1
[lLiveData7] => 0
[lLowBatt] => 0
[lLinkError] => 0
[lPanelLock] => 0
[lGatewayOK] => 1
[lDST] => 1
[lNot used] => 0
[lMode] => manu
)
[2] => Array
(
[mDeviceType] => 3
[mRFAdress] => 192e6d
[mSerialNumber] => OEQ1447692
[mNameLength] => 18
[mDeviceName] => Termostat ścienny
[mRoomID] => 1
[lLiveReadLength] => 12
[lLiveRFAdress] => 192e6d
[lLive?1] => ec
[lvalid] => 1
[lError] => 0
[lisAnswer] => 0
[linitialized] => 1
[lLiveData7] => 0
[lLowBatt] => 0
[lLinkError] => 0
[lPanelLock] => 0
[lGatewayOK] => 1
[lDST] => 1
[lNot used] => 0
[lMode] => manu
)
[3] => Array
(
[mDeviceType] => 1
[mRFAdress] => 1a71f1
[mSerialNumber] => OEQ1037722
[mNameLength] => 14
[mDeviceName] => Termostat zach
[mRoomID] => 1
)
[4] => Array
(
[mDeviceType] => 1
[mRFAdress] => 1a0f8b
[mSerialNumber] => OEQ1042965
[mNameLength] => 8
[mDeviceName] => Zachodni
[mRoomID] => 2
)
[5] => Array
(
[mDeviceType] => 1
[mRFAdress] => 1a1cf5
[mSerialNumber] => OEQ1037364
[mNameLength] => 9
[mDeviceName] => Sypialnia
[mRoomID] => 3
)
[6] => Array
(
[mDeviceType] => 1
[mRFAdress] => 1a110c
[mSerialNumber] => OEQ1042641
[mNameLength] => 8
[mDeviceName] => Polnocny
[mRoomID] => 4
)
[7] => Array
(
[mDeviceType] => 1
[mRFAdress] => 1a29cd
[mSerialNumber] => OEQ0942978
[mNameLength] => 8
[mDeviceName] => Lazienka
[mRoomID] => 5
)
[8] => Array
(
[lLiveReadLength] => 4
[lLiveRFAdress] => 2a0000
[lLive?1] => 0
[lvalid] => 1
[lError] => 0
[lisAnswer] => 1
[linitialized] => 1
[lLiveData7] => 0
[lLowBatt] => 0
[lLinkError] => 0
[lPanelLock] => 0
[lGatewayOK] => 0
[lDST] => 1
[lNot used] => 0
[lMode] => boost
)
[9] => Array
(
[lLiveReadLength] => 26
[lLiveRFAdress] => 71f1ec
[lLive?1] => 12
[lvalid] => 1
[lError] => 1
[lisAnswer] => 0
[linitialized] => 0
[lLiveData7] => 1
[lLowBatt] => 0
[lLinkError] => 0
[lPanelLock] => 0
[lGatewayOK] => 0
[lDST] => 0
[lNot used] => 0
[lMode] => auto
)
[10] => Array
(
[lLiveReadLength] => 42
[lLiveRFAdress] => 000000
[lLive?1] => b
[lvalid] => 1
[lError] => 1
[lisAnswer] => 0
[linitialized] => 1
[lLiveData7] => 0
[lLowBatt] => 0
[lLinkError] => 0
[lPanelLock] => 0
[lGatewayOK] => 0
[lDST] => 1
[lNot used] => 1
[lMode] => boost
)
[11] => Array
(
[lLiveReadLength] => 139
[lLiveRFAdress] => ec1219
[lLive?1] => 0
[lvalid] => 0
[lError] => 1
[lisAnswer] => 0
[linitialized] => 0
[lLiveData7] => 0
[lLowBatt] => 0
[lLinkError] => 0
[lPanelLock] => 0
[lGatewayOK] => 0
[lDST] => 0
[lNot used] => 0
[lMode] => auto
)
[12] => Array
(
[lLiveReadLength] => 0
[lLiveRFAdress] => 000b1a
[lLive?1] => 1c
[lvalid] => 1
[lError] => 0
[lisAnswer] => 1
[linitialized] => 0
[lLiveData7] => 1
[lLowBatt] => 1
[lLinkError] => 1
[lPanelLock] => 1
[lGatewayOK] => 0
[lDST] => 1
[lNot used] => 1
[lMode] => auto
)
)
adresses miss.