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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Adapter "smartmeter"

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

      @church: muss ich Montag checken …

      1 Reply Last reply Reply Quote 0
      • C
        church last edited by

        Super, danke!

        1 Reply Last reply Reply Quote 0
        • A
          Arminhh last edited by

          Guten Morgen,

          ich habe jetzt alle Seiten durch gelesen! Leider habe ich noch ein Problem.

          Ich habe mir diese Woche den extra den Multihost eingerichtet. Der Slave ein PI 3B ist im Keller und der Lesekopf von UDO angeschlossen.

          Der Smartmeter Adapter lässt sich installieren. Beim Starten des Adapters erscheint die Fehlermeldung wie auf Seite 28 gefunden

          host.rasp_pv1_goke 2017-07-24 21:35:41.501 error instance system.adapter.smartmeter.0 terminated with code 1 ()

          host.rasp_pv1_goke 2017-07-24 21:35:40.719 info instance system.adapter.smartmeter.0 started with pid 11153

          host.rasp_pv1_goke 2017-07-24 21:35:35.334 info Restart adapter system.adapter.smartmeter.0 because enabled

          Scheinbar muss laut Seite 28

          " Komisch … Dann löscht mal den "open-sml" ordner und installiere dann den Adapter. Sollte dann wieder installiert werden. Falls nicht wirf auch smartmeter-obis weg (oder gleich beides)"

          gelöscht werden!

          Leider finde ich weder wen der Adapter installiert ist, noch wenn er deinstalliert ist die beiden Verzeichnisse!

          Danke für die Hilfe

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

            Hallo Armin,

            nur damit wir vom gleichen reden:

            Bei Multihost darf vor der Verbindung zum Master NUR der admin (und der Discovery) installiert sein.

            Alles andere muss anschließend über den Master (unter Host.1=Slave) installiert werden.

            Auf keinen Fall vorher auf dem Keller-Pi installieren und dann erst als Slave definieren.

            Hast du das so ausgeführt?

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • A
              Arminhh last edited by

              Danke für den Hinweis! Das habe ich berücksichtigt! Erst die Verbindung zwischen Host und Slave dann über den Master Admin auf dem Slave den Smartmeter Adapter installiert!

              mfg

              Armin

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

                Danke für die Antwort,

                dann ist die Grundinstallation schon mal ok (so habe ich es auch - allerdings mit einem Pi2) und es läuft.

                Dann müsste @apollon77 etwas dazu sagen, der ist aber in Urlaub, was ihn aber anscheinend nicht hindern wird 😉

                Gruß

                Rainer

                1 Reply Last reply Reply Quote 0
                • A
                  Arminhh last edited by

                  Ich habe auch test weise mal einen anderen Adapter installiert. Der lief auf Anhieb auf dem Slave ! Liegt also nicht an meiner Installation!

                  mfg

                  Arminhh

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

                    Vielleicht wären noch deine Versionen von js-controller und admin interessant.

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • A
                      Arminhh last edited by

                      alles aktuell

                      js-controller 1.1.2

                      Admin 2.0.2

                      1 Reply Last reply Reply Quote 0
                      • A
                        Arminhh last edited by

                        die Dateien bzw. Verzeichnisse habe ich inzwischen gefunden gelöscht und neu installiert. Leider bekomme ich immer noch die Fehlermeldung

                        host.IOBrokerKeller	2017-08-17 14:30:03.823	info	Do not restart adapter system.adapter.smartmeter.0 because disabled or deleted
                        host.IOBrokerKeller	2017-08-17 14:30:03.822	error	instance system.adapter.smartmeter.0 terminated with code 1 ()
                        host.IOBrokerKeller	2017-08-17 14:29:34.382	info	instance system.adapter.smartmeter.0 terminated with code null ()
                        host.IOBrokerKeller	2017-08-17 14:29:34.381	warn	instance system.adapter.smartmeter.0 terminated due to SIGTERM
                        host.IOBrokerKeller	2017-08-17 14:29:34.374	info	stopInstance system.adapter.smartmeter.0 killing pid 1842
                        host.IOBrokerKeller	2017-08-17 14:29:34.373	info	stopInstance system.adapter.smartmeter.0
                        host.IOBrokerKeller	2017-08-17 14:29:34.373	info	"system.adapter.smartmeter.0" disabled
                        host.IOBrokerKeller	2017-08-17 14:29:34.372	info	object change system.adapter.smartmeter.0
                        host.IOBrokerKeller	2017-08-17 14:29:33.143	info	instance system.adapter.smartmeter.0 started with pid 1842
                        host.IOBrokerKeller	2017-08-17 14:29:32.146	info	Restart adapter system.adapter.smartmeter.0 because enabled
                        host.IOBrokerKeller	2017-08-17 14:29:32.146	error	instance system.adapter.smartmeter.0 terminated with code 1 ()
                        host.IOBrokerKeller	2017-08-17 14:29:30.517	info	instance system.adapter.smartmeter.0 started with pid 1836
                        host.IOBrokerKeller	2017-08-17 14:29:03.105	info	Restart adapter system.adapter.smartmeter.0 because enabled
                        

                        Hat noch jemand einen Tip?

                        Danke im Vorraus

                        LG

                        Arminhh

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

                          Mach mal eine Installation als root auf der Konsole.

                          cd /opt/iobroker
                          npm install iobroker.smartmeter --production
                          

                          Gruß

                          Rainer

                          1 Reply Last reply Reply Quote 0
                          • A
                            Arminhh last edited by

                            @Homoran:

                            Mach mal eine Installation als root auf der Konsole.

                            cd /opt/iobroker
                            npm install iobroker.smartmeter --production
                            

                            Gruß

                            Rainer `

                            die Idee hatte ich auch schon. Habe es aber trotzdem noch einmal probiert! War leider aber auch ohne Erfolg!

                            host.IOBrokerKeller	2017-08-17 15:03:47.884	info	Restart adapter system.adapter.smartmeter.0 because enabled
                            host.IOBrokerKeller	2017-08-17 15:03:47.883	error	instance system.adapter.smartmeter.0 terminated with code 1 ()
                            host.IOBrokerKeller	2017-08-17 15:03:46.233	info	instance system.adapter.smartmeter.0 started with pid 2111
                            host.IOBrokerKeller	2017-08-17 15:03:16.211	info	Restart adapter system.adapter.smartmeter.0 because enabled
                            host.IOBrokerKeller	2017-08-17 15:03:16.211	error	instance system.adapter.smartmeter.0 terminated with code 1 ()
                            host.IOBrokerKeller	2017-08-17 15:03:14.596	info	instance system.adapter.smartmeter.0 started with pid 2105
                            

                            Danke für die Hilfe!!

                            mfg

                            Arminhh

                            1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer last edited by

                              @Arminhh:

                              host.IOBrokerKeller	2017-08-17 14:29:32.146	error	instance system.adapter.smartmeter.0 terminated with code 1 ()
                              host.IOBrokerKeller	2017-08-17 14:29:30.517	info	instance system.adapter.smartmeter.0 started with pid 1836
                              host.IOBrokerKeller	2017-08-17 14:29:03.105	info	Restart adapter system.adapter.smartmeter.0 because enabled
                              ```` `  
                              

                              Starte den Adapter mal manuell über die Konsole sodass man den Fehler sieht:

                              cd /opt/iobroker/node_modules/iobroker.smartmeter
                              node smartmeter.js --force --logs
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • A
                                Arminhh last edited by

                                Hier das Ergebnis!

                                root@IOBrokerKeller:/opt/iobroker/node_modules/iobroker.smartmeter# node smartmeter.js --force --logs
                                /opt/iobroker/node_modules/bindings/bindings.js:83
                                        throw e
                                        ^
                                
                                Error: Module version mismatch. Expected 46, got 48.
                                    at Error (native)
                                    at Object.Module._extensions..node (module.js:434:18)
                                    at Module.load (module.js:343:32)
                                    at Function.Module._load (module.js:300:12)
                                    at Module.require (module.js:353:17)
                                    at require (internal/module.js:12:17)
                                    at bindings (/opt/iobroker/node_modules/bindings/bindings.js:76:44)
                                    at Object. <anonymous>(/opt/iobroker/node_modules/serialport/lib/bindings.js:3:35)
                                    at Module._compile (module.js:409:26)
                                    at Object.Module._extensions..js (module.js:416:10)
                                root@IOBrokerKeller:/opt/iobroker/node_modules/iobroker.smartmeter#</anonymous> 
                                
                                1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators last edited by

                                  Hattest du uns schon die nodejs version genannt mit der du arbeitest?

                                  ..und wenn du schon dabei bist, bitte auch die npm-Version

                                  Gruß

                                  Rainer

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Arminhh last edited by

                                    @Homoran:

                                    Hattest du uns schon die nodejs version genannt mit der du arbeitest?

                                    ..und wenn du schon dabei bist, bitte auch die npm-Version

                                    Gruß

                                    Rainer `

                                    node -v

                                    v4.8.4

                                    npm -v

                                    2.15.11

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

                                      Da muss auch @apollon77 etwas zu sagen.

                                      Im MOment wird Nodejs 6.xx empfohlen mit npm 3.x

                                      nodejs 8.x ist noch buggy und bringt das aktuelle npm 5.xx mit

                                      Gruß

                                      Rainer

                                      1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer last edited by

                                        @Arminhh:

                                        Error: Module version mismatch. Expected 46, got 48. `
                                        Du hast irgendwoher Serialport für NodeJS 6.x installiert, führst aber NodeJS 4.x aus. Ein Update auf 6.x sollte helfen (und wird irgendwann sowieso nötig).

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Arminhh last edited by

                                          super Danke auf Node 6 upgedatet den Lesekopf auf 8n1 und es läuft!!!

                                          mfg

                                          Arminhh

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

                                            Perfekt, ich komm vom Pool und alles schon bestens gefixt. Danke an alle Mitwirkenden 😉

                                            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

                                            734
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            279
                                            3620
                                            2016674
                                            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