Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Nederlands
    3. Visualisatie
    4. jarvis

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    jarvis

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chris nij @MCU last edited by

      @mcu

      I have tried display image. And its works. But the refresh does not work.
      it is a snapshot.

      chris.

      1 Reply Last reply Reply Quote 0
      • M
        MCU last edited by MCU

        @chris-nij You have to create a datapoint in ioBroker -> exp.: 0_userdata.0.jarvis.camera1.image
        And then you fill this DP with the data from your camera. (script)
        Ronny did this like he shown in the script:
        So every second it will generate a new data for the DP.

        // create DP
        createStateAsync('0_userdata.0.jarvis.camera1.image', {read: true, write: true, name: "Camera1 Image", type: "string", role: "text", def: "" });
        //Instar Kamera 9008
        let cameraLiveStream = 'http://192.168.178.49:8085/tmpfs/auto.jpg?usr=xxx&pwd=xxx';
        
        let cameraInterval = setInterval(function() {
            setState('0_userdata.0.jarvis.camera1.image', cameraLiveStream + '&_=' + Math.floor(Math.random() * 10000), true);
        }, 1000);
        

        Add device for this new DP (0_userdata.0.jarvis.camera1.image)

        Then you change in jarvis the parameter in displayImage from directly by http to DP.

        f03b8176-2b1e-499c-84e5-1d4f8c7c9f80-image.png

        I hope this are enough information for you, otherwise ask again.
        Have a nice day.

        C 1 Reply Last reply Reply Quote 0
        • C
          chris nij @MCU last edited by

          @mcu Hello,

          I've been working on it, I've found out how I make a data point in user data. But when I open it, I don't know what to do. there is already something in, but what next. when I put something in it, I can't save it.
          I am not familiar with scripting.

          jarvis.jpg

          Greetings,
          chris

          M 1 Reply Last reply Reply Quote 0
          • M
            MCU @chris nij last edited by MCU

            @chris-nij You don't have to it, it would automatically done by script.
            I show how to initialize the script.
            Do you have installed "javascript"? Do you see this in your speech? scripts?

            1ba74374-dcd1-48ca-89e1-34d5fd1552f8-image.png

            If not, you must install javascript.
            Then you go to "adapter" on left side. Click on it and then search javascript.
            792b7987-2a75-40bd-a73d-1f826b5eb500-image.png
            Click on "+" to install the javascript-adapter.

            Do you have it or not?

            C 1 Reply Last reply Reply Quote 0
            • C
              chris nij @MCU last edited by

              @mcu Hello,

              I installed scripts, and added the script. adjusted the stream to my instar camera. but it doesn't work in jarvis unfortunately. what am i doing wrong.
              jarvis.jpg
              jarvis2.jpg jarvis3.jpg

              Greetings
              chris

              M 1 Reply Last reply Reply Quote 0
              • M
                MCU @chris nij last edited by MCU

                @chris-nij Show me the configuration of the displayImage-modul in layout.
                Use this configuration
                75c4d46f-0c0c-40ef-8c4d-0ba5459565b7-image.png
                Not the user at first.

                C 1 Reply Last reply Reply Quote 0
                • C
                  chris nij @MCU last edited by

                  @mcu jarvis4.jpg jarvis5.jpg jarvis6.jpg jarvis7.jpg

                  I don't know exactly what you mean by configuration of the displayimage module. but I think one of the pictures is the right one.

                  chris

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MCU @chris nij last edited by MCU

                    @chris-nij You could change the Refresh Method?
                    df375b14-ba07-40e7-be09-c8e8809d2054-image.png
                    Do you get a Picture with cameraLiveStream-Link in a normal Browser Window?

                    And its works

                    Which Link did you used at this time before?

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      chris nij @MCU last edited by

                      @mcu

                      with my link in the browser, works.

                      with the link you gave me. I get a logon, but when I enter users and password it says that this is not correct. but i know that this is good.

                      C M 2 Replies Last reply Reply Quote 0
                      • C
                        chris nij @chris nij last edited by

                        @chris-nij said in jarvis:

                        @mcu

                        with my link in the browser, works.

                        with the link you gave me. I get a logon, but when I enter users and password it says that this is not correct. but i know that this is good.
                        jarvis.jpg

                        1 Reply Last reply Reply Quote 0
                        • M
                          MCU @chris nij last edited by MCU

                          @chris-nij I don't have a Camera. So I only can say what I read in the forum.
                          Perhaps @lines or @Ronny-Gerndt can help you in a better way?
                          So use your Link (And it works) and change the refresh Method to add numbers.

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            chris nij @MCU last edited by

                            @mcu

                            Okay,

                            thank you for helping. I learned something in iobroker (scripts).

                            Greetings,
                            chris

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              chris nij @chris nij last edited by

                              @chris-nij

                              Yes its works.😀

                              I used the administration account. apparently the instar camera doesn't like this. I have now created a user account in the camera and added it in jarvis. now everything works great.

                              chris

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              849
                              Online

                              31.7k
                              Users

                              79.9k
                              Topics

                              1.3m
                              Posts

                              2
                              15
                              1422
                              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