Bonjour.
Ci-joint une demande d’ajout de caméra au plugin caméra.
Marque : Bosch
Json config caméra Bosch DINION
{
"name": "DINION IP",
"manufacturer": "Bosch",
"configuration": {
"port": "80",
"urlStream": "/snap.jpg?JpegCam=1&VCAOverlay=1",
"cameraStreamAccessUrl": "rtsp://#username#:#password#@#ip#:554/h264",
"protocole": "http"
},
"commands": [{
"eqType": "camera",
"name": "Motion alarme",
"type": "info",
"subType": "binary",
"isHistorized": "1",
"isVisible": "1",
"logicalId": "motionDetectAlarm",
"display": {
"invertBinary": "1"
},
"template": {
"dashboard": "timePresence",
"mobile": "timePresence"
}
}]
}
A insérer dans le champ Alarm Task Editor dans le menu Alarme de la caméra pour remonter un mouvement :
HttpCommand sendHttpOne := { Command("core\/api\/jeeApi.php?apikey=#API_KEY#&plugin=camera&type=event&id=#CMD_ID#&value=1") IP("#JEEDOM_IP#") };
HttpCommand sendHttpZero := { Command("core\/api\/jeeApi.php?apikey=#API_KEY#&plugin=camera&type=event&id=#CMD_ID#&value=0") IP("#JEEDOM_IP#") };
if(Motion(1))then sendHttpOne else sendHttpZero;",