Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. OPC Adapter

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    OPC Adapter

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

      Einstweilen vielen Dank!

      Manchmal sieht man den Wald vor lauter Bäumen nicht.

      1 Reply Last reply Reply Quote 0
      • J
        jopebe last edited by

        Hallo zusammen,

        ich komme noch einmal mit "meinem" OPC.

        Irgendwo habe ich gelesen, dass der OPC-Adapter weiter entwickelt wird.

        Ist dies zutreffend?

        Ein OPC Client wäre schon nutzbar, da viele Systeme schon einen OPC Server besitzen, an den man dann ankoppeln könnte.

        Auf den Server von Eaton-Moeller Easy kann man mit anderen Clients schon zugreifen. Problem ist nur, dass dieser unter Windows läuft, man also immer noch einen laufenden und an die Easy-Anlage gekoppelten Windows-Rechner benötigt.

        Auch hier wäre eine Raspberry-Lösung sehr hilfreich. Aber man kann nicht alles haben.

        Ein solcher Client würde übrigens das Tor zu den professionellen Steuerungen weit aufstoßen, oder?

        1 Reply Last reply Reply Quote 0
        • O
          opcuaneeded last edited by

          Hallo zusammen,

          kurze frage, und zwar funktioniert der opcua adapter ??

          Danke für die Antwort!!

          Bluefox 1 Reply Last reply Reply Quote 0
          • Bluefox
            Bluefox @opcuaneeded last edited by

            @opcuaneeded
            Hallo, opcua client funktioniert, aber man kann nur 10 Variablen binden. Für mehr Variablen braucht man kommerzielle Lizenz.

            O O P 3 Replies Last reply Reply Quote 0
            • O
              opcuaneeded @Bluefox last edited by

              @Bluefox
              Hallo Bluefox, Danke für die antwort,

              noch ein kurze frage wie kann ich konfigurieren ?!

              Screenshot 2020-11-30 123321.png

              Bluefox 1 Reply Last reply Reply Quote 0
              • Bluefox
                Bluefox @opcuaneeded last edited by Bluefox

                @opcuaneeded iob u opcua

                O 1 Reply Last reply Reply Quote 0
                • O
                  opcuaneeded @Bluefox last edited by

                  @Bluefox said in OPC Adapter:

                  iob u oocua

                  sorry, was bedeutet das ?

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    ple @opcuaneeded last edited by

                    @opcuaneeded
                    Moin, das ist ein upload, sollte aber dann iob u opcua heißen und das einfach in der Console eingeben.
                    Ich stand gerade vor dem gleichen Problem, aber die Lösung ist es leider nicht, vielleicht kann @Bluefox noch einmal drübersehen was da fehlt.

                    Gruß und vielen Dank.

                    Bluefox 1 Reply Last reply Reply Quote 0
                    • Bluefox
                      Bluefox @ple last edited by

                      @ple ich brauche Error Meldungen aus Browser-Konsole um weiter zu kommen

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        ple @Bluefox last edited by

                        @Bluefox Ich hoffe, dass hilft weiter. Ist von Chrome

                        jquery-3.2.1.min.js:3 GET http://192.168.10.10:8081/adapter/opcua/?0 404 (Not Found)
                        (anonymous) @ jquery-3.2.1.min.js:3
                        Te @ jquery-3.2.1.min.js:3
                        append @ jquery-3.2.1.min.js:3
                        C.each.C.fn.<computed> @ jquery-3.2.1.min.js:3
                        (anonymous) @ admin.js:1539
                        e.ready.n.navigateCheckDialog @ admin.js:1396
                        e.ready.n.navigateDo @ admin.js:1440
                        window.onhashchange @ admin.js:706
                        hashchange (async)
                        e.ready.n.navigate @ admin.js:1430
                        (anonymous) @ adminInstances.js:1304
                        dispatch @ jquery-3.2.1.min.js:3
                        m.handle @ jquery-3.2.1.min.js:3
                        
                        

                        Das kommt aus dem iobroker log

                        host.iobroker	2020-12-14 23:20:08.190	error	startInstance opcua.0: cannot find start file!
                        host.iobroker	2020-12-14 23:20:08.190	info	"system.adapter.opcua.0" enabled
                        host.iobroker	2020-12-14 23:19:59.984	info	"system.adapter.opcua.0" disabled
                        
                        Bluefox 1 Reply Last reply Reply Quote 0
                        • Bluefox
                          Bluefox @ple last edited by

                          @ple Es sieht so aus, als ob du den Adapter von github installiert hast.
                          Man muss von npm installieren.
                          cd /opt/iobroker
                          npm i iobroker.opcua@0.4.1
                          iob a opcua

                          P timk1981 2 Replies Last reply Reply Quote 0
                          • P
                            ple @Bluefox last edited by

                            @Bluefox stimmt, ich hatte von git installiert, geht das heutzutage nicht mehr? Habe leider 1 Jahr ausgesetzt und bin nicht mehr auf den neusten Stand.

                            Bluefox 1 Reply Last reply Reply Quote 0
                            • Bluefox
                              Bluefox @ple last edited by

                              @ple Das geht für alle Open source adapter, aber opcua ist closed source und Code liegt nicht offen auf GitHub.
                              Nur auf npm.

                              timk1981 1 Reply Last reply Reply Quote 0
                              • timk1981
                                timk1981 @Bluefox last edited by

                                @Bluefox said in OPC Adapter:

                                @ple Es sieht so aus, als ob du den Adapter von github installiert hast.
                                Man muss von npm installieren.
                                cd /opt/iobroker
                                npm i iobroker.opcua@0.4.1
                                iob a opcua

                                Hallo Bluefox danke für die Info bei mir funktioniert der OPC jetzt am IoBroker. Da taucht aber auch schon die nächste frage auf. Ich nutze den OPC als Client da ich einen OPC Server auf einer B&R Steuerung laufen habe. Normale variablen wie Bool, int etc. werden perfekt angezeigt. Leider hab ich sehr viele Variablen die eine Unterstruktur haben wie z.b. Visu mit Visu_type etc.
                                Leider werden die Variablen darunter nicht aufgelistet. Da wird es wahrscheinlich keine Lösung geben ohne das ich die Variablen umschreiben muss, oder?

                                1 Reply Last reply Reply Quote 0
                                • timk1981
                                  timk1981 @Bluefox last edited by

                                  @Bluefox leider ist noch in Problem aufgetaucht, das ich nicht umgehen kann. Ich kann zwar alle Variablen lesen aber ich kann keine einzige variable schreiben.

                                  Benötigt man da erst die Lizenz für den OPC UA Client vom IoBroker? Der Server selber läuft auf einer B&R SPS.
                                  Auf den UaExpert geht es in beide Seiten.

                                  Kennt das Problem jemand?

                                  Danke im Voraus.

                                  Schöne grüße,
                                  Tim

                                  U 1 Reply Last reply Reply Quote 0
                                  • O
                                    onweb @Bluefox last edited by

                                    @bluefox sagte in OPC Adapter:

                                    @opcuaneeded
                                    Hallo, opcua client funktioniert, aber man kann nur 10 Variablen binden. Für mehr Variablen braucht man kommerzielle Lizenz.

                                    Gibt es zu dieser kommerziellen Lizenz schon Infos?

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      Kargelino @onweb last edited by Kargelino

                                      Hallo liebe Gemeinde,

                                      hab trotz der Anleitung noch immer den gleichen Fehler, kann mir irgendwer weiter helfen?
                                      Bild 1.PNG
                                      Bild 2.PNG
                                      Vielen vielen Dank im voraus

                                      Lg Max

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Kargelino last edited by

                                        @kargelino Bitte Konsolentext als TEXT (in CodeTags) posten. Dann kann man das auch lesen und durchsuchen.

                                        K 1 Reply Last reply Reply Quote 0
                                        • K
                                          Kargelino @Thomas Braun last edited by Kargelino

                                          @thomas-braun Tschuldige

                                          Konsole:

                                          ubuntu@ubuntu:/opt/iobroker$ sudo npm i iobroker.opcua@0.4.1
                                          [..................] / loadDep:jsonwebtoken: sill removeObsoleteDep removing humanize@0.0.9 from the tree                                                                                               npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darw                                                                                               in","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperatur                                                                                               e-sensor):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: want                                                                                               ed {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
                                          
                                          + iobroker.opcua@0.4.1
                                          updated 1 package in 952.849s
                                          
                                          37 packages are looking for funding
                                            run `npm fund` for details
                                          
                                          ubuntu@ubuntu:/opt/iobroker$ iob a opcua
                                          host.ubuntu create instance opcua
                                          host.ubuntu object opcua.0.info.event created
                                          host.ubuntu object opcua.0.info created
                                          host.ubuntu object system.adapter.opcua.0.logLevel created
                                          host.ubuntu object system.adapter.opcua.0.sigKill created
                                          host.ubuntu object system.adapter.opcua.0.eventLoopLag created
                                          host.ubuntu object system.adapter.opcua.0.outputCount created
                                          host.ubuntu object system.adapter.opcua.0.inputCount created
                                          host.ubuntu object system.adapter.opcua.0.uptime created
                                          host.ubuntu object system.adapter.opcua.0.memRss created
                                          host.ubuntu object system.adapter.opcua.0.memHeapTotal created
                                          host.ubuntu object system.adapter.opcua.0.memHeapUsed created
                                          host.ubuntu object system.adapter.opcua.0.cputime created
                                          host.ubuntu object system.adapter.opcua.0.cpu created
                                          host.ubuntu object system.adapter.opcua.0.compactMode created
                                          host.ubuntu object system.adapter.opcua.0.connected created
                                          host.ubuntu object system.adapter.opcua.0.alive created
                                          host.ubuntu object system.adapter.opcua.0 created
                                          

                                          Lg Max

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Kargelino last edited by Thomas Braun

                                            @kargelino sagte in OPC Adapter:

                                            sudo npm i iobroker.opcua@0.4.1

                                            Davon abgesehen sehe ich da keine Fehler.
                                            npm wird NICHT per sudo eingeleitet, jedenfalls nicht im ioBroker-Kontext.

                                            iobroker stop 
                                            iobroker fix
                                            iobroker start
                                            

                                            npm sollte eh nicht verwendet werden. So geht es richtig (für Adapter die auch im Repo liegen):

                                            iobroker install adaptername
                                            
                                            K 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            849
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            16
                                            43
                                            6745
                                            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