Synology Surveillance Station als Bewegungsmelder

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • ri8
    Smart Home'r
    • 04.03.2019
    • 31

    #1

    Synology Surveillance Station als Bewegungsmelder

    Hallo Zusammen

    Ich versuche gerade eine Bewegungserkennungsmeldung der Synology Surveillance Station mit der Loxone-Config zu verbinden, bzw. diese für die Alarmanlage als Sensor zu nutzen.

    Die Surveillance Station bietet sog. Aktionsregeln an. Loxone kann mittels einem http-Befehl in einem Virtuellen Ausgang z.B. die Aufnahme der Kameras starten usw.

    Nun Suche ich eine Lösung, womit ich das umkehren kann. Grundsätzlich gibt es bei Synology die Möglichkeit eine Aktionsregel als "Webhook" zu senden. Da gibt es auch PUT, GET und POST Befehle. In Loxone habe ich die UDP-Eingänge entdeckt.

    Weiss jemand, wie ich dies konfigurieren muss, damit hier eine Kommunikation entsteht? Oder bin ich auf dem Holzweg und dies ist gar nicht möglich?

    s. Screenshots.

    Grüsse
    Oliver
    Zuletzt geändert von ri8; 23.10.2020, 17:11.
  • hansmampf@ymail.com
    Smart Home'r
    • 16.01.2021
    • 36

    #2
    Servus Oliver,

    hast Du es mittlerweile hinbekommen? Ich stehe momentan an genau der gleichen Stelle und komme nicht mehr weiter.
    Würd mich freuen; viele Grüße
    Sebastian

    Kommentar

    • ri8
      Smart Home'r
      • 04.03.2019
      • 31

      #3
      Zitat von hansmampf@ymail.com
      Servus Oliver,

      hast Du es mittlerweile hinbekommen? Ich stehe momentan an genau der gleichen Stelle und komme nicht mehr weiter.
      Würd mich freuen; viele Grüße
      Sebastian
      Hallo Sebastian

      nein, leider noch nicht. Ich habe das Projekt nach hinten verschoben. Sollte ich eine Lösung haben, werde ich es gerne posten.

      Vielleicht meldet sich noch jemand mit einer Lösung.

      Grüsse
      Oliver

      Kommentar

      • madito
        Extension Master
        • 03.07.2017
        • 131

        #4
        Hello,

        I currently have a surveillance station installed and when I activate the out-of-home mode, the HomeMode of the survillance station is deactivated in parallel.

        I had not created the motion detection alerts, since I use the synology application to control all the CCTV, but it is very easy to integrate the motion detection alerts using the Surveillance Station actions, you only have to create an action that contains all the cameras and then make an HTTP request to the MiniServer.

        In the MiniServer you must create a Virtual Entry (HTTP) and you will have it working in a few minutes.

        I just did the test and it works quite well.

        The main problem with Surveillance Station is that it monopolizes all the video streams of the camera and if you view it from Loxone (or another place) disconnect the camera from the Surveillance Station, this was consulted with Synology and apparently it is the standard way work, so I cannot view the cameras from the Loxone App, without the cameras being disconnected from the Surveillance Station.

        Kommentar

        • hansmampf@ymail.com
          Smart Home'r
          • 16.01.2021
          • 36

          #5
          Hi, thanks for your quick reply, therefore i have some further questions:

          "you only have to create an action that contains all the cameras and then make an HTTP request to the MiniServer."
          --> is the http request a so called webhook? And if so then how do i have to create such a request? Can you make an example for a request?
          In the MiniServer you must create a Virtual Entry (HTTP) and you will have it working in a few minutes.
          --> that is the target "adress" for the request, right?

          thanks and best
          sebastia n

          Kommentar

          • madito
            Extension Master
            • 03.07.2017
            • 131

            #6
            Hi!

            I detail how the process should be;

            You must access your survillance station and in the "action rules" section create a new rule, which as an event you define the motion detection of one or all the cameras (as defined in the event). The action must be a call to the webhook that points to the MiniServer, for example;

            http://[IP_MINISERVER]/dev/sps/io/[NAME]/0

            Then you must create a virtual entry that matches [NAME] in the MiniServer to read the data.

            I hope this can help you.

            Kommentar

            • hansmampf@ymail.com
              Smart Home'r
              • 16.01.2021
              • 36

              #7
              Hi Madito, thanks a lot for your support. I have a few questions on your description:


              http://[IP_MINISERVER]/dev/sps/io/[NAME]/0"
              --> NAME of the virtual entry or name of the Miniserver user? If i put in the Name of the miniserver user and do a "testübermittlung"(communication test) at the surveillance station then i recieve a "Test success" from the surveillance station. or is the [NAME] the name of the virtual input e.g. VI7?

              Then you must create a virtual entry that matches [NAME] in the MiniServer to read the data.
              --> i started a virtual http entry and use the same http://... as at the surveillance station, right?
              --> i want to create 2 different action rules and therefor 2 http entrys, how does the miniserver distinguish between those two?


              Best Sebastian

              Kommentar

              • madito
                Extension Master
                • 03.07.2017
                • 131

                #8
                Hi

                The [NAME] is the name of the virtual input, you should not use the user's name, after [NAME] is the input value, in this case it is 1, but this already depends on the logic you want to use:

                http://[IP_MINISERVER]/dev/sps/io/[NAME]/1

                The name and password of the MiniServer user, you must add it in the user and password of the action configuration (Webhook).

                You can add all the events and actions you need, for each event/action you must add a virtual entry. An example would be;

                http://[IP_MINISERVER]/dev/sps/io/Entry1/1
                http://[IP_MINISERVER]/dev/sps/io/Entry2/1
                ....
                http://[IP_MINISERVER]/dev/sps/io/EntryN/1

                Kommentar

                • hansmampf@ymail.com
                  Smart Home'r
                  • 16.01.2021
                  • 36

                  #9
                  Hi madito, it works. Thanks a lot; my mistake was that i did not "connect" the webhhok's Entry with the correct Loxone Entry. now it works fine:-)

                  best sebastian

                  Kommentar

                  • madito
                    Extension Master
                    • 03.07.2017
                    • 131

                    #10
                    Perfect!

                    Kommentar

                    • hansmampf@ymail.com
                      Smart Home'r
                      • 16.01.2021
                      • 36

                      #11
                      my logic is if there is movement then send logic 1. The only thing is that if theres is a movement then logic 1 remains "on" and does not get back to logic 0. I solved this problem with a second action rule:
                      if movement then send to virtual input logic 1 AND send to the same virtual input logic 0 twice within 10 seconds. it's a bit try and error(as often :-) ) but it works.

                      Kommentar

                      • ledchab
                        LoxBus Spammer
                        • 10.02.2016
                        • 425

                        #12
                        kannst auch einen Impuls senden http://ip/dev/sps/io/VUI3.VCI25/pulse
                        so mach ich das von der Qnap Surveilance Station

                        Kommentar

                        • hansmampf@ymail.com
                          Smart Home'r
                          • 16.01.2021
                          • 36

                          #13
                          ledchab der pulse Befehl klappt bei mir leider nicht. Gibt es vielleicht noch einen anderen Befehl mit vergleichbarer Funktion?

                          Kommentar

                          • ledchab
                            LoxBus Spammer
                            • 10.02.2016
                            • 425

                            #14
                            vlt ist der Impuls zu kurz häng mal eine Monoflop dahinter

                            Kommentar


                            • hansmampf@ymail.com
                              hansmampf@ymail.com kommentierte
                              Kommentar bearbeiten
                              hab eben mit Monoflop ausprobiert; leider ohne Erfolg. --> 1. Aktion Logisch 1 schalten und 2. Aktion logisch 0 schalten ist zwar etwas umständlich, aber funktioniert...
                          • hansmampf@ymail.com
                            Smart Home'r
                            • 16.01.2021
                            • 36

                            #15
                            gute Idee; wenn ich wieder an die Config gehe dann probier ich's aus.

                            Kommentar

                            Lädt...