Navigation

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

    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

    Smartmeter optische Schnittstelle

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tilly @wendy2702 last edited by

      @wendy2702 said in Smartmeter optische Schnittstelle:

      Wie sieht der Kopf aus und wie sitzt er auf dem Zähler ?

      Photos!

      smartmeter03.jpeg

      S 1 Reply Last reply Reply Quote 0
      • Röstkartoffel
        Röstkartoffel last edited by

        An meinem Zähler sitzt der Leselopf so, bei dir ist er zu weit rechts:

        12392847-F213-42CD-8779-DE34D5E9329E.jpeg

        T 1 Reply Last reply Reply Quote 0
        • S
          slonnet @tilly last edited by slonnet

          @tilly
          Das ist die falsche Schnittstelle!
          Die vorne muss du nehmen!
          Zumindest bei meinem Q3B ist es die vordere!

          Röstkartoffel 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 last edited by

            @slonnet sagte in Smartmeter optische Schnittstelle:

            @tilly
            Das ist die falsche Schnittstelle!
            Die vorne muss du nehmen!
            Zumindest bei meinem Q3B ist es die vordere!

            Was liest du denn vorne aus oder zählst du nur die Impulse?

            1 Reply Last reply Reply Quote 0
            • Röstkartoffel
              Röstkartoffel @slonnet last edited by Röstkartoffel

              @slonnet sagte in Smartmeter optische Schnittstelle:

              @tilly
              Das ist die falsche Schnittstelle!
              Die vorne muss du nehmen!
              Zumindest bei meinem Q3B ist es die vordere!

              Um den Smartmeter Adapter zu nutzen und die D0 Schnittstelle auszulesen ist die obere eindeutig die Richtige.

              S 1 Reply Last reply Reply Quote 0
              • Matzebhv
                Matzebhv last edited by

                Die Schnittstelle oben ist richtig, so sitzt bei mir der Lesekopf:

                45342176_2201696303197865_802382362854817792_o.jpg

                1 Reply Last reply Reply Quote 0
                • SBorg
                  SBorg Forum Testing Most Active last edited by

                  Welche vordere? Ihr meint nicht etwa die Impuls-LED (1000x blinken = 1kWh)? Die kann man zwar auch auswerten, aber die IR-Schnittstelle gibt ja auch Daten Preis und blinkt nicht nur munter vor sich her...

                  1 Reply Last reply Reply Quote 0
                  • S
                    slonnet @Röstkartoffel last edited by

                    @Röstkartoffel sagte in Smartmeter optische Schnittstelle:

                    @slonnet sagte in Smartmeter optische Schnittstelle:

                    @tilly
                    Das ist die falsche Schnittstelle!
                    Die vorne muss du nehmen!
                    Zumindest bei meinem Q3B ist es die vordere!

                    Um den Smartmeter Adapter zu nutzen und die D0 Schnittstelle auszulesen ist die obere eindeutig die Richtige.

                    Tatsache! Ich dachte die Q3B und Q3D wäre bezüglich der Schnittstelle identisch.
                    Sehe aber auch gerade das beim Q3D die vordere wirklich nur ein Impuls ausgibt!
                    Ich nehme alles zurück!

                    1 Reply Last reply Reply Quote 0
                    • T
                      tilly @Röstkartoffel last edited by

                      @Röstkartoffel said in Smartmeter optische Schnittstelle:

                      An meinem Zähler sitzt der Leselopf so, bei dir ist er zu weit rechts:

                      12392847-F213-42CD-8779-DE34D5E9329E.jpeg

                      Hab ihn weiter links gesetzt, bringt leider nichts.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        RappiRN Most Active @tilly last edited by

                        @tilly
                        Hast du ihn auch schon mal um 180° gedreht, also mit dem Kabel nach hinten? Vielleicht sind bei dir ja Sende- und Empfangsdiode "falsch" herum angeordnet.

                        Enrico

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          tilly @RappiRN last edited by

                          @RappiRN said in Smartmeter optische Schnittstelle:

                          @tilly
                          Hast du ihn auch schon mal um 180° gedreht, also mit dem Kabel nach hinten? Vielleicht sind bei dir ja Sende- und Empfangsdiode "falsch" herum angeordnet.

                          Enrico

                          Hab so ziemlich jede Position ausprobiert, leider ohne Erfolg.

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @tilly last edited by

                            @tilly sagte in Smartmeter optische Schnittstelle:

                            ich habe mir von Volkszähler den IR-Schreibe-Lesekopf ... zusammengebastelt

                            Und du bist sicher, dass er funktioniert.
                            Es ist ja jetzt wirklich schon fast alles geprüft worden.

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              tilly @Homoran last edited by

                              @Homoran said in Smartmeter optische Schnittstelle:

                              @tilly sagte in Smartmeter optische Schnittstelle:

                              ich habe mir von Volkszähler den IR-Schreibe-Lesekopf ... zusammengebastelt

                              Und du bist sicher, dass er funktioniert.
                              Es ist ja jetzt wirklich schon fast alles geprüft worden.

                              Nein bin mir nicht sicher, aber wie bekommt man das raus?
                              Wenn ich mit einer TV-Fernbedienung davor sende, kommt ja was an, also denke ich schon, dass der IR-Schreibe-Lesekopf funktioniert.

                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @tilly last edited by

                                @tilly
                                Das hast du aber über die konsole gesehen.

                                Konsole und Adapter geht nicht.
                                Bitte in der konsole das Gerät wieder freigeben.

                                Dann instanz auf depug stellen und instanz neustarten.

                                Was Steht Dann im log

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  tilly @Homoran last edited by tilly

                                  @Homoran said in Smartmeter optische Schnittstelle:

                                  @tilly
                                  Das hast du aber über die konsole gesehen.

                                  ja mit minicom

                                  Konsole und Adapter geht nicht.
                                  Bitte in der konsole das Gerät wieder freigeben.

                                  wenn ich minicom beende, sollte das Gerät doch wieder freigegeben sein, oder?

                                  Dann instanz auf depug stellen und instanz neustarten.

                                  Was Steht Dann im log

                                  hier das log

                                  
                                  smartmeter.0	2019-03-27 22:17:20.720	debug	SET MESSAGE TIMEOUT TIMER: 120000
                                  smartmeter.0	2019-03-27 22:17:20.712	debug	SERIALPORT OPEN
                                  smartmeter.0	2019-03-27 22:17:20.703	debug	CREATE SERIALPORT: 9600 7 1 even
                                  smartmeter.0	2019-03-27 22:17:06.979	debug	system.adapter.admin.0: logging true
                                  smartmeter.0	2019-03-27 22:16:20.683	debug	SCHEDULE NEXT RUN IN 60s
                                  smartmeter.0	2019-03-27 22:16:20.680	debug	SERIALPORT CLOSE
                                  smartmeter.0	2019-03-27 22:16:20.671	debug	Transport Reset!! Restart = true
                                  smartmeter.0	2019-03-27 22:16:20.670	debug	Error: No or too long answer from Serial Device after last request.
                                  smartmeter.0	2019-03-27 22:16:20.669	warn	No or too long answer from Serial Device after last request.
                                  smartmeter.0	2019-03-27 22:16:20.662	debug	Error: No or too long answer from Serial Device after last request.
                                  smartmeter.0	2019-03-27 22:16:20.659	debug	MESSAGE TIMEOUT TRIGGERED
                                  smartmeter.0	2019-03-27 22:16:12.937	debug	system.adapter.admin.0: logging false
                                  smartmeter.0	2019-03-27 22:15:13.680	debug	system.adapter.admin.0: logging true
                                  smartmeter.0	2019-03-27 22:15:05.119	debug	system.adapter.admin.0: logging false
                                  smartmeter.0	2019-03-27 22:14:20.656	debug	SET MESSAGE TIMEOUT TIMER: 120000
                                  smartmeter.0	2019-03-27 22:14:20.600	debug	SERIALPORT OPEN
                                  smartmeter.0	2019-03-27 22:14:20.561	debug	CREATE SERIALPORT: 9600 7 1 even
                                  smartmeter.0	2019-03-27 22:14:20.550	debug	SmartmeterObis options: {"debug":2,"protocol":"D0Protocol","transport":"SerialResponseTransport","requestInterval":"60","anotherQueryDelay":"1000","transportSerialPort":"/dev/ttyUSB0","transportSeria
                                  smartmeter.0	2019-03-27 22:14:20.481	info	starting. Version 1.2.2 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v8.15.1
                                  smartmeter.0	2019-03-27 22:14:20.378	debug	statesDB connected
                                  smartmeter.0	2019-03-27 22:14:20.279	debug	objectDB connected
                                  

                                  Ich habe smartmeter nochmal deinstalliert, raspberry neu gestartet und neu installiert. Dabei kamen diese Meldungen:

                                  $ ./iobroker add smartmeter  --host raspberrypi
                                  NPM version: 6.4.1
                                  npm install iobroker.smartmeter@1.2.2 --production --save --prefix "/opt/iobroker" (System call)
                                  host.raspberrypi install adapter smartmeter
                                  npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.smartmeter"
                                  prebuild-install WARN install No prebuilt binaries found (target=8.15.1 runtime=node arch=arm platform=linux)
                                  ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(2, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6:0,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1674:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  
                                  ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6:0,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1674:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  
                                  ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6:0,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1674:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  
                                  ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6:0,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1674:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  
                                  ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6:0,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1674:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  
                                  ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(2, argv);
                                                                ^
                                  In file included from ../src/./serialport.h:6:0,
                                                   from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1674:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  
                                  ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(2, argv);
                                                                ^
                                  
                                  In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1674:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  
                                  ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     data->callback.Call(1, argv);
                                                                ^
                                  
                                  In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:
                                  ../../nan/nan.h:1674:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  
                                  ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                     obj->callback.Call(2, argv);
                                                               ^
                                  
                                  In file included from ../src/poller.cpp:1:0:../../nan/nan.h:1674:3: note: declared here
                                     Call(int argc, v8::Local<v8::Value> argv[]) const {
                                     ^~~~
                                  
                                  npm
                                   notice created a lockfile as package-lock.json. You should commit this file.
                                  got /opt/iobroker/node_modules/iobroker.smartmeter/admin
                                  upload [5] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/words.js words.js application/javascript
                                  upload [4] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/tooltip.css tooltip.css text/css
                                  upload [3] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/smartmeter.png smartmeter.png image/png
                                  upload [2] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/smartmeter.jpg smartmeter.jpg image/jpeg
                                  upload [1] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/questionmark.png questionmark.png image/png
                                  upload [0] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/index.html index.html text/html
                                  host.raspberrypi object system.adapter.smartmeter created
                                  host.raspberrypi create instance smartmeter
                                  host.raspberrypi object system.adapter.smartmeter.0.outputCount created
                                  host.raspberrypi object system.adapter.smartmeter.0.inputCount created
                                  host.raspberrypi object system.adapter.smartmeter.0.uptime created
                                  host.raspberrypi object system.adapter.smartmeter.0.memRss created
                                  host.raspberrypi object system.adapter.smartmeter.0.memHeapTotal created
                                  host.raspberrypi object system.adapter.smartmeter.0.memHeapUsed created
                                  host.raspberrypi object system.adapter.smartmeter.0.cputime created
                                  host.raspberrypi object system.adapter.smartmeter.0.cpu created
                                  host.raspberrypi object system.adapter.smartmeter.0.connected created
                                  host.raspberrypi object system.adapter.smartmeter.0.alive created
                                  host.raspberrypi object system.adapter.smartmeter.0 created
                                  process exited with code 0
                                  
                                  Homoran Röstkartoffel 2 Replies Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @tilly last edited by Homoran

                                    @tilly
                                    Die unteren logs sind ok!

                                    Kann also fast nur an den Einstellungen liegen, wenn der kopf ok ist.

                                    Bitte allecEinstellungen erstveinmal lassen wie sie sind, als gerät /dev/ttyusb0 eingeben und als protokoll d0 und nur lesen

                                    1 Reply Last reply Reply Quote 0
                                    • Matzebhv
                                      Matzebhv last edited by

                                      Genau der Zähler läuft hier so:

                                      broker.PNG

                                      1 Reply Last reply Reply Quote 0
                                      • Röstkartoffel
                                        Röstkartoffel @tilly last edited by

                                        @tilly sagte in Smartmeter optische Schnittstelle:

                                        @Homoran said in Smartmeter optische Schnittstelle:

                                        @tilly
                                        Das hast du aber über die konsole gesehen.

                                        ja mit minicom

                                        Konsole und Adapter geht nicht.
                                        Bitte in der konsole das Gerät wieder freigeben.

                                        wenn ich minicom beende, sollte das Gerät doch wieder freigegeben sein, oder?

                                        Wenn du sowieso schon minicom hast, kannst du auch erstmal darüber testweise den Stromzähler auslesen. Dazu in der configration von Minicom die Schnittstellenparameter eintragen und mit "save setup as dfl" speichern. Wenn du jetzt minicom wieder aufrufst, sollte mit minicom -s deine Werte dort stehen.
                                        Im ioBroker den Smartmeter-Adapter stoppen und dann mal in der Konsole "cat /dev/ttyUSB0"

                                        eingeben. Was kommt dann dabei raus?

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tilly last edited by

                                          Es will einfach nicht. Hat jemand vielleicht einen USB-IR-Schreibe-Lesekopf oder eine Bezugsquelle?

                                          E 1 Reply Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 last edited by

                                            Bezugsquelle:

                                            https://www.amazon.de/Weidmann-Elektronik-Stromzähler-Infrarot-Lesekopf/dp/B01B8N0ASY/ref=sr_1_1?adgrpid=57136358801&hvadid=259141558721&hvdev=t&hvlocphy=9044827&hvnetw=g&hvpos=1t1&hvqmt=b&hvrand=5640625677557539417&hvtargid=kwd-436401470338&keywords=ir-schreib-lesekopf&qid=1553790251&s=gateway&sr=8-1

                                            bahnuhr 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

                                            928
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            d0-schnittstelle optische schnittstelle serielle schnittstelle smartmeter
                                            10
                                            42
                                            5496
                                            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