Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Hikvision cgi alertStream auslesen

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Hikvision cgi alertStream auslesen

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mcmuller last edited by

      Hallo,

      ich würde gerne den von meiner Hikvision-Camera bereitgestellten Alarm&Bewegungs-Stream auslesen, habe aber keine Ahnung wie. Ich kann per http://user:pass@ip-der-cam/Event/notif … lertStream folgenden Stream öffnen:

      --boundary
      Content-Type: application/xml; charset="UTF-8"
      Content-Length: 553
      
       <eventnotificationalert version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema"><ipaddress>192.168.1.12</ipaddress>
      <portno>80</portno>
      <protocol>HTTP</protocol>
      <macaddress>bc:ad:28:7a:eb:8f</macaddress>
      <channelid>1</channelid>
      <datetime>2018-10-27T17:35:03+00:00</datetime>
      <activepostcount>6120</activepostcount>
      <eventtype>VMD</eventtype>
      <eventstate>active</eventstate>
      <eventdescription>Motion alarm</eventdescription>
      
      <channelname>Front</channelname></eventnotificationalert> 
      --boundary
      Content-Type: application/xml; charset="UTF-8"
      Content-Length: 553
      
       <eventnotificationalert version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema"><ipaddress>192.168.1.12</ipaddress>
      <portno>80</portno>
      <protocol>HTTP</protocol>
      <macaddress>bc:ad:28:7a:eb:8f</macaddress>
      <channelid>1</channelid>
      <datetime>2018-10-27T17:35:04+00:00</datetime>
      <activepostcount>6121</activepostcount>
      <eventtype>VMD</eventtype>
      <eventstate>active</eventstate>
      <eventdescription>Motion alarm</eventdescription>
      
      <channelname>Front</channelname></eventnotificationalert> 
      
      

      meine Frage: Wie extrahiere ich die einzelnen Events (hier als Beispiel "Motion")? Muß ich den Stream irgenwdie zwischnspeichern? Jeder Rat (auch Doku-Verweise) ist willkommen!

      Grüße,

      mcmuller

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      822
      Online

      32.0k
      Users

      80.5k
      Topics

      1.3m
      Posts

      1
      1
      618
      Loading More Posts
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
      The ioBroker Community 2014-2023
      logo