NEWS
[Frage]Skript zur Steuerung ONVIF Kameras
-
Hallo Pix,
Würdest Du Deine View / Widget vielleicht auch bereitstellen?
Gruss -
-
Hallo,
hier die Widgets:
[{"tpl":"tplHtml","data":{"g_fixed":true,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"html":"Kamera | Videoüberwachung","name":"Überschrift","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"89px","top":"21px","z-index":"25","width":"auto","height":"30px","font-size":"25px"},"widgetSet":"basic"},{"tpl":"tplImage","data":{"g_fixed":true,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"refreshInterval":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"src":"{javascript.0.Xeoma.Kamera.1.IP}","refreshOnWakeUp":false,"refreshOnViewChange":false,"name":"Kamera 1 Stream HTML Widget","visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","stretch":true,"class":"xxx{javascript.0.VIS.Kamera.1.Filter}"},"style":{"left":"94px","top":"113px","width":"400px","height":"280px","z-index":"15"},"widgetSet":"basic"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"bg-transparent","icon_class_false":"icon-arrow-up-4","icon_class_true":"icon-arrow-up-4","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"true","state_oid":"javascript.0.VIS.Kamera.1.PTZ.hoch","label_false":"","label_true":"","name":"Kizi Kamera Steuerung hoch","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"223px","top":"402px","width":"60px","height":"60px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"bg-transparent","icon_class_false":"icon-arrow-left-4","icon_class_true":"icon-arrow-left-4","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"true","state_oid":"javascript.0.VIS.Kamera.1.PTZ.links","label_false":"","label_true":"","name":"Kizi Kamera Steuerung links","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"144px","top":"435px","width":"60px","height":"60px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"bg-transparent","icon_class_false":"icon-arrow-down-4","icon_class_true":"icon-arrow-down-4","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"true","state_oid":"javascript.0.VIS.Kamera.1.PTZ.runter","label_false":"","label_true":"","name":"Kizi Kamera Steuerung runter","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"223px","top":"472px","width":"60px","height":"60px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"bg-transparent","icon_class_false":"icon-arrow-right-4","icon_class_true":"icon-arrow-right-4","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"true","state_oid":"javascript.0.VIS.Kamera.1.PTZ.rechts","label_false":"","label_true":"","name":"Kizi Kamera Steuerung rechts","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"301px","top":"435px","width":"60px","height":"60px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"bg-transparent","icon_class_false":"icon-plus-2","icon_class_true":"icon-plus-2","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"true","state_oid":"javascript.0.VIS.Kamera.1.PTZ.ZoomIn","label_false":"","label_true":"","name":"Kizi Kamera Steuerung Zoom In","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"423px","top":"402px","width":"60px","height":"60px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"bg-transparent","icon_class_false":"icon-minus-2","icon_class_true":"icon-minus-2","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"true","state_oid":"javascript.0.VIS.Kamera.1.PTZ.ZoomOut","label_false":"","label_true":"","name":"Kizi Kamera Steuerung Zoom Out","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"423px","top":"472px","width":"60px","height":"60px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"bg-transparent","icon_class_false":"icon-pause","icon_class_true":"icon-pause","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"true","state_oid":"javascript.0.VIS.Kamera.1.PTZ.Stopp","label_false":"","label_true":"","name":"Kizi Kamera Steuerung Stopp","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"423px","top":"541px","width":"60px","height":"60px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplHtml","data":{"visibility-cond":"<=","visibility-val":"3","refreshInterval":"0","html":"{javascript.0.VIS.Kamera.1.PTZ.gotoPreset;}\n","name":"Position WZ Kamera Preset","visibility-oid":"javascript.0.VIS.Kamera.1.PTZ.gotoPreset","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"347px","top":"544px","width":"46px","height":"42px","z-index":"20","color":"rgba(250,250,250,1)","text-align":"center","font-family":"Futura","font-size":"30px","border-width":"1px","border-style":"none"},"widgetSet":"basic"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"ribbed-cobalt","icon_class_false":"","icon_class_true":"icon-camera-2","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"3","state_oid":"javascript.0.VIS.Kamera.1.PTZ.gotoPreset","label_false":"3","label_true":"","name":"Kizi Kamera Preset Preset 2","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"icon_false":"/vis.0/iPad/img/webcam/cam1_3.jpg","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"264px","top":"539px","width":"70px","height":"70px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"ribbed-cobalt","icon_class_false":"","icon_class_true":"icon-camera-2","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"2","state_oid":"javascript.0.VIS.Kamera.1.PTZ.gotoPreset","label_false":"2","label_true":"","name":"Kizi Kamera Preset Preset 2","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"icon_false":"/vis.0/iPad/img/webcam/cam1_2.jpg","icon_width":"","icon_height":"","icon_top":"","icon_left":"","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"183px","top":"538px","width":"70px","height":"70px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplMetroTileState","data":{"visibility-cond":"==","visibility-val":1,"hover":false,"transform":true,"bg_class_false":"bg-transparent","bg_class_true":"ribbed-cobalt","icon_class_false":"","icon_class_true":"icon-camera-2","icon_badge_false":"","icon_badge_true":"","badge_bg_class_false":"","badge_bg_class_true":"","brand_bg_class_false":"","brand_bg_class_true":"","value":"1","state_oid":"javascript.0.VIS.Kamera.1.PTZ.gotoPreset","label_false":"1","label_true":"","name":"Kizi Kamera Preset 1","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"icon_false":"/vis.0/iPad/img/webcam/cam1_1.jpg","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"104px","top":"537px","width":"70px","height":"70px","z-index":"10","cursor":"pointer"},"widgetSet":"metro"},{"tpl":"tplValueFloat","data":{"oid":"javascript.0.VIS.Kamera.1.PTZ.Geschwindigkeit","g_fixed":true,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":false,"is_tdp":false,"factor":"100","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"html_prepend":"Speed (0 - 1): ","html_append_singular":" %","digits":"0","name":"Kizi Kamera Steuerung Geschwindigkeit Anzeige","html_append_plural":" %","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"336px","top":"617px","z-index":"25","color":"rgba(250,250,250,1);","font-size":"12px","width":"141px","text-align":"right"},"widgetSet":"basic"},{"tpl":"tplJquiSlider","data":{"oid":"javascript.0.VIS.Kamera.1.PTZ.Geschwindigkeit","g_fixed":true,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"oid-2":"","min":"0.1","max":"1","step":"0.1","name":"Kizi Kamera Steuerung Geschwindigkeit Slider","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"336px","top":"638px","z-index":"25","width":"133px","height":"23px"},"widgetSet":"jqui"},{"tpl":"tplValueFloat","data":{"oid":"javascript.0.VIS.Kamera.1.PTZ.Stoppzeit","g_fixed":true,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":false,"is_tdp":"false","factor":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"html_prepend":"Dauer bis Stopp: ","html_append_singular":" s","digits":"1","name":"Kizi Steuerung Stoppzeit Anzeige","html_append_plural":" s","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"336px","top":"674px","z-index":"25","color":"rgba(250,250,250,1);","font-size":"12px","width":"141px","text-align":"right"},"widgetSet":"basic"},{"tpl":"tplJquiSlider","data":{"oid":"javascript.0.VIS.Kamera.1.PTZ.Stoppzeit","g_fixed":true,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"oid-2":"","min":"0.5","max":"15","step":"0.5","name":"Kizi Kamera Steuerung Stoppzeit Slider","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"336px","top":"695px","z-index":"25","width":"134px","height":"23px"},"widgetSet":"jqui"},{"tpl":"tplFrame","data":{"visibility-cond":"==","visibility-val":1,"title":"{javascript.0.Xeoma.Kamera.1.Raum}","title_color":"rgba(250,250,250,1)","title_top":"18","title_left":"15","header_height":"0","header_color":"red","title_font":"RobotoCondensed-Regular, Futura","title_back":"","name":"Hintergrund 1","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"94px","top":"68px","width":"400px","height":"670px","background":"","background-color":"rgba(80,80,80,0.4)","z-index":"5","border-radius":"0 20px 0 0px","border-style":"none","font-size":"14px","font-family":""},"widgetSet":"basic"}]
Gruß
Pix
-
Hallo allerseits, hab mich heute mal mit dem Skript (herzlichen Dank) beschäftigt und Fragen dazu:
IP, User, Passwort trägt man wohl nicht oben im Skript ein, weil auskommentiert .. korrekt? Wohin gehören diese Daten? Das Manager-Tool speichert sie ja offenbar nicht. <erledigt>Muss der Server immer wieder neu gestartet werden .. oder trägt er sich als Autostart ein? Muss er überhaupt gestartet sein um über ioBroker was zu steuern .. oder startet ioBroker (bzw. das Skript) die Dienste bei Bedarf?
Edit: Musste ein paar Zeilen löschen .. offenbar hab ich Onvif falsch verstanden und dachte es wäre ein universelles Kamerasteuerungs Interface .. es geht wohl es allein um Steuerung. Trotzdem wären die beiden obigen Punkte spannend zu wissen.
VG</erledigt>
-
Hallo
ich versuche das Skript bei mir zum Laufen zu bekommen.
Dazu habe ich die IP-Adresse, Passwort usw angepasst
Dann habe ich noch den Pfad wo die Snapshot-Datei abgespeichert werden soll geändert
Das Skript selbst habe ich unter Skript/global abgelegt (die PZT Parameter werden auch erzeugt)
Dort wird es zunächst manuell gestartet (Test)
Leider wird aber keine Snapshot-Datei im angegebenen Pfad erstellt
Was mache ich da verkehrt ?
Ich verwende eine HIKVISION DS-2CD2T42WD-I5 Kamera und die Informationen für die IP-Adresse habe aus dem Onvif Device Manager genommen
Danke schon mal
Andreas
-
Andreas, wie löst Du denn ein Snapshot aus .. ich sehe nur diese Objekte:
const idSpeed = pfad + 'Geschwindigkeit'; const idStoppzeit = pfad + 'Stoppzeit'; const idStopp = pfad + 'Stopp'; const idRechts = pfad + 'rechts'; const idLinks = pfad + 'links'; const idHoch = pfad + 'hoch'; const idRunter = pfad + 'runter'; const idZoomIn = pfad + 'ZoomIn'; const idZoomOut = pfad + 'ZoomOut'; const idGotoPreset = pfad + 'gotoPreset';
-
Dazu gibt es die Funktion saveImage im Skript von pix.
Da müsste eigentlich ein File auf dem Raspberry abgespeichert werden
function saveImage () { // Initialize the OnvifDevice object device.init((error) => { if (error) { log('[ERROR] ' + error.message, 'error'); return; } else { if (logging) log('The OnvifDevice object has been initialized successfully.'); // +++ Get the detailed device information var device_info = device.getInformation(); if (logging) log(JSON.stringify(device_info, null, ' ')); // +++ Get the UDP stream URL var url = device.getUdpStreamUrl(); if (logging) log('UDP-Stream: ' + url); // +++ Get Profile var profile = device.getCurrentProfile(); if (logging) log('Profile: ' + JSON.stringify(profile, null, ' ')); // Viele Infos // für debug: //log('http: ' + profile.stream.http); var cam_info = 'ONVIF Bild' + '\n' + 'Model: ' + device_info.Model + '\n' + 'Firmware: ' + device_info.FirmwareVersion + '\n' + 'Seriennummer: ' + device_info.SerialNumber + '\n' + 'Harware ID: ' + device_info.HardwareId + '\n' + 'RTSP-Stream: ' + url; // +++ Get the data of the snapshot log('fetching the data of the snapshot…'); device.fetchSnapshot((error, res) => { if (error) { log(error.message, 'error'); return; } // Save the data to a file and send via telegram fs.writeFile(dest_path + 'onvif_snapshot.jpg', res.body, function (error) { // Anpassen an die OS X gegebenheiten (oder per Telegram senden) if (error) { log(error.message, 'error'); } else { sendImage(dest_path + 'onvif_snapshot.jpg', cam_info); log('Image sent!'); } }); }); } });
Deine Frage "wie löse ich das aus" ist aber berechtigt und da muss ich heute Abend noch einmal etwas prüfen. Es könnte sein, dass die Funktion beim Aufrufen des Skripts gar nicht ausgelöst wird, sondern dazu muss man einen Trigger setzen. Das checke ich heute Abend.
Leider fehlt so eine Art Bedienungsanleitung wie und was man durchführen muss, das macht es halt ein wenig schwer das alles nachzuvollziehen
Andreas
-
Gib mir bitte Bescheid .. ist mein erstes Script (sonst Blockly) .. keine Ahnung wie man mit der Funktion umgeht.
VG
-
Ich vermute die Funktion wird beim Starten des Skripts gar nicht aufgerufen sondern muss getriggert werden.
Ist aber nur eine Vermutung
-
Hallo,
endlich konnt ich das Skript von pix so anpassen dass nur noch ein snapshot erzeugt wird und regelmäßig auf der SD-Karte bzw. dem USB-Stick gespeichert wird. damit erzeuge ich alle 10 Sekunden ein Bild mit gleichem Namen. Da ich meiner SD-Karte in der auch ioBroker und das Raspberry System) abgelegt dies auf Dauer nicht zumuten möchte (das wird die Lebensdauer der SD-Karte dann schon deutlich verringern), wollte ich die Snapshots auf einem einem USB-Stick speichern und dann im ioBroker anzeigen. Das Speichern aus USB-Karte habe ich auch hinbekommen (die Snapshots waren da). Nach einem Tag Test ist aber das System komplett ausgestiegen (ich vermute mal, da muss ich mit Garbage Collection arbeiten) und ich konnte das System nur noch durch aufspielen eines vorher gezogenen Images wieder beleben. Und zweitens habe ich es nicht geschafft auf das USB-Laufwerk über ioBroker zuzugreifen. Der scheint nur Bilder die im Ordner vis.0 liegen zu akzeptieren. Wenn jemend daran interessiert ist, ich kann gerne das Skript und die Einrichtung posten, dann wäre es aber schön wenn ich auch Hilfe bekommen würde wie man von USB Bilder anzeigt.
Andreas
-
Hi Andy .. Foto machen und irgendwo ablegen geht auch über ein Blockly .. das funktioniert bei mir alles schon .. Interessehalber wäre spannend wie man die Funktion in diesem Skript hier triggert um ein Foto zu machen .. könnte auch an anderer Stelle nützlich sein.
Falls Dich das Blockly zum Fotomachen interessiert .. zeig ich's Dir gern .. aber das wäre falsch im Onvif-Thread. Hab gestern auch geschafft mir auf Knopfdruck (zum Testen) ein 10 Sekunden Stream per Telegram zu senden .. auch nett. Alles nicht meine Erfindung .. sondern hier aus dem Forum gelernt
Mit Vis hab ich leider gar nichts am Hut
-
Hallo daniello,
gib mir bitte 1-2 Tage Zeit.
Ich muss das Skript noch einmal erzeugen, da ich mir das image abgeschossen habe.
Daneben muss ich dann auch noch zusammenfassen wie man die onvif adpater unter nodejs installiert, das war die größte Hürde.
Skript kommt asap
Andreas
-
Hallo RandyAndy,
ich freue mich, dass das Skript auch anderen hilft.
Ich habe deine Posts eben erst gesehen, da ich den Thread nicht mehr abonniert habe.
-
Die korrekte Pfadangabe für das lokale Speichern von Dateien auf dem Raspberry kann ich dir nicht sagen. Es gibt aber hier im Forum einige Beispiele für Skripte, die genau das machen. Suche einfach mal nach "fs.writeFile".
-
BITTE BITTE BITTE keine Skripte in /global abspeichern. Die Skripte im Ordner global werden jedem anderen Skript angehängt. Somit läuft das Skript dann praktisch mehrfach. Skripte gehören in common oder in eigene, selbst erstellte Ordner.
Es ist schon spät, ich kann gerade nicht ausführlich antworten.
Vielleicht klappt es morgen.
Gruß
Pix
-
-
Hallo Pix,
danke für die Info. Wie ich schon geschrieben habe, ist es mir möglich einen Snapshot über fs.write zu erzeugen, wobei ich das File aber auf einem USB-Stick schreibe, da ich ungerne auf der SD-Karte (auf der das ganze Betriebssystem liegt) alle 10 Sekunden ein Bild schreiben möchte.
ICh denke aber das man das im Skriopt erzeugte onvif object nach dem schreiben wieder auf NULL setzen sollte (das muss ich noch testen), sonst könnte es sein, dass ich ein Object nach dem anderen generiere und das führte dann zu meinem Crash.
Bitte einfach mal das Skript wenn ich es gepostet habe durchsehen (sind nur wenige Zeilen) und dann Feedback geben.
Was ich auch nicht hinbekommen habe, ist das Bild vom USB-Stick wieder zu lesen. Vis erlaubt offensichtlich nur Dateien vom vis.0 Ordner anzuzeigen.
Ich hatte dann noch die Idee das über den Web-Server zu machen sozusagen eine http-Seite mit einm integrietrten link zum Bild, das hat aber leider auch nicht funktioniert. Am besten wäre es ohnehin das Bild im DRAM abzulegen und dann im VIS anzuzeigen (das wäre die beste Lösung), da habe ich aber gar keine Idee mehr wie das gehen soll.
ANdreas
-
Schön das dieser Thread gerade so zeitnah bearbeitet wird.
Ich versuche nämlich auch meine Kameras ins VIS einzubinden. Da ich im Skript Bereich von iobroker keine Fehler angezeigt bekomme, gehe ich mal davon aus das ich die node_onvif Installation erfolgreich hinter mich gebracht habe.
Ich habe mit dem hier empfohlenen Programm ONVIF Device Manager, alle Informationen aus meinen Kameras heraus bekommen die ich wohl brauchen werde. Somit habe ich im Skript die IP, den ONVIF Port und den Token Parameter entsprechen geändert. Benutzername und Password ist eh klar.
Leider bekomme ich in der Objekt Anzeige aber nur "false" Werte für die verschiedenen Funktionen. Auch in dem Widget was hier gepostet wurde, bleibt ein mögliches Bild (Stream?) bislang aus.
Wäre cool wenn mir jemand ein bisschen auf die Sprünge helfen könnte. Ich bin noch relativ neu bei iobroker dabei und hatte in der letzen Woche mehr mit ausprobieren und "kämpfen" der iobroker Installation auf verschiedenen Hardware Systemen zu tun.
-
Hi,
so jetzt habe ich mal alles zusammengeschrieben wie ich vorgegangen bin.
Vorweg den ganzen PTZ Kram habe ich über Board geworfen, da meine Kameras fest verbaut sind und Bewegungen, Zoom usw. nicht besitzen.
Da ich meine Kameras über VPN eingebunden habe ist für mich der Daten-Traffic noch ein wichtiges Kriterium, daher möchte ich nur alle 10 - 15 Sekunden ein Bild übertragen. Einen Stream habe ich erst mal kein Interesse (aber natürlich wenn es einer hinbekommt wäre das hilfreich).
So nun zum Vorgehen:
-
Zunächst muß man über die Konsole in den Ordner "opt/iobroker/node_modules/iobroker.javascript" wechseln
-
dort installiert man über "npm install -s node-onvif" den benötigten Adapter (Ich habe versucht node-onvif im im Verzeichnis node_modules von iobroker zu installieren, das hat aber eine Fehlermeldung erzeugt. Kann man sicher anpassen aber was soll es.
-
Danach habe ich folgendes Skript erstellt:
const onvif = require('node-onvif'); const fs = require('fs'); // Create an OnvifDevice object let device = new onvif.OnvifDevice({ xaddr: 'http://192.168.xx.xx:port/onvif/device_service', user : 'user (der onvif user)', pass : 'password (onvif password)' }); // Initialize the OnvifDevice object device.init().then(() => { // Get the data of the snapshot console.log('fetching the data of the snapshot...'); return device.fetchSnapshot(); }).then((res) => { // Save the data to a file fs.writeFileSync('/home/pi/snapshot.jpg', res.body, {encoding: 'binary'}); console.log('Done!'); device = null; // habe ich noch eingefügt, da ich mir nicht sicher bin ob das device auch wirklich wieder frei gegeben wird insb. wenn ich es in einem CRON - Job laufen lasse }).catch((error) => { console.error(error); });
Ich verwende eine Hikvision Kamera und damit das funktioniert muss man natürlich den onvif Zugang aktivieren und einen user definieren.
Ich habe auch versucht das Snapshot auf einem USB-Laufwerk zu schreiben (geht auch und das Bild wird erzeugt) aber dann kann ich es in Vis nicht integieren, offensichtlich erlaubt VIS nur den Zugriff auf Bilder im Verzeichnis opt/iobroker/iobroker-data/files/vis.0/…
Da wäre ein Hinweis von Euch hilfreich wie man über Vis auf eine Datei auf einem USB-Laufwerk zugreifen kann
-
-
Irgendwie kriege ich das Ganze nicht eingebunden.
Bei mir erscheinen unter VIS - Kamera nur die Punkte "PTZ"
Meine Kamera kann kein PTZ.
Den Pfad zu stream kann ich nirgendwo finden.
Oder anders herum:
Muss ich zwingend die Ganze Geschichte so aufbauen oder besteht die Möglichkeit das Livebild direkt in VIS darzustellen?
Über den VLC komme ich ja problemlos auf den Stream:
rtsp://192.168.8.90:554/user=xxxx_password=xxxx_channel=1_stream=0.sdp?real_stream
Aber wie binde ich den jetzt in VIS ein
-
Hallo,
bitte den ganzen Thread lesen. Hier geht’s nicht um die Einbindung in Vis, sondern um die Ansteuerung mit JavaScript per onvif, im speziellen um die Schwenks. Wenn eine Kamera keine PTZ Funktion hat, ist das Skript nicht optimal. Lösungen zum Abrufen eines Snapshots finden sich im Forum einige (inkl. z.B. PhantomJS).
Pix
-
Hi ist die Kommunikation mittels onvif nur in Richtung Kamera moeglich? Oder kann man auch eine bewegungserkennung der Kamera einlesen um als trigger zu benutzen? Hat jemand mal den onvif Adapter ausprobiert (iobroker. Onvif) forked von kirovilya?
Gesendet von meinem CLT-L09 mit Tapatalk
-
Hi Leute,
ich probiere seit kurzem auch mit IOBroker, SmartHome und IP-Kamera herum. Mit meiner Kamera komme ich aber irgendwie nicht weiter..
Ich habe das Skript von RandyAndy genommen und Bilder von meiner Cam in ../Vis.0 gespeichert und dann in der Vis mit Image eingefügt. das ganze dann im 10 Sekunden takt dank Cron.
Danach habe ich den Speicherpfad um einen Unterordner erweitert und schon geht nix mehr. Ich habe den Speicherpfad wieder auf den Ursprung geändert und trotzdem die gleiche Fehlermeldung:
"21:21:52.665 error javascript.0 script.js.Kamera.KameraTest: Error: 500 Web Error"
Hat jemand eine Idee was das Problem sein könnte?
Hat ja vorher funktioniert.
Leider behersche ich Javascript nicht wirklich. -