Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [ Gelöst ] Kamerabild aufnehmen (speichern)

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [ Gelöst ] Kamerabild aufnehmen (speichern)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Glasfaser
      Glasfaser last edited by

      @iobrokermike sagte in Kamerabild aufnehmen (speichern):

      wget –output-document

      das ist falsch , der Bindestrich vor output !!!!

      deshalb die Meldung

      so :

      wget --output-document
      
      1 Reply Last reply Reply Quote 0
      • I
        ioBrokerMike last edited by

        @glasfaser
        @glasfaser sagte in Kamerabild aufnehmen (speichern):

        trich vor output !!!!
        deshalb die Meldung

        Leider ohne Erfolg.

        pi@iobroker-pi:~ $ sudo wget -–output-document /opt/iobroker/tmp/CamBild.jpg 'http://192.168.178.200:80/snapshot.cgi?user=abc&pwd='
        wget: invalid option -- '▒'
        wget: invalid option -- '▒'
        wget: invalid option -- '▒'
        Usage: wget [OPTION]... [URL]...
        
        Try `wget --help' for more options.
        pi@iobroker-pi:~ $ wget -–output-document /opt/iobroker/tmp/CamBild.jpg 'http://192.168.178.200:80/snapshot.cgi?user=abc&pwd='
        wget: invalid option -- '▒'
        wget: invalid option -- '▒'
        wget: invalid option -- '▒'
        Usage: wget [OPTION]... [URL]...
        
        Try `wget --help' for more options.
        
        

        Bin schon ein schwerer Fall 😊

        E Glasfaser 2 Replies Last reply Reply Quote 0
        • E
          emil70 @ioBrokerMike last edited by

          @iobrokermike setzt mal den http teil in

          "       "
          
          I 1 Reply Last reply Reply Quote 0
          • I
            ioBrokerMike @emil70 last edited by

            @emil70

            Leider nichts geändert.

            pi@iobroker-pi:~ $  wget -–output-document /opt/iobroker/tmp/CamBild.jpg "http://192.168.178.200:80/snapshot.cgi?user=abc&pwd="
            wget: invalid option -- '▒'
            wget: invalid option -- '▒'
            wget: invalid option -- '▒'
            Usage: wget [OPTION]... [URL]...
            
            Try `wget --help' for more options.
            
            Codierknecht OliverIO 2 Replies Last reply Reply Quote 0
            • Codierknecht
              Codierknecht Developer Most Active @ioBrokerMike last edited by

              @iobrokermike
              Hast Du im Passwort evtl. Sonderzeichen? Könnte ein mögliches Problem sein.

              1 Reply Last reply Reply Quote 0
              • OliverIO
                OliverIO @ioBrokerMike last edited by OliverIO

                @iobrokermike sagte in Kamerabild aufnehmen (speichern):

                wget -–output-document /opt/iobroker/tmp/CamBild.jpg "http://192.168.178.200:80/snapshot.cgi?user=abc&pwd="

                ein Blick in die Doku von wget hätte hier schnell weitergeholfen.
                die kann man in linux einfach mit
                man wget
                aufrufen. das in google eintippen hilft genauso weiter
                https://linux.die.net/man/1/wget

                unter dem Parameter -–output-document ist ersichtlich, das die Definitiopn der Datei mit einem Gleichheitszeichen angegeben wird.
                In Linux wird jeder seperate Parameter immer mit einem Leerzeichen getrennt.
                Wenn zu einem Parameter ein Wert gehört, dann wird meist dieser mit = zugewiesen, allerdings habe ich auch schon gesehen, das direkt ohne Leerzeichen dahinter weitergeschrieben wird.

                wget -–output-document=/opt/iobroker/tmp/CamBild.jpg "http://192.168.178.200:80/snapshot.cgi?user=abc&pwd="
                

                mit man <befehl> kann man sich eigentlich zu jedem shell kommando die hilfe aufrufen.

                I 1 Reply Last reply Reply Quote 0
                • I
                  ioBrokerMike @OliverIO last edited by

                  @oliverio sagte in Kamerabild aufnehmen (speichern):

                  wget -–output-document=/opt/iobroker/tmp/CamBild.jpg "http://192.168.178.200:80/snapshot.cgi?user=abc&pwd="

                  Auch mit dem = bekomme ich kein Bild.

                  pi@iobroker-pi:~ $ wget -–output-document=/opt/iobroker/tmp/CamBild.jpg "http://192.168.178.200:80/snapshot.cgi?user=abc&pwd="
                  wget: invalid option -- '▒'
                  wget: invalid option -- '▒'
                  wget: invalid option -- '▒'
                  Usage: wget [OPTION]... [URL]...
                  
                  Try `wget --help' for more options.
                  
                  
                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @ioBrokerMike last edited by Glasfaser

                    @iobrokermike sagte in Kamerabild aufnehmen (speichern):

                    wget -–output-document

                    da stimmt immer noch der -- !!!

                    der ist bei dir kurz und lang !!!!

                    siehe hier bei der Meldung die Bindestriche

                    Try `wget --help' for more options.

                    edit :

                    so sieht der bei dir aus

                    c9f70221-a449-41df-a709-2dc01051d5ea-grafik.png

                    1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @ioBrokerMike last edited by

                      @iobrokermike

                      ??? was ist denn jetzt [gelöst]
                      ..

                      77e9ebe9-e2d7-42b0-b88c-06df567f630e-grafik.png

                      1 Reply Last reply Reply Quote 0
                      • I
                        ioBrokerMike last edited by ioBrokerMike

                        Vielen Dank an euch!

                        Ihr hatte es nicht einfach mit mir.

                        Hier die Lösung : wget --output-document /opt/iobroker/tmp/CamBild.jpg "http://192.168.178.200:80/snapshot.cgi?user=abc&pwd="

                        CamBild.jpg

                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @ioBrokerMike last edited by

                          @iobrokermike sagte in [ Gelöst ] Kamerabild aufnehmen (speichern):

                          Hier die Lösung

                          Der Postbote hat geklingelt ...

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          760
                          Online

                          32.0k
                          Users

                          80.4k
                          Topics

                          1.3m
                          Posts

                          5
                          19
                          1026
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo