Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. mich

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 4
    • Best 0
    • Groups 1

    mich

    @mich

    Starter

    0
    Reputation
    3
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mich Follow
    Starter

    Latest posts made by mich

    • RE: Adapter "smartmeter"

      Ich glaub, ich hab mein Problem gefunden:
      https://smarthome.buanet.de/2020/02/usb-devices-im-iobroker-docker-container-nutzen/

      posted in ioBroker Allgemein
      M
      mich
    • RE: Adapter "smartmeter"

      @klassisch

      2021-12-22 15:16:25.047 - info: host.ioBroker "system.adapter.smartmeter.0" enabled
      2021-12-22 15:16:25.120 - info: host.ioBroker instance system.adapter.smartmeter.0 started with pid 4135
      2021-12-22 15:16:26.549 - debug: smartmeter.0 (4135) Redis Objects: Use Redis connection: 127.0.0.1:9001
      2021-12-22 15:16:26.585 - debug: smartmeter.0 (4135) Objects client ready ... initialize now
      2021-12-22 15:16:26.587 - debug: smartmeter.0 (4135) Objects create System PubSub Client
      2021-12-22 15:16:26.589 - debug: smartmeter.0 (4135) Objects create User PubSub Client
      2021-12-22 15:16:26.590 - debug: smartmeter.0 (4135) Objects client initialize lua scripts
      2021-12-22 15:16:26.612 - debug: smartmeter.0 (4135) Objects connected to redis: 127.0.0.1:9001
      2021-12-22 15:16:26.620 - debug: smartmeter.0 (4135) objectDB connected
      2021-12-22 15:16:26.622 - debug: smartmeter.0 (4135) Redis States: Use Redis connection: 127.0.0.1:9000
      2021-12-22 15:16:26.630 - debug: smartmeter.0 (4135) States create System PubSub Client
      2021-12-22 15:16:26.631 - debug: smartmeter.0 (4135) States create User PubSub Client
      2021-12-22 15:16:26.637 - debug: smartmeter.0 (4135) States connected to redis: 127.0.0.1:9000
      2021-12-22 15:16:26.638 - debug: smartmeter.0 (4135) statesDB connected
      2021-12-22 15:16:26.733 - debug: smartmeter.0 (4135) Plugin sentry Initialize Plugin (enabled=true)
      2021-12-22 15:16:26.952 - info: smartmeter.0 (4135) starting. Version 3.2.1 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v12.22.8, js-controller: 3.3.21
      2021-12-22 15:16:26.986 - debug: smartmeter.0 (4135) SmartmeterObis options: {"debug":2,"protocol":"SmlProtocol","transport":"SerialResponseTransport","requestInterval":"30","anotherQueryDelay":"1000","transportSerialPort":"/dev/ttyUSB0","transportSerialBaudrate":9600,"transportSerialDataBits":8,"transportSerialStopBits":1,"transportSerialParity":"none","transportSerialMessageTimeout":null,"protocolSmlIgnoreInvalidCRC":false}
      2021-12-22 15:16:26.989 - debug: smartmeter.0 (4135) CREATE SERIALPORT: 9600 8 1 none
      2021-12-22 15:16:26.996 - debug: smartmeter.0 (4135) SET MESSAGE TIMEOUT TIMER: 120000
      2021-12-22 15:16:27.015 - debug: smartmeter.0 (4135) connected set to false
      
      posted in ioBroker Allgemein
      M
      mich
    • RE: Adapter "smartmeter"

      @homoran
      ja, läuft im Docker und das Auslesen ist aus der Console des Host. Zeitgleich war das nicht und auch mehrere Reboots dazwischen, falls durch das Auslesen der Port geöffnet bleibt.

      posted in ioBroker Allgemein
      M
      mich
    • RE: Adapter "smartmeter"

      Hallo,

      leider krieg ich den Adapter Smartmeter nicht zum laufen. Ich hab grad erst mit der Installation von iobroker (und influxDB) auf einem Raspi per Docker compose begonnen:

      version: '3.8'
      
      # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
      services:
        influxdb:
          container_name: influxdb
          image: influxdb:1.8
          hostname: influxDB
          ports:
            - "8083:8083"
            - "8086:8086"
            - "8090:8090"
          environment:
            - INFLUXDB_DB=sensors
            - INFLUXDB_USER=xxx
            - INFLUXDB_USER_PASSWORD=xxx
          # Volumes store your data between container upgrades
          volumes:
            - ./influxdb-storage/:/var/lib/influxdb
          restart: always
          network_mode: bridge
      
        grafana:
          image: grafana/grafana:latest
          container_name: grafana
          hostname: grafana
          ports:
            - "3000:3000"
          depends_on:
            - influxdb
          volumes:
            - ./grafana-storage:/var/lib/grafana
          restart: always
          network_mode: bridge
      
        ioBroker:
          image: buanet/iobroker:latest-v5
          container_name: ioBroker
          hostname: ioBroker
          ports:
            - "8081:8081"
          depends_on:
            - influxdb
          environment:
            TZ: 'Europe/Berlin'
          volumes:
            - ./iobroker-storage:/opt/iobroker
          restart: always
          network_mode: bridge
      

      Der Lesekopf läuft und zeigt mir auch was an:
      sml.png

      Angeblich ist "1b 1b 1b ..." der Beginn einer neuen Nachricht, also vermute ich, dass die Hardware funktioniert.

      Das Log gibt mir leider keinen Aufschluss:

      2021-12-22 14:22:27.321 - debug: smartmeter.0 (1339) Error: No or too long answer from Serial Device after last request.
      2021-12-22 14:24:57.325 - warn: smartmeter.0 (1339) No or too long answer from Serial Device after last request.
      2021-12-22 14:24:57.326 - debug: smartmeter.0 (1339) Error: No or too long answer from Serial Device after last request.
      2021-12-22 14:27:27.329 - warn: smartmeter.0 (1339) No or too long answer from Serial Device after last request.
      2021-12-22 14:27:27.330 - debug: smartmeter.0 (1339) Error: No or too long answer from Serial Device after last request.
      2021-12-22 14:29:27.824 - silly: smartmeter.0 (1339) States system redis pmessage io.messagebox.system.adapter.smartmeter.0/io.messagebox.system.adapter.smartmeter.0:{"command":"listUart","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":47,"ack":false,"time":1640179767817},"_id":25487976}
      2021-12-22 14:29:27.825 - debug: smartmeter.0 (1339) Message received = {"command":"listUart","message":null,"from":"system.adapter.admin.0","callback":{"message":null,"id":47,"ack":false,"time":1640179767817},"_id":25487976}
      2021-12-22 14:29:28.020 - info: smartmeter.0 (1339) List of port: [{"path":"/dev/ttyUSB0"},{"path":"/dev/ttyAMA0"}]
      2021-12-22 14:29:28.022 - debug: smartmeter.0 (1339) sendTo "listUart" to system.adapter.admin.0 from system.adapter.smartmeter.0
      2021-12-22 14:29:57.333 - warn: smartmeter.0 (1339) No or too long answer from Serial Device after last request.
      2021-12-22 14:29:57.334 - debug: smartmeter.0 (1339) Error: No or too long answer from Serial Device after last request.
      2021-12-22 14:30:18.501 - info: host.ioBroker stopInstance system.adapter.smartmeter.0 (force=false, process=true)
      2021-12-22 14:30:18.518 - silly: smartmeter.0 (1339) States system redis pmessage system.adapter.smartmeter.0.sigKill/system.adapter.smartmeter.0.sigKill:{"val":-1,"ack":false,"ts":1640179818515,"q":0,"from":"system.host.ioBroker","lc":1640179818515}
      2021-12-22 14:30:18.520 - info: host.ioBroker stopInstance system.adapter.smartmeter.0 send kill signal
      2021-12-22 14:30:18.519 - info: smartmeter.0 (1339) Got terminate signal TERMINATE_YOURSELF
      2021-12-22 14:30:18.521 - info: smartmeter.0 (1339) terminating
      2021-12-22 14:30:18.523 - debug: smartmeter.0 (1339) Plugin sentry destroyed
      2021-12-22 14:30:18.524 - info: smartmeter.0 (1339) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2021-12-22 14:30:19.069 - info: host.ioBroker instance system.adapter.smartmeter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2021-12-22 14:30:21.625 - info: host.ioBroker instance system.adapter.smartmeter.0 started with pid 1884
      2021-12-22 14:30:23.025 - debug: smartmeter.0 (1884) Redis Objects: Use Redis connection: 127.0.0.1:9001
      2021-12-22 14:30:23.065 - debug: smartmeter.0 (1884) Objects client ready ... initialize now
      2021-12-22 14:30:23.068 - debug: smartmeter.0 (1884) Objects create System PubSub Client
      2021-12-22 14:30:23.069 - debug: smartmeter.0 (1884) Objects create User PubSub Client
      2021-12-22 14:30:23.070 - debug: smartmeter.0 (1884) Objects client initialize lua scripts
      2021-12-22 14:30:23.093 - debug: smartmeter.0 (1884) Objects connected to redis: 127.0.0.1:9001
      2021-12-22 14:30:23.096 - silly: smartmeter.0 (1884) redis psubscribe cfg.o.system.user.*
      2021-12-22 14:30:23.101 - debug: smartmeter.0 (1884) objectDB connected
      2021-12-22 14:30:23.104 - debug: smartmeter.0 (1884) Redis States: Use Redis connection: 127.0.0.1:9000
      2021-12-22 14:30:23.111 - debug: smartmeter.0 (1884) States create System PubSub Client
      2021-12-22 14:30:23.112 - debug: smartmeter.0 (1884) States create User PubSub Client
      2021-12-22 14:30:23.119 - debug: smartmeter.0 (1884) States connected to redis: 127.0.0.1:9000
      2021-12-22 14:30:23.120 - debug: smartmeter.0 (1884) statesDB connected
      2021-12-22 14:30:23.245 - debug: smartmeter.0 (1884) Plugin sentry Initialize Plugin (enabled=true)
      2021-12-22 14:30:23.453 - info: smartmeter.0 (1884) starting. Version 3.2.1 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v12.22.8, js-controller: 3.3.21
      2021-12-22 14:30:23.500 - debug: smartmeter.0 (1884) SmartmeterObis options: {"debug":0,"protocol":"SmlProtocol","transport":"SerialResponseTransport","requestInterval":"30","anotherQueryDelay":"1000","transportSerialPort":"/dev/ttyUSB0","transportSerialBaudrate":9600,"transportSerialDataBits":8,"transportSerialStopBits":1,"transportSerialParity":"none","transportSerialMessageTimeout":null,"protocolSmlIgnoreInvalidCRC":false}
      2021-12-22 14:30:23.567 - silly: smartmeter.0 (1884) States system redis pmessage system.adapter.smartmeter.0.logLevel/system.adapter.smartmeter.0.logLevel:{"val":"silly","ack":true,"ts":1640179823508,"q":0,"from":"system.adapter.smartmeter.0","lc":1640138878782}
      2021-12-22 14:30:23.657 - debug: smartmeter.0 (1884) connected set to false
      2021-12-22 14:32:23.514 - warn: smartmeter.0 (1884) No or too long answer from Serial Device after last request.
      2021-12-22 14:32:23.516 - debug: smartmeter.0 (1884) Error: No or too long answer from Serial Device after last request.
      2021-12-22 14:34:53.521 - warn: smartmeter.0 (1884) No or too long answer from Serial Device after last request.
      2021-12-22 14:34:53.523 - debug: smartmeter.0 (1884) Error: No or too long answer from Serial Device after last request.
      2021-12-22 14:37:23.525 - warn: smartmeter.0 (1884) No or too long answer from Serial Device after last request.
      2021-12-22 14:37:23.527 - debug: smartmeter.0 (1884) Error: No or too long answer from Serial Device after last request.
      2021-12-22 14:39:53.530 - warn: smartmeter.0 (1884) No or too long answer from Serial Device after last request.
      2021-12-22 14:39:53.530 - debug: smartmeter.0 (1884) Error: No or too long answer from Serial Device after last request.
      2021-12-22 14:42:23.533 - warn: smartmeter.0 (1884) No or too long answer from Serial Device after last request.
      2021-12-22 14:42:23.534 - debug: smartmeter.0 (1884) Error: No or too long answer from Serial Device after last request.
      

      Laut Handbuch meines Stromzählers (EMH eHZ-KW8...) sollten auch die Einstellungen passen:
      conf.png

      Als Hardware hab ich einen vzLogger-kompatiblen TTL-Lesekopf an einem PL2303 USB-Seriell Adapter.
      Woran können meine Probleme liegen?

      posted in ioBroker Allgemein
      M
      mich
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo