Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Entwicklung
  4. Synology Chat ...

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Synology Chat ...

Synology Chat ...

Scheduled Pinned Locked Moved Entwicklung
chatsynologysynology diskstationadaptermessage handler
184 Posts 19 Posters 30.3k Views 16 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dslraserD dslraser

    @glasfaser
    das was man selbst schreibt lässt sich löschen. Das was per webhook gekommen ist, da habe ich auch noch nichts gefunden.
    In der Admin Konsole auf der Syno gibt es einige Einstellungen.

    Bearbeiten und dann geht auch löschen. (selbst gesendet) Bei der Webhook Nachricht fehlt die Option.

    91F0E7CE-0FEA-4218-8B45-7212F91089BB.jpeg

    W Offline
    W Offline
    wrod
    wrote on last edited by
    #67

    @dslraser Man kann in der Kanalverwaltung jedes Kanals (unter dem Schraubenschlüssel) den Kanal archivieren. Dann sind die alten Nachrichten wohl nicht völlig weg (in einer "Archivansicht" wohl noch vorhanden", aber in der Anzeige fortgeräumt.

    1 Reply Last reply
    0
    • dslraserD dslraser

      @Glasfaser

      Nachtrag :
      Wenn ich die fertige URL im Browser eingebe dauert es auch so lange .

      Ich habe jetzt nochmal Chat deinstalliert auf der Syno, danach wieder installiert und neu eingerichtet und dann die Syno neu gestartet. (vielleicht reicht ja auch nur der Neustart.)
      Jetzt kommen die Nachrichten in Echtzeit, also nur mit der einen Sekunde Verzögerung die im Blockly eingestellt ist. Das mit dem Neustart nach der Installation habe ich in irgendeinem Forum gefunden/gelesen.
      Bitte probiere mal den Neustart der Syno.

      W Offline
      W Offline
      wrod
      wrote on last edited by wrod
      #68

      @dslraser Stimmt, hier ebenso (also: Neustart, ohne Neuinstallation).

      1 Reply Last reply
      1
      • dslraserD Offline
        dslraserD Offline
        dslraser
        Forum Testing Most Active
        wrote on last edited by
        #69

        @Glasfaser

        ich bin irgendwie zu blöd ein Bild zu versenden....
        Mit Telegram läuft das so:

        Bildschirmfoto 2021-12-30 um 19.20.35.png

        Der steuere Befehl erzeugt ein neues Bild, das dann auch da ist:

        Bildschirmfoto 2021-12-30 um 19.24.39.png

        Der Dateipfad in diesem Beispiel ist:

        /opt/iobroker/iobroker-data/synology_0/snapshotCam_8.jpg
        

        Ich bekomme es aber nicht hin dieses Bild zu versenden. Ich habe mit Deinem Blockly von weiter oben und auch mit diesem Beispiel rumprobiert....
        Wie stelle ich das an ?

        GlasfaserG 2 Replies Last reply
        0
        • dslraserD dslraser

          @Glasfaser

          ich bin irgendwie zu blöd ein Bild zu versenden....
          Mit Telegram läuft das so:

          Bildschirmfoto 2021-12-30 um 19.20.35.png

          Der steuere Befehl erzeugt ein neues Bild, das dann auch da ist:

          Bildschirmfoto 2021-12-30 um 19.24.39.png

          Der Dateipfad in diesem Beispiel ist:

          /opt/iobroker/iobroker-data/synology_0/snapshotCam_8.jpg
          

          Ich bekomme es aber nicht hin dieses Bild zu versenden. Ich habe mit Deinem Blockly von weiter oben und auch mit diesem Beispiel rumprobiert....
          Wie stelle ich das an ?

          GlasfaserG Offline
          GlasfaserG Offline
          Glasfaser
          wrote on last edited by Glasfaser
          #70

          @dslraser sagte in Synology Chat ...:

          /opt/iobroker/iobroker-data/synology_0/snapshotCam_8.jpg

          Ja , das funktionierte nicht bei mir , deshalb habe ist das Bild in

          0_userdata.0/synology/bild1.jpg
          

          gelegt und von dort geholt mit

          http://192.168.178.11:8082/0_userdata.0/synology/bild1.jpg
          

          als Bildquelle

          .
          c0b255a0-42c4-4531-b500-d1c567c7913f-grafik.png

          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

          dslraserD 1 Reply Last reply
          0
          • GlasfaserG Glasfaser

            @dslraser sagte in Synology Chat ...:

            /opt/iobroker/iobroker-data/synology_0/snapshotCam_8.jpg

            Ja , das funktionierte nicht bei mir , deshalb habe ist das Bild in

            0_userdata.0/synology/bild1.jpg
            

            gelegt und von dort geholt mit

            http://192.168.178.11:8082/0_userdata.0/synology/bild1.jpg
            

            als Bildquelle

            .
            c0b255a0-42c4-4531-b500-d1c567c7913f-grafik.png

            dslraserD Offline
            dslraserD Offline
            dslraser
            Forum Testing Most Active
            wrote on last edited by dslraser
            #71

            @glasfaser
            also hast Du erstmal

            0_userdata.0.synology
            

            erstellt ?

            Aber was ist das für ein Pfad mit

            http://ip/action/snapshot
            
            GlasfaserG 3 Replies Last reply
            0
            • dslraserD dslraser

              @glasfaser
              also hast Du erstmal

              0_userdata.0.synology
              

              erstellt ?

              Aber was ist das für ein Pfad mit

              http://ip/action/snapshot
              
              GlasfaserG Offline
              GlasfaserG Offline
              Glasfaser
              wrote on last edited by
              #72

              @dslraser

              Warte ... ich schreibe gerade ... du brauchst kein Edit machen !
              Ich erkläre es gleich

              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

              1 Reply Last reply
              1
              • dslraserD dslraser

                @glasfaser
                also hast Du erstmal

                0_userdata.0.synology
                

                erstellt ?

                Aber was ist das für ein Pfad mit

                http://ip/action/snapshot
                
                GlasfaserG Offline
                GlasfaserG Offline
                Glasfaser
                wrote on last edited by Glasfaser
                #73

                @dslraser

                ff13db88-2e34-4c90-8f81-8cb188c9326e-grafik.png

                dort den Pfad rein von :

                5eab2363-4553-4f3c-8b30-07011aaffab7-grafik.png

                und hier deine IP eintragen

                cdf1c8aa-e19e-4817-887b-f160b355c699-grafik.png

                das Verzeichniss wird automatisch erstellt , wenn das Bild geholt wird .

                @dslraser sagte in Synology Chat ...:
                Aber was ist das für ein Pfad mit
                http://ip/action/snapshot

                ist nicht von mir

                Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                dslraserD 1 Reply Last reply
                1
                • dslraserD dslraser

                  @glasfaser
                  also hast Du erstmal

                  0_userdata.0.synology
                  

                  erstellt ?

                  Aber was ist das für ein Pfad mit

                  http://ip/action/snapshot
                  
                  GlasfaserG Offline
                  GlasfaserG Offline
                  Glasfaser
                  wrote on last edited by
                  #74

                  @dslraser
                  Nur als INFO , bevor du selber am verzweifeln bist ( Deshalb habe ich dort nicht weiter gemacht )

                  ich habe immer noch das Problem mit dem alten Bild :

                  https://forum.iobroker.net/topic/47210/synology-chat/28

                  Habe auch schon per :

                  13c18c10-34f6-4b41-8e6a-c1244af2d276-grafik.png

                  unlink('0_userdata.0', 'synology/bild1.jpg',(e)=>{
                  
                      if(e) log(e)
                  
                  })
                  

                  das Bild gelöscht .... aber immer das gleiche ., neues Bild ist im Verzeichniss , aber er nimmt immer ein Ghost Bild von früher .)

                  Vielleicht kommst du dahinter ..

                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                  ste_gleiS 1 Reply Last reply
                  0
                  • GlasfaserG Glasfaser

                    @dslraser
                    Nur als INFO , bevor du selber am verzweifeln bist ( Deshalb habe ich dort nicht weiter gemacht )

                    ich habe immer noch das Problem mit dem alten Bild :

                    https://forum.iobroker.net/topic/47210/synology-chat/28

                    Habe auch schon per :

                    13c18c10-34f6-4b41-8e6a-c1244af2d276-grafik.png

                    unlink('0_userdata.0', 'synology/bild1.jpg',(e)=>{
                    
                        if(e) log(e)
                    
                    })
                    

                    das Bild gelöscht .... aber immer das gleiche ., neues Bild ist im Verzeichniss , aber er nimmt immer ein Ghost Bild von früher .)

                    Vielleicht kommst du dahinter ..

                    ste_gleiS Offline
                    ste_gleiS Offline
                    ste_glei
                    wrote on last edited by
                    #75

                    @glasfaser

                    Hatte auch das Problem mit dem alten Bild.

                    Ich habe die "Bild holen" Funktion kopiert und statt writeFile - delFile geschrieben und in Bild löschen umbenannt.
                    bevor das neue Bild geholt wird lasse ich das alte löschen.

                    db4fe872-8b2c-40f9-852b-d692be20ab3a-image.png

                    seitdem funktioniert es einwandfrei.

                    GlasfaserG 1 Reply Last reply
                    1
                    • ste_gleiS ste_glei

                      @glasfaser

                      Hatte auch das Problem mit dem alten Bild.

                      Ich habe die "Bild holen" Funktion kopiert und statt writeFile - delFile geschrieben und in Bild löschen umbenannt.
                      bevor das neue Bild geholt wird lasse ich das alte löschen.

                      db4fe872-8b2c-40f9-852b-d692be20ab3a-image.png

                      seitdem funktioniert es einwandfrei.

                      GlasfaserG Offline
                      GlasfaserG Offline
                      Glasfaser
                      wrote on last edited by
                      #76

                      @stefan-gleichweit sagte in Synology Chat ...:

                      seitdem funktioniert es einwandfrei.

                      Bei mir leider nicht , habe es auf delFile geändert ... mit den Zeiten rumgespielt usw.

                      Trotzdem immer das gleiche alte Bild .

                      Kannst du dein Blockly Script vielleicht zur Verfügung stellen , vielleicht wäre es dann einfacher.

                      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                      ste_gleiS 1 Reply Last reply
                      0
                      • GlasfaserG Glasfaser

                        @stefan-gleichweit sagte in Synology Chat ...:

                        seitdem funktioniert es einwandfrei.

                        Bei mir leider nicht , habe es auf delFile geändert ... mit den Zeiten rumgespielt usw.

                        Trotzdem immer das gleiche alte Bild .

                        Kannst du dein Blockly Script vielleicht zur Verfügung stellen , vielleicht wäre es dann einfacher.

                        ste_gleiS Offline
                        ste_gleiS Offline
                        ste_glei
                        wrote on last edited by
                        #77

                        @glasfaser

                        Hier das Blockly
                        Ich sende die Nachricht an zwei Benutzer. (ähnlich Telegramm da die Göttergattin ja nicht alle Meldunge braucht).

                        Schau zur Sicherheit noch im Web-Adapter nach und deaktiviere den Cache. (war bei mir auch ein Grund weshalb es nicht funktioniert hat.)

                        
                        <xml xmlns="https://developers.google.com/blockly/xml">
                         <variables>
                           <variable id="W7rU$,grIeN%1KO4vB%|">url</variable>
                           <variable id="u^a{RwAvq(*-0PK`(`@4">URL_Snapshot</variable>
                           <variable id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</variable>
                           <variable id="s`TAk}2fZk|p^o$4+d@t">result</variable>
                         </variables>
                         <block type="create" id="V@~u%:1g+=3-0?Brr}RL" x="95" y="-247">
                           <field name="NAME">0_userdata.0.Datenpunkte.chat.befehl</field>
                           <value name="COMMON">
                             <block type="text" id="8E6B#`YIJI=3V(!4hc,d">
                               <field name="TEXT">{     "name": "befehl",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                             </block>
                           </value>
                           <next>
                             <block type="create" id="%|[RWPZ:8IXh38cvum:1">
                               <field name="NAME">0_userdata.0.Datenpunkte.chat.chat_bot</field>
                               <value name="COMMON">
                                 <block type="text" id="-Hr_uhSo{vNY~CV,g{K!">
                                   <field name="TEXT">{     "name": "chat_bot",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="update" id="6)Q/VTvxsl!)X(09sf,b">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">0_userdata.0.Datenpunkte.chat.chat_bot</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="text" id="e7eF!wiY18;b,*_[Qsp_">
                                       <field name="TEXT">http://XXXXXXXXXX:xxxx/webapi/entry.cgi?api=SYNO.Chat.External&amp;method=chatbot&amp;version=2&amp;token=XXXXXXXXXXXXXXX&amp;payload={"text":"</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="create" id="U8qp0y6hlekgt7M9Io:z">
                                       <field name="NAME">0_userdata.0.Datenpunkte.chat.file</field>
                                       <value name="COMMON">
                                         <block type="text" id="YO]%|LSlv%@Gh8vATUWF">
                                           <field name="TEXT">{     "name": "file",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="update" id="L7O#MR-bdm|G~V%tB3WQ">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">0_userdata.0.Datenpunkte.chat.file</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="text" id="]S?6]^DDFqe(KUjTU/IH">
                                               <field name="TEXT">","file_url":"</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="create" id="#zA-:.{V[S+R*9J}w1%S">
                                               <field name="NAME">0_userdata.0.Datenpunkte.chat.petra</field>
                                               <value name="COMMON">
                                                 <block type="text" id="Y+pL;1E8?74;y-e6,eJT">
                                                   <field name="TEXT">{     "name": "petra",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="update" id="lmG%=|.8TGJFS8-@TIEI">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">0_userdata.0.Datenpunkte.chat.petra</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="text" id="`VY;$dA}jgS1relNi_/e">
                                                       <field name="TEXT">","user_ids": [XX]}</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="create" id="#ca.9c[Hr!cvw~X9}Mpa">
                                                       <field name="NAME">0_userdata.0.Datenpunkte.chat.stefan</field>
                                                       <value name="COMMON">
                                                         <block type="text" id="w2i9!M{h[C|HVi4r|+P]">
                                                           <field name="TEXT">{     "name": "stefan",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="update" id="6=#9hCI.LDX.*/Xq18E;">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">0_userdata.0.Datenpunkte.chat.stefan</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="text" id="t,oa2|qF:=@Bh?qIABDJ">
                                                               <field name="TEXT">","user_ids": [XX]}</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="comment" id="1;xAzoL}:6w~0,J*XCF5">
                                                               <field name="COMMENT">Synology chat mit Bild</field>
                                                               <next>
                                                                 <block type="on_ext" id="GLSol3Rrzx|U=4hEkqJ_">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                   <field name="CONDITION">ne</field>
                                                                   <field name="ACK_CONDITION"></field>
                                                                   <value name="OID0">
                                                                     <shadow type="field_oid" id="L@^X3Z`yr$~gDwh90WL|">
                                                                       <field name="oid">0_userdata.0.example_state</field>
                                                                     </shadow>
                                                                   </value>
                                                                   <statement name="STATEMENT">
                                                                     <block type="procedures_callcustomnoreturn" id="(@^+;C-VfwXiG;;,w6vL">
                                                                       <mutation name="Bild_löschen"></mutation>
                                                                       <next>
                                                                         <block type="timeouts_wait" id=";l{TAX0O[5GEg;m+9b!c">
                                                                           <field name="DELAY">100</field>
                                                                           <field name="UNIT">ms</field>
                                                                           <next>
                                                                             <block type="variables_set" id="FIgc[8rrzBr`TtCt_Njh">
                                                                               <field name="VAR" id="u^a{RwAvq(*-0PK`(`@4">URL_Snapshot</field>
                                                                               <value name="VALUE">
                                                                                 <block type="get_value" id="=B9PHOU/pLx0?h+%lESx">
                                                                                   <field name="ATTR">val</field>
                                                                                   <field name="OID">alias.0.Kamera.LastEventData.snapshot_url</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="procedures_callcustomnoreturn" id=")8.m*5:cjB,Z.vwL3m](">
                                                                                   <mutation name="Bild_holen"></mutation>
                                                                                   <next>
                                                                                     <block type="variables_set" id=".DnWEOW0Pg_URM34_`@~">
                                                                                       <field name="VAR" id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="text" id="Akz];NA;oukZHmTP8mdv">
                                                                                           <field name="TEXT">http://192.168.178.11:8082/0_userdata.0/1/snapshot.jpg</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <next>
                                                                                         <block type="timeouts_wait" id="wwdO+pyI6o1#d@KPC,`q">
                                                                                           <field name="DELAY">1000</field>
                                                                                           <field name="UNIT">ms</field>
                                                                                           <next>
                                                                                             <block type="control" id="vBx`O8l$vkt]s/LC5Bie">
                                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                               <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                               <field name="WITH_DELAY">FALSE</field>
                                                                                               <value name="VALUE">
                                                                                                 <block type="text_join" id="dm+0e6{L(iPtuk8!Nv]+">
                                                                                                   <mutation items="4"></mutation>
                                                                                                   <value name="ADD0">
                                                                                                     <block type="get_value" id="2Yr{e1dnlqQ5]V45Z~)^">
                                                                                                       <field name="ATTR">val</field>
                                                                                                       <field name="OID">0_userdata.0.Datenpunkte.chat.chat_bot</field>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                   <value name="ADD1">
                                                                                                     <block type="procedures_callcustomreturn" id="GD%^L~Wq_LIL_y86c}(2">
                                                                                                       <mutation name="encodeURI">
                                                                                                         <arg name="url"></arg>
                                                                                                       </mutation>
                                                                                                       <value name="ARG0">
                                                                                                         <block type="get_value" id="IG0/rfj#`n5DUyGn0/t%">
                                                                                                           <field name="ATTR">val</field>
                                                                                                           <field name="OID">alias.0.Kamera.LastEventData.message</field>
                                                                                                         </block>
                                                                                                       </value>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                   <value name="ADD2">
                                                                                                     <block type="get_value" id="+y?EgAqov#(5NiXe]?MN">
                                                                                                       <field name="ATTR">val</field>
                                                                                                       <field name="OID">0_userdata.0.Datenpunkte.chat.file</field>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                   <value name="ADD3">
                                                                                                     <block type="variables_get" id="~D+Wf%8Rgn9uu1}@s9Hz">
                                                                                                       <field name="VAR" id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</field>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                 </block>
                                                                                               </value>
                                                                                               <next>
                                                                                                 <block type="timeouts_wait" id="^I=uga?[C)og*JMdOS,5">
                                                                                                   <field name="DELAY">1000</field>
                                                                                                   <field name="UNIT">ms</field>
                                                                                                   <next>
                                                                                                     <block type="request" id="B%[X%~v2qRFjkxypUY:P">
                                                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                                                       <field name="WITH_STATEMENT">TRUE</field>
                                                                                                       <field name="LOG"></field>
                                                                                                       <value name="URL">
                                                                                                         <shadow type="text">
                                                                                                           <field name="TEXT">text</field>
                                                                                                         </shadow>
                                                                                                         <block type="text_join" id="-|^UFOC`)ZPh_oPnYb,p">
                                                                                                           <mutation items="2"></mutation>
                                                                                                           <value name="ADD0">
                                                                                                             <block type="get_value" id="qcrE$Ebr}jcFLExm6?(|">
                                                                                                               <field name="ATTR">val</field>
                                                                                                               <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                                             </block>
                                                                                                           </value>
                                                                                                           <value name="ADD1">
                                                                                                             <block type="get_value" id="0He~_?/Rfx6ekJUtD?(S">
                                                                                                               <field name="ATTR">val</field>
                                                                                                               <field name="OID">0_userdata.0.Datenpunkte.chat.stefan</field>
                                                                                                             </block>
                                                                                                           </value>
                                                                                                         </block>
                                                                                                       </value>
                                                                                                       <statement name="STATEMENT">
                                                                                                         <block type="debug" id="u`-Ee!RLS-Rv:bCxiXno">
                                                                                                           <field name="Severity">log</field>
                                                                                                           <value name="TEXT">
                                                                                                             <shadow type="text" id="u$qY~V}Rv4[nuzF=;*Rg">
                                                                                                               <field name="TEXT">test</field>
                                                                                                             </shadow>
                                                                                                             <block type="text_join" id="76U4^hP)]BXiT##v/;Qu">
                                                                                                               <mutation items="2"></mutation>
                                                                                                               <value name="ADD0">
                                                                                                                 <block type="get_value" id="#C[O]Yzk7|mqx:FOAay=">
                                                                                                                   <field name="ATTR">val</field>
                                                                                                                   <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                                                 </block>
                                                                                                               </value>
                                                                                                               <value name="ADD1">
                                                                                                                 <block type="get_value" id="TO[zVm@e28F0fHpIb)hW">
                                                                                                                   <field name="ATTR">val</field>
                                                                                                                   <field name="OID">0_userdata.0.Datenpunkte.chat.stefan</field>
                                                                                                                 </block>
                                                                                                               </value>
                                                                                                             </block>
                                                                                                           </value>
                                                                                                           <next>
                                                                                                             <block type="debug" id="-%qac?h-E8oS~{JuoYH9">
                                                                                                               <field name="Severity">log</field>
                                                                                                               <value name="TEXT">
                                                                                                                 <shadow type="text">
                                                                                                                   <field name="TEXT">test</field>
                                                                                                                 </shadow>
                                                                                                                 <block type="variables_get" id="~O;0-B7q:{:NU7p`{tz.">
                                                                                                                   <field name="VAR" id="s`TAk}2fZk|p^o$4+d@t">result</field>
                                                                                                                 </block>
                                                                                                               </value>
                                                                                                             </block>
                                                                                                           </next>
                                                                                                         </block>
                                                                                                       </statement>
                                                                                                       <next>
                                                                                                         <block type="timeouts_wait" id="4i]Sadf!zQL$%/Z}oq!E">
                                                                                                           <field name="DELAY">3000</field>
                                                                                                           <field name="UNIT">ms</field>
                                                                                                           <next>
                                                                                                             <block type="request" id="+k+P=.KGBi?V6iQRH-iA">
                                                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                                                               <field name="WITH_STATEMENT">TRUE</field>
                                                                                                               <field name="LOG"></field>
                                                                                                               <value name="URL">
                                                                                                                 <shadow type="text" id="m)x.{SQWCkI.L=:DAN[r">
                                                                                                                   <field name="TEXT">text</field>
                                                                                                                 </shadow>
                                                                                                                 <block type="text_join" id="8dgf/ad|.~!{?oTtS*o}">
                                                                                                                   <mutation items="2"></mutation>
                                                                                                                   <value name="ADD0">
                                                                                                                     <block type="get_value" id="Xkux@UtO1by%Cw_$ukq$">
                                                                                                                       <field name="ATTR">val</field>
                                                                                                                       <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                                                     </block>
                                                                                                                   </value>
                                                                                                                   <value name="ADD1">
                                                                                                                     <block type="get_value" id="dE*^Lj,L-M*YnEnCv.%c">
                                                                                                                       <field name="ATTR">val</field>
                                                                                                                       <field name="OID">0_userdata.0.Datenpunkte.chat.petra</field>
                                                                                                                     </block>
                                                                                                                   </value>
                                                                                                                 </block>
                                                                                                               </value>
                                                                                                               <statement name="STATEMENT">
                                                                                                                 <block type="debug" id="%l+BOE5*Nb0,A_mv}Pi-">
                                                                                                                   <field name="Severity">log</field>
                                                                                                                   <value name="TEXT">
                                                                                                                     <shadow type="text" id="I7CCfzV5rIy6-}4s[uQ.">
                                                                                                                       <field name="TEXT">test</field>
                                                                                                                     </shadow>
                                                                                                                     <block type="text_join" id="#L_T`5E1GQ#8#oBOHJ(S">
                                                                                                                       <mutation items="2"></mutation>
                                                                                                                       <value name="ADD0">
                                                                                                                         <block type="get_value" id="ke@t{qSa%j}q@#G,?O|}">
                                                                                                                           <field name="ATTR">val</field>
                                                                                                                           <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                                                         </block>
                                                                                                                       </value>
                                                                                                                       <value name="ADD1">
                                                                                                                         <block type="get_value" id="6z+it!h{_.r?aBX}X0]e">
                                                                                                                           <field name="ATTR">val</field>
                                                                                                                           <field name="OID">0_userdata.0.Datenpunkte.chat.petra</field>
                                                                                                                         </block>
                                                                                                                       </value>
                                                                                                                     </block>
                                                                                                                   </value>
                                                                                                                   <next>
                                                                                                                     <block type="debug" id="cQtI!dDJRde$RnimpSnk">
                                                                                                                       <field name="Severity">log</field>
                                                                                                                       <value name="TEXT">
                                                                                                                         <shadow type="text">
                                                                                                                           <field name="TEXT">test</field>
                                                                                                                         </shadow>
                                                                                                                         <block type="variables_get" id="?Y2j)i/BO~[U{aG@Fs;`">
                                                                                                                           <field name="VAR" id="s`TAk}2fZk|p^o$4+d@t">result</field>
                                                                                                                         </block>
                                                                                                                       </value>
                                                                                                                     </block>
                                                                                                                   </next>
                                                                                                                 </block>
                                                                                                               </statement>
                                                                                                               <next>
                                                                                                                 <block type="timeouts_wait" id="wq/F/r4;k/K,ixq@WL;Y">
                                                                                                                   <field name="DELAY">30</field>
                                                                                                                   <field name="UNIT">sec</field>
                                                                                                                   <next>
                                                                                                                     <block type="procedures_callcustomnoreturn" id="qyUa(45n!yuHmuz:Lej{">
                                                                                                                       <mutation name="Bild_löschen"></mutation>
                                                                                                                     </block>
                                                                                                                   </next>
                                                                                                                 </block>
                                                                                                               </next>
                                                                                                             </block>
                                                                                                           </next>
                                                                                                         </block>
                                                                                                       </next>
                                                                                                     </block>
                                                                                                   </next>
                                                                                                 </block>
                                                                                               </next>
                                                                                             </block>
                                                                                           </next>
                                                                                         </block>
                                                                                       </next>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </statement>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                         <block type="procedures_defcustomnoreturn" id="Fh|~ouZqovH}}ZEi:0P{" x="1012" y="163">
                           <mutation statements="false"></mutation>
                           <field name="NAME">Bild_holen</field>
                           <field name="SCRIPT">DQoNCg0KcmVxdWVzdCgNCg0KICB7DQoNCiAgICB1cmw6IFVSTF9TbmFwc2hvdCAsDQoNCiAgICBlbmNvZGluZzogbnVsbCwNCg0KICB9LA0KDQogIChlcnJvciwgcmVzcG9uc2UsIGJvZHkpID0+IHsNCg0KICAgIGlmICghZXJyb3IgJiYgYm9keSkgew0KDQogICAgICB3cml0ZUZpbGUoIjBfdXNlcmRhdGEuMCIsICIvMS9zbmFwc2hvdC5qcGciLGJvZHkgKTsNCg0KICAgIH0NCg0KICB9DQoNCik7DQo=</field>
                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                         </block>
                         <block type="procedures_defcustomreturn" id="B`%(UJ@(5HI^#[)t`k$:" x="1013" y="188">
                           <mutation statements="false">
                             <arg name="url" varid="W7rU$,grIeN%1KO4vB%|"></arg>
                           </mutation>
                           <field name="NAME">encodeURI</field>
                           <field name="SCRIPT">dXJsID0gZW5jb2RlVVJJQ29tcG9uZW50KHVybCk7DQpyZXR1cm4gdXJsOw==</field>
                           <comment pinned="false" h="80" w="160">encode URL function</comment>
                         </block>
                         <block type="procedures_defcustomnoreturn" id="Frub~%,eU2~ya#!niSf0" x="1012" y="213">
                           <mutation statements="false"></mutation>
                           <field name="NAME">Bild_löschen</field>
                           <field name="SCRIPT">DQoNCg0KcmVxdWVzdCgNCg0KICB7DQoNCiAgICB1cmw6IFVSTF9TbmFwc2hvdCAsDQoNCiAgICBlbmNvZGluZzogbnVsbCwNCg0KICB9LA0KDQogIChlcnJvciwgcmVzcG9uc2UsIGJvZHkpID0+IHsNCg0KICAgIGlmICghZXJyb3IgJiYgYm9keSkgew0KDQogICAgICBkZWxGaWxlKCIwX3VzZXJkYXRhLjAiLCAiLzEvc25hcHNob3QuanBnIixib2R5KTsNCg0KICAgIH0NCg0KICB9DQoNCik7DQo=</field>
                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                         </block>
                        </xml>
                        
                        GlasfaserG 1 Reply Last reply
                        1
                        • ste_gleiS ste_glei

                          @glasfaser

                          Hier das Blockly
                          Ich sende die Nachricht an zwei Benutzer. (ähnlich Telegramm da die Göttergattin ja nicht alle Meldunge braucht).

                          Schau zur Sicherheit noch im Web-Adapter nach und deaktiviere den Cache. (war bei mir auch ein Grund weshalb es nicht funktioniert hat.)

                          
                          <xml xmlns="https://developers.google.com/blockly/xml">
                           <variables>
                             <variable id="W7rU$,grIeN%1KO4vB%|">url</variable>
                             <variable id="u^a{RwAvq(*-0PK`(`@4">URL_Snapshot</variable>
                             <variable id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</variable>
                             <variable id="s`TAk}2fZk|p^o$4+d@t">result</variable>
                           </variables>
                           <block type="create" id="V@~u%:1g+=3-0?Brr}RL" x="95" y="-247">
                             <field name="NAME">0_userdata.0.Datenpunkte.chat.befehl</field>
                             <value name="COMMON">
                               <block type="text" id="8E6B#`YIJI=3V(!4hc,d">
                                 <field name="TEXT">{     "name": "befehl",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                               </block>
                             </value>
                             <next>
                               <block type="create" id="%|[RWPZ:8IXh38cvum:1">
                                 <field name="NAME">0_userdata.0.Datenpunkte.chat.chat_bot</field>
                                 <value name="COMMON">
                                   <block type="text" id="-Hr_uhSo{vNY~CV,g{K!">
                                     <field name="TEXT">{     "name": "chat_bot",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="update" id="6)Q/VTvxsl!)X(09sf,b">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">0_userdata.0.Datenpunkte.chat.chat_bot</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="text" id="e7eF!wiY18;b,*_[Qsp_">
                                         <field name="TEXT">http://XXXXXXXXXX:xxxx/webapi/entry.cgi?api=SYNO.Chat.External&amp;method=chatbot&amp;version=2&amp;token=XXXXXXXXXXXXXXX&amp;payload={"text":"</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="create" id="U8qp0y6hlekgt7M9Io:z">
                                         <field name="NAME">0_userdata.0.Datenpunkte.chat.file</field>
                                         <value name="COMMON">
                                           <block type="text" id="YO]%|LSlv%@Gh8vATUWF">
                                             <field name="TEXT">{     "name": "file",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="update" id="L7O#MR-bdm|G~V%tB3WQ">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">0_userdata.0.Datenpunkte.chat.file</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="text" id="]S?6]^DDFqe(KUjTU/IH">
                                                 <field name="TEXT">","file_url":"</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="create" id="#zA-:.{V[S+R*9J}w1%S">
                                                 <field name="NAME">0_userdata.0.Datenpunkte.chat.petra</field>
                                                 <value name="COMMON">
                                                   <block type="text" id="Y+pL;1E8?74;y-e6,eJT">
                                                     <field name="TEXT">{     "name": "petra",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="update" id="lmG%=|.8TGJFS8-@TIEI">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">0_userdata.0.Datenpunkte.chat.petra</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="text" id="`VY;$dA}jgS1relNi_/e">
                                                         <field name="TEXT">","user_ids": [XX]}</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="create" id="#ca.9c[Hr!cvw~X9}Mpa">
                                                         <field name="NAME">0_userdata.0.Datenpunkte.chat.stefan</field>
                                                         <value name="COMMON">
                                                           <block type="text" id="w2i9!M{h[C|HVi4r|+P]">
                                                             <field name="TEXT">{     "name": "stefan",     "desc": "Manuell erzeugt",     "role": "state",     "type": "string",     "read": true,     "write": true,     "def": ""   }</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="update" id="6=#9hCI.LDX.*/Xq18E;">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">0_userdata.0.Datenpunkte.chat.stefan</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="text" id="t,oa2|qF:=@Bh?qIABDJ">
                                                                 <field name="TEXT">","user_ids": [XX]}</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="comment" id="1;xAzoL}:6w~0,J*XCF5">
                                                                 <field name="COMMENT">Synology chat mit Bild</field>
                                                                 <next>
                                                                   <block type="on_ext" id="GLSol3Rrzx|U=4hEkqJ_">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                     <field name="CONDITION">ne</field>
                                                                     <field name="ACK_CONDITION"></field>
                                                                     <value name="OID0">
                                                                       <shadow type="field_oid" id="L@^X3Z`yr$~gDwh90WL|">
                                                                         <field name="oid">0_userdata.0.example_state</field>
                                                                       </shadow>
                                                                     </value>
                                                                     <statement name="STATEMENT">
                                                                       <block type="procedures_callcustomnoreturn" id="(@^+;C-VfwXiG;;,w6vL">
                                                                         <mutation name="Bild_löschen"></mutation>
                                                                         <next>
                                                                           <block type="timeouts_wait" id=";l{TAX0O[5GEg;m+9b!c">
                                                                             <field name="DELAY">100</field>
                                                                             <field name="UNIT">ms</field>
                                                                             <next>
                                                                               <block type="variables_set" id="FIgc[8rrzBr`TtCt_Njh">
                                                                                 <field name="VAR" id="u^a{RwAvq(*-0PK`(`@4">URL_Snapshot</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="get_value" id="=B9PHOU/pLx0?h+%lESx">
                                                                                     <field name="ATTR">val</field>
                                                                                     <field name="OID">alias.0.Kamera.LastEventData.snapshot_url</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <next>
                                                                                   <block type="procedures_callcustomnoreturn" id=")8.m*5:cjB,Z.vwL3m](">
                                                                                     <mutation name="Bild_holen"></mutation>
                                                                                     <next>
                                                                                       <block type="variables_set" id=".DnWEOW0Pg_URM34_`@~">
                                                                                         <field name="VAR" id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</field>
                                                                                         <value name="VALUE">
                                                                                           <block type="text" id="Akz];NA;oukZHmTP8mdv">
                                                                                             <field name="TEXT">http://192.168.178.11:8082/0_userdata.0/1/snapshot.jpg</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <next>
                                                                                           <block type="timeouts_wait" id="wwdO+pyI6o1#d@KPC,`q">
                                                                                             <field name="DELAY">1000</field>
                                                                                             <field name="UNIT">ms</field>
                                                                                             <next>
                                                                                               <block type="control" id="vBx`O8l$vkt]s/LC5Bie">
                                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                 <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                                                 <value name="VALUE">
                                                                                                   <block type="text_join" id="dm+0e6{L(iPtuk8!Nv]+">
                                                                                                     <mutation items="4"></mutation>
                                                                                                     <value name="ADD0">
                                                                                                       <block type="get_value" id="2Yr{e1dnlqQ5]V45Z~)^">
                                                                                                         <field name="ATTR">val</field>
                                                                                                         <field name="OID">0_userdata.0.Datenpunkte.chat.chat_bot</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="ADD1">
                                                                                                       <block type="procedures_callcustomreturn" id="GD%^L~Wq_LIL_y86c}(2">
                                                                                                         <mutation name="encodeURI">
                                                                                                           <arg name="url"></arg>
                                                                                                         </mutation>
                                                                                                         <value name="ARG0">
                                                                                                           <block type="get_value" id="IG0/rfj#`n5DUyGn0/t%">
                                                                                                             <field name="ATTR">val</field>
                                                                                                             <field name="OID">alias.0.Kamera.LastEventData.message</field>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="ADD2">
                                                                                                       <block type="get_value" id="+y?EgAqov#(5NiXe]?MN">
                                                                                                         <field name="ATTR">val</field>
                                                                                                         <field name="OID">0_userdata.0.Datenpunkte.chat.file</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="ADD3">
                                                                                                       <block type="variables_get" id="~D+Wf%8Rgn9uu1}@s9Hz">
                                                                                                         <field name="VAR" id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </value>
                                                                                                 <next>
                                                                                                   <block type="timeouts_wait" id="^I=uga?[C)og*JMdOS,5">
                                                                                                     <field name="DELAY">1000</field>
                                                                                                     <field name="UNIT">ms</field>
                                                                                                     <next>
                                                                                                       <block type="request" id="B%[X%~v2qRFjkxypUY:P">
                                                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                                                         <field name="WITH_STATEMENT">TRUE</field>
                                                                                                         <field name="LOG"></field>
                                                                                                         <value name="URL">
                                                                                                           <shadow type="text">
                                                                                                             <field name="TEXT">text</field>
                                                                                                           </shadow>
                                                                                                           <block type="text_join" id="-|^UFOC`)ZPh_oPnYb,p">
                                                                                                             <mutation items="2"></mutation>
                                                                                                             <value name="ADD0">
                                                                                                               <block type="get_value" id="qcrE$Ebr}jcFLExm6?(|">
                                                                                                                 <field name="ATTR">val</field>
                                                                                                                 <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                             <value name="ADD1">
                                                                                                               <block type="get_value" id="0He~_?/Rfx6ekJUtD?(S">
                                                                                                                 <field name="ATTR">val</field>
                                                                                                                 <field name="OID">0_userdata.0.Datenpunkte.chat.stefan</field>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                         <statement name="STATEMENT">
                                                                                                           <block type="debug" id="u`-Ee!RLS-Rv:bCxiXno">
                                                                                                             <field name="Severity">log</field>
                                                                                                             <value name="TEXT">
                                                                                                               <shadow type="text" id="u$qY~V}Rv4[nuzF=;*Rg">
                                                                                                                 <field name="TEXT">test</field>
                                                                                                               </shadow>
                                                                                                               <block type="text_join" id="76U4^hP)]BXiT##v/;Qu">
                                                                                                                 <mutation items="2"></mutation>
                                                                                                                 <value name="ADD0">
                                                                                                                   <block type="get_value" id="#C[O]Yzk7|mqx:FOAay=">
                                                                                                                     <field name="ATTR">val</field>
                                                                                                                     <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                                 <value name="ADD1">
                                                                                                                   <block type="get_value" id="TO[zVm@e28F0fHpIb)hW">
                                                                                                                     <field name="ATTR">val</field>
                                                                                                                     <field name="OID">0_userdata.0.Datenpunkte.chat.stefan</field>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                             <next>
                                                                                                               <block type="debug" id="-%qac?h-E8oS~{JuoYH9">
                                                                                                                 <field name="Severity">log</field>
                                                                                                                 <value name="TEXT">
                                                                                                                   <shadow type="text">
                                                                                                                     <field name="TEXT">test</field>
                                                                                                                   </shadow>
                                                                                                                   <block type="variables_get" id="~O;0-B7q:{:NU7p`{tz.">
                                                                                                                     <field name="VAR" id="s`TAk}2fZk|p^o$4+d@t">result</field>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                               </block>
                                                                                                             </next>
                                                                                                           </block>
                                                                                                         </statement>
                                                                                                         <next>
                                                                                                           <block type="timeouts_wait" id="4i]Sadf!zQL$%/Z}oq!E">
                                                                                                             <field name="DELAY">3000</field>
                                                                                                             <field name="UNIT">ms</field>
                                                                                                             <next>
                                                                                                               <block type="request" id="+k+P=.KGBi?V6iQRH-iA">
                                                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                                                                 <field name="WITH_STATEMENT">TRUE</field>
                                                                                                                 <field name="LOG"></field>
                                                                                                                 <value name="URL">
                                                                                                                   <shadow type="text" id="m)x.{SQWCkI.L=:DAN[r">
                                                                                                                     <field name="TEXT">text</field>
                                                                                                                   </shadow>
                                                                                                                   <block type="text_join" id="8dgf/ad|.~!{?oTtS*o}">
                                                                                                                     <mutation items="2"></mutation>
                                                                                                                     <value name="ADD0">
                                                                                                                       <block type="get_value" id="Xkux@UtO1by%Cw_$ukq$">
                                                                                                                         <field name="ATTR">val</field>
                                                                                                                         <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                     <value name="ADD1">
                                                                                                                       <block type="get_value" id="dE*^Lj,L-M*YnEnCv.%c">
                                                                                                                         <field name="ATTR">val</field>
                                                                                                                         <field name="OID">0_userdata.0.Datenpunkte.chat.petra</field>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                                 <statement name="STATEMENT">
                                                                                                                   <block type="debug" id="%l+BOE5*Nb0,A_mv}Pi-">
                                                                                                                     <field name="Severity">log</field>
                                                                                                                     <value name="TEXT">
                                                                                                                       <shadow type="text" id="I7CCfzV5rIy6-}4s[uQ.">
                                                                                                                         <field name="TEXT">test</field>
                                                                                                                       </shadow>
                                                                                                                       <block type="text_join" id="#L_T`5E1GQ#8#oBOHJ(S">
                                                                                                                         <mutation items="2"></mutation>
                                                                                                                         <value name="ADD0">
                                                                                                                           <block type="get_value" id="ke@t{qSa%j}q@#G,?O|}">
                                                                                                                             <field name="ATTR">val</field>
                                                                                                                             <field name="OID">0_userdata.0.Datenpunkte.chat.befehl</field>
                                                                                                                           </block>
                                                                                                                         </value>
                                                                                                                         <value name="ADD1">
                                                                                                                           <block type="get_value" id="6z+it!h{_.r?aBX}X0]e">
                                                                                                                             <field name="ATTR">val</field>
                                                                                                                             <field name="OID">0_userdata.0.Datenpunkte.chat.petra</field>
                                                                                                                           </block>
                                                                                                                         </value>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                     <next>
                                                                                                                       <block type="debug" id="cQtI!dDJRde$RnimpSnk">
                                                                                                                         <field name="Severity">log</field>
                                                                                                                         <value name="TEXT">
                                                                                                                           <shadow type="text">
                                                                                                                             <field name="TEXT">test</field>
                                                                                                                           </shadow>
                                                                                                                           <block type="variables_get" id="?Y2j)i/BO~[U{aG@Fs;`">
                                                                                                                             <field name="VAR" id="s`TAk}2fZk|p^o$4+d@t">result</field>
                                                                                                                           </block>
                                                                                                                         </value>
                                                                                                                       </block>
                                                                                                                     </next>
                                                                                                                   </block>
                                                                                                                 </statement>
                                                                                                                 <next>
                                                                                                                   <block type="timeouts_wait" id="wq/F/r4;k/K,ixq@WL;Y">
                                                                                                                     <field name="DELAY">30</field>
                                                                                                                     <field name="UNIT">sec</field>
                                                                                                                     <next>
                                                                                                                       <block type="procedures_callcustomnoreturn" id="qyUa(45n!yuHmuz:Lej{">
                                                                                                                         <mutation name="Bild_löschen"></mutation>
                                                                                                                       </block>
                                                                                                                     </next>
                                                                                                                   </block>
                                                                                                                 </next>
                                                                                                               </block>
                                                                                                             </next>
                                                                                                           </block>
                                                                                                         </next>
                                                                                                       </block>
                                                                                                     </next>
                                                                                                   </block>
                                                                                                 </next>
                                                                                               </block>
                                                                                             </next>
                                                                                           </block>
                                                                                         </next>
                                                                                       </block>
                                                                                     </next>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </statement>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                           <block type="procedures_defcustomnoreturn" id="Fh|~ouZqovH}}ZEi:0P{" x="1012" y="163">
                             <mutation statements="false"></mutation>
                             <field name="NAME">Bild_holen</field>
                             <field name="SCRIPT">DQoNCg0KcmVxdWVzdCgNCg0KICB7DQoNCiAgICB1cmw6IFVSTF9TbmFwc2hvdCAsDQoNCiAgICBlbmNvZGluZzogbnVsbCwNCg0KICB9LA0KDQogIChlcnJvciwgcmVzcG9uc2UsIGJvZHkpID0+IHsNCg0KICAgIGlmICghZXJyb3IgJiYgYm9keSkgew0KDQogICAgICB3cml0ZUZpbGUoIjBfdXNlcmRhdGEuMCIsICIvMS9zbmFwc2hvdC5qcGciLGJvZHkgKTsNCg0KICAgIH0NCg0KICB9DQoNCik7DQo=</field>
                             <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                           </block>
                           <block type="procedures_defcustomreturn" id="B`%(UJ@(5HI^#[)t`k$:" x="1013" y="188">
                             <mutation statements="false">
                               <arg name="url" varid="W7rU$,grIeN%1KO4vB%|"></arg>
                             </mutation>
                             <field name="NAME">encodeURI</field>
                             <field name="SCRIPT">dXJsID0gZW5jb2RlVVJJQ29tcG9uZW50KHVybCk7DQpyZXR1cm4gdXJsOw==</field>
                             <comment pinned="false" h="80" w="160">encode URL function</comment>
                           </block>
                           <block type="procedures_defcustomnoreturn" id="Frub~%,eU2~ya#!niSf0" x="1012" y="213">
                             <mutation statements="false"></mutation>
                             <field name="NAME">Bild_löschen</field>
                             <field name="SCRIPT">DQoNCg0KcmVxdWVzdCgNCg0KICB7DQoNCiAgICB1cmw6IFVSTF9TbmFwc2hvdCAsDQoNCiAgICBlbmNvZGluZzogbnVsbCwNCg0KICB9LA0KDQogIChlcnJvciwgcmVzcG9uc2UsIGJvZHkpID0+IHsNCg0KICAgIGlmICghZXJyb3IgJiYgYm9keSkgew0KDQogICAgICBkZWxGaWxlKCIwX3VzZXJkYXRhLjAiLCAiLzEvc25hcHNob3QuanBnIixib2R5KTsNCg0KICAgIH0NCg0KICB9DQoNCik7DQo=</field>
                             <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                           </block>
                          </xml>
                          
                          GlasfaserG Offline
                          GlasfaserG Offline
                          Glasfaser
                          wrote on last edited by Glasfaser
                          #78

                          @stefan-gleichweit sagte in Synology Chat ...:

                          Schau zur Sicherheit noch im Web-Adapter nach und deaktiviere den Cache. (war bei mir auch ein Grund weshalb es nicht funktioniert hat.)

                          BINGO ... ............ Top Tip 👍

                          Was so ein Haken ausmacht .Danke

                          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                          1 Reply Last reply
                          0
                          • GlasfaserG Glasfaser

                            @dslraser

                            ff13db88-2e34-4c90-8f81-8cb188c9326e-grafik.png

                            dort den Pfad rein von :

                            5eab2363-4553-4f3c-8b30-07011aaffab7-grafik.png

                            und hier deine IP eintragen

                            cdf1c8aa-e19e-4817-887b-f160b355c699-grafik.png

                            das Verzeichniss wird automatisch erstellt , wenn das Bild geholt wird .

                            @dslraser sagte in Synology Chat ...:
                            Aber was ist das für ein Pfad mit
                            http://ip/action/snapshot

                            ist nicht von mir

                            dslraserD Offline
                            dslraserD Offline
                            dslraser
                            Forum Testing Most Active
                            wrote on last edited by
                            #79

                            @glasfaser
                            könntest Du bitte Dein Blockly auch zur Verfügung stellen ? (Nach dieser Anleitung bekomme ich kein Bild geschrieben)

                            das Verzeichniss wird automatisch erstellt , wenn das Bild geholt wird .

                            das passiert bei mir nicht.
                            Im Log habe ich diesen Fehler

                            javascript.0	2021-12-30 21:45:18.851	error	(14875) Request error: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: IP: 192.168.1.249 is not in the cert's list:
                            
                            GlasfaserG 1 Reply Last reply
                            0
                            • dslraserD dslraser

                              @glasfaser
                              könntest Du bitte Dein Blockly auch zur Verfügung stellen ? (Nach dieser Anleitung bekomme ich kein Bild geschrieben)

                              das Verzeichniss wird automatisch erstellt , wenn das Bild geholt wird .

                              das passiert bei mir nicht.
                              Im Log habe ich diesen Fehler

                              javascript.0	2021-12-30 21:45:18.851	error	(14875) Request error: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: IP: 192.168.1.249 is not in the cert's list:
                              
                              GlasfaserG Offline
                              GlasfaserG Offline
                              Glasfaser
                              wrote on last edited by
                              #80

                              @dslraser

                              Ich kann dir das Test Blockscript schicken wo ich noch am Basteln bin funktioniert aber , wenn es reicht !?

                              <xml xmlns="https://developers.google.com/blockly/xml">
                               <variables>
                                 <variable id="0;mm8IOdOmH_wz;%[zPo">Syno_URL</variable>
                                 <variable id=",O#!.RmBLV$D$25E`o7/">Syno_Port</variable>
                                 <variable id="Eg)M29q*/71]Q#lGjYO;">Chat_token</variable>
                                 <variable id="`=hGQ*[0C+pxdf]k]sV]">Nachricht</variable>
                                 <variable id="u^a{RwAvq(*-0PK`(`@4">URL_Snapshot</variable>
                                 <variable id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</variable>
                                 <variable type="timeout" id="timeout">timeout</variable>
                                 <variable id=")2,KTR||]G~d7xyd!QUZ">send</variable>
                                 <variable type="timeout" id="timeout1">timeout1</variable>
                                 <variable id="s`TAk}2fZk|p^o$4+d@t">result</variable>
                               </variables>
                               <block type="procedures_defcustomnoreturn" id=")M6lvmD#MPU2;=lc,6D:" x="713" y="-112">
                                 <mutation statements="false"></mutation>
                                 <field name="NAME">loesche Bild</field>
                                 <field name="SCRIPT">dW5saW5rKCcwX3VzZXJkYXRhLjAnLCAnc3lub2xvZ3kvYmlsZC5qcGcnLChlKT0+ew0KDQogICAgaWYoZSkgbG9nKGUpDQoNCn0pDQoNCg==</field>
                                 <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                               </block>
                               <block type="procedures_defcustomnoreturn" id="Fh|~ouZqovH}}ZEi:0P{" x="713" y="-87">
                                 <mutation statements="false"></mutation>
                                 <field name="NAME">Bild_holen</field>
                                 <field name="SCRIPT">DQoNCg0KcmVxdWVzdCgNCg0KICB7DQoNCiAgICB1cmw6IFVSTF9TbmFwc2hvdCAsDQoNCiAgICBlbmNvZGluZzogbnVsbCwNCg0KICB9LA0KDQogIChlcnJvciwgcmVzcG9uc2UsIGJvZHkpID0+IHsNCg0KICAgIGlmICghZXJyb3IgJiYgYm9keSkgew0KDQogICAgICB3cml0ZUZpbGUoIjBfdXNlcmRhdGEuMCIsICIvc3lub2xvZ3kvYmlsZC5qcGciLCBib2R5KTsNCg0KICAgIH0NCg0KICB9DQoNCik7DQo=</field>
                                 <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                               </block>
                               <block type="on_ext" id="[.;w?/pK-.4zyW!UyYBl" x="-262" y="63">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                 <field name="CONDITION">ne</field>
                                 <field name="ACK_CONDITION"></field>
                                 <value name="OID0">
                                   <shadow type="field_oid" id="3VnM3u.?JEhM[^n/?X0p">
                                     <field name="oid">0_userdata.0.Testbutton</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="variables_set" id="u^*rT,0CM,T_]XeGow}h">
                                     <field name="VAR" id="0;mm8IOdOmH_wz;%[zPo">Syno_URL</field>
                                     <value name="VALUE">
                                       <block type="text" id="K]+z|W)qG[s?viD8cP}Q">
                                         <field name="TEXT">192.168.xxx.x</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="variables_set" id=",|/0@uFO[kJp[pSjyfW~">
                                         <field name="VAR" id=",O#!.RmBLV$D$25E`o7/">Syno_Port</field>
                                         <value name="VALUE">
                                           <block type="text" id="YmIhCu8+dV@OO0U[PWx#">
                                             <field name="TEXT">5000</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="Z}%_nt.Jz``.b})ifYmx">
                                             <field name="VAR" id="Eg)M29q*/71]Q#lGjYO;">Chat_token</field>
                                             <value name="VALUE">
                                               <block type="text" id="[^9?/_`o:[u8zr_:o:`T">
                                                 <field name="TEXT">hier dein Token</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="variables_set" id="m/`Hepc#d!=l=Yu?E{!6">
                                                 <field name="VAR" id="`=hGQ*[0C+pxdf]k]sV]">Nachricht</field>
                                                 <value name="VALUE">
                                                   <block type="text" id="naz0gbDT{!MOKW]c|g8{">
                                                     <field name="TEXT">Es klingelt an der Haustuer</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="variables_set" id="fT*7tvvXRtyOgN,6C,2?">
                                                     <field name="VAR" id="u^a{RwAvq(*-0PK`(`@4">URL_Snapshot</field>
                                                     <value name="VALUE">
                                                       <block type="text" id="N]=+,oldD=_C5-KIA*6[">
                                                         <field name="TEXT">Hier habe ich ein direktlink von meiner Hikvision Snapshot</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="procedures_callcustomnoreturn" id="J8Bxi=.l@zrRJkcGT150">
                                                         <mutation name="Bild_holen"></mutation>
                                                         <next>
                                                           <block type="variables_set" id="Q8SV]H7m2;RCEIl!I32S">
                                                             <field name="VAR" id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</field>
                                                             <value name="VALUE">
                                                               <block type="text" id="Cw;l)b1L4K(P86t9=T}E">
                                                                 <field name="TEXT">http://192.168.xxxxxxx:8082/0_userdata.0/synology/bild.jpg</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="timeouts_cleartimeout" id="1#Qx;^WXsqqn)X|6E2jF">
                                                                 <field name="NAME">timeout</field>
                                                                 <next>
                                                                   <block type="timeouts_cleartimeout" id="]P6ccsD65Q=LsNc=*[+u">
                                                                     <field name="NAME">timeout1</field>
                                                                     <next>
                                                                       <block type="timeouts_settimeout" id=",Vl,JVw3kG.#VrRAqd:b">
                                                                         <field name="NAME">timeout</field>
                                                                         <field name="DELAY">4000</field>
                                                                         <field name="UNIT">ms</field>
                                                                         <statement name="STATEMENT">
                                                                           <block type="variables_set" id="0jj@r*)y_VPw~)q+,3)N">
                                                                             <field name="VAR" id=")2,KTR||]G~d7xyd!QUZ">send</field>
                                                                             <value name="VALUE">
                                                                               <block type="text_join" id="Q^/K[ogSU%663c!lHXyf">
                                                                                 <mutation items="11"></mutation>
                                                                                 <value name="ADD0">
                                                                                   <block type="text" id="Xp!K%fv+S+C7_K~7ka^c">
                                                                                     <field name="TEXT">http://</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD1">
                                                                                   <block type="variables_get" id="U#z.iPhHMr!oaBW_.L}$">
                                                                                     <field name="VAR" id="0;mm8IOdOmH_wz;%[zPo">Syno_URL</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD2">
                                                                                   <block type="text" id="|ITd9=%HnJAhhwgaz3|-">
                                                                                     <field name="TEXT">:</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD3">
                                                                                   <block type="variables_get" id="_E?oZ@h{l{gD!e{A..FQ">
                                                                                     <field name="VAR" id=",O#!.RmBLV$D$25E`o7/">Syno_Port</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD4">
                                                                                   <block type="text" id="_^c23]w8ve_wLo_pG;lU">
                                                                                     <field name="TEXT">/webapi/entry.cgi?api=SYNO.Chat.External&amp;method=incoming&amp;version=2&amp;token="</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD5">
                                                                                   <block type="variables_get" id="p//Pgq^!$p27`+=TYO0t">
                                                                                     <field name="VAR" id="Eg)M29q*/71]Q#lGjYO;">Chat_token</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD6">
                                                                                   <block type="text" id="zG0}^=D_TXDv9Tjx8afb">
                                                                                     <field name="TEXT">"&amp;payload={"text":"</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD7">
                                                                                   <block type="variables_get" id="];FJ@4Io`JJ?oyGqhlTU">
                                                                                     <field name="VAR" id="`=hGQ*[0C+pxdf]k]sV]">Nachricht</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD8">
                                                                                   <block type="text" id="G|.7zo{,tbQ8-Uo83p,)">
                                                                                     <field name="TEXT">", "file_url": "</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD9">
                                                                                   <block type="variables_get" id="v/9SP;]`*blX7Qt=h~Eu">
                                                                                     <field name="VAR" id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD10">
                                                                                   <block type="text" id="z1]{?Af3zI_+#txN*=UR">
                                                                                     <field name="TEXT">"}</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="timeouts_settimeout" id="dUpl:*/S.GOlt6yy5+E?">
                                                                                 <field name="NAME">timeout1</field>
                                                                                 <field name="DELAY">1000</field>
                                                                                 <field name="UNIT">ms</field>
                                                                                 <statement name="STATEMENT">
                                                                                   <block type="request" id="939:VQbG=f:Lt(8,--UH">
                                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                                     <field name="WITH_STATEMENT">TRUE</field>
                                                                                     <field name="LOG"></field>
                                                                                     <value name="URL">
                                                                                       <shadow type="text" id="1o%c{S``+)7HEh-A%)U^">
                                                                                         <field name="TEXT">text</field>
                                                                                       </shadow>
                                                                                       <block type="variables_get" id="vAPQA_YY6uy)ow09^`*K">
                                                                                         <field name="VAR" id=")2,KTR||]G~d7xyd!QUZ">send</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <statement name="STATEMENT">
                                                                                       <block type="debug" id="qZVJ(@5Ef)}jneJ%Q)_N">
                                                                                         <field name="Severity">log</field>
                                                                                         <value name="TEXT">
                                                                                           <shadow type="text" id="S=pA)VcRi34L-{?F`HMz">
                                                                                             <field name="TEXT">test</field>
                                                                                           </shadow>
                                                                                           <block type="variables_get" id="N_1)-!F8nh][M#5EAmb6">
                                                                                             <field name="VAR" id="s`TAk}2fZk|p^o$4+d@t">result</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </statement>
                                                                                     <next>
                                                                                       <block type="debug" id="v:z{{P}3]9(0mcj`VrK7">
                                                                                         <field name="Severity">log</field>
                                                                                         <value name="TEXT">
                                                                                           <shadow type="text">
                                                                                             <field name="TEXT">test</field>
                                                                                           </shadow>
                                                                                           <block type="variables_get" id="/5v?Iwot|ODZ)QhG%957">
                                                                                             <field name="VAR" id=")2,KTR||]G~d7xyd!QUZ">send</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </next>
                                                                                   </block>
                                                                                 </statement>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </statement>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                              </xml>
                              

                              Ich baue es gerade auf die gekürzte Version um .

                              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                              dslraserD 1 Reply Last reply
                              1
                              • GlasfaserG Glasfaser

                                @dslraser

                                Ich kann dir das Test Blockscript schicken wo ich noch am Basteln bin funktioniert aber , wenn es reicht !?

                                <xml xmlns="https://developers.google.com/blockly/xml">
                                 <variables>
                                   <variable id="0;mm8IOdOmH_wz;%[zPo">Syno_URL</variable>
                                   <variable id=",O#!.RmBLV$D$25E`o7/">Syno_Port</variable>
                                   <variable id="Eg)M29q*/71]Q#lGjYO;">Chat_token</variable>
                                   <variable id="`=hGQ*[0C+pxdf]k]sV]">Nachricht</variable>
                                   <variable id="u^a{RwAvq(*-0PK`(`@4">URL_Snapshot</variable>
                                   <variable id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</variable>
                                   <variable type="timeout" id="timeout">timeout</variable>
                                   <variable id=")2,KTR||]G~d7xyd!QUZ">send</variable>
                                   <variable type="timeout" id="timeout1">timeout1</variable>
                                   <variable id="s`TAk}2fZk|p^o$4+d@t">result</variable>
                                 </variables>
                                 <block type="procedures_defcustomnoreturn" id=")M6lvmD#MPU2;=lc,6D:" x="713" y="-112">
                                   <mutation statements="false"></mutation>
                                   <field name="NAME">loesche Bild</field>
                                   <field name="SCRIPT">dW5saW5rKCcwX3VzZXJkYXRhLjAnLCAnc3lub2xvZ3kvYmlsZC5qcGcnLChlKT0+ew0KDQogICAgaWYoZSkgbG9nKGUpDQoNCn0pDQoNCg==</field>
                                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                 </block>
                                 <block type="procedures_defcustomnoreturn" id="Fh|~ouZqovH}}ZEi:0P{" x="713" y="-87">
                                   <mutation statements="false"></mutation>
                                   <field name="NAME">Bild_holen</field>
                                   <field name="SCRIPT">DQoNCg0KcmVxdWVzdCgNCg0KICB7DQoNCiAgICB1cmw6IFVSTF9TbmFwc2hvdCAsDQoNCiAgICBlbmNvZGluZzogbnVsbCwNCg0KICB9LA0KDQogIChlcnJvciwgcmVzcG9uc2UsIGJvZHkpID0+IHsNCg0KICAgIGlmICghZXJyb3IgJiYgYm9keSkgew0KDQogICAgICB3cml0ZUZpbGUoIjBfdXNlcmRhdGEuMCIsICIvc3lub2xvZ3kvYmlsZC5qcGciLCBib2R5KTsNCg0KICAgIH0NCg0KICB9DQoNCik7DQo=</field>
                                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                 </block>
                                 <block type="on_ext" id="[.;w?/pK-.4zyW!UyYBl" x="-262" y="63">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                   <field name="CONDITION">ne</field>
                                   <field name="ACK_CONDITION"></field>
                                   <value name="OID0">
                                     <shadow type="field_oid" id="3VnM3u.?JEhM[^n/?X0p">
                                       <field name="oid">0_userdata.0.Testbutton</field>
                                     </shadow>
                                   </value>
                                   <statement name="STATEMENT">
                                     <block type="variables_set" id="u^*rT,0CM,T_]XeGow}h">
                                       <field name="VAR" id="0;mm8IOdOmH_wz;%[zPo">Syno_URL</field>
                                       <value name="VALUE">
                                         <block type="text" id="K]+z|W)qG[s?viD8cP}Q">
                                           <field name="TEXT">192.168.xxx.x</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id=",|/0@uFO[kJp[pSjyfW~">
                                           <field name="VAR" id=",O#!.RmBLV$D$25E`o7/">Syno_Port</field>
                                           <value name="VALUE">
                                             <block type="text" id="YmIhCu8+dV@OO0U[PWx#">
                                               <field name="TEXT">5000</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="Z}%_nt.Jz``.b})ifYmx">
                                               <field name="VAR" id="Eg)M29q*/71]Q#lGjYO;">Chat_token</field>
                                               <value name="VALUE">
                                                 <block type="text" id="[^9?/_`o:[u8zr_:o:`T">
                                                   <field name="TEXT">hier dein Token</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="variables_set" id="m/`Hepc#d!=l=Yu?E{!6">
                                                   <field name="VAR" id="`=hGQ*[0C+pxdf]k]sV]">Nachricht</field>
                                                   <value name="VALUE">
                                                     <block type="text" id="naz0gbDT{!MOKW]c|g8{">
                                                       <field name="TEXT">Es klingelt an der Haustuer</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="variables_set" id="fT*7tvvXRtyOgN,6C,2?">
                                                       <field name="VAR" id="u^a{RwAvq(*-0PK`(`@4">URL_Snapshot</field>
                                                       <value name="VALUE">
                                                         <block type="text" id="N]=+,oldD=_C5-KIA*6[">
                                                           <field name="TEXT">Hier habe ich ein direktlink von meiner Hikvision Snapshot</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="procedures_callcustomnoreturn" id="J8Bxi=.l@zrRJkcGT150">
                                                           <mutation name="Bild_holen"></mutation>
                                                           <next>
                                                             <block type="variables_set" id="Q8SV]H7m2;RCEIl!I32S">
                                                               <field name="VAR" id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</field>
                                                               <value name="VALUE">
                                                                 <block type="text" id="Cw;l)b1L4K(P86t9=T}E">
                                                                   <field name="TEXT">http://192.168.xxxxxxx:8082/0_userdata.0/synology/bild.jpg</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="timeouts_cleartimeout" id="1#Qx;^WXsqqn)X|6E2jF">
                                                                   <field name="NAME">timeout</field>
                                                                   <next>
                                                                     <block type="timeouts_cleartimeout" id="]P6ccsD65Q=LsNc=*[+u">
                                                                       <field name="NAME">timeout1</field>
                                                                       <next>
                                                                         <block type="timeouts_settimeout" id=",Vl,JVw3kG.#VrRAqd:b">
                                                                           <field name="NAME">timeout</field>
                                                                           <field name="DELAY">4000</field>
                                                                           <field name="UNIT">ms</field>
                                                                           <statement name="STATEMENT">
                                                                             <block type="variables_set" id="0jj@r*)y_VPw~)q+,3)N">
                                                                               <field name="VAR" id=")2,KTR||]G~d7xyd!QUZ">send</field>
                                                                               <value name="VALUE">
                                                                                 <block type="text_join" id="Q^/K[ogSU%663c!lHXyf">
                                                                                   <mutation items="11"></mutation>
                                                                                   <value name="ADD0">
                                                                                     <block type="text" id="Xp!K%fv+S+C7_K~7ka^c">
                                                                                       <field name="TEXT">http://</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD1">
                                                                                     <block type="variables_get" id="U#z.iPhHMr!oaBW_.L}$">
                                                                                       <field name="VAR" id="0;mm8IOdOmH_wz;%[zPo">Syno_URL</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD2">
                                                                                     <block type="text" id="|ITd9=%HnJAhhwgaz3|-">
                                                                                       <field name="TEXT">:</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD3">
                                                                                     <block type="variables_get" id="_E?oZ@h{l{gD!e{A..FQ">
                                                                                       <field name="VAR" id=",O#!.RmBLV$D$25E`o7/">Syno_Port</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD4">
                                                                                     <block type="text" id="_^c23]w8ve_wLo_pG;lU">
                                                                                       <field name="TEXT">/webapi/entry.cgi?api=SYNO.Chat.External&amp;method=incoming&amp;version=2&amp;token="</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD5">
                                                                                     <block type="variables_get" id="p//Pgq^!$p27`+=TYO0t">
                                                                                       <field name="VAR" id="Eg)M29q*/71]Q#lGjYO;">Chat_token</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD6">
                                                                                     <block type="text" id="zG0}^=D_TXDv9Tjx8afb">
                                                                                       <field name="TEXT">"&amp;payload={"text":"</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD7">
                                                                                     <block type="variables_get" id="];FJ@4Io`JJ?oyGqhlTU">
                                                                                       <field name="VAR" id="`=hGQ*[0C+pxdf]k]sV]">Nachricht</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD8">
                                                                                     <block type="text" id="G|.7zo{,tbQ8-Uo83p,)">
                                                                                       <field name="TEXT">", "file_url": "</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD9">
                                                                                     <block type="variables_get" id="v/9SP;]`*blX7Qt=h~Eu">
                                                                                       <field name="VAR" id="yW]q[i/Yfz.,5Z+Vb.a,">URL_ioBroker</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD10">
                                                                                     <block type="text" id="z1]{?Af3zI_+#txN*=UR">
                                                                                       <field name="TEXT">"}</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="timeouts_settimeout" id="dUpl:*/S.GOlt6yy5+E?">
                                                                                   <field name="NAME">timeout1</field>
                                                                                   <field name="DELAY">1000</field>
                                                                                   <field name="UNIT">ms</field>
                                                                                   <statement name="STATEMENT">
                                                                                     <block type="request" id="939:VQbG=f:Lt(8,--UH">
                                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                                       <field name="WITH_STATEMENT">TRUE</field>
                                                                                       <field name="LOG"></field>
                                                                                       <value name="URL">
                                                                                         <shadow type="text" id="1o%c{S``+)7HEh-A%)U^">
                                                                                           <field name="TEXT">text</field>
                                                                                         </shadow>
                                                                                         <block type="variables_get" id="vAPQA_YY6uy)ow09^`*K">
                                                                                           <field name="VAR" id=")2,KTR||]G~d7xyd!QUZ">send</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <statement name="STATEMENT">
                                                                                         <block type="debug" id="qZVJ(@5Ef)}jneJ%Q)_N">
                                                                                           <field name="Severity">log</field>
                                                                                           <value name="TEXT">
                                                                                             <shadow type="text" id="S=pA)VcRi34L-{?F`HMz">
                                                                                               <field name="TEXT">test</field>
                                                                                             </shadow>
                                                                                             <block type="variables_get" id="N_1)-!F8nh][M#5EAmb6">
                                                                                               <field name="VAR" id="s`TAk}2fZk|p^o$4+d@t">result</field>
                                                                                             </block>
                                                                                           </value>
                                                                                         </block>
                                                                                       </statement>
                                                                                       <next>
                                                                                         <block type="debug" id="v:z{{P}3]9(0mcj`VrK7">
                                                                                           <field name="Severity">log</field>
                                                                                           <value name="TEXT">
                                                                                             <shadow type="text">
                                                                                               <field name="TEXT">test</field>
                                                                                             </shadow>
                                                                                             <block type="variables_get" id="/5v?Iwot|ODZ)QhG%957">
                                                                                               <field name="VAR" id=")2,KTR||]G~d7xyd!QUZ">send</field>
                                                                                             </block>
                                                                                           </value>
                                                                                         </block>
                                                                                       </next>
                                                                                     </block>
                                                                                   </statement>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </statement>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                                </xml>
                                

                                Ich baue es gerade auf die gekürzte Version um .

                                dslraserD Offline
                                dslraserD Offline
                                dslraser
                                Forum Testing Most Active
                                wrote on last edited by
                                #81

                                @glasfaser sagte in Synology Chat ...:

                                Ich kann dir das Test Blockscript schicken wo ich noch am Basteln bin funktioniert aber , wenn es reicht !?

                                Hier habe ich ein direktlink von meiner Hikvision Snapshot

                                Das ist wohl das Problem, ich nehme immer den Link vom Synology Adapter, aber damit kommt eine Fehlermeldung.

                                Bildschirmfoto 2021-12-30 um 22.03.57.png

                                GlasfaserG 1 Reply Last reply
                                0
                                • dslraserD dslraser

                                  @glasfaser sagte in Synology Chat ...:

                                  Ich kann dir das Test Blockscript schicken wo ich noch am Basteln bin funktioniert aber , wenn es reicht !?

                                  Hier habe ich ein direktlink von meiner Hikvision Snapshot

                                  Das ist wohl das Problem, ich nehme immer den Link vom Synology Adapter, aber damit kommt eine Fehlermeldung.

                                  Bildschirmfoto 2021-12-30 um 22.03.57.png

                                  GlasfaserG Offline
                                  GlasfaserG Offline
                                  Glasfaser
                                  wrote on last edited by
                                  #82

                                  @dslraser

                                  setze mal ein Debug , was als Wert in URL_Snapshot geschrieben wird .

                                  Ich teste immer mit einem Dummy Link:

                                  Beispiel :
                                  https://upload.wikimedia.org/wikipedia/commons/a/aa/Sun920607.jpg

                                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                  dslraserD GlasfaserG 2 Replies Last reply
                                  0
                                  • GlasfaserG Glasfaser

                                    @dslraser

                                    setze mal ein Debug , was als Wert in URL_Snapshot geschrieben wird .

                                    Ich teste immer mit einem Dummy Link:

                                    Beispiel :
                                    https://upload.wikimedia.org/wikipedia/commons/a/aa/Sun920607.jpg

                                    dslraserD Offline
                                    dslraserD Offline
                                    dslraser
                                    Forum Testing Most Active
                                    wrote on last edited by
                                    #83

                                    @glasfaser sagte in Synology Chat ...:

                                    setze mal ein Debug , was als Wert in URL_Snapshot geschrieben wird .

                                    es wird genau der Link geschrieben der in dem DP steht. Wenn ich diese Link in den Browser eingebe, dann ist sofort das Bild zu sehen. Hast Du den Syno Adapter installiert ?

                                    GlasfaserG 1 Reply Last reply
                                    0
                                    • dslraserD dslraser

                                      @glasfaser sagte in Synology Chat ...:

                                      setze mal ein Debug , was als Wert in URL_Snapshot geschrieben wird .

                                      es wird genau der Link geschrieben der in dem DP steht. Wenn ich diese Link in den Browser eingebe, dann ist sofort das Bild zu sehen. Hast Du den Syno Adapter installiert ?

                                      GlasfaserG Offline
                                      GlasfaserG Offline
                                      Glasfaser
                                      wrote on last edited by
                                      #84

                                      @dslraser sagte in Synology Chat ...:

                                      Hast Du den Syno Adapter installiert ?

                                      Logo ... habe ich den .
                                      Auch mit diesem Link funktioniert es ....

                                      Oder versuche mal .
                                      Kopiere den Link daraus und trage Ihn ein , also nicht per wert holen

                                      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                      dslraserD 1 Reply Last reply
                                      0
                                      • GlasfaserG Glasfaser

                                        @dslraser sagte in Synology Chat ...:

                                        Hast Du den Syno Adapter installiert ?

                                        Logo ... habe ich den .
                                        Auch mit diesem Link funktioniert es ....

                                        Oder versuche mal .
                                        Kopiere den Link daraus und trage Ihn ein , also nicht per wert holen

                                        dslraserD Offline
                                        dslraserD Offline
                                        dslraser
                                        Forum Testing Most Active
                                        wrote on last edited by
                                        #85

                                        @glasfaser sagte in Synology Chat ...:

                                        Kopiere den Link daraus und trage Ihn ein , also nicht per wert holen

                                        schon probiert, gleiche Fehlermeldung

                                        GlasfaserG 1 Reply Last reply
                                        0
                                        • dslraserD dslraser

                                          @glasfaser sagte in Synology Chat ...:

                                          Kopiere den Link daraus und trage Ihn ein , also nicht per wert holen

                                          schon probiert, gleiche Fehlermeldung

                                          GlasfaserG Offline
                                          GlasfaserG Offline
                                          Glasfaser
                                          wrote on last edited by
                                          #86

                                          @dslraser

                                          is not in the cert's list:
                                          

                                          Kenn diese Meldung nicht ... hast du noch mehr im Log dazu stehen

                                          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                          dslraserD 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          621

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe