Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Bilder senden

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.0k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

Bilder senden

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
67 Beiträge 10 Kommentatoren 7.6k Aufrufe 9 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • horphi0815H horphi0815

    @glasfaser Danke für die Info. Ich verstehe aber das Vorgehen nicht ganz.

    Ich habe es auch mit einer JS Funktion probiert, aber das Bild wird nicht ersetzt. Es bleibt das Alte.

    const fs = require("fs");
    
    const path = "/opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg";
    
    try {
      fs.unlinkSync(path);
      console.log("File removed:", path);
    } catch (err) {
      console.error(err);
    }
    
    

    Muss ich den Cache deaktivieren?

    GlasfaserG Offline
    GlasfaserG Offline
    Glasfaser
    schrieb am zuletzt editiert von
    #52

    @horphi0815 sagte in Bilder senden:

    Muss ich den Cache deaktivieren?

    hast du es noch nicht gemacht !?

    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 ..

    horphi0815H 1 Antwort Letzte Antwort
    0
    • GlasfaserG Glasfaser

      @horphi0815 sagte in Bilder senden:

      Muss ich den Cache deaktivieren?

      hast du es noch nicht gemacht !?

      horphi0815H Offline
      horphi0815H Offline
      horphi0815
      schrieb am zuletzt editiert von
      #53

      @glasfaser Ich weiß nicht wo

      GlasfaserG 1 Antwort Letzte Antwort
      0
      • horphi0815H horphi0815

        @glasfaser Ich weiß nicht wo

        GlasfaserG Offline
        GlasfaserG Offline
        Glasfaser
        schrieb am zuletzt editiert von Glasfaser
        #54

        @horphi0815

        aus dem Link :

        @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

        EDIT :

        hier als Screenshot :

        649f9b2f-01c4-4d08-b81a-1bd123e6d144-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 ..

        horphi0815H 1 Antwort Letzte Antwort
        0
        • GlasfaserG Glasfaser

          @horphi0815

          aus dem Link :

          @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

          EDIT :

          hier als Screenshot :

          649f9b2f-01c4-4d08-b81a-1bd123e6d144-grafik.png

          horphi0815H Offline
          horphi0815H Offline
          horphi0815
          schrieb am zuletzt editiert von
          #55

          @glasfaser der ist die ganze Zeit deaktiviert
          3e9662c0-4b1c-4104-9826-1591d0e449df-grafik.png

          GlasfaserG 1 Antwort Letzte Antwort
          0
          • horphi0815H horphi0815

            @glasfaser der ist die ganze Zeit deaktiviert
            3e9662c0-4b1c-4104-9826-1591d0e449df-grafik.png

            GlasfaserG Offline
            GlasfaserG Offline
            Glasfaser
            schrieb am zuletzt editiert von Glasfaser
            #56

            @horphi0815

            Das war ja nur von mir eine Vermute ... weil es bei mir so war ...

            Aber ...

            wir kenne nicht dein ganzes Script , so bringt das nichts !

            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 ..

            horphi0815H 1 Antwort Letzte Antwort
            0
            • GlasfaserG Glasfaser

              @horphi0815

              Das war ja nur von mir eine Vermute ... weil es bei mir so war ...

              Aber ...

              wir kenne nicht dein ganzes Script , so bringt das nichts !

              horphi0815H Offline
              horphi0815H Offline
              horphi0815
              schrieb am zuletzt editiert von horphi0815
              #57

              @glasfaser said in Bilder senden:

              kenne nicht dein ga

              
              <xml xmlns="https://developers.google.com/blockly/xml">
                <block type="procedures_defcustomnoreturn" id="CsW[OaEpx|f^Muc+Tb}^" x="-412" y="-312">
                  <mutation statements="false"></mutation>
                  <field name="NAME">löschen</field>
                  <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCJmcyIpOw0KDQpjb25zdCBwYXRoID0gIi9vcHQvaW9icm9rZXIvaW9icm9rZXItZGF0YS9maWxlcy8wX3VzZXJkYXRhLjAvQmlsZGVyL2FsYXJtLmpwZyI7DQoNCnRyeSB7DQogIGZzLnVubGlua1N5bmMocGF0aCk7DQogIGNvbnNvbGUubG9nKCJGaWxlIHJlbW92ZWQ6IiwgcGF0aCk7DQp9IGNhdGNoIChlcnIpIHsNCiAgY29uc29sZS5lcnJvcihlcnIpOw0KfQ0K</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                </block>
                <block type="procedures_callcustomnoreturn" id="q+V4.sK`N36J2o?+7US+" x="-412" y="-213">
                  <mutation name="löschen"></mutation>
                  <next>
                    <block type="timeouts_wait" id="Ev/eN_VzNXgijl{}1TC6">
                      <field name="DELAY">1000</field>
                      <field name="UNIT">ms</field>
                      <next>
                        <block type="exec" id="_+A8;P$aFMWTT/V+}2MH">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                          <field name="WITH_STATEMENT">FALSE</field>
                          <field name="LOG">log</field>
                          <value name="COMMAND">
                            <shadow type="text" id="-aW!BninHP6+mynL{Y}e">
                              <field name="TEXT">wget -q -O /opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg "http://192.168.1.165:8765/picture/1/current/"</field>
                            </shadow>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </xml>
              
              <xml xmlns="https://developers.google.com/blockly/xml">
                <block type="procedures_defcustomnoreturn" id="CsW[OaEpx|f^Muc+Tb}^" x="-412" y="-312">
                  <mutation statements="false"></mutation>
                  <field name="NAME">löschen</field>
                  <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCJmcyIpOw0KDQpjb25zdCBwYXRoID0gIi9vcHQvaW9icm9rZXIvaW9icm9rZXItZGF0YS9maWxlcy8wX3VzZXJkYXRhLjAvQmlsZGVyL2FsYXJtLmpwZyI7DQoNCnRyeSB7DQogIGZzLnVubGlua1N5bmMocGF0aCk7DQogIGNvbnNvbGUubG9nKCJGaWxlIHJlbW92ZWQ6IiwgcGF0aCk7DQp9IGNhdGNoIChlcnIpIHsNCiAgY29uc29sZS5lcnJvcihlcnIpOw0KfQ0K</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                </block>
                <block type="procedures_callcustomnoreturn" id="q+V4.sK`N36J2o?+7US+" x="-412" y="-213">
                  <mutation name="löschen"></mutation>
                  <next>
                    <block type="timeouts_wait" id="Ev/eN_VzNXgijl{}1TC6">
                      <field name="DELAY">1000</field>
                      <field name="UNIT">ms</field>
                      <next>
                        <block type="exec" id="_+A8;P$aFMWTT/V+}2MH">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                          <field name="WITH_STATEMENT">FALSE</field>
                          <field name="LOG">log</field>
                          <value name="COMMAND">
                            <shadow type="text" id="-aW!BninHP6+mynL{Y}e">
                              <field name="TEXT">wget -q -O /opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg "http://192.168.1.165:8765/picture/1/current/"</field>
                            </shadow>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </xml>
              
              
              GlasfaserG 1 Antwort Letzte Antwort
              0
              • horphi0815H horphi0815

                @glasfaser said in Bilder senden:

                kenne nicht dein ga

                
                <xml xmlns="https://developers.google.com/blockly/xml">
                  <block type="procedures_defcustomnoreturn" id="CsW[OaEpx|f^Muc+Tb}^" x="-412" y="-312">
                    <mutation statements="false"></mutation>
                    <field name="NAME">löschen</field>
                    <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCJmcyIpOw0KDQpjb25zdCBwYXRoID0gIi9vcHQvaW9icm9rZXIvaW9icm9rZXItZGF0YS9maWxlcy8wX3VzZXJkYXRhLjAvQmlsZGVyL2FsYXJtLmpwZyI7DQoNCnRyeSB7DQogIGZzLnVubGlua1N5bmMocGF0aCk7DQogIGNvbnNvbGUubG9nKCJGaWxlIHJlbW92ZWQ6IiwgcGF0aCk7DQp9IGNhdGNoIChlcnIpIHsNCiAgY29uc29sZS5lcnJvcihlcnIpOw0KfQ0K</field>
                    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                  </block>
                  <block type="procedures_callcustomnoreturn" id="q+V4.sK`N36J2o?+7US+" x="-412" y="-213">
                    <mutation name="löschen"></mutation>
                    <next>
                      <block type="timeouts_wait" id="Ev/eN_VzNXgijl{}1TC6">
                        <field name="DELAY">1000</field>
                        <field name="UNIT">ms</field>
                        <next>
                          <block type="exec" id="_+A8;P$aFMWTT/V+}2MH">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                            <field name="WITH_STATEMENT">FALSE</field>
                            <field name="LOG">log</field>
                            <value name="COMMAND">
                              <shadow type="text" id="-aW!BninHP6+mynL{Y}e">
                                <field name="TEXT">wget -q -O /opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg "http://192.168.1.165:8765/picture/1/current/"</field>
                              </shadow>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </xml>
                
                <xml xmlns="https://developers.google.com/blockly/xml">
                  <block type="procedures_defcustomnoreturn" id="CsW[OaEpx|f^Muc+Tb}^" x="-412" y="-312">
                    <mutation statements="false"></mutation>
                    <field name="NAME">löschen</field>
                    <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCJmcyIpOw0KDQpjb25zdCBwYXRoID0gIi9vcHQvaW9icm9rZXIvaW9icm9rZXItZGF0YS9maWxlcy8wX3VzZXJkYXRhLjAvQmlsZGVyL2FsYXJtLmpwZyI7DQoNCnRyeSB7DQogIGZzLnVubGlua1N5bmMocGF0aCk7DQogIGNvbnNvbGUubG9nKCJGaWxlIHJlbW92ZWQ6IiwgcGF0aCk7DQp9IGNhdGNoIChlcnIpIHsNCiAgY29uc29sZS5lcnJvcihlcnIpOw0KfQ0K</field>
                    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                  </block>
                  <block type="procedures_callcustomnoreturn" id="q+V4.sK`N36J2o?+7US+" x="-412" y="-213">
                    <mutation name="löschen"></mutation>
                    <next>
                      <block type="timeouts_wait" id="Ev/eN_VzNXgijl{}1TC6">
                        <field name="DELAY">1000</field>
                        <field name="UNIT">ms</field>
                        <next>
                          <block type="exec" id="_+A8;P$aFMWTT/V+}2MH">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                            <field name="WITH_STATEMENT">FALSE</field>
                            <field name="LOG">log</field>
                            <value name="COMMAND">
                              <shadow type="text" id="-aW!BninHP6+mynL{Y}e">
                                <field name="TEXT">wget -q -O /opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg "http://192.168.1.165:8765/picture/1/current/"</field>
                              </shadow>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </xml>
                
                
                GlasfaserG Offline
                GlasfaserG Offline
                Glasfaser
                schrieb am zuletzt editiert von
                #58

                @horphi0815

                und auf welchen System hast du ioBroker installiert !?

                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 ..

                horphi0815H 1 Antwort Letzte Antwort
                0
                • GlasfaserG Glasfaser

                  @horphi0815

                  und auf welchen System hast du ioBroker installiert !?

                  horphi0815H Offline
                  horphi0815H Offline
                  horphi0815
                  schrieb am zuletzt editiert von horphi0815
                  #59

                  @glasfaser Unraid - DOCKER
                  https://hub.docker.com/r/buanet/iobroker/

                  horphi0815H 1 Antwort Letzte Antwort
                  0
                  • horphi0815H horphi0815

                    @glasfaser Unraid - DOCKER
                    https://hub.docker.com/r/buanet/iobroker/

                    horphi0815H Offline
                    horphi0815H Offline
                    horphi0815
                    schrieb am zuletzt editiert von horphi0815
                    #60

                    Wenn ich 1 -2 Minuten warte aktualisieren sich die Bilder. Ich verstehe nur nicht, warum es nicht im Sekundentakt möglich ist....

                    horphi0815H DJMarc75D HomoranH 3 Antworten Letzte Antwort
                    0
                    • horphi0815H horphi0815

                      Wenn ich 1 -2 Minuten warte aktualisieren sich die Bilder. Ich verstehe nur nicht, warum es nicht im Sekundentakt möglich ist....

                      horphi0815H Offline
                      horphi0815H Offline
                      horphi0815
                      schrieb am zuletzt editiert von
                      #61

                      Damit scheint es jetzt zu funktionieren

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <block type="procedures_defcustomnoreturn" id="CsW[OaEpx|f^Muc+Tb}^" x="37" y="-63">
                          <mutation statements="false"></mutation>
                          <field name="NAME">löschen</field>
                          <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCJmcyIpOw0KDQpjb25zdCBwYXRoID0gIi9vcHQvaW9icm9rZXIvaW9icm9rZXItZGF0YS9maWxlcy8wX3VzZXJkYXRhLjAvQmlsZGVyL2FsYXJtLmpwZyI7DQoNCnRyeSB7DQogIGZzLnVubGlua1N5bmMocGF0aCk7DQogIGNvbnNvbGUubG9nKCJGaWxlIHJlbW92ZWQ6IiwgcGF0aCk7DQp9IGNhdGNoIChlcnIpIHsNCiAgY29uc29sZS5lcnJvcihlcnIpOw0KfQ0K</field>
                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                        </block>
                        <block type="on_ext" id="sXv9TD]NOIP%0/%K7Q1V" x="37" y="13">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                          <field name="CONDITION">true</field>
                          <field name="ACK_CONDITION"></field>
                          <value name="OID0">
                            <shadow type="field_oid" id="~v$44)OGdr=L?g)F@oaI">
                              <field name="oid">javascript.0.SimpleAPI-Datenpunkte.camera1</field>
                            </shadow>
                          </value>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="Jm_PsT_{BCVRq3k=HS5@">
                              <value name="IF0">
                                <block type="get_value" id="SZ_yZLgrm]MFAe|iD;t|">
                                  <field name="ATTR">val</field>
                                  <field name="OID">javascript.0.SimpleAPI-Datenpunkte.camera1</field>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="debug" id="r7)9r4oOULI}ZsEzvhvH">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="/Tg]%8Y}d8](-9Xd-Iyy">
                                      <field name="TEXT">Kamera hat Bewegung erkannt</field>
                                    </shadow>
                                  </value>
                                  <next>
                                    <block type="procedures_callcustomnoreturn" id="UcaCk?!3rnc0;:Y+$GVc">
                                      <mutation name="löschen"></mutation>
                                      <next>
                                        <block type="timeouts_wait" id="/$tL.su~B,kvm39MIAUc">
                                          <field name="DELAY">1000</field>
                                          <field name="UNIT">ms</field>
                                          <next>
                                            <block type="exec" id="kT!j2V%7n~igMD_6^AEw">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                              <field name="WITH_STATEMENT">FALSE</field>
                                              <field name="LOG">log</field>
                                              <value name="COMMAND">
                                                <shadow type="text" id="jD}_;=z~%7t1wFiv-/y]">
                                                  <field name="TEXT">wget -q -O /opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg "http://192.168.1.165:8765/picture/1/current/"</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="telegram" id="?Mv$,S]n|odKTwHfacI}">
                                                  <field name="INSTANCE">.1</field>
                                                  <field name="LOG">log</field>
                                                  <field name="SILENT">FALSE</field>
                                                  <field name="PARSEMODE">default</field>
                                                  <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                  <value name="MESSAGE">
                                                    <shadow type="text" id="Eg)++5J/twLB=Hzo!8Ze">
                                                      <field name="TEXT">/opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg</field>
                                                    </shadow>
                                                  </value>
                                                  <next>
                                                    <block type="telegram" id="J]F9Ni*dJuqXrmTZUcJ;">
                                                      <field name="INSTANCE">.1</field>
                                                      <field name="LOG">log</field>
                                                      <field name="SILENT">TRUE</field>
                                                      <field name="PARSEMODE">default</field>
                                                      <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                      <value name="MESSAGE">
                                                        <shadow type="text" id="}-5cQ`.i%z0VeX@3s~m6">
                                                          <field name="TEXT">Kamera hat Bewegung erkannt</field>
                                                        </shadow>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="J0!Vk74ofU?{E_{{yBw)">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                          <field name="OID">javascript.0.SimpleAPI-Datenpunkte.camera1</field>
                                                          <field name="WITH_DELAY">TRUE</field>
                                                          <field name="DELAY_MS">2</field>
                                                          <field name="UNIT">sec</field>
                                                          <field name="CLEAR_RUNNING">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="mJ!wFN0{Ed0I-n{PkEk4">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                      </xml>
                      
                      GlasfaserG 2 Antworten Letzte Antwort
                      0
                      • horphi0815H horphi0815

                        Damit scheint es jetzt zu funktionieren

                        <xml xmlns="https://developers.google.com/blockly/xml">
                          <block type="procedures_defcustomnoreturn" id="CsW[OaEpx|f^Muc+Tb}^" x="37" y="-63">
                            <mutation statements="false"></mutation>
                            <field name="NAME">löschen</field>
                            <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCJmcyIpOw0KDQpjb25zdCBwYXRoID0gIi9vcHQvaW9icm9rZXIvaW9icm9rZXItZGF0YS9maWxlcy8wX3VzZXJkYXRhLjAvQmlsZGVyL2FsYXJtLmpwZyI7DQoNCnRyeSB7DQogIGZzLnVubGlua1N5bmMocGF0aCk7DQogIGNvbnNvbGUubG9nKCJGaWxlIHJlbW92ZWQ6IiwgcGF0aCk7DQp9IGNhdGNoIChlcnIpIHsNCiAgY29uc29sZS5lcnJvcihlcnIpOw0KfQ0K</field>
                            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                          </block>
                          <block type="on_ext" id="sXv9TD]NOIP%0/%K7Q1V" x="37" y="13">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                            <field name="CONDITION">true</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                              <shadow type="field_oid" id="~v$44)OGdr=L?g)F@oaI">
                                <field name="oid">javascript.0.SimpleAPI-Datenpunkte.camera1</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="Jm_PsT_{BCVRq3k=HS5@">
                                <value name="IF0">
                                  <block type="get_value" id="SZ_yZLgrm]MFAe|iD;t|">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.SimpleAPI-Datenpunkte.camera1</field>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="debug" id="r7)9r4oOULI}ZsEzvhvH">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="/Tg]%8Y}d8](-9Xd-Iyy">
                                        <field name="TEXT">Kamera hat Bewegung erkannt</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="procedures_callcustomnoreturn" id="UcaCk?!3rnc0;:Y+$GVc">
                                        <mutation name="löschen"></mutation>
                                        <next>
                                          <block type="timeouts_wait" id="/$tL.su~B,kvm39MIAUc">
                                            <field name="DELAY">1000</field>
                                            <field name="UNIT">ms</field>
                                            <next>
                                              <block type="exec" id="kT!j2V%7n~igMD_6^AEw">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                <field name="WITH_STATEMENT">FALSE</field>
                                                <field name="LOG">log</field>
                                                <value name="COMMAND">
                                                  <shadow type="text" id="jD}_;=z~%7t1wFiv-/y]">
                                                    <field name="TEXT">wget -q -O /opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg "http://192.168.1.165:8765/picture/1/current/"</field>
                                                  </shadow>
                                                </value>
                                                <next>
                                                  <block type="telegram" id="?Mv$,S]n|odKTwHfacI}">
                                                    <field name="INSTANCE">.1</field>
                                                    <field name="LOG">log</field>
                                                    <field name="SILENT">FALSE</field>
                                                    <field name="PARSEMODE">default</field>
                                                    <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                    <value name="MESSAGE">
                                                      <shadow type="text" id="Eg)++5J/twLB=Hzo!8Ze">
                                                        <field name="TEXT">/opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg</field>
                                                      </shadow>
                                                    </value>
                                                    <next>
                                                      <block type="telegram" id="J]F9Ni*dJuqXrmTZUcJ;">
                                                        <field name="INSTANCE">.1</field>
                                                        <field name="LOG">log</field>
                                                        <field name="SILENT">TRUE</field>
                                                        <field name="PARSEMODE">default</field>
                                                        <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                        <value name="MESSAGE">
                                                          <shadow type="text" id="}-5cQ`.i%z0VeX@3s~m6">
                                                            <field name="TEXT">Kamera hat Bewegung erkannt</field>
                                                          </shadow>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="J0!Vk74ofU?{E_{{yBw)">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                            <field name="OID">javascript.0.SimpleAPI-Datenpunkte.camera1</field>
                                                            <field name="WITH_DELAY">TRUE</field>
                                                            <field name="DELAY_MS">2</field>
                                                            <field name="UNIT">sec</field>
                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="mJ!wFN0{Ed0I-n{PkEk4">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </xml>
                        
                        GlasfaserG Offline
                        GlasfaserG Offline
                        Glasfaser
                        schrieb am zuletzt editiert von
                        #62

                        @horphi0815 sagte in Bilder senden:

                        <xml xmlns="https://developers.google.com/blockly/xml">

                        Du holst das Bild .... und zum gleichen Zeitpunkt versendet du es mit Telegram .
                        Mache da noch ein Timout rein .

                        baf6636d-fb9f-44bd-b067-1844e31cf0f2-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 ..

                        1 Antwort Letzte Antwort
                        1
                        • horphi0815H horphi0815

                          Wenn ich 1 -2 Minuten warte aktualisieren sich die Bilder. Ich verstehe nur nicht, warum es nicht im Sekundentakt möglich ist....

                          DJMarc75D Offline
                          DJMarc75D Offline
                          DJMarc75
                          schrieb am zuletzt editiert von
                          #63

                          @horphi0815 said in Bilder senden:

                          warum es nicht im Sekundentakt möglich ist....

                          Hollywood ? :joy:
                          Spässle aber Trigger wäre halt "wenn-dann" und kein Livestream.... da wäre der Broker und so weiter etwas angekratzt.

                          Lehrling seit 1975 !!!
                          Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                          https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                          1 Antwort Letzte Antwort
                          0
                          • horphi0815H horphi0815

                            Damit scheint es jetzt zu funktionieren

                            <xml xmlns="https://developers.google.com/blockly/xml">
                              <block type="procedures_defcustomnoreturn" id="CsW[OaEpx|f^Muc+Tb}^" x="37" y="-63">
                                <mutation statements="false"></mutation>
                                <field name="NAME">löschen</field>
                                <field name="SCRIPT">Y29uc3QgZnMgPSByZXF1aXJlKCJmcyIpOw0KDQpjb25zdCBwYXRoID0gIi9vcHQvaW9icm9rZXIvaW9icm9rZXItZGF0YS9maWxlcy8wX3VzZXJkYXRhLjAvQmlsZGVyL2FsYXJtLmpwZyI7DQoNCnRyeSB7DQogIGZzLnVubGlua1N5bmMocGF0aCk7DQogIGNvbnNvbGUubG9nKCJGaWxlIHJlbW92ZWQ6IiwgcGF0aCk7DQp9IGNhdGNoIChlcnIpIHsNCiAgY29uc29sZS5lcnJvcihlcnIpOw0KfQ0K</field>
                                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                              </block>
                              <block type="on_ext" id="sXv9TD]NOIP%0/%K7Q1V" x="37" y="13">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                <field name="CONDITION">true</field>
                                <field name="ACK_CONDITION"></field>
                                <value name="OID0">
                                  <shadow type="field_oid" id="~v$44)OGdr=L?g)F@oaI">
                                    <field name="oid">javascript.0.SimpleAPI-Datenpunkte.camera1</field>
                                  </shadow>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="controls_if" id="Jm_PsT_{BCVRq3k=HS5@">
                                    <value name="IF0">
                                      <block type="get_value" id="SZ_yZLgrm]MFAe|iD;t|">
                                        <field name="ATTR">val</field>
                                        <field name="OID">javascript.0.SimpleAPI-Datenpunkte.camera1</field>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="debug" id="r7)9r4oOULI}ZsEzvhvH">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="/Tg]%8Y}d8](-9Xd-Iyy">
                                            <field name="TEXT">Kamera hat Bewegung erkannt</field>
                                          </shadow>
                                        </value>
                                        <next>
                                          <block type="procedures_callcustomnoreturn" id="UcaCk?!3rnc0;:Y+$GVc">
                                            <mutation name="löschen"></mutation>
                                            <next>
                                              <block type="timeouts_wait" id="/$tL.su~B,kvm39MIAUc">
                                                <field name="DELAY">1000</field>
                                                <field name="UNIT">ms</field>
                                                <next>
                                                  <block type="exec" id="kT!j2V%7n~igMD_6^AEw">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                    <field name="WITH_STATEMENT">FALSE</field>
                                                    <field name="LOG">log</field>
                                                    <value name="COMMAND">
                                                      <shadow type="text" id="jD}_;=z~%7t1wFiv-/y]">
                                                        <field name="TEXT">wget -q -O /opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg "http://192.168.1.165:8765/picture/1/current/"</field>
                                                      </shadow>
                                                    </value>
                                                    <next>
                                                      <block type="telegram" id="?Mv$,S]n|odKTwHfacI}">
                                                        <field name="INSTANCE">.1</field>
                                                        <field name="LOG">log</field>
                                                        <field name="SILENT">FALSE</field>
                                                        <field name="PARSEMODE">default</field>
                                                        <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                        <value name="MESSAGE">
                                                          <shadow type="text" id="Eg)++5J/twLB=Hzo!8Ze">
                                                            <field name="TEXT">/opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg</field>
                                                          </shadow>
                                                        </value>
                                                        <next>
                                                          <block type="telegram" id="J]F9Ni*dJuqXrmTZUcJ;">
                                                            <field name="INSTANCE">.1</field>
                                                            <field name="LOG">log</field>
                                                            <field name="SILENT">TRUE</field>
                                                            <field name="PARSEMODE">default</field>
                                                            <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                            <value name="MESSAGE">
                                                              <shadow type="text" id="}-5cQ`.i%z0VeX@3s~m6">
                                                                <field name="TEXT">Kamera hat Bewegung erkannt</field>
                                                              </shadow>
                                                            </value>
                                                            <next>
                                                              <block type="control" id="J0!Vk74ofU?{E_{{yBw)">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                <field name="OID">javascript.0.SimpleAPI-Datenpunkte.camera1</field>
                                                                <field name="WITH_DELAY">TRUE</field>
                                                                <field name="DELAY_MS">2</field>
                                                                <field name="UNIT">sec</field>
                                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="logic_boolean" id="mJ!wFN0{Ed0I-n{PkEk4">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </xml>
                            
                            GlasfaserG Offline
                            GlasfaserG Offline
                            Glasfaser
                            schrieb am zuletzt editiert von
                            #64

                            @horphi0815

                            Und nimm den sendTo Baustein , für beides ....

                            <block xmlns="https://developers.google.com/blockly/xml" type="sendto_custom" id="K[Jr#M8$~Pt:!xW:LUG%" x="-37" y="413">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="text,caption" with_statement="false"></mutation>
                              <field name="INSTANCE">telegram.1</field>
                              <field name="COMMAND">send</field>
                              <field name="LOG"></field>
                              <field name="WITH_STATEMENT">FALSE</field>
                              <value name="ARG0">
                                <shadow type="text" id="80BtN0;F[b1qHS6aT;Fd">
                                  <field name="TEXT">/opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg</field>
                                </shadow>
                              </value>
                              <value name="ARG1">
                                <shadow type="text" id="Mu61PhW^+sT*zo)SgEsw">
                                  <field name="TEXT">Kamera hat Bewegung erkannt</field>
                                </shadow>
                              </value>
                            </block>
                            

                            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 ..

                            horphi0815H 1 Antwort Letzte Antwort
                            0
                            • GlasfaserG Glasfaser

                              @horphi0815

                              Und nimm den sendTo Baustein , für beides ....

                              <block xmlns="https://developers.google.com/blockly/xml" type="sendto_custom" id="K[Jr#M8$~Pt:!xW:LUG%" x="-37" y="413">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="text,caption" with_statement="false"></mutation>
                                <field name="INSTANCE">telegram.1</field>
                                <field name="COMMAND">send</field>
                                <field name="LOG"></field>
                                <field name="WITH_STATEMENT">FALSE</field>
                                <value name="ARG0">
                                  <shadow type="text" id="80BtN0;F[b1qHS6aT;Fd">
                                    <field name="TEXT">/opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg</field>
                                  </shadow>
                                </value>
                                <value name="ARG1">
                                  <shadow type="text" id="Mu61PhW^+sT*zo)SgEsw">
                                    <field name="TEXT">Kamera hat Bewegung erkannt</field>
                                  </shadow>
                                </value>
                              </block>
                              

                              horphi0815H Offline
                              horphi0815H Offline
                              horphi0815
                              schrieb am zuletzt editiert von
                              #65

                              @glasfaser said in Bilder senden:

                              <block xmlns="https://developers.google.com/blockly/xml" type="sendto_custom" id="K[Jr#M8$~Pt:!xW:LUG%" x="-37" y="413">

                              Cool, vielen DANK. :-)

                              1 Antwort Letzte Antwort
                              0
                              • horphi0815H horphi0815

                                Wenn ich 1 -2 Minuten warte aktualisieren sich die Bilder. Ich verstehe nur nicht, warum es nicht im Sekundentakt möglich ist....

                                HomoranH Nicht stören
                                HomoranH Nicht stören
                                Homoran
                                Global Moderator Administrators
                                schrieb am zuletzt editiert von
                                #66

                                @horphi0815 sagte in Bilder senden:

                                warum es nicht im Sekundentakt möglich ist....

                                der Speichervorgang dauert ja auch seine Zeit.

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                1 Antwort Letzte Antwort
                                0
                                • horphi0815H horphi0815

                                  @glasfaser Danke für die Info. Ich verstehe aber das Vorgehen nicht ganz.

                                  Ich habe es auch mit einer JS Funktion probiert, aber das Bild wird nicht ersetzt. Es bleibt das Alte.

                                  const fs = require("fs");
                                  
                                  const path = "/opt/iobroker/iobroker-data/files/0_userdata.0/Bilder/alarm.jpg";
                                  
                                  try {
                                    fs.unlinkSync(path);
                                    console.log("File removed:", path);
                                  } catch (err) {
                                    console.error(err);
                                  }
                                  
                                  

                                  Muss ich den Cache deaktivieren?

                                  apollon77A Offline
                                  apollon77A Offline
                                  apollon77
                                  schrieb am zuletzt editiert von
                                  #67

                                  @horphi0815 Bitte unbedingt https://forum.iobroker.net/post/820844 beachten ... NICHT im iobroker storage direk rumpfuschen. Weder delete noch ändern. IMMER die iobroker Kommandos an der CLI oder im JavaScript Adapter dafür nutzen!

                                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                  1 Antwort Letzte Antwort
                                  0
                                  Antworten
                                  • In einem neuen Thema antworten
                                  Anmelden zum Antworten
                                  • Älteste zuerst
                                  • Neuste zuerst
                                  • Meiste Stimmen


                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate
                                  FAQ Cloud / IOT
                                  HowTo: Node.js-Update
                                  HowTo: Backup/Restore
                                  Downloads
                                  BLOG

                                  608

                                  Online

                                  32.5k

                                  Benutzer

                                  81.6k

                                  Themen

                                  1.3m

                                  Beiträge
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                  ioBroker Community 2014-2025
                                  logo
                                  • Anmelden

                                  • Du hast noch kein Konto? Registrieren

                                  • Anmelden oder registrieren, um zu suchen
                                  • Erster Beitrag
                                    Letzter Beitrag
                                  0
                                  • Home
                                  • Aktuell
                                  • Tags
                                  • Ungelesen 0
                                  • Kategorien
                                  • Unreplied
                                  • Beliebt
                                  • GitHub
                                  • Docu
                                  • Hilfe