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

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

  • 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.
  • 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
            • MatzebhvM Offline
              MatzebhvM Offline
              Matzebhv
              schrieb am zuletzt editiert von
              #37

              Genau der Zähler läuft hier so:

              broker.PNG

              1 Antwort 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
                
                RöstkartoffelR Offline
                RöstkartoffelR Offline
                Röstkartoffel
                schrieb am zuletzt editiert von
                #38

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

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

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

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

                  E 1 Antwort Letzte Antwort
                  0
                  • wendy2702W Offline
                    wendy2702W Offline
                    wendy2702
                    schrieb am zuletzt editiert von
                    #40

                    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

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

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

                    bahnuhrB 1 Antwort Letzte Antwort
                    0
                    • T tilly

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

                      E Offline
                      E Offline
                      easybeat
                      schrieb am zuletzt editiert von
                      #41

                      @tilly Hast Du den Reader zum Laufen gebracht. Eine solche Lösung würde mich auch interessieren.

                      Danke und Gruss
                      Beat

                      1 Antwort Letzte Antwort
                      0
                      • wendy2702W wendy2702

                        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

                        bahnuhrB Online
                        bahnuhrB Online
                        bahnuhr
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #42

                        @wendy2702 sagte in Smartmeter optische Schnittstelle:

                        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

                        Ich habe den gleichen, auch von Weidmann.

                        Klappt einwandfrei.


                        Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                        Danke.
                        gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                        ScreenToGif :https://www.screentogif.com/downloads.html

                        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

                        796

                        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