Ok, en cherchant un peu j’ai trouvé le DebugInfo. Très pratique d’ailleurs.
Voici donc ce qui concerne la caméra dans :
Le JSON Pièces
{
"id": "10",
"name": "Cam\u00e9ras",
"father_id": "5",
"isVisible": 1,
"position": null,
"display": {
"dashboard::size": "",
"sendToApp": 1
},
"image": [],
"img": ""
},
Le JSON Périphériques
{
"id": "68",
"name": "Cam\u00e9ra salon",
"logicalId": "",
"generic_type": null,
"object_id": "10",
"eqType_name": "camera",
"isVisible": 0,
"isEnable": 1,
"order": "8",
"comment": null,
"tags": null,
"status": {
"lastCommunication": "2020-04-07 00:49:53",
"timeout": 0,
"warning": 0,
"danger": 0
}
},
Le JSON Commandes
{
"id": "370",
"logicalId": "",
"generic_type": null,
"eqType": "camera",
"name": "D\u00e9marrer",
"order": "0",
"type": "action",
"subType": "other",
"eqLogic_id": "68",
"value": null,
"isVisible": 1,
"alert": [],
"display": {
"icon": "<\/i>",
"invertBinary": 0
}
},
{
"id": "384",
"logicalId": "urlFlux",
"generic_type": "CAMERA_URL",
"eqType": "camera",
"name": "Flux video",
"order": "0",
"type": "info",
"subType": "string",
"eqLogic_id": "68",
"isVisible": 0,
"alert": [],
"currentValue": "plugins\/camera\/core\/php\/snapshot.php?id=68&apikey=tKxq4nUT6N2nlNv8sVRNdRFIPwLk1Jmh",
"configuration": {
"phpType": "string"
}
},
{
"id": "371",
"logicalId": "",
"generic_type": null,
"eqType": "camera",
"name": "Arr\u00eater",
"order": "1",
"type": "action",
"subType": "other",
"eqLogic_id": "68",
"value": null,
"isVisible": 1,
"alert": [],
"display": {
"icon": "<\/i>",
"invertBinary": 0
}
},
{
"id": "385",
"logicalId": "recordState",
"generic_type": "CAMERA_RECORD_STATE",
"eqType": "camera",
"name": "Status enregistrement",
"order": "4",
"type": "info",
"subType": "binary",
"eqLogic_id": "68",
"isVisible": 0,
"alert": [],
"currentValue": "",
"configuration": {
"phpType": "string"
}
},
{
"id": "388",
"logicalId": "sendSnapshot",
"generic_type": "CAMERA_RECORD",
"eqType": "camera",
"name": "Enregistrer",
"order": "6",
"type": "action",
"subType": "message",
"eqLogic_id": "68",
"value": null,
"isVisible": 0,
"alert": [],
"display": {
"title_placeholder": "Nombre captures ou options",
"message_placeholder": "Commande message d'envoi des captures"
}
},
{
"id": "386",
"logicalId": "stopRecordCmd",
"generic_type": "CAMERA_STOP",
"eqType": "camera",
"name": "Arr\u00eater enregistrement",
"order": "999",
"type": "action",
"subType": "other",
"eqLogic_id": "68",
"value": null,
"isVisible": 1,
"alert": [],
"display": {
"icon": "<\/i>"
}
},
{
"id": "387",
"logicalId": "takeSnapshot",
"generic_type": "CAMERA_TAKE",
"eqType": "camera",
"name": "Capture",
"order": "999",
"type": "action",
"subType": "other",
"eqLogic_id": "68",
"value": null,
"isVisible": 1,
"alert": [],
"display": {
"icon": "<\/i>"
}
},
Si tu souhaites l’intégralité des JSON dis-le moi.
Concernant http.error en revanche je ne vois toujours pas ce que c’est.