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. Skripten / Logik
  4. JavaScript
  5. Telegram Bild direkt schicken, ohne Zwischenspeichern

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    6
    1
    249

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    9
    1
    240

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    899

Telegram Bild direkt schicken, ohne Zwischenspeichern

Scheduled Pinned Locked Moved JavaScript
javascript
29 Posts 3 Posters 4.2k Views 3 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.
  • N Nahasapee

    @coyote hast du den code oben versucht von mir? ich kann das bild ohne zwischenspeichern verschicken!

    coyoteC Offline
    coyoteC Offline
    coyote
    Most Active
    wrote on last edited by
    #21

    @Nahasapee geht leider auch nicht.

    telegram.0	2020-12-08 05:56:03.874	error	(20198) Cannot send photo [chatId - 182393659]: Error: ETELEGRAM: 400 Bad Request: wrong file identifier/HTTP URL specified
    
    N 1 Reply Last reply
    0
    • coyoteC coyote

      @Nahasapee geht leider auch nicht.

      telegram.0	2020-12-08 05:56:03.874	error	(20198) Cannot send photo [chatId - 182393659]: Error: ETELEGRAM: 400 Bad Request: wrong file identifier/HTTP URL specified
      
      N Offline
      N Offline
      Nahasapee
      wrote on last edited by
      #22

      @coyote zeig Mal dein code

      coyoteC 1 Reply Last reply
      0
      • N Nahasapee

        @coyote zeig Mal dein code

        coyoteC Offline
        coyoteC Offline
        coyote
        Most Active
        wrote on last edited by
        #23

        @Nahasapee mehr ist es nicht

           sendTo('telegram.0', {
                text : "http://192.168.XX.XX:5000/garage/car/best.jpg",
                type: 'photo'
          });
        
        N 1 Reply Last reply
        0
        • coyoteC coyote

          @Nahasapee mehr ist es nicht

             sendTo('telegram.0', {
                  text : "http://192.168.XX.XX:5000/garage/car/best.jpg",
                  type: 'photo'
            });
          
          N Offline
          N Offline
          Nahasapee
          wrote on last edited by
          #24

          @coyote blöde Frage aber für die xx schreibst du schon die richtige IP Adresse rein ?

          coyoteC 1 Reply Last reply
          0
          • N Nahasapee

            @coyote blöde Frage aber für die xx schreibst du schon die richtige IP Adresse rein ?

            coyoteC Offline
            coyoteC Offline
            coyote
            Most Active
            wrote on last edited by coyote
            #25

            @Nahasapee ;-) natürlich

            EDIT: Gleicher Fehler kommt im Log, wenn der Webserver abgeschaltet ist. Seltsam.
            Macht es einen Unterschied, weil der im Webserver im Docker läuft?
            Ich verstehs eben nicht, weil ich diese URL ja von überall im Netzwerk erreichen kann

            N 1 Reply Last reply
            0
            • coyoteC coyote

              @Nahasapee ;-) natürlich

              EDIT: Gleicher Fehler kommt im Log, wenn der Webserver abgeschaltet ist. Seltsam.
              Macht es einen Unterschied, weil der im Webserver im Docker läuft?
              Ich verstehs eben nicht, weil ich diese URL ja von überall im Netzwerk erreichen kann

              N Offline
              N Offline
              Nahasapee
              wrote on last edited by Nahasapee
              #26

              @coyote gehts denn wenn du , wie ich oben von Spiegel.de nen Bild ziehst? ne Firewall hängt aber nicht noch dazwischen die eventuell blockt?

              .... oder mal direkt von deinem Broker:

                      sendTo('telegram.0', {
                      chatId : getState('telegram.0.communicate.requestChatId'/*User ID of last received request*/).val,
                      text : " https://192.168.178.60:8081/img/no-image.png",
                      type: 'photo'
                });
              
              N 1 Reply Last reply
              0
              • N Nahasapee

                @coyote gehts denn wenn du , wie ich oben von Spiegel.de nen Bild ziehst? ne Firewall hängt aber nicht noch dazwischen die eventuell blockt?

                .... oder mal direkt von deinem Broker:

                        sendTo('telegram.0', {
                        chatId : getState('telegram.0.communicate.requestChatId'/*User ID of last received request*/).val,
                        text : " https://192.168.178.60:8081/img/no-image.png",
                        type: 'photo'
                  });
                
                N Offline
                N Offline
                Nahasapee
                wrote on last edited by
                #27

                @Nahasapee sagte in Telegram Bild direkt schicken, ohne Zwischenspeichern:

                https://192.168.178.60:8081/img/no-image.png

                ich merk gerade das letzte geht bei mir auch nicht, mit spiegel aber schon....vielleicht kommt er mit den ports nicht klar

                N 1 Reply Last reply
                0
                • N Nahasapee

                  @Nahasapee sagte in Telegram Bild direkt schicken, ohne Zwischenspeichern:

                  https://192.168.178.60:8081/img/no-image.png

                  ich merk gerade das letzte geht bei mir auch nicht, mit spiegel aber schon....vielleicht kommt er mit den ports nicht klar

                  N Offline
                  N Offline
                  Nahasapee
                  wrote on last edited by
                  #28

                  @Nahasapee ich glaub der telegram dienst veruscht das bild wenn es per http adresse rein kommt selber abzuholen und kommt logischerweise nicht ins netzwerk rein, vermutlich musst du es dir doch vorm verschicken lokal abspeichern und dann halt wieder löschen.

                  coyoteC 1 Reply Last reply
                  0
                  • N Nahasapee

                    @Nahasapee ich glaub der telegram dienst veruscht das bild wenn es per http adresse rein kommt selber abzuholen und kommt logischerweise nicht ins netzwerk rein, vermutlich musst du es dir doch vorm verschicken lokal abspeichern und dann halt wieder löschen.

                    coyoteC Offline
                    coyoteC Offline
                    coyote
                    Most Active
                    wrote on last edited by
                    #29

                    @Nahasapee hm ok, wenn du es ja jetzt auch ausprobiert hast und es auch nicht geht, ist es eben so... Ja genau, lokal speichern und dann schicken ist ja kein Problem, das geht.
                    Wie gesagt, dachte eben, da das Bild ja schon vorhanden ist, könnte ich es direkt weiterleiten

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    416

                    Online

                    32.8k

                    Users

                    82.8k

                    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