Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Smartmeter optische Schnittstelle

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    846

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Smartmeter optische Schnittstelle

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
smartmeterd0-schnittstelleoptische schnittstelleserielle schnittstelle
42 Beiträge 10 Kommentatoren 6.9k Aufrufe 6 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • wendy2702W Online
    wendy2702W Online
    wendy2702
    schrieb am zuletzt editiert von
    #17

    Nein.

    Höchstens etwas bei dem cat ....

    Bitte keine Fragen per PN, die gehören ins Forum!

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    T 1 Antwort Letzte Antwort
    0
    • wendy2702W wendy2702

      Nein.

      Höchstens etwas bei dem cat ....

      T Offline
      T Offline
      tilly
      schrieb am zuletzt editiert von
      #18

      @wendy2702 said in Smartmeter optische Schnittstelle:

      Nein.

      Höchstens etwas bei dem cat ....

      Ja mit der Fernbedienung kommt was bei cat...
      Sonst nichts?

      1 Antwort Letzte Antwort
      0
      • T Offline
        T Offline
        tilly
        schrieb am zuletzt editiert von
        #19

        Hab keine Ahnung wo es noch dran liegen kann.
        Die Versorgungsspannung für den IR-Schreibe-Lesekopf mit TTL-Ausgang ist ja 3,3V, oder?
        Sollten RX/TX getauscht sein? Aber dann bekäme ich doch keine Daten mit der TV-Ferbedienung.

        1 Antwort Letzte Antwort
        0
        • wendy2702W Online
          wendy2702W Online
          wendy2702
          schrieb am zuletzt editiert von
          #20

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

          Photos!

          Bitte keine Fragen per PN, die gehören ins Forum!

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          T 1 Antwort Letzte Antwort
          0
          • wendy2702W wendy2702

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

            Photos!

            T Offline
            T Offline
            tilly
            schrieb am zuletzt editiert von
            #21

            @wendy2702 said in Smartmeter optische Schnittstelle:

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

            Photos!

            smartmeter03.jpeg

            S 1 Antwort Letzte Antwort
            0
            • RöstkartoffelR Offline
              RöstkartoffelR Offline
              Röstkartoffel
              schrieb am zuletzt editiert von
              #22

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

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

              NUC7i3BNH mit Proxmox und ioBroker (VM Debian Buster), Raspi3 (Slave Smartmeter für eHZ easymeter), Hardware CCU2, SMA SB5000TL-21

              T 1 Antwort Letzte Antwort
              0
              • T tilly

                @wendy2702 said in Smartmeter optische Schnittstelle:

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

                Photos!

                smartmeter03.jpeg

                S Offline
                S Offline
                slonnet
                schrieb am zuletzt editiert von slonnet
                #23

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

                RöstkartoffelR 1 Antwort Letzte Antwort
                0
                • wendy2702W Online
                  wendy2702W Online
                  wendy2702
                  schrieb am zuletzt editiert von
                  #24

                  @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?

                  Bitte keine Fragen per PN, die gehören ins Forum!

                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                  1 Antwort Letzte Antwort
                  0
                  • S slonnet

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

                    RöstkartoffelR Offline
                    RöstkartoffelR Offline
                    Röstkartoffel
                    schrieb am zuletzt editiert von Röstkartoffel
                    #25

                    @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.

                    NUC7i3BNH mit Proxmox und ioBroker (VM Debian Buster), Raspi3 (Slave Smartmeter für eHZ easymeter), Hardware CCU2, SMA SB5000TL-21

                    S 1 Antwort Letzte Antwort
                    0
                    • MatzebhvM Offline
                      MatzebhvM Offline
                      Matzebhv
                      schrieb am zuletzt editiert von
                      #26

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

                      45342176_2201696303197865_802382362854817792_o.jpg

                      1 Antwort Letzte Antwort
                      0
                      • SBorgS Offline
                        SBorgS Offline
                        SBorg
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #27

                        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...

                        LG SBorg ( SBorg auf GitHub)
                        Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                        1 Antwort Letzte Antwort
                        0
                        • RöstkartoffelR 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 Offline
                          S Offline
                          slonnet
                          schrieb am zuletzt editiert von
                          #28

                          @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 Antwort Letzte Antwort
                          0
                          • RöstkartoffelR Röstkartoffel

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

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

                            T Offline
                            T Offline
                            tilly
                            schrieb am zuletzt editiert von
                            #29

                            @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 Antwort Letzte Antwort
                            0
                            • T tilly

                              @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 Offline
                              R Offline
                              RappiRN
                              Most Active
                              schrieb am zuletzt editiert von
                              #30

                              @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 Antwort Letzte Antwort
                              0
                              • R RappiRN

                                @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 Offline
                                T Offline
                                tilly
                                schrieb am zuletzt editiert von
                                #31

                                @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 Antwort Letzte Antwort
                                0
                                • T tilly

                                  Hallo zusammen,

                                  ich habe mir von Volkszähler den IR-Schreibe-Lesekopf mit TTL-Ausgang zusammengebastelt und an einen CP2102 geschaltet. Smartmeter auf einem Raspberry 3 installiert und wie folgt konfiguriert.
                                  smartmeter.jpeg
                                  Ich bekomme leider keine Daten geliefert. Wenn man mit einer Kamera sich den Stromzähler(Easy Meter Q3DB1024 mit D0 Schnittstelle) anschaut, wird dort ca. alle 2s gesendet.
                                  Ein Test mit minicom und einer Fernbedienung liefert Daten.
                                  Hier die Fehlermeldung von Iobroker:
                                  Log schmeißt das hier raus:“ No or too long answer from Serial Device after last request.”
                                  Und “Error: No or too long answer from Serial Device after last request.”

                                  HomoranH Nicht stören
                                  HomoranH Nicht stören
                                  Homoran
                                  Global Moderator Administrators
                                  schrieb am zuletzt editiert von
                                  #32

                                  @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.

                                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  T 1 Antwort Letzte Antwort
                                  0
                                  • HomoranH Homoran

                                    @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 Offline
                                    T Offline
                                    tilly
                                    schrieb am zuletzt editiert von
                                    #33

                                    @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.

                                    HomoranH 1 Antwort Letzte Antwort
                                    0
                                    • T tilly

                                      @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.

                                      HomoranH Nicht stören
                                      HomoranH Nicht stören
                                      Homoran
                                      Global Moderator Administrators
                                      schrieb am zuletzt editiert von
                                      #34

                                      @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

                                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                      T 1 Antwort Letzte Antwort
                                      0
                                      • HomoranH Homoran

                                        @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 Offline
                                        T Offline
                                        tilly
                                        schrieb am zuletzt editiert von tilly
                                        #35

                                        @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
                                        
                                        HomoranH RöstkartoffelR 2 Antworten Letzte Antwort
                                        0
                                        • T 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
                                          
                                          HomoranH Nicht stören
                                          HomoranH Nicht stören
                                          Homoran
                                          Global Moderator Administrators
                                          schrieb am zuletzt editiert von Homoran
                                          #36

                                          @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

                                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          415

                                          Online

                                          32.6k

                                          Benutzer

                                          82.1k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe