Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Victron Smartmeter ET340 wie per RS485 auslesen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Victron Smartmeter ET340 wie per RS485 auslesen

    This topic has been deleted. Only users with topic management privileges can see it.
    • hg6806
      hg6806 Most Active @Homoran last edited by hg6806

      @homoran

      Wie gesagt, habe mit RS485 und Modbus noch nichts gemacht.

      Hier ein Auszug aus dem Protokoll-Datenblatt
      310ad33c-8f69-4df5-a18d-e80aff7779b0-image.png

      Wenn ich es wie folgt eintrage, bekomme ich immer 0V, Adapter wird aber grün
      58f730c8-c69e-408b-bf00-6e2d303fb61c-image.png

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

        @hg6806 ich glaube du musst due Hex Adresse in Dezimal umrechnen und dann eintragen

        1 Reply Last reply Reply Quote 0
        • hg6806
          hg6806 Most Active last edited by

          @homoran

          Du meinst du physik. Adressen wahrscheinlich.
          Wenn ich das tue, verschwinden die Werte komplett.

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

            @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

            Wenn ich das tue,

            zeigen!
            passiert das such wenn du Alias verwenden anhakst?
            was steht im debug-log?

            hg6806 1 Reply Last reply Reply Quote 0
            • hg6806
              hg6806 Most Active @Homoran last edited by

              @homoran

              So ist es eingestellt:

              c9e2265a-f50f-40cb-9416-a623df0d522b-image.png

              Und das ist das Log:

              
              v7.0.23
              
              7
              2
              Log-Größe: 5.8 KB
              
              modbus.6
              Zeit
              debug
              Nachricht
              
              modbus.6
              2024-09-14 13:24:04.750	debug	Cleaning up request fifo.
              
              modbus.6
              2024-09-14 13:24:04.749	debug	Clearing timeout of the current request.
              
              modbus.6
              2024-09-14 13:24:04.748	info	Disconnected from slave
              
              modbus.6
              2024-09-14 13:24:03.747	warn	[1] Poll error count: 1 code: {"err":"timeout","timeout":5000}
              
              modbus.6
              2024-09-14 13:24:03.746	error	Request timed out.
              
              modbus.6
              2024-09-14 13:24:03.746	warn	Error: undefined
              
              modbus.6
              2024-09-14 13:23:58.742	debug	[DevID_1/disInputs] Poll address 0 - 0 bits
              
              modbus.6
              2024-09-14 13:23:58.741	debug	[DevID_1] Poll start ---------------------
              
              modbus.6
              2024-09-14 13:23:58.741	info	Connected to slave
              
              modbus.6
              2024-09-14 13:23:58.727	debug	connect to serial /dev/ttyUSB2 with 38400
              
              modbus.6
              2024-09-14 13:23:58.524	info	Can not execute task add for ID undefined: Parameter "id" needs to be of type "string" but type "undefined" has been passed
              
              modbus.6
              2024-09-14 13:23:58.523	info	Can not execute task add for ID undefined: Parameter "id" needs to be of type "string" but type "undefined" has been passed
              
              modbus.6
              2024-09-14 13:23:58.326	debug	Initialize Objects for holdingRegs: []
              
              modbus.6
              2024-09-14 13:23:58.326	debug	Add inputRegisters.300052_Hz: {"_id":"inputRegisters.300052_Hz","type":"state","common":{"name":"Hz","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"Hz"},"native":{"regType":"inputRegs","address":270051,"deviceId":1,"type":"uint16be","len":1,"offset":0,"factor":10}}
              
              modbus.6
              2024-09-14 13:23:58.326	debug	Add inputRegisters.300001_V_L1-N: {"_id":"inputRegisters.300001_V_L1-N","type":"state","common":{"name":"V L1-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":270000,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":0.1}}
              
              modbus.6
              2024-09-14 13:23:58.326	debug	Add undefined: {"type":"state","common":{"name":"V L3-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":-29997,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":"10"}}
              
              modbus.6
              2024-09-14 13:23:58.326	error	Invalid object: {"type":"state","common":{"name":"V L3-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":-29997,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":"10"}}
              
              modbus.6
              2024-09-14 13:23:58.326	error	Invalid data inputRegisters/1: {"_address":4,"deviceId":1,"name":"V L3-N","description":"V L3-N","unit":"V","type":"int32be","len":2,"factor":"10","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":-29997,"fullId":"modbus.6.1"}
              
              modbus.6
              2024-09-14 13:23:58.325	debug	Add undefined: {"type":"state","common":{"name":"V L2-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":-29999,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":"0.1"}}
              
              modbus.6
              2024-09-14 13:23:58.325	error	Invalid object: {"type":"state","common":{"name":"V L2-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":-29999,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":"0.1"}}
              
              modbus.6
              2024-09-14 13:23:58.325	error	Invalid data inputRegisters/0: {"_address":2,"deviceId":1,"name":"V L2-N","description":"V L2-N","unit":"V","type":"int32be","len":2,"factor":"0.1","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":-29999,"fullId":"modbus.6.0"}
              
              modbus.6
              2024-09-14 13:23:58.324	debug	Initialize Objects for inputRegs: [{"_address":2,"deviceId":1,"name":"V L2-N","description":"V L2-N","unit":"V","type":"int32be","len":2,"factor":"0.1","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":-29999},{"_address":4,"deviceId":1,"name":"V L3-N","description":"V L3-N","unit":"V","type":"int32be","len":2,"factor":"10","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":-29997},{"_address":300001,"deviceId":1,"name":"V L1-N","description":"V L1-N","unit":"V","type":"int32be","len":2,"factor":0.1,"offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":270000,"id":"inputRegisters.300001_V_L1-N"},{"_address":300052,"name":"Hz","description":"Hz","unit":"Hz","type":"uint16be","len":1,"factor":10,"offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","deviceId":1,"address":270051,"id":"inputRegisters.300052_Hz"}]
              
              modbus.6
              2024-09-14 13:23:58.324	debug	Initialize Objects for coils: []
              
              modbus.6
              2024-09-14 13:23:58.324	debug	Add discreteInputs.10016: {"_id":"discreteInputs.10016","type":"state","common":{"name":"","role":"level","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":0,"deviceId":1}}
              
              modbus.6
              2024-09-14 13:23:58.324	debug	Initialize Objects for disInputs: [{"_address":10014,"deviceId":1,"name":"","description":"","formula":"","role":"level","room":"","cw":"","isScale":"","address":0,"id":"discreteInputs.10016","len":1}]
              
              modbus.6
              2024-09-14 13:23:58.323	error	Invalid inputRegisters address: -29999
              
              modbus.6
              2024-09-14 13:23:58.322	error	Invalid inputRegisters address: -29997
              
              modbus.6
              2024-09-14 13:23:58.121	info	starting. Version 6.2.3 in /opt/iobroker/node_modules/iobroker.modbus, node: v20.15.1, js-controller: 6.0.11
              
              modbus.6
              2024-09-14 13:23:57.863	debug	Plugin sentry Initialize Plugin (enabled=true)
              
              modbus.6
              2024-09-14 13:23:53.088	info	terminating
              
              modbus.6
              2024-09-14 13:23:52.586	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              
              modbus.6
              2024-09-14 13:23:52.586	debug	Plugin sentry destroyed
              
              modbus.6
              2024-09-14 13:23:52.585	info	terminating
              
              modbus.6
              2024-09-14 13:23:52.583	info	Got terminate signal TERMINATE_YOURSELF
              
              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @hg6806 last edited by

                @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                So ist es eingestellt:

                bitte nur ein Register bis es läuft.
                sobald auch nur ein Fehler in der Liste ist kommt gar kein Wert!

                @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                                        2024-09-14 13:23:58.323	error	Invalid inputRegisters address: -29999
                

                das kann man jetzt nicht zuordnen!

                Hier sieht man mehr

                @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                                        2024-09-14 13:23:58.324	debug	Initialize Objects for inputRegs: [{"**_address":2,"**deviceId":1,"name":"V L2-N","description":"V L2-N","unit":"V","type":"int32be","len":2,"factor":"0.1","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","**address":-29999}**,{"_address":4,"deviceId":1,"name":"V L3-N","description":"V L3-N","unit":"V","type":"int32be","len":2,"factor":"10","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":-29997},{"_address":300001,"deviceId":1,"name":"V L1-N","description":"V L1-N","unit":"V","type":"int32be","len":2,"factor":0.1,"offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":270000,"id":"inputRegisters.300001_V_L1-N"},{"_address":300052,"name":"Hz","description":"Hz","unit":"Hz","type":"uint16be","len":1,"factor":10,"offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","deviceId":1,"address":270051,"id":"inputRegisters.300052_Hz"}]                                                                    
                

                bitte nur mit einer hardware Adresse arbeiten und dann mal mit und ohne Aluas probieren.
                Hier wird beides umgerechnet. Adressen mit 6 Stellen sind mir (und anscheinend auch dem Adapter) unbekannt

                hg6806 1 Reply Last reply Reply Quote 0
                • hg6806
                  hg6806 Most Active @Homoran last edited by

                  @homoran

                  2024-09-14 13:23:58.323 error Invalid inputRegisters address: -29999
                  

                  ...kam von der eingetragenen phy. Adr. "2"

                  Jetzt nochmal reduziert auf:

                  ff04a6c7-9d0b-43d9-8b1e-1924dd6d17b8-image.png

                  Hier das Log nach der Ruduktion:

                  
                  v7.0.23
                  
                  3
                  6
                  Log-Größe: 845.4 KB
                  
                  modbus.6
                  Zeit
                  debug
                  Nachricht
                  
                  modbus.6
                  2024-09-14 14:20:59.283	debug	Cleaning up request fifo.
                  
                  modbus.6
                  2024-09-14 14:20:59.283	debug	Clearing timeout of the current request.
                  
                  modbus.6
                  2024-09-14 14:20:59.280	info	Disconnected from slave
                  
                  modbus.6
                  2024-09-14 14:20:58.280	warn	[1] Poll error count: 1 code: {"err":"timeout","timeout":5000}
                  
                  modbus.6
                  2024-09-14 14:20:58.279	error	Request timed out.
                  
                  modbus.6
                  2024-09-14 14:20:58.279	warn	Error: undefined
                  
                  modbus.6
                  2024-09-14 14:20:53.275	debug	[DevID_1/disInputs] Poll address 0 - 0 bits
                  
                  modbus.6
                  2024-09-14 14:20:53.274	debug	[DevID_1] Poll start ---------------------
                  
                  modbus.6
                  2024-09-14 14:20:53.273	info	Connected to slave
                  
                  modbus.6
                  2024-09-14 14:20:53.259	debug	connect to serial /dev/ttyUSB2 with 38400
                  
                  modbus.6
                  2024-09-14 14:20:52.940	debug	Initialize Objects for holdingRegs: []
                  
                  modbus.6
                  2024-09-14 14:20:52.940	debug	Add inputRegisters.300001_V_L1-N: {"_id":"inputRegisters.300001_V_L1-N","type":"state","common":{"name":"V L1-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":270000,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":0.1}}
                  
                  modbus.6
                  2024-09-14 14:20:52.939	debug	Initialize Objects for inputRegs: [{"_address":300001,"deviceId":1,"name":"V L1-N","description":"V L1-N","unit":"V","type":"int32be","len":2,"factor":0.1,"offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":270000,"id":"inputRegisters.300001_V_L1-N"}]
                  
                  modbus.6
                  2024-09-14 14:20:52.939	debug	Initialize Objects for coils: []
                  
                  modbus.6
                  2024-09-14 14:20:52.939	debug	Add discreteInputs.10016: {"_id":"discreteInputs.10016","type":"state","common":{"name":"","role":"level","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":0,"deviceId":1}}
                  
                  modbus.6
                  2024-09-14 14:20:52.938	debug	Initialize Objects for disInputs: [{"_address":10014,"deviceId":1,"name":"","description":"","formula":"","role":"level","room":"","cw":"","isScale":"","address":0,"id":"discreteInputs.10016","len":1}]
                  
                  modbus.6
                  2024-09-14 14:20:52.715	info	starting. Version 6.2.3 in /opt/iobroker/node_modules/iobroker.modbus, node: v20.15.1, js-controller: 6.0.11
                  
                  modbus.6
                  2024-09-14 14:20:52.506	debug	Plugin sentry Initialize Plugin (enabled=true)
                  
                  modbus.6
                  2024-09-14 14:20:52.259	debug	States create User PubSub Client
                  
                  modbus.6
                  2024-09-14 14:20:52.258	debug	States create System PubSub Client
                  
                  modbus.6
                  2024-09-14 14:20:52.160	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                  
                  modbus.6
                  2024-09-14 14:20:52.041	debug	Objects connected to redis: 127.0.0.1:9001
                  
                  modbus.6
                  2024-09-14 14:20:51.982	debug	Objects client initialize lua scripts
                  
                  modbus.6
                  2024-09-14 14:20:51.771	debug	Objects create User PubSub Client
                  
                  modbus.6
                  2024-09-14 14:20:51.770	debug	Objects create System PubSub Client
                  
                  modbus.6
                  2024-09-14 14:20:51.728	debug	Objects client ready ... initialize now
                  
                  modbus.6
                  2024-09-14 14:20:51.667	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                  
                  modbus.6
                  2024-09-14 14:20:12.588	info	terminating
                  
                  modbus.6
                  2024-09-14 14:20:12.087	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                  
                  modbus.6
                  2024-09-14 14:20:12.086	debug	Plugin sentry destroyed
                  
                  modbus.6
                  2024-09-14 14:20:12.086	info	terminating
                  
                  modbus.6
                  2024-09-14 14:20:12.084	info	Got terminate signal TERMINATE_YOURSELF
                  
                  modbus.6
                  2024-09-14 14:19:56.121	debug	Cleaning up request fifo.
                  
                  modbus.6
                  2024-09-14 14:19:56.120	debug	Clearing timeout of the current request.
                  
                  modbus.6
                  2024-09-14 14:19:56.118	info	Disconnected from slave
                  
                  modbus.6
                  2024-09-14 14:19:55.117	warn	[1] Poll error count: 1 code: {"err":"timeout","timeout":5000}
                  
                  modbus.6
                  2024-09-14 14:19:55.117	error	Request timed out.
                  
                  modbus.6
                  2024-09-14 14:19:55.116	warn	Error: undefined
                  
                  modbus.6
                  2024-09-14 14:19:50.114	debug	[DevID_1/disInputs] Poll address 0 - 0 bits
                  
                  modbus.6
                  2024-09-14 14:19:50.113	debug	[DevID_1] Poll start ---------------------
                  
                  modbus.6
                  2024-09-14 14:19:50.113	info	Connected to slave
                  
                  modbus.6
                  2024-09-14 14:19:50.101	debug	connect to serial /dev/ttyUSB2 with 38400
                  
                  modbus.6
                  2024-09-14 14:19:49.889	debug	Remove old object modbus.6.inputRegisters.300052_Hz
                  
                  modbus.6
                  2024-09-14 14:19:49.838	debug	Initialize Objects for holdingRegs: []
                  
                  modbus.6
                  2024-09-14 14:19:49.838	debug	Add inputRegisters.300001_V_L1-N: {"_id":"inputRegisters.300001_V_L1-N","type":"state","common":{"name":"V L1-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":270000,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":0.1}}
                  
                  modbus.6
                  2024-09-14 14:19:49.838	debug	Initialize Objects for inputRegs: [{"_address":300001,"deviceId":1,"name":"V L1-N","description":"V L1-N","unit":"V","type":"int32be","len":2,"factor":0.1,"offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":270000,"id":"inputRegisters.300001_V_L1-N"}]
                  
                  modbus.6
                  2024-09-14 14:19:49.838	debug	Initialize Objects for coils: []
                  
                  modbus.6
                  2024-09-14 14:19:49.837	debug	Add discreteInputs.10016: {"_id":"discreteInputs.10016","type":"state","common":{"name":"","role":"level","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":0,"deviceId":1}}
                  
                  modbus.6
                  2024-09-14 14:19:49.837	debug	Initialize Objects for disInputs: [{"_address":10014,"deviceId":1,"name":"","description":"","formula":"","role":"level","room":"","cw":"","isScale":"","address":0,"id":"discreteInputs.10016","len":1}]
                  
                  modbus.6
                  2024-09-14 14:19:49.637	info	starting. Version 6.2.3 in /opt/iobroker/node_modules/iobroker.modbus, node: v20.15.1, js-controller: 6.0.11
                  
                  modbus.6
                  2024-09-14 14:19:49.355	debug	Plugin sentry Initialize Plugin (enabled=true)
                  
                  modbus.6
                  2024-09-14 14:19:49.278	debug	States connected to redis: 127.0.0.1:9000
                  
                  modbus.6
                  2024-09-14 14:19:49.178	debug	States create User PubSub Client
                  
                  modbus.6
                  2024-09-14 14:19:49.178	debug	States create System PubSub Client
                  
                  modbus.6
                  2024-09-14 14:19:49.123	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                  
                  modbus.6
                  2024-09-14 14:19:49.042	debug	Objects connected to redis: 127.0.0.1:9001
                  
                  modbus.6
                  2024-09-14 14:19:49.036	debug	Objects client initialize lua scripts
                  
                  modbus.6
                  2024-09-14 14:19:48.879	debug	Objects create User PubSub Client
                  
                  modbus.6
                  2024-09-14 14:19:48.878	debug	Objects create System PubSub Client
                  
                  modbus.6
                  2024-09-14 14:19:48.832	debug	Objects client ready ... initialize now
                  
                  modbus.6
                  2024-09-14 14:19:48.766	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                  
                  modbus.6
                  2024-09-14 14:19:44.458	info	terminating
                  
                  modbus.6
                  2024-09-14 14:19:43.957	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                  
                  modbus.6
                  2024-09-14 14:19:43.957	debug	Plugin sentry destroyed
                  
                  modbus.6
                  2024-09-14 14:19:43.956	info	terminating
                  
                  modbus.6
                  2024-09-14 14:19:43.955	info	Got terminate signal TERMINATE_YOURSELF
                  
                  modbus.6
                  2024-09-14 14:19:43.770	debug	Cleaning up request fifo.
                  
                  modbus.6
                  2024-09-14 14:19:43.770	debug	Clearing timeout of the current request.
                  
                  modbus.6
                  2024-09-14 14:19:43.768	info	Disconnected from slave
                  
                  modbus.6
                  2024-09-14 14:19:42.767	warn	[1] Poll error count: 3 code: {"err":"timeout","timeout":5000}
                  
                  modbus.6
                  2024-09-14 14:19:42.767	error	Request timed out.
                  
                  modbus.6
                  2024-09-14 14:19:42.766	warn	Error: undefined
                  
                  modbus.6
                  2024-09-14 14:19:37.765	debug	[DevID_1/disInputs] Poll address 0 - 0 bits
                  
                  modbus.6
                  2024-09-14 14:19:37.765	debug	[DevID_1] Poll start ---------------------
                  
                  modbus.6
                  2024-09-14 14:19:37.765	info	Connected to slave
                  
                  modbus.6
                  2024-09-14 14:19:37.754	debug	connect to serial /dev/ttyUSB2 with 38400
                  

                  Mit und ohne Aliases ausprobiert.
                  Muss ich noch eine Geräte-ID eintragen? Steht noch auf 1

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

                    @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                    Muss ich noch eine Geräte-ID eintragen? Steht noch auf 1

                    Natürlich wenn dein Energymeter nicht die ID1 hat.

                    aber die könnte stimmen.

                    @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                    Jetzt nochmal reduziert auf:

                    du sollst nicht die sechsstrllige nehmen!!!

                    hg6806 1 Reply Last reply Reply Quote 0
                    • hg6806
                      hg6806 Most Active @Homoran last edited by hg6806

                      @homoran

                      Nur die sechstellige funktioniert!

                      Hier ein Log mit der Phy. Adresse:

                      
                      v7.0.23
                      
                      9
                      4
                      Log-Größe: 2.3 MB
                      
                      modbus.6
                      Zeit
                      debug
                      Nachricht
                      
                      modbus.6
                      2024-09-14 16:38:41.122	debug	[DevID_1/disInputs] Poll address 0 - 0 bits
                      
                      modbus.6
                      2024-09-14 16:38:41.121	debug	[DevID_1] Poll start ---------------------
                      
                      modbus.6
                      2024-09-14 16:38:41.121	info	Connected to slave
                      
                      modbus.6
                      2024-09-14 16:38:41.108	debug	connect to serial /dev/ttyUSB2 with 38400
                      
                      modbus.6
                      2024-09-14 16:38:41.032	info	Can not execute task add for ID undefined: Parameter "id" needs to be of type "string" but type "undefined" has been passed
                      
                      modbus.6
                      2024-09-14 16:38:40.873	debug	Initialize Objects for holdingRegs: []
                      
                      modbus.6
                      2024-09-14 16:38:40.872	debug	Add undefined: {"type":"state","common":{"name":"V L1-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":-30001,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":"0.1"}}
                      
                      modbus.6
                      2024-09-14 16:38:40.871	error	Invalid object: {"type":"state","common":{"name":"V L1-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":-30001,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":"0.1"}}
                      
                      modbus.6
                      2024-09-14 16:38:40.871	error	Invalid data inputRegisters/0: {"_address":"0","deviceId":1,"name":"V L1-N","description":"V L1-N","unit":"V","type":"int32be","len":2,"factor":"0.1","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":-30001,"fullId":"modbus.6.0"}
                      
                      modbus.6
                      2024-09-14 16:38:40.871	debug	Initialize Objects for inputRegs: [{"_address":"0","deviceId":1,"name":"V L1-N","description":"V L1-N","unit":"V","type":"int32be","len":2,"factor":"0.1","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":-30001}]
                      
                      modbus.6
                      2024-09-14 16:38:40.871	debug	Initialize Objects for coils: []
                      
                      modbus.6
                      2024-09-14 16:38:40.870	debug	Add discreteInputs.10016: {"_id":"discreteInputs.10016","type":"state","common":{"name":"","role":"level","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":0,"deviceId":1}}
                      
                      modbus.6
                      2024-09-14 16:38:40.869	debug	Initialize Objects for disInputs: [{"_address":10014,"deviceId":1,"name":"","description":"","formula":"","role":"level","room":"","cw":"","isScale":"","address":0,"id":"discreteInputs.10016","len":1}]
                      
                      modbus.6
                      2024-09-14 16:38:40.868	error	Invalid inputRegisters address: -30001
                      
                      modbus.6
                      2024-09-14 16:38:40.611	info	starting. Version 6.2.3 in /opt/iobroker/node_modules/iobroker.modbus, node: v20.15.1, js-controller: 6.0.11
                      
                      modbus.6
                      2024-09-14 16:38:40.039	debug	Plugin sentry Initialize Plugin (enabled=true)
                      
                      modbus.6
                      2024-09-14 16:38:39.941	debug	States connected to redis: 127.0.0.1:9000
                      
                      modbus.6
                      2024-09-14 16:38:39.759	debug	States create User PubSub Client
                      
                      modbus.6
                      2024-09-14 16:38:39.758	debug	States create System PubSub Client
                      
                      modbus.6
                      2024-09-14 16:38:39.653	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                      
                      modbus.6
                      2024-09-14 16:38:39.573	debug	Objects connected to redis: 127.0.0.1:9001
                      
                      modbus.6
                      2024-09-14 16:38:39.569	debug	Objects client initialize lua scripts
                      
                      modbus.6
                      2024-09-14 16:38:39.407	debug	Objects create User PubSub Client
                      
                      modbus.6
                      2024-09-14 16:38:39.406	debug	Objects create System PubSub Client
                      
                      modbus.6
                      2024-09-14 16:38:39.360	debug	Objects client ready ... initialize now
                      
                      modbus.6
                      2024-09-14 16:38:39.300	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                      
                      modbus.6
                      2024-09-14 16:38:18.759	info	terminating
                      
                      modbus.6
                      2024-09-14 16:38:18.258	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                      
                      modbus.6
                      2024-09-14 16:38:18.257	debug	Plugin sentry destroyed
                      
                      modbus.6
                      2024-09-14 16:38:18.257	info	terminating
                      
                      modbus.6
                      2024-09-14 16:38:18.256	info	Got terminate signal TERMINATE_YOURSELF
                      
                      modbus.6
                      2024-09-14 16:37:47.001	debug	Cleaning up request fifo.
                      
                      modbus.6
                      2024-09-14 16:37:47.001	debug	Clearing timeout of the current request.
                      
                      modbus.6
                      2024-09-14 16:37:46.999	info	Disconnected from slave
                      
                      modbus.6
                      2024-09-14 16:37:45.999	warn	[1] Poll error count: 1 code: {"err":"timeout","timeout":5000}
                      
                      modbus.6
                      2024-09-14 16:37:45.998	error	Request timed out.
                      
                      modbus.6
                      2024-09-14 16:37:45.998	warn	Error: undefined
                      
                      modbus.6
                      2024-09-14 16:37:40.993	debug	[DevID_1/disInputs] Poll address 0 - 0 bits
                      
                      modbus.6
                      2024-09-14 16:37:40.993	debug	[DevID_1] Poll start ---------------------
                      
                      modbus.6
                      2024-09-14 16:37:40.992	info	Connected to slave
                      
                      modbus.6
                      2024-09-14 16:37:40.973	debug	connect to serial /dev/ttyUSB2 with 38400
                      
                      modbus.6
                      2024-09-14 16:37:40.866	info	Can not execute task add for ID undefined: Parameter "id" needs to be of type "string" but type "undefined" has been passed
                      
                      modbus.6
                      2024-09-14 16:37:40.703	debug	Remove old object modbus.6.inputRegisters.300001_V_L1-N
                      
                      modbus.6
                      2024-09-14 16:37:40.636	debug	Initialize Objects for holdingRegs: []
                      
                      modbus.6
                      2024-09-14 16:37:40.635	debug	Add undefined: {"type":"state","common":{"name":"V L1-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":-30001,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":"0.1"}}
                      
                      modbus.6
                      2024-09-14 16:37:40.635	error	Invalid object: {"type":"state","common":{"name":"V L1-N","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"V"},"native":{"regType":"inputRegs","address":-30001,"deviceId":1,"type":"int32be","len":2,"offset":0,"factor":"0.1"}}
                      
                      modbus.6
                      2024-09-14 16:37:40.635	error	Invalid data inputRegisters/0: {"_address":"0","deviceId":1,"name":"V L1-N","description":"V L1-N","unit":"V","type":"int32be","len":2,"factor":"0.1","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":-30001,"fullId":"modbus.6.0"}
                      
                      modbus.6
                      2024-09-14 16:37:40.634	debug	Initialize Objects for inputRegs: [{"_address":"0","deviceId":1,"name":"V L1-N","description":"V L1-N","unit":"V","type":"int32be","len":2,"factor":"0.1","offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":-30001}]
                      
                      modbus.6
                      2024-09-14 16:37:40.634	debug	Initialize Objects for coils: []
                      
                      modbus.6
                      2024-09-14 16:37:40.634	debug	Add discreteInputs.10016: {"_id":"discreteInputs.10016","type":"state","common":{"name":"","role":"level","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":0,"deviceId":1}}
                      
                      modbus.6
                      2024-09-14 16:37:40.632	debug	Initialize Objects for disInputs: [{"_address":10014,"deviceId":1,"name":"","description":"","formula":"","role":"level","room":"","cw":"","isScale":"","address":0,"id":"discreteInputs.10016","len":1}]
                      
                      modbus.6
                      2024-09-14 16:37:40.631	error	Invalid inputRegisters address: -30001
                      
                      modbus.6
                      2024-09-14 16:37:40.336	info	starting. Version 6.2.3 in /opt/iobroker/node_modules/iobroker.modbus, node: v20.15.1, js-controller: 6.0.11
                      
                      modbus.6
                      2024-09-14 16:37:39.999	debug	Plugin sentry Initialize Plugin (enabled=true)
                      
                      modbus.6
                      2024-09-14 16:37:39.889	debug	States connected to redis: 127.0.0.1:9000
                      
                      modbus.6
                      2024-09-14 16:37:39.711	debug	States create User PubSub Client
                      
                      modbus.6
                      2024-09-14 16:37:39.710	debug	States create System PubSub Client
                      
                      modbus.6
                      2024-09-14 16:37:39.601	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                      
                      modbus.6
                      2024-09-14 16:37:39.515	debug	Objects connected to redis: 127.0.0.1:9001
                      
                      modbus.6
                      2024-09-14 16:37:39.507	debug	Objects client initialize lua scripts
                      
                      modbus.6
                      2024-09-14 16:37:39.356	debug	Objects create User PubSub Client
                      
                      modbus.6
                      2024-09-14 16:37:39.355	debug	Objects create System PubSub Client
                      
                      modbus.6
                      2024-09-14 16:37:39.354	debug	Objects client ready ... initialize now
                      
                      modbus.6
                      2024-09-14 16:37:39.272	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                      
                      modbus.6
                      2024-09-14 16:37:35.035	info	terminating
                      
                      modbus.6
                      2024-09-14 16:37:34.534	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                      
                      modbus.6
                      2024-09-14 16:37:34.533	debug	Plugin sentry destroyed
                      
                      modbus.6
                      2024-09-14 16:37:34.533	info	terminating
                      
                      modbus.6
                      2024-09-14 16:37:34.532	info	Got terminate signal TERMINATE_YOURSELF
                      
                      modbus.6
                      2024-09-14 16:36:48.811	debug	Cleaning up request fifo.
                      
                      modbus.6
                      2024-09-14 16:36:48.811	debug	Clearing timeout of the current request.
                      
                      modbus.6
                      2024-09-14 16:36:48.809	info	Disconnected from slave
                      
                      modbus.6
                      2024-09-14 16:36:47.810	warn	[1] Poll error count: 3 code: {"err":"timeout","timeout":5000}
                      
                      modbus.6
                      2024-09-14 16:36:47.809	error	Request timed out.
                      
                      modbus.6
                      2024-09-14 16:36:47.809	warn	Error: undefined
                      
                      modbus.6
                      2024-09-14 16:36:42.809	debug	[DevID_1/disInputs] Poll address 0 - 0 bits
                      
                      modbus.6
                      2024-09-14 16:36:42.809	debug	[DevID_1] Poll start ---------------------
                      
                      modbus.6
                      2024-09-14 16:36:42.808	info	Connected to slave
                      
                      modbus.6
                      2024-09-14 16:36:42.797	debug	connect to serial /dev/ttyUSB2 with 38400
                      
                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @hg6806 last edited by Homoran

                        @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                        Nur die sechstellige funktioniert!

                        tatsächlich?

                        @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                                                2024-09-14 16:37:40.631	error	Invalid inputRegisters address: -30001
                        

                        mit und ohne Alias???

                        hg6806 1 Reply Last reply Reply Quote 0
                        • hg6806
                          hg6806 Most Active @Homoran last edited by

                          @homoran

                          Das war mit, ohne Alias aber das gleich

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

                            @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                            @homoran

                            Das war mit, ohne Alias aber das gleich

                            versteh ich nicht

                            hg6806 1 Reply Last reply Reply Quote 0
                            • hg6806
                              hg6806 Most Active @Homoran last edited by

                              @homoran

                              Das war mit Alias. Ohne Alias gab es den gleichen Fehler.

                              Ich breche hier ab, da ich gerade festgestellt habe, dass ich an den Abzweig zur Wärmepumpe nicht rankomme, da plombierter Bereich.
                              Der Zähler hatte ich auch nur 1-phasig an ein Kabel angeschlossen. Vielleicht lag es auch daran.

                              Trotzdem Danke.

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

                                @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                                Das war mit Alias. Ohne Alias gab es den gleichen Fehler.

                                Das kann nicht sein!
                                dann verändern sich die Register um 30000 oder 30001.

                                Die invalid Adress muss sich definitiv ändern.

                                steht bei dir noch was in den discrete Inputs??
                                @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                                                        2024-09-14 16:38:40.870	debug	Add discreteInputs.10016: {"_id":"discreteInputs.10016","type":"state","common":{"name":"","role":"level","type":"boolean","read":true,"write":false,"def":false},"native":{"regType":"disInputs","address":0,"deviceId":1}}
                                

                                @hg6806 sagte in Victron Smartmeter ET340 wie per RS485 auslesen:

                                Der Zähler hatte ich auch nur 1-phasig an ein Kabel angeschlossen. Vielleicht lag es auch daran.

                                möglich!
                                an welcher Phase denn? Die anderen sind dann natürlich 0

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                503
                                Online

                                31.7k
                                Users

                                79.8k
                                Topics

                                1.3m
                                Posts

                                2
                                18
                                502
                                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