Skip to content
  • Home
  • 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
ioBroker Logo

Community Forum

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

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.0k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Bilder senden

Scheduled Pinned Locked Moved ioBroker Allgemein
67 Posts 10 Posters 8.2k Views 9 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.
  • horphi0815H horphi0815

    @thomas-braun bin mit dem Admin User eingeloggt.
    Der darf das auch nicht?

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by Thomas Braun
    #48

    @horphi0815 sagte in Bilder senden:

    bin mit dem Admin User eingeloggt.

    Was für ein Admin User?
    Und was genau soll von wo nach wo kopiert werden?
    Und wozu sollen die " dienen?

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    1 Reply Last reply
    0
    • horphi0815H horphi0815

      Hallo,
      ich habe dazu auch mal eine Frage.

      Ich möchte die Bilder speichern und dann verschicken.
      Das klappt auch soweit.

      Mein Problem:

      • das gespeicherte Bild wid nicht überschrieben und ist dann immer das Selbe, dabei soll es bei jedem Alarm aktualisiert werden.
      sudo rm -f "/opt/iobroker/iobroker-data/files/0_userdata.0/pics/alarm.jpg" ;  
      wget --output-document "/opt/iobroker/iobroker-data/files/0_userdata.0/pics/alarm.jpg" "http://192.168.1.165:8765/picture/1/current/" 
      

      Was mache ich denn da falsch?

      Das Bild wird einfach nicht erneuert, obwohl es gelöscht wird und auch neu angelegt, aber wenn ich es öffne, ist es das selbe Bild mit dem gleichen Zeitstempel. Nur wenn ich es manuell über den Explorer lösche wird es aktualisiert.....strange...

      David G.D Online
      David G.D Online
      David G.
      wrote on last edited by
      #49

      @horphi0815

      Quick and dirty könnte man das Bild ja einfach löschen bevor man das neue anlegt ^^.

      Zeigt eure Lovelace-Visualisierung klick
      (Auch ideal um sich Anregungen zu holen)

      Meine Tabellen für eure Visualisierung klick

      1 Reply Last reply
      0
      • horphi0815H horphi0815

        Hallo,
        ich habe dazu auch mal eine Frage.

        Ich möchte die Bilder speichern und dann verschicken.
        Das klappt auch soweit.

        Mein Problem:

        • das gespeicherte Bild wid nicht überschrieben und ist dann immer das Selbe, dabei soll es bei jedem Alarm aktualisiert werden.
        sudo rm -f "/opt/iobroker/iobroker-data/files/0_userdata.0/pics/alarm.jpg" ;  
        wget --output-document "/opt/iobroker/iobroker-data/files/0_userdata.0/pics/alarm.jpg" "http://192.168.1.165:8765/picture/1/current/" 
        

        Was mache ich denn da falsch?

        Das Bild wird einfach nicht erneuert, obwohl es gelöscht wird und auch neu angelegt, aber wenn ich es öffne, ist es das selbe Bild mit dem gleichen Zeitstempel. Nur wenn ich es manuell über den Explorer lösche wird es aktualisiert.....strange...

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

        @horphi0815 sagte in Bilder senden:

        Das Bild wird einfach nicht erneuert, obwohl es gelöscht wird und auch neu angelegt, aber wenn ich es öffne, ist es das selbe Bild mit

        Hatte das gleich Problem , siehe die Lösung dazu :

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

        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 Reply Last reply
        0
        • GlasfaserG Glasfaser

          @horphi0815 sagte in Bilder senden:

          Das Bild wird einfach nicht erneuert, obwohl es gelöscht wird und auch neu angelegt, aber wenn ich es öffne, ist es das selbe Bild mit

          Hatte das gleich Problem , siehe die Lösung dazu :

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

          horphi0815H Offline
          horphi0815H Offline
          horphi0815
          wrote on last edited by
          #51

          @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 apollon77A 2 Replies Last reply
          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?

            GlasfaserG Offline
            GlasfaserG Offline
            Glasfaser
            wrote on last edited by
            #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 Reply Last reply
            0
            • GlasfaserG Glasfaser

              @horphi0815 sagte in Bilder senden:

              Muss ich den Cache deaktivieren?

              hast du es noch nicht gemacht !?

              horphi0815H Offline
              horphi0815H Offline
              horphi0815
              wrote on last edited by
              #53

              @glasfaser Ich weiß nicht wo

              GlasfaserG 1 Reply Last reply
              0
              • horphi0815H horphi0815

                @glasfaser Ich weiß nicht wo

                GlasfaserG Offline
                GlasfaserG Offline
                Glasfaser
                wrote on last edited by 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 Reply Last reply
                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
                  wrote on last edited by
                  #55

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

                  GlasfaserG 1 Reply Last reply
                  0
                  • horphi0815H horphi0815

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

                    GlasfaserG Offline
                    GlasfaserG Offline
                    Glasfaser
                    wrote on last edited by 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 Reply Last reply
                    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
                      wrote on last edited by 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 Reply Last reply
                      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
                        wrote on last edited by
                        #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 Reply Last reply
                        0
                        • GlasfaserG Glasfaser

                          @horphi0815

                          und auf welchen System hast du ioBroker installiert !?

                          horphi0815H Offline
                          horphi0815H Offline
                          horphi0815
                          wrote on last edited by horphi0815
                          #59

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

                          horphi0815H 1 Reply Last reply
                          0
                          • horphi0815H horphi0815

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

                            horphi0815H Offline
                            horphi0815H Offline
                            horphi0815
                            wrote on last edited by 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 Replies Last reply
                            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
                              wrote on last edited by
                              #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 Replies Last reply
                              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
                                wrote on last edited by
                                #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 Reply Last reply
                                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
                                  wrote on last edited by
                                  #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 Reply Last reply
                                  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
                                    wrote on last edited by
                                    #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 Reply Last reply
                                    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
                                      wrote on last edited by
                                      #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 Reply Last reply
                                      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 Do not disturb
                                        HomoranH Do not disturb
                                        Homoran
                                        Global Moderator Administrators
                                        wrote on last edited by
                                        #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 Reply Last reply
                                        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
                                          wrote on last edited by
                                          #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 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
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          542

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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