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. Praktische Anwendungen (Showcase)
  4. Stromzähler auslesen per SML/Volkszähler und so …

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    482

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.6k

Stromzähler auslesen per SML/Volkszähler und so …

Geplant Angeheftet Gesperrt Verschoben Praktische Anwendungen (Showcase)
71 Beiträge 9 Kommentatoren 23.8k Aufrufe
  • Ä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.
  • apollon77A Offline
    apollon77A Offline
    apollon77
    schrieb am zuletzt editiert von
    #51

    Das ist alles hier drin:

    https://github.com/Apollon77/smartmeter … isNames.js

    Ich hab gefühlt die letzten 2 Tage nur diese Texte aus verschiedenen Quellen dort gesammelt und einiges in Deutsch und einiges in englisch. Deswegen hab ich das jetzt für mich erstmal unter "offenes Todo" abgehakt ;-)) Grad keinen Bock mehr auf Texte :D

    Will jetzt noch Basisdoku und noch fehlendes Fehlerhandling für die Library und dann den Adapter bauen ...

    "Man" ;-) müsste jetzt pro Unterstruktur (siehst dann was ich meine) immer die Nummern abgleichen nicht das in einer Sprache welche Fehlen die bei der anderen da sind. Und da wo keine Übersetzung ist oder falsche Sprache ist halt übersetzen ;-)

    Jede Hilfe wird dankend angenommen!!

    Änderungen mir gerne als Pull-Request oder E-Mail oder PN schicken

    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
    1 Antwort Letzte Antwort
    0
    • a200A Offline
      a200A Offline
      a200
      schrieb am zuletzt editiert von
      #52

      Leider kein Erfolg

      Installation:

      ! ````
      root@miniyou:/opt/test-sml# npm install smartmeter-obis
      npm WARN engine request@2.79.0: wanted: {"node":">= 4"} (current: {"node":"0.12.6","npm":"2.11.2"})

      serialport@4.0.7 install /opt/test-sml/node_modules/smartmeter-obis/node_modules/serialport
      node-pre-gyp install --fallback-to-build
      ! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v14-linux-arm.tar.gz
      node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@0.12.6 (node-v14 ABI) (falling back to source compile with node-gyp)
      make: Entering directory '/opt/test-sml/node_modules/smartmeter-obis/node_modules/serialport/build'
      CXX(target) Release/obj.target/serialport/src/serialport.o
      In file included from /root/.node-gyp/0.12.6/deps/v8/include/v8stdint.h:13:0,
      from /root/.node-gyp/0.12.6/deps/v8/include/v8.h:18,
      from /root/.node-gyp/0.12.6/src/node.h:61,
      from ../node_modules/nan/nan.h:47,
      from ../src/./serialport.h:7,
      from ../src/serialport.cpp:1:
      /root/.node-gyp/0.12.6/src/node.h: In function ‘void node::FatalException(const v8::TryCatch&)’:
      /root/.node-gyp/0.12.6/src/node.h:275:61: warning: ‘void node::FatalException(v8::Isolate*, const v8::TryCatch&)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:270): Use ParseEncoding(isolate, ...) [-Wdeprecated-declarations]
      return FatalException(v8::Isolate::GetCurrent(), try_catch);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:273:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use FatalException(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node.h: In function ‘v8::Local v8::valuenode::Encode(const void*, size_t, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node.h:287:62: warning: ‘v8::Local v8::valuenode::Encode(v8::Isolate*, const void*, size_t, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:278): Use FatalException(isolate, ...) [-Wdeprecated-declarations]
      return Encode(v8::Isolate::GetCurrent(), buf, len, encoding);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:282:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use Encode(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node.h: In function ‘ssize_t node::DecodeBytes(v8::Handlev8::value, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node.h:298:62: warning: ‘ssize_t node::DecodeBytes(v8::Isolate*, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:291): Use Encode(isolate, ...) [-Wdeprecated-declarations]
      return DecodeBytes(v8::Isolate::GetCurrent(), val, encoding);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:294:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use DecodeBytes(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node.h: In function ‘ssize_t node::DecodeWrite(char*, size_t, v8::Handlev8::value, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node.h:312:75: warning: ‘ssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:302): Use DecodeBytes(isolate, ...) [-Wdeprecated-declarations]
      return DecodeWrite(v8::Isolate::GetCurrent(), buf, buflen, val, encoding);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:307:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use DecodeWrite(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::New(v8::Handlev8::string, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:58:52: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, v8::Handlev8::string, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:52): Use New(isolate, ...) [-Wdeprecated-declarations]
      return New(v8::Isolate::GetCurrent(), string, enc);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:55:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use New(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::New(const char*, size_t)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:67:50: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, const char*, size_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:62): Use New(isolate, ...) [-Wdeprecated-declarations]
      return New(v8::Isolate::GetCurrent(), data, len);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:65:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use New(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::New(char*, size_t, node::smalloc::FreeCallback, void*)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:80:69: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t, node::smalloc::FreeCallback, void*)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:70): Use New(isolate, ...) [-Wdeprecated-declarations]
      return New(v8::Isolate::GetCurrent(), data, length, callback, hint);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:75:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use New(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::Use(char*, uint32_t)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:90:50: warning: ‘v8::Local v8::objectnode::Buffer::Use(v8::Isolate*, char*, uint32_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:85): Use New(isolate, ...) [-Wdeprecated-declarations]
      return Use(v8::Isolate::GetCurrent(), data, len);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:88:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use Use(isolate, ...)",
      ^
      In file included from ../src/./serialport.h:7:0,
      from ../src/serialport.cpp:1:
      ../node_modules/nan/nan.h: In function ‘Nan::MaybeLocal v8::objectNan::NewBuffer(char*, size_t, node::smalloc::FreeCallback, void*)’:
      ../node_modules/nan/nan.h:692:34: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t, node::smalloc::FreeCallback, void*)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:70): Use New(isolate, ...) [-Wdeprecated-declarations]
      hint);
      ^
      ../node_modules/nan/nan.h: In function ‘Nan::MaybeLocal v8::objectNan::CopyBuffer(const char*, uint32_t)’:
      ../node_modules/nan/nan.h:707:67: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, const char*, size_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:62): Use New(isolate, ...) [-Wdeprecated-declarations]
      return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
      ^
      ../node_modules/nan/nan.h: In function ‘Nan::MaybeLocal v8::objectNan::NewBuffer(char*, uint32_t)’:
      ../node_modules/nan/nan.h:733:67: warning: ‘v8::Local v8::objectnode::Buffer::Use(v8::Isolate*, char*, uint32_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:85): Use New(isolate, ...) [-Wdeprecated-declarations]
      return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
      ^
      ../node_modules/nan/nan.h: In function ‘void Nan::FatalException(const Nan::TryCatch&)’:
      ../node_modules/nan/nan.h:868:73: warning: ‘void node::FatalException(v8::Isolate*, const v8::TryCatch&)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:270): Use ParseEncoding(isolate, ...) [-Wdeprecated-declarations]
      node::FatalException(v8::Isolate::GetCurrent(), try_catch.try_catch_);
      ^
      ../node_modules/nan/nan.h: In function ‘v8::Local v8::valueNan::Encode(const void*, size_t, Nan::Encoding)’:
      ../node_modules/nan/nan.h:1786:44: warning: ‘v8::Local v8::valuenode::Encode(v8::Isolate*, const void*, size_t, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:278): Use FatalException(isolate, ...) [-Wdeprecated-declarations]
      , static_castnode::encoding(encoding));
      ^
      ../node_modules/nan/nan.h: In function ‘ssize_t Nan::DecodeBytes(v8::Localv8::value, Nan::Encoding)’:
      ../node_modules/nan/nan.h:1802:44: warning: ‘ssize_t node::DecodeBytes(v8::Isolate*, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:291): Use Encode(isolate, ...) [-Wdeprecated-declarations]
      , static_castnode::encoding(encoding));
      ^
      ../node_modules/nan/nan.h: In function ‘ssize_t Nan::DecodeWrite(char*, size_t, v8::Localv8::value, Nan::Encoding)’:
      ../node_modules/nan/nan.h:1824:44: warning: ‘ssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:302): Use DecodeBytes(isolate, ...) [-Wdeprecated-declarations]
      , static_castnode::encoding(encoding));
      ^
      CXX(target) Release/obj.target/serialport/src/serialport_unix.o
      In file included from /root/.node-gyp/0.12.6/deps/v8/include/v8stdint.h:13:0,
      from /root/.node-gyp/0.12.6/deps/v8/include/v8.h:18,
      from /root/.node-gyp/0.12.6/src/node.h:61,
      from ../node_modules/nan/nan.h:47,
      from ../src/./serialport.h:7,
      from ../src/serialport_unix.cpp:1:
      /root/.node-gyp/0.12.6/src/node.h: In function ‘void node::FatalException(const v8::TryCatch&)’:
      /root/.node-gyp/0.12.6/src/node.h:275:61: warning: ‘void node::FatalException(v8::Isolate*, const v8::TryCatch&)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:270): Use ParseEncoding(isolate, ...) [-Wdeprecated-declarations]
      return FatalException(v8::Isolate::GetCurrent(), try_catch);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:273:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use FatalException(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node.h: In function ‘v8::Local v8::valuenode::Encode(const void*, size_t, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node.h:287:62: warning: ‘v8::Local v8::valuenode::Encode(v8::Isolate*, const void*, size_t, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:278): Use FatalException(isolate, ...) [-Wdeprecated-declarations]
      return Encode(v8::Isolate::GetCurrent(), buf, len, encoding);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:282:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use Encode(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node.h: In function ‘ssize_t node::DecodeBytes(v8::Handlev8::value, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node.h:298:62: warning: ‘ssize_t node::DecodeBytes(v8::Isolate*, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:291): Use Encode(isolate, ...) [-Wdeprecated-declarations]
      return DecodeBytes(v8::Isolate::GetCurrent(), val, encoding);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:294:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use DecodeBytes(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node.h: In function ‘ssize_t node::DecodeWrite(char*, size_t, v8::Handlev8::value, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node.h:312:75: warning: ‘ssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:302): Use DecodeBytes(isolate, ...) [-Wdeprecated-declarations]
      return DecodeWrite(v8::Isolate::GetCurrent(), buf, buflen, val, encoding);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:307:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use DecodeWrite(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::New(v8::Handlev8::string, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:58:52: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, v8::Handlev8::string, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:52): Use New(isolate, ...) [-Wdeprecated-declarations]
      return New(v8::Isolate::GetCurrent(), string, enc);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:55:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use New(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::New(const char*, size_t)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:67:50: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, const char*, size_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:62): Use New(isolate, ...) [-Wdeprecated-declarations]
      return New(v8::Isolate::GetCurrent(), data, len);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:65:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use New(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::New(char*, size_t, node::smalloc::FreeCallback, void*)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:80:69: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t, node::smalloc::FreeCallback, void*)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:70): Use New(isolate, ...) [-Wdeprecated-declarations]
      return New(v8::Isolate::GetCurrent(), data, length, callback, hint);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:75:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use New(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::Use(char*, uint32_t)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:90:50: warning: ‘v8::Local v8::objectnode::Buffer::Use(v8::Isolate*, char*, uint32_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:85): Use New(isolate, ...) [-Wdeprecated-declarations]
      return Use(v8::Isolate::GetCurrent(), data, len);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:88:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use Use(isolate, ...)",
      ^
      In file included from ../src/./serialport.h:7:0,
      from ../src/serialport_unix.cpp:1:
      ../node_modules/nan/nan.h: In function ‘Nan::MaybeLocal v8::objectNan::NewBuffer(char*, size_t, node::smalloc::FreeCallback, void*)’:
      ../node_modules/nan/nan.h:692:34: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t, node::smalloc::FreeCallback, void*)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:70): Use New(isolate, ...) [-Wdeprecated-declarations]
      hint);
      ^
      ../node_modules/nan/nan.h: In function ‘Nan::MaybeLocal v8::objectNan::CopyBuffer(const char*, uint32_t)’:
      ../node_modules/nan/nan.h:707:67: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, const char*, size_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:62): Use New(isolate, ...) [-Wdeprecated-declarations]
      return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
      ^
      ../node_modules/nan/nan.h: In function ‘Nan::MaybeLocal v8::objectNan::NewBuffer(char*, uint32_t)’:
      ../node_modules/nan/nan.h:733:67: warning: ‘v8::Local v8::objectnode::Buffer::Use(v8::Isolate*, char*, uint32_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:85): Use New(isolate, ...) [-Wdeprecated-declarations]
      return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
      ^
      ../node_modules/nan/nan.h: In function ‘void Nan::FatalException(const Nan::TryCatch&)’:
      ../node_modules/nan/nan.h:868:73: warning: ‘void node::FatalException(v8::Isolate*, const v8::TryCatch&)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:270): Use ParseEncoding(isolate, ...) [-Wdeprecated-declarations]
      node::FatalException(v8::Isolate::GetCurrent(), try_catch.try_catch_);
      ^
      ../node_modules/nan/nan.h: In function ‘v8::Local v8::valueNan::Encode(const void*, size_t, Nan::Encoding)’:
      ../node_modules/nan/nan.h:1786:44: warning: ‘v8::Local v8::valuenode::Encode(v8::Isolate*, const void*, size_t, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:278): Use FatalException(isolate, ...) [-Wdeprecated-declarations]
      , static_castnode::encoding(encoding));
      ^
      ../node_modules/nan/nan.h: In function ‘ssize_t Nan::DecodeBytes(v8::Localv8::value, Nan::Encoding)’:
      ../node_modules/nan/nan.h:1802:44: warning: ‘ssize_t node::DecodeBytes(v8::Isolate*, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:291): Use Encode(isolate, ...) [-Wdeprecated-declarations]
      , static_castnode::encoding(encoding));
      ^
      ../node_modules/nan/nan.h: In function ‘ssize_t Nan::DecodeWrite(char*, size_t, v8::Localv8::value, Nan::Encoding)’:
      ../node_modules/nan/nan.h:1824:44: warning: ‘ssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:302): Use DecodeBytes(isolate, ...) [-Wdeprecated-declarations]
      , static_castnode::encoding(encoding));
      ^
      CXX(target) Release/obj.target/serialport/src/serialport_poller.o
      In file included from /root/.node-gyp/0.12.6/deps/v8/include/v8stdint.h:13:0,
      from /root/.node-gyp/0.12.6/deps/v8/include/v8.h:18,
      from /root/.node-gyp/0.12.6/src/node.h:61,
      from ../node_modules/nan/nan.h:47,
      from ../src/serialport_poller.cpp:5:
      /root/.node-gyp/0.12.6/src/node.h: In function ‘void node::FatalException(const v8::TryCatch&)’:
      /root/.node-gyp/0.12.6/src/node.h:275:61: warning: ‘void node::FatalException(v8::Isolate*, const v8::TryCatch&)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:270): Use ParseEncoding(isolate, ...) [-Wdeprecated-declarations]
      return FatalException(v8::Isolate::GetCurrent(), try_catch);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:273:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use FatalException(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node.h: In function ‘v8::Local v8::valuenode::Encode(const void*, size_t, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node.h:287:62: warning: ‘v8::Local v8::valuenode::Encode(v8::Isolate*, const void*, size_t, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:278): Use FatalException(isolate, ...) [-Wdeprecated-declarations]
      return Encode(v8::Isolate::GetCurrent(), buf, len, encoding);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:282:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use Encode(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node.h: In function ‘ssize_t node::DecodeBytes(v8::Handlev8::value, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node.h:298:62: warning: ‘ssize_t node::DecodeBytes(v8::Isolate*, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:291): Use Encode(isolate, ...) [-Wdeprecated-declarations]
      return DecodeBytes(v8::Isolate::GetCurrent(), val, encoding);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:294:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use DecodeBytes(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node.h: In function ‘ssize_t node::DecodeWrite(char*, size_t, v8::Handlev8::value, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node.h:312:75: warning: ‘ssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:302): Use DecodeBytes(isolate, ...) [-Wdeprecated-declarations]
      return DecodeWrite(v8::Isolate::GetCurrent(), buf, buflen, val, encoding);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node.h:307:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use DecodeWrite(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::New(v8::Handlev8::string, node::encoding)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:58:52: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, v8::Handlev8::string, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:52): Use New(isolate, ...) [-Wdeprecated-declarations]
      return New(v8::Isolate::GetCurrent(), string, enc);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:55:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use New(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::New(const char*, size_t)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:67:50: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, const char*, size_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:62): Use New(isolate, ...) [-Wdeprecated-declarations]
      return New(v8::Isolate::GetCurrent(), data, len);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:65:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use New(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::New(char*, size_t, node::smalloc::FreeCallback, void*)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:80:69: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t, node::smalloc::FreeCallback, void*)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:70): Use New(isolate, ...) [-Wdeprecated-declarations]
      return New(v8::Isolate::GetCurrent(), data, length, callback, hint);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:75:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use New(isolate, ...)",
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h: In function ‘v8::Local v8::objectnode::Buffer::Use(char*, uint32_t)’:
      /root/.node-gyp/0.12.6/src/node_buffer.h:90:50: warning: ‘v8::Local v8::objectnode::Buffer::Use(v8::Isolate*, char*, uint32_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:85): Use New(isolate, ...) [-Wdeprecated-declarations]
      return Use(v8::Isolate::GetCurrent(), data, len);
      ^
      /root/.node-gyp/0.12.6/deps/v8/include/v8config.h:313:1: note: in definition of macro ‘V8_DEPRECATED’
      declarator attribute((deprecated(message)))
      ^
      /root/.node-gyp/0.12.6/src/node_buffer.h:88:1: note: in expansion of macro ‘NODE_DEPRECATED’
      NODE_DEPRECATED("Use Use(isolate, ...)",
      ^
      In file included from ../src/serialport_poller.cpp:5:0:
      ../node_modules/nan/nan.h: In function ‘Nan::MaybeLocal v8::objectNan::NewBuffer(char*, size_t, node::smalloc::FreeCallback, void*)’:
      ../node_modules/nan/nan.h:692:34: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, char*, size_t, node::smalloc::FreeCallback, void*)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:70): Use New(isolate, ...) [-Wdeprecated-declarations]
      hint);
      ^
      ../node_modules/nan/nan.h: In function ‘Nan::MaybeLocal v8::objectNan::CopyBuffer(const char*, uint32_t)’:
      ../node_modules/nan/nan.h:707:67: warning: ‘v8::Local v8::objectnode::Buffer::New(v8::Isolate*, const char*, size_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:62): Use New(isolate, ...) [-Wdeprecated-declarations]
      return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
      ^
      ../node_modules/nan/nan.h: In function ‘Nan::MaybeLocal v8::objectNan::NewBuffer(char*, uint32_t)’:
      ../node_modules/nan/nan.h:733:67: warning: ‘v8::Local v8::objectnode::Buffer::Use(v8::Isolate*, char*, uint32_t)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node_buffer.h:85): Use New(isolate, ...) [-Wdeprecated-declarations]
      return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
      ^
      ../node_modules/nan/nan.h: In function ‘void Nan::FatalException(const Nan::TryCatch&)’:
      ../node_modules/nan/nan.h:868:73: warning: ‘void node::FatalException(v8::Isolate*, const v8::TryCatch&)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:270): Use ParseEncoding(isolate, ...) [-Wdeprecated-declarations]
      node::FatalException(v8::Isolate::GetCurrent(), try_catch.try_catch_);
      ^
      ../node_modules/nan/nan.h: In function ‘v8::Local v8::valueNan::Encode(const void*, size_t, Nan::Encoding)’:
      ../node_modules/nan/nan.h:1786:44: warning: ‘v8::Local v8::valuenode::Encode(v8::Isolate*, const void*, size_t, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:278): Use FatalException(isolate, ...) [-Wdeprecated-declarations]
      , static_castnode::encoding(encoding));
      ^
      ../node_modules/nan/nan.h: In function ‘ssize_t Nan::DecodeBytes(v8::Localv8::value, Nan::Encoding)’:
      ../node_modules/nan/nan.h:1802:44: warning: ‘ssize_t node::DecodeBytes(v8::Isolate*, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:291): Use Encode(isolate, ...) [-Wdeprecated-declarations]
      , static_castnode::encoding(encoding));
      ^
      ../node_modules/nan/nan.h: In function ‘ssize_t Nan::DecodeWrite(char*, size_t, v8::Localv8::value, Nan::Encoding)’:
      ../node_modules/nan/nan.h:1824:44: warning: ‘ssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handlev8::value, node::encoding)’ is deprecated (declared at /root/.node-gyp/0.12.6/src/node.h:302): Use DecodeBytes(isolate, ...) [-Wdeprecated-declarations]
      , static_castnode::encoding(encoding));
      ^
      SOLINK_MODULE(target) Release/obj.target/serialport.node
      COPY Release/serialport.node
      make: Leaving directory '/opt/test-sml/node_modules/smartmeter-obis/node_modules/serialport/build'
      smartmeter-obis@0.1.7 node_modules/smartmeter-obis
      ├── open-sml@0.3.1 (int64-buffer@0.1.9)
      ├── request@2.79.0 (is-typedarray@1.0.0, forever-agent@0.6.1, aws-sign2@0.6.0, oauth-sign@0.8.2, tunnel-agent@0.4.3, caseless@0.11.0, stringstream@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, aws4@1.5.0, uuid@3.0.1, combined-stream@1.0.5, qs@6.3.0, form-data@2.1.2, mime-types@2.1.14, tough-cookie@2.3.2, har-validator@2.0.6, http-signature@1.1.1, hawk@3.1.3)
      └── serialport@4.0.7 (bindings@1.2.1, commander@2.9.0, lie@3.1.0, debug@2.6.0, nan@2.5.1, object.assign@4.0.4)</node::encoding></v8::value></v8::value></node::encoding></v8::value></v8::value></node::encoding></v8::value></v8::value></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::string></v8::object></v8::string></v8::object></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></node::encoding></v8::value></v8::value></node::encoding></v8::value></v8::value></node::encoding></v8::value></v8::value></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::string></v8::object></v8::string></v8::object></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value></node::encoding></v8::value></v8::value></node::encoding></v8::value></v8::value></node::encoding></v8::value></v8::value></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::object></v8::string></v8::object></v8::string></v8::object></v8::value></v8::value></v8::value></v8::value></v8::value></v8::value>

      
      Apassungen:
      
      >! ````
      var options = {
          'protocol': "SmlProtocol",
          'transport': "SerialResponseTransport",
          'transportSerialPort': "/dev/ttyUSB0",
          'transportSerialBaudrate': 9600,
          'requestInterval': 10,
          'obisNameLanguage': 'en'
      };
      >! ````
      
      Aufruf:
      
      >! ````
      root@miniyou:/opt/test-sml# node test-sml.js
      /opt/test-sml/node_modules/smartmeter-obis/lib/protocols/SmlProtocol.js:57
                      if (smlFile.messages[msg].isValid()) Object.assign(result, thi
                                                                  ^
      TypeError: undefined is not a function
          at SmlProtocol.handleMessage (/opt/test-sml/node_modules/smartmeter-obis/lib/protocols/SmlProtocol.js:57:61)
          at SerialPort. <anonymous>(/opt/test-sml/node_modules/smartmeter-obis/lib/transports/SerialResponseTransport.js:29:50)
          at SerialPort.emit (events.js:107:17)
          at SerialPort.module.exports.raw (/opt/test-sml/node_modules/smartmeter-obis/node_modules/serialport/lib/parsers.js:7:13)
          at SerialPort._emitData (/opt/test-sml/node_modules/smartmeter-obis/node_modules/serialport/lib/serialport.js:313:18)
          at SerialPort. <anonymous>(/opt/test-sml/node_modules/smartmeter-obis/node_modules/serialport/lib/serialport.js:293:14)
          at SerialPort. <anonymous>(/opt/test-sml/node_modules/smartmeter-obis/node_modules/serialport/lib/serialport.js:306:7)
          at FSReqWrap.wrapper [as oncomplete] (fs.js:527:17)</anonymous></anonymous></anonymous> 
      

      und nun? bringt dich das weiter?

      Gruß,

      a200

      IoBroker auf QNAP TS-451, Raspi und NUC

      1 Antwort Letzte Antwort
      0
      • apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #53

        Die allllllererste Zeile sagt es schon:

        > npm WARN engine request@2.79.0: wanted: {"node":">= 4"} (current: {"node":"0.12.6","npm":"2.11.2"})

        Das ganze (und auch der Adapter später) geht erst ab node 4.x … liegt daran das die Library die ich nutze um SML zu parsen nur 4.x+ unterstützt.

        Ist bestimmt ein Wheezy-basiertes Raspbian im Einsatz oder ?! Fürchte da hilft dann doch nur ein Systemupdate...

        Kennst Du den Thread hier: http://forum.iobroker.net/viewtopic.php?p=49525#p49525

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        1 Antwort Letzte Antwort
        0
        • S Offline
          S Offline
          simpixo
          schrieb am zuletzt editiert von
          #54

          Ja ich habe auf dem Testsystem beim mir Version 6 installiert ;-) läuft tadellos [emoji6]

          Gesendet von iPhone mit Tapatalk Pro

          1 Antwort Letzte Antwort
          0
          • a200A Offline
            a200A Offline
            a200
            schrieb am zuletzt editiert von
            #55

            @apollon77:

            Die allllllererste Zeile sagt es schon:

            > npm WARN engine request@2.79.0: wanted: {"node":">= 4"} (current: {"node":"0.12.6","npm":"2.11.2"})

            Das ganze (und auch der Adapter später) geht erst ab node 4.x … liegt daran das die Library die ich nutze um SML zu parsen nur 4.x+ unterstützt.

            Ist bestimmt ein Wheezy-basiertes Raspbian im Einsatz oder ?! Fürchte da hilft dann doch nur ein Systemupdate...

            Kennst Du den Thread hier: http://forum.iobroker.net/viewtopic.php?p=49525#p49525 `

            war auf dem falschen system.

            jetzt gehts

            129-129:199.130.3*255: Manufacturer ID = HAG

            1-0:0.0.9*255: Device ID = xxxxxxxx

            1-0:1.8.0*255: Time integral 1 Sum active power + (Total) = 5308.7916000000005 kWh

            1-0:1.8.1*255: Time integral 1 Sum active power + (T1) = 5307.7916000000005 kWh

            1-0:1.8.2*255: Time integral 1 Sum active power + (T2) = 1 kWh

            1-0:16.7.0*255: Instantaneous value Total active power (Total) = 382 W

            129-129:199.130.5*255: Forename/Public Key =xxxxxx

            Danke.

            IoBroker auf QNAP TS-451, Raspi und NUC

            1 Antwort Letzte Antwort
            0
            • apollon77A Offline
              apollon77A Offline
              apollon77
              schrieb am zuletzt editiert von
              #56

              Cool, was hattet Ihr für Geräte? Dann weiss ich das das kompatibel ist :-)

              Achja: Ich übverlege die kWh-Werte noch zu runden um so komische Werte wie 5308.7916000000005 nicht zu haben (die passieren beim rechnen bzw umrechnen von Wh in kWh (im SML stehen eigentlich Wh, aber ich denke kWh ist sinnvoller). 4 nachkommastellen? 6? meinungen?

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              1 Antwort Letzte Antwort
              0
              • S Offline
                S Offline
                simpixo
                schrieb am zuletzt editiert von
                #57

                Also ich würde 4 nachkommastellen vorschlagen, den der Zähler selbst zeigt ja auch 4 Stellen hinter Komma an [emoji6]

                Ich habe einen EMH Zähler mit den IR Lesekopf von Udo [emoji3]

                Werden in deinem Adapter auch andere Sachen ausgerechnet wie Tages/ Wochen/ Monatsverbrauch!? [emoji848]

                Gesendet von iPhone mit Tapatalk Pro

                1 Antwort Letzte Antwort
                0
                • apollon77A Offline
                  apollon77A Offline
                  apollon77
                  schrieb am zuletzt editiert von
                  #58

                  @simpixo:

                  Werden in deinem Adapter auch andere Sachen ausgerechnet wie Tages/ Wochen/ Monatsverbrauch!? [emoji848] `

                  Es gibt Zähler die solche Werte zurückgeben … von daher wollte ich es aktuell nicht ausrechnen sondern die Werte erstmal so darstellen Wie sie reinkommen ... Wäre vllt eine später Erweiterungsidee, aber geht nicht für alle Datenpunkte also muss man konfigurierbar haben und so ... hm ...

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  1 Antwort Letzte Antwort
                  0
                  • S Offline
                    S Offline
                    simpixo
                    schrieb am zuletzt editiert von
                    #59

                    Achso meiner zeigt die Werte im Display an, aber in den Daten die ich logge sind die nIcht dabei oder wie bekomme ich die denn raus!? [emoji848]

                    Gesendet von iPhone mit Tapatalk Pro

                    1 Antwort Letzte Antwort
                    0
                    • apollon77A Offline
                      apollon77A Offline
                      apollon77
                      schrieb am zuletzt editiert von
                      #60

                      Frag mal bei deinen Stadtwerken?! Oder man müsste mal ne Detail-Doku zu dem Gerät haben, vllt steht da was drin. Vllt geht es per D0-Protokoll (also eins was man aktiv anfragt … die Library kann das auch grins

                      Ich weiss das man die Anzeige im Display freischalten kann ... hatte angenommen das das dann auch im SML mitkommt ... hm ...

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      1 Antwort Letzte Antwort
                      0
                      • a200A Offline
                        a200A Offline
                        a200
                        schrieb am zuletzt editiert von
                        #61

                        @apollon77:

                        Cool, was hattet Ihr für Geräte? Dann weiss ich das das kompatibel ist :-)

                        Achja: Ich übverlege die kWh-Werte noch zu runden um so komische Werte wie 5308.7916000000005 nicht zu haben (die passieren beim rechnen bzw umrechnen von Wh in kWh (im SML stehen eigentlich Wh, aber ich denke kWh ist sinnvoller). 4 nachkommastellen? 6? meinungen? `

                        Gerät: HAGER EHZ363W5

                        Die Nachkommastellen sind auf parseFloat() zurückzuführen. Dafür gibt es verschiedene Lösungen:

                        newValue = parseFloat(value.replace(',', '.')).toFixed(2);

                        oder

                        Math.round(number * 100) / 100

                        Variante 1 würde gleich den Punkt in ein Komma umwandeln. Wie auch immer, ich denke, dass 4 Stellen ausreichend sein sollten.

                        Danke für deine Mühe,

                        a200.

                        IoBroker auf QNAP TS-451, Raspi und NUC

                        1 Antwort Letzte Antwort
                        0
                        • apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #62

                          Laut Format sind es bis zu 7 Nachkommastellen die erlaubt sind … will ungern Genauigkeit verlieren.

                          hab noch nen Trick gefunden den ich versuche:

                          parseFloat(value.toFixed(7))

                          Mal schauen obs tut. ist im nächsten Update drin :-) Könnt gerne testen.

                          Einmal neu "npm install smartmeter-obis" ausführen dann bekommt Ihr v0.2.0 der Library. Das testskript solle unverändert weiter laufen.

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          1 Antwort Letzte Antwort
                          0
                          • S Offline
                            S Offline
                            simpixo
                            schrieb am zuletzt editiert von
                            #63

                            @apollon77:

                            ist im nächsten Update drin Könnt gerne testen. `

                            Habe es gerade getestet und das kam dabei raus….

                            129-129:199.130.3*255: Manufacturer ID = EMH
                            1-0:0.0.9*255: Device ID = xxx
                            1-0:1.8.0*255: Zählerstand 1 Summe Wirkarbeit Bezug + (Total) = 5764.9238 kWh
                            1-0:1.8.1*255: Zählerstand 1 Summe Wirkarbeit Bezug + (T1) = 5764.9238 kWh
                            1-0:1.8.2*255: Zählerstand 1 Summe Wirkarbeit Bezug + (T2) = 0 kWh
                            1-0:16.7.0*255: Momentanwert Gesamtwirkleistung (Total) = 473.6 W
                            129-129:199.130.5*255: Forename/Public Key =
                            

                            Gruß

                            Adrian

                            1 Antwort Letzte Antwort
                            0
                            • apollon77A Offline
                              apollon77A Offline
                              apollon77
                              schrieb am zuletzt editiert von
                              #64

                              Hat mal zumindestens nix kaputt gemacht ;-)

                              Danke!

                              Kannst ja mal ein paar Mins laufen lassen ob nochmal solche langen Nachkommastellen kommen wie früher … kam bei mir nur manchmal ... nicht immer

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              1 Antwort Letzte Antwort
                              0
                              • apollon77A Offline
                                apollon77A Offline
                                apollon77
                                schrieb am zuletzt editiert von
                                #65

                                Zwischenstand für die wartenden: Läuft bei mir … jetzt muss ich nur noch die Admin-Seite zum Konfigurieren machen dann gibts vorabversion für alle :-)

                                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                1 Antwort Letzte Antwort
                                0
                                • S Offline
                                  S Offline
                                  simpixo
                                  schrieb am zuletzt editiert von
                                  #66

                                  Juhuuuuuu [emoji1360]

                                  Gesendet von iPhone mit Tapatalk Pro

                                  1 Antwort Letzte Antwort
                                  0
                                  • S Offline
                                    S Offline
                                    simpixo
                                    schrieb am zuletzt editiert von
                                    #67

                                    Dann muss ich nur noch ein Weg finden die Impulse des Gaszählers in den iobroker zu bekommen! Am besten wäre ne Lösung die auch diese Impulse zählt wenn der Strom ausfällt [emoji848]

                                    Gesendet von iPhone mit Tapatalk Pro

                                    1 Antwort Letzte Antwort
                                    0
                                    • apollon77A Offline
                                      apollon77A Offline
                                      apollon77
                                      schrieb am zuletzt editiert von
                                      #68

                                      Das ist auch für den Wasserzähler noch meine Herausforderung. Erste Idee war ein ioBroker.Adapter, aber der ist halt weg sobald ioBroker weg ist und allein beim Reboot kommt man aus dem Tritt.

                                      Also braucht man entweder ein Device was "sehr simpel ist" aber Pulse zählt und per einer Schnittstelle abfragbar ist. SML wäre sogar noch cooler.

                                      Die einfachste Idee ist ein Arduino oder so ein kleines Gerätchen … hab auch schon nen Beispiel-Skin gefunden der es sogar per 1-wire macht ... aber sowas bräuchte man bezahlbar :-)

                                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      1 Antwort Letzte Antwort
                                      0
                                      • S Offline
                                        S Offline
                                        simpixo
                                        schrieb am zuletzt editiert von
                                        #69

                                        Stimmt…. ich brauche das dann für den Gaszähler und den Wasserzähler!

                                        Könnte man nicht einfach ein Wemos Mini dafür Missbrauchen!? Ein passender Sketch und ein Akku als Usv und fertig ist der impulszähler! Die Werte werden zwischengespeichert mit nem Zeitstempel und iobroker holt sich sofern der Zeitstempel neuer ist die Daten ab

                                        Ja irgendwie so oder auch anders....irgendeine Lösung werden wir schon finden

                                        Gruß

                                        Adrian

                                        Gesendet von iPhone mit Tapatalk Pro

                                        1 Antwort Letzte Antwort
                                        0
                                        • apollon77A Offline
                                          apollon77A Offline
                                          apollon77
                                          schrieb am zuletzt editiert von
                                          #70

                                          So, los gehts … bzw HIER -> http://forum.iobroker.net/viewtopic.php?f=36&t=5047 <- gehts weiter :-))

                                          Viel Spass!!!

                                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                          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

                                          446

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          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