Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter "smartmeter"

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Adapter "smartmeter"

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @rossi73 last edited by apollon77

      @rossi73 ist der Port anderweitig belegt? Vllt von deinem cat an der Kommandozeile? Ansonsten Konfig ricjtig?

      R 1 Reply Last reply Reply Quote 0
      • M-A Hueb
        M-A Hueb last edited by

        Hallo,

        habe iobroker unter Windows am laufen. nach einem Update des js.controllers startet mein smartmeter -Adapter nicht mehr.
        Folgendes steht im Log:

        host.Server(SmartHome)	2021-10-27 12:06:11.367	info	Restart adapter system.adapter.smartmeter.0 because enabled
        host.Server(SmartHome)	2021-10-27 12:06:11.367	error	instance system.adapter.smartmeter.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        host.Server(SmartHome)	2021-10-27 12:06:11.367	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
        host.Server(SmartHome)	2021-10-27 12:06:11.367	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: at Object.<anonymous> (C:\Program Files\iobroker\SmartHome\node_modules\@serialport\bindings\lib\win32.js:1:36)
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: at bindings (C:\Program Files\iobroker\SmartHome\node_modules\@serialport\bindings\node_modules\bindings\bindings.js:112:48)
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: \\?\C:\Program Files\iobroker\SmartHome\node_modules\@serialport\bindings\build\Release\bindings.node
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: Error: \\?\C:\Program Files\iobroker\SmartHome\node_modules\@serialport\bindings\build\Release\bindings.node ist keine zulässige Win32-Anwendung.
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]:
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: ^
        host.Server(SmartHome)	2021-10-27 12:06:11.366	error	Caught by controller[0]: throw e;
        host.Server(SmartHome)	2021-10-27 12:06:11.365	error	Caught by controller[0]: C:\Program Files\iobroker\SmartHome\node_modules\@serialport\bindings\node_modules\bindings\bindings.js:121
        host.Server(SmartHome)	2021-10-27 12:06:09.208	info	instance system.adapter.smartmeter.0 started with pid 9080
        

        Was muss ich machen das es wieder läuft?

        M-A Hueb 1 Reply Last reply Reply Quote 0
        • M-A Hueb
          M-A Hueb @M-A Hueb last edited by

          @m-a-hueb erledigt. Windows reboot hilft

          1 Reply Last reply Reply Quote 1
          • R
            rossi73 @apollon77 last edited by rossi73

            @apollon77

            Servus, sorry, jetzt kommen DAU-Fragen:
            Wie/Wo finde ich raus ob der Port anderweitig belegt ist?
            Den Befehl cat kannte ich nicht und hab ihn denke ich noch nie benutzt. Den Raspberry hab ich auch schon mal des öfteren ge-rebootet.

            Konfig:

            9bd7e4be-7d81-4c08-9a83-a9410608e8c2-image.png

            Danke!

            Homoran R 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @rossi73 last edited by

              @rossi73 sagte in Adapter "smartmeter":

              Wie/Wo finde ich raus ob der Port anderweitig belegt ist?
              Den Befehl cat kannte ich nicht

              @rossi73 sagte in Adapter "smartmeter":

              in der Console kann ich DAten vom Lesekopf empfangen (1b 1b 1b 1b...).

              wie kommst du denn da an den Kopf?
              (ohne seinen Port zu nutzen)

              R 1 Reply Last reply Reply Quote 0
              • R
                rossi73 @Homoran last edited by

                @homoran

                Hallo, Über Minicom

                sudo apt-get install minicom

                sudo minicom -D /dev/ttyUSB0 -b 9600 --displayhex --wrap

                aber den Befehl beende ich dann ja wieder...

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

                  @rossi73 sagte in Adapter "smartmeter":

                  aber den Befehl beende ich dann ja wieder...

                  und wie gibst du danach den Port weider frei?

                  R 2 Replies Last reply Reply Quote 0
                  • R
                    rossi73 @Homoran last edited by rossi73

                    @homoran

                    wahrscheinlich gar nicht wenn du so frägst 😉 wie mach ich das?

                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @rossi73 last edited by

                      @rossi73 Reboot ist ne gute idee 🙂

                      1 Reply Last reply Reply Quote 0
                      • R
                        rossi73 @rossi73 last edited by

                        @rossi73 sagte in Adapter "smartmeter":

                        @apollon77
                        Den Raspberry hab ich auch schon mal des öfteren ge-rebootet.

                        Das ist immer meine erste Option... 😄

                        1 Reply Last reply Reply Quote 0
                        • R
                          rossi73 @Homoran last edited by

                          @homoran @apollon77

                          Kann es daran liegen das ich ioBroker im docker Container laufen lasse? Grüße

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

                            @rossi73 sagte in Adapter "smartmeter":

                            Kann es daran liegen das ich ioBroker im docker Container laufen lasse?

                            solche Informationen gehören immer in die erste Anfrage sonst sucht man sich dumm und dämlich 😡

                            Möglich ist das natürlich, da der Docker so seine Spezialitäten hat.
                            und genau deshalb nutze ich ihn nicht und kann da nicht mehr helfen.

                            Aber ioBroker im Docker auf RasPi????
                            und von wo hast du sudo minicom -D /dev/ttyUSB0 -b 9600 --displayhex --wrap aufgerufen?

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              rossi73 @Homoran last edited by

                              @homoran

                              Sorry! 😖

                              Das Problem war das ich den iobroker ohne docker container gar nicht zum Laufen brachte... werde es dann nachher aber nochmal probieren.

                              aufgerufen habe ich es so:

                              pi@raspi001:~ $ cd /opt/iobroker
                              pi@raspi001:/opt/iobroker $ sudo minicom -D /dev/ttyUSB0 -b 9600 --displayhex --                                                                                                                                                             wrap
                              
                              Willkommen zu minicom 2.7.1
                              
                              Optionen: I18n
                              Übersetzt am Aug 13 2017, 15:25:34.
                              Port /dev/ttyUSB0, 17:02:42
                              
                              Drücken Sie CTRL-A  Z für Hilfe zu speziellen Tasten
                              1b 1b 1b 1b 01 01 01 01 76 05 0f 2c 61 07 62 00 62 00 72 63 01 01 76 01 01 05 05
                               0e cb 03 0b 06 49 53 4b 01 0e 1f 58 6e 76 01 01 63 61 27 00 76 05 0f 2c 61 08 6
                              2 00 62 00 72 63 07 01 77 01 0b 06 49 53 4b 01 0e 1f 58 6e 76 07 01 00 62 0a ff
                              ff 72 62 01 65 09 04 94 fd 77 77 07 81 81 c7 82 03 ff 01 01 01 01 04 49 53 4b 01
                               77 07 01 00 00 00 09 ff 01 01 01 01 0b 06 49 53 4b 01 0e 1f 58 6e 76 01 77 07 0
                              1 00 01 08 00 ff 65 00 00 01 82 01 62 1e 52 ff 59 00 00 00 00 07 84 7c 40 01 77
                              07 01 00 01 08 01 ff 01 01 62 1e 52 ff 59 00 00 00 00 07 84 7c 40 01 77 07 01 00
                               01 08 02 ff 01 01 62 1e 52 ff 59 00 00 00 00 00 00 00 00 01 77 07 01 00 10 07 0
                              0 ff 01 01 62 1b 52 00 55 00 00 00 2a 01 77 07 81 81 c7 82 05 ff 01 01 01 01 83
                              02 46 de 79 95 02 b5 79 d0 5e ba 80 e1 5a 0c 7c f3 6c e7 83 69 dc bd 92 8d e3 74
                               49 c6 ac 85 9d 9f 03 9a 5a 0a 7c 6f 7e 48 ef 0f c4 5a cd e2 9e e2 01 01 01 63 a
                              
                              Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @rossi73 last edited by

                                @rossi73 sagte in Adapter "smartmeter":

                                Das Problem war das ich den iobroker ohne docker container gar nicht zum Laufen brachte.

                                Auf 'nem Raspberry?!?

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

                                  @rossi73 sagte in Adapter "smartmeter":

                                  Das Problem war das ich den iobroker ohne docker container gar nicht zum Laufen brachte

                                  dann ist zu befürchten, dass da jetzt auch der Wurm drin ist.

                                  Auf dem Raspi ist es ein Befehl und ioBroker läuft

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

                                    @rossi73 sagte in Adapter "smartmeter":

                                    aufgerufen habe ich es so:

                                    aus der Konsole des ioBroker-Verzeichnisses im Docker???

                                    @homoran sagte in Adapter "smartmeter":

                                    von wo hast du...

                                    wenn das von da klappt sollte es auch vom Adapter aus klappen

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      rossi73 @Homoran last edited by

                                      @thomas-braun

                                      ja, Raspberry Pi 4

                                      @Homoran

                                      sind zwei verschiedene SD-Karten...

                                      und ja, hätte ich auch vermutet aber smartmeter will nicht mit mir kooperieren, egal was ich da in den Einstellungen mache... Zig Kombinationen durchprobiert.

                                      Ein Befehl und es läuft? Schaun ma mal...

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @rossi73 last edited by

                                        @rossi73 sagte in Adapter "smartmeter":

                                        ja, Raspberry Pi 4

                                        Da würde ich ja noch mehr als sonst von einem Docker-Container abraten.

                                        R 2 Replies Last reply Reply Quote 0
                                        • R
                                          rossi73 @Thomas Braun last edited by

                                          Da ich diesbezüglich ein blutiger Anfänger bin könntest du mir das evtl ein wenig erklären?

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @rossi73 last edited by Thomas Braun

                                            @rossi73
                                            Was? Wie man RaspberryOS und anschließend ioBroker nativ installiert?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            281
                                            3634
                                            1681741
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo