AF
Size: a a a
AF
IS
AF
i
IS
SR
AK
P
on({id: '0_userdata.0.FLAGS.test1', val: true}, function (obj) {
setState("0_userdata.0.FLAGS.test1"/*test1*/, false);
sendTo('onvif.0', 'getSnapshot', {"id":"192_168_0_20_80"}, (result) => {
if (result.err) log(result);
if (result.img){
log('image принят: ' + typeof result.img);
sendTo('telegram.0', {
user: '*******',
text: result.img.rawImage,
type: 'photo',
caption: 'Camera DVOR'
});
}
});
});
IS
AK
on({id: '0_userdata.0.FLAGS.test1', val: true}, function (obj) {
setState("0_userdata.0.FLAGS.test1"/*test1*/, false);
sendTo('onvif.0', 'getSnapshot', {"id":"192_168_0_20_80"}, (result) => {
if (result.err) log(result);
if (result.img){
log('image принят: ' + typeof result.img);
sendTo('telegram.0', {
user: '*******',
text: result.img.rawImage,
type: 'photo',
caption: 'Camera DVOR'
});
}
});
});
P
AK
AK
on({id: '0_userdata.0.FLAGS.test1', val: true}, function (obj) {
setState("0_userdata.0.FLAGS.test1"/*test1*/, false);
sendTo('onvif.0', 'getSnapshot', {"id":"192_168_0_20_80"}, (result) => {
if (result.err) log(result);
if (result.img){
log('image принят: ' + typeof result.img);
sendTo('telegram.0', {
user: '*******',
text: result.img.rawImage,
type: 'photo',
caption: 'Camera DVOR'
});
}
});
});
P
P
AK
P
A
A
A