Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kostal Smartmeter per modbus auslesen

    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.

    Kostal Smartmeter per modbus auslesen

    This topic has been deleted. Only users with topic management privileges can see it.
    • bahnuhr
      bahnuhr Forum Testing Most Active @Thomas1982 last edited by

      @thomas1982 sagte in Kostal Smartmeter per modbus auslesen:

      @bahnuhr said in Kostal Smartmeter per modbus auslesen:

      sourceanalytix.

      Danke für die ganzen Infos. Ich habe schon versucht Sourceanalytix über iobroker zu installieren, aber es gibt den Adater wohl nicht mehr oder kann man den nur noch direkt über Github laden?

      Nein, auf beta umstellen
      Installieren
      und wieder auf stable stellen.

      1 Reply Last reply Reply Quote 0
      • H
        Hank 0 @Thomas1982 last edited by

        @thomas1982 Hey, den musst du erst freischalten. Dazu musst du glaub den Netzbetreiber (nicht deinen Stromanbieter) anrufen und denen die Zählernummer? durchgeben und dann geben die dir einen PIN, mit dem du die Anzeige freischalten kannst. Das beinhaltet auch noch andere Anzeigen. So ist es zumindest bei meinem Zähler.

        1 Reply Last reply Reply Quote 0
        • H
          Hank 0 @Homoran last edited by Hank 0

          Falsch zitiert...

          1 Reply Last reply Reply Quote 0
          • H
            Hank 0 @Homoran last edited by Hank 0

            @homoran said in Kostal Smartmeter per modbus auslesen:

            @hank-0 bist du sicher dass due Werte in BE32 kommen und der Faktor stimmt.
            Ansonsten wirst du nämlich mit deiber Formel diese Sprünge generieren

            Hey, laut Anleitung von Kostal kommt der in Int16.

            Die Formal x*10 habe ich, damit der Wert eine Null mehr hat, da ihm sonst eine fehlt und ich nur 69 W Verbrauch angezeigt bekäme.

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

              @hank-0 sagte in Kostal Smartmeter per modbus auslesen:

              laut Anleitung von Kostal kommt der in Int16.

              warum machst du es dann nicht nach Anleitung und suchst dann nach einer Ursache dafür dass du

              @hank-0 sagte in Kostal Smartmeter per modbus auslesen:

              nur 69 W Verbrauch angezeigt

              bekommst.

              was steht denn genau in der Registerbeschreibung?

              H 1 Reply Last reply Reply Quote 0
              • H
                Hank 0 @Homoran last edited by Hank 0

                @homoran Folgendes steht für diesen Wert in der Anleitung
                de27a778-648c-4c40-9f9d-34fc5ef9ec43-image.png
                b1eeced6-2264-4ca4-915f-b19713f28288-image.png

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

                  @hank-0 sagte in Kostal Smartmeter per modbus auslesen:

                  Folgendes

                  was bedeutet denn das was bei Scale Factor steht?
                  passt der getrennt kopierte Header an der Stelle?

                  und was kommt raus wenn du int16 statt uint32 nimmst?

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    Hank 0 @Homoran last edited by

                    @homoran Ja, die Überschriften passen zu den Spalten. Was die mit Scale Factor meinen weiß ich auch nicht.

                    Eingestellt ist jetzt Unsigned 16 bit (Big Endian) oder ist das nicht int16?

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

                      @hank-0 sagte in Kostal Smartmeter per modbus auslesen:

                      ist das nicht int16?

                      nein uint ist unsigned (ohne Vorzeichen) int16 ist signed

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        Hank 0 @Homoran last edited by

                        @homoran uint16 oder int16 macht keinen Unterschied. Da zeigt er immer das selbe an. Wenn ich auf int32/uint32 stelle, dann kommt eine willkürliche 8-stellige Zahl heraus.

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

                          @hank-0 sagte in Kostal Smartmeter per modbus auslesen:

                          macht keinen Unterschied.

                          spätestens wenn du einspeist

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            Hank 0 @Homoran last edited by Hank 0

                            @homoran Ja, dass wäre korrekt aber dieser Wert zeigt nur an, was gerade wirklich verbraucht wird. Also das was gerade an Verbrauch anliegt. Das wird immer im positiven Bereich sein.

                            So sieht meine aktuelle rudimentäre Anzeige aus
                            dbc87a62-37dc-46f5-a858-2ca01f5e08e0-image.png

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

                              @hank-0 sagte in Kostal Smartmeter per modbus auslesen:

                              aber dieser Wert zeigt nur an, was gerade wirklich verbraucht wird

                              nein, dann hast du das falsche Register!

                              @hank-0 sagte in Kostal Smartmeter per modbus auslesen:

                              @homoran Folgendes steht für diesen Wert in der Anleitung
                              de27a778-648c-4c40-9f9d-34fc5ef9ec43-image.png
                              b1eeced6-2264-4ca4-915f-b19713f28288-image.png

                              lies die letzte Spalte

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                Hank 0 @Homoran last edited by

                                @homoran Value range / OBIS mapping? Die verstehe ich nicht 😕

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

                                  @hank-0 sagte in Kostal Smartmeter per modbus auslesen:

                                  @homoran Value range / OBIS mapping? Die verstehe ich nicht 😕

                                  das sind die Obis Kennzahlen für Stromzähler
                                  1.4.0 und 2.4.0, je nachdem ob Positive oder negative Werte vorliegen.

                                  kann also icht nur positiv sein, deswegen auch signed!

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    Hank 0 @Homoran last edited by

                                    @homoran Ach das soll die Zählwerke für Bezug und Einspeisung bedeuten? Da wäre ich nie drauf gekommen. Gut, kann ich ja auf signed anpassen aber dann bleibt trotzdem das Problem der letzten Stelle.

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

                                      @hank-0 sagte in Kostal Smartmeter per modbus auslesen:

                                      das Problem der letzten Stelle.

                                      sollte im scale factor stehen

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MartyBr @Hank 0 last edited by

                                        @hank-0
                                        Hier mal meine komplette Liste exportiert aus Modus. Ich lese hier meinen Kostal Smart Meter (KSEM) aus.

                                        _address	name	description	unit	type	len	factor	offset	formula	role	room	poll	wp	cw	isScale
                                        0	Summe_Leistung_Netzbezug	Wirkleistung (Netzbezug)	W	uint32be	2	0.1	0		value		true			
                                        2	Summe_Leistung_Einspeisung	Wirkleistung (Einspeisung)	W	uint32be	2	0.1	0		value		true			
                                        4	Summe_Blindleistung_Netzbezug	Blindleistung (Netzbezug)	W	uint32be	2	0.1	0		value		true			
                                        6	Summe_Blindleistung_Einspeisung	Blindleistung (Einspeisung)	W	uint32be	2	0.1	0		value		true			
                                        16	Summe_Scheinleistung_Netzbezug	Scheinleistung (Netzbezug)	W	uint32be	2	0.1	0		value		true			
                                        18	Summe_Scheinleistung_Einspeisung	Scheinleistung (Einspeisung)	W	uint32be	2	0.1	0		value		true			
                                        40004	Hersteller	Hersteller		string	2	1	0		value		true			
                                        40020	Name	Name		string	2	1	0		value		true			
                                        40052	Seriennummer	Seriennummer		string	2	1	0		value		true			
                                        40071	M_AC_Current	AC Current (sum of active phases)	A	int16be	1	0.01	0		value		true			
                                        40072	M_AC_Current_A	Phase A AC current	A	int16be	1	0.01	0		value		true			
                                        40073	M_AC_Current_B	Phase B AC current	A	int16be	1	0.01	0		value		true			
                                        40074	M_AC_Current_C	Phase C AC current	A	int16be	1	0.01	0		value		true			
                                        40075	M_AC_Current_SF	AC Current Scale Factor		int16be	1	1	0		value		true			
                                        40076	M_AC_Voltage_LN	Line to Neutral AC Voltage (average of active phases)	V	int16be	1	0.01	0		value		true			
                                        40077	M_AC_Voltage_LA	Phase A to Neutral AC Voltage	V	int16be	1	0.01	0		value		true			
                                        40078	M_AC_Voltage_LB	Phase B to Neutral AC Voltage	V	int16be	1	0.01	0		value		true			
                                        40079	M_AC_Voltage_CN	Phase C to Neutral AC Voltage	V	int16be	1	0.01	0		value		true			
                                        40080	M_AC_Voltage_LL	Line to Line AC Voltage (average of active phases)	V	int16be	1	0.01	0		value		true			
                                        40081	M_AC_Voltage_AB	Phase A to Phase B AC Voltage	V	int16be	1	0.01	0		value		true			
                                        40082	M_AC_Voltage_BC	Phase B to Phase C AC Voltage	V	int16be	1	0.01	0		value		true			
                                        40083	M_AC_Voltage_CA	Phase C to Phase A AC Voltage	V	int16be	1	0.01	0		value		true			
                                        40084	M_AC_Voltage_SF	AC Voltage Scale Factor		int16be	1	1	0		value		true			
                                        40085	M_AC_Freq	AC Frequency	Hz	int16be	1	0.01	0		value		true			
                                        40086	M_AC_Freq_SF	AC Frequency Scale Factor		int16be	1	1	0		value		true			
                                        40087	M_AC_Power	Total Real Power (sum of active phases)	W	int16be	1	10	0		value		true			
                                        40088	M_AC_Power_A	Phase A AC Real Power	W	int16be	1	10	0		value		true			
                                        40089	M_AC_Power_B	Phase B AC Real Power	W	int16be	1	10	0		value		true			
                                        40090	M_AC_Power_C	Phase C AC Real Power	W	int16be	1	10	0		value		true			
                                        40091	M_AC_Power_SF	AC Real Power Scale Factor		int16be	1	1	0		value		true			
                                        40092	M_AC_VA	Total AC Apparent Power (sum of active phases)	VA	int16be	1	10	0		value		true			
                                        40093	M_AC_VA_A	Phase A AC Apparent Power	VA	int16be	1	10	0		value		true			
                                        40094	M_AC_VA_B	Phase B AC Apparent Power	VA	int16be	1	10	0		value		true			
                                        40095	M_AC_VA_C	Phase C AC Apparent Power	VA	int16be	1	10	0		value		true			
                                        40096	M_AC_VA_SF	AC Apparent Power Scale Factor		int16be	1	1	0		value		true			
                                        40097	M_AC_VAR	Total AC Reactive Power (sum of ac- tive phases)	var	int16be	1	1	0		value		true			
                                        40098	M_AC_VAR_A	Phase A AC Reactive Power	var	int16be	1	1	0		value		true			
                                        40099	M_AC_VAR_B	Phase B AC Reactive Power	var	int16be	1	1	0		value		true			
                                        40100	M_AC_VAR_C	Phase C AC Reactive Power	var	int16be	1	1	0		value		true			
                                        40101	M_AC_VAR_ SF	AC Reactive Power Scale Factor		int16be	1	1	0		value		true			
                                        40102	M_AC_PF	Average Power Factor (average of active phases)	%	int16be	1	0.001	0		value		true			
                                        40103	M_AC_PF_A	Phase A Power Factor	%	int16be	1	0.001	0		value		true			
                                        40104	M_AC_PF_B	Phase B Power Factor	%	int16be	1	0.001	0		value		true			
                                        40105	M_AC_PF_C	Phase C Power Factor	%	int16be	1	0.001	0		value		true			
                                        40106	M_AC_PF_SF	AC Power Factor Scale Factor		int16be	1	1	0		value		true			
                                        40107	M_Exported	Total Exported Real Energy	Wh	int32be	2	-0.001	0		value		true			
                                        40109	M_Exported_A	Phase A Exported Real Energy	Wh	int32be	2	-0.001	0		value		true			
                                        40111	M_Exported_B	Phase B Exported Real Energy	Wh	int32be	2	-0.001	0		value		true			
                                        40113	M_Exported_C	Phase C Exported Real Energy	Wh	int32be	2	-0.001	0		value		true			
                                        40115	M_Imported	Total Imported Real Energy	Wh	int32be	2	0.001	0		value		true			
                                        40117	M_Imported_A	Phase A Imported Real Energy	Wh	int32be	2	0.001	0		value		true			
                                        40119	M_Imported_B	Phase B Imported Real Energy	Wh	int32be	2	0.001	0		value		true			
                                        40121	M_Imported_C	Phase C Imported Real Energy	Wh	uint32sw	2	0.001	0		value		true			
                                        40123	M_Energy_W_SF	Real Energy Scale Factor3		int16be	1	1	0		value		true			
                                        40124	M_Exported_VA	Total Exported Apparent Energy	VAh	int32be	2	0.001	0		value		true			
                                        40126	M_Exported_VA_A	Phase A Exported Apparent Energy	VAh	int32be	2	0.001	0		value		true			
                                        40128	M_Exported_VA_B	Phase B Exported Apparent Energy	VAh	int32be	2	0.001	0		value		true			
                                        40130	M_Exported_VA_C	Phase C Exported Apparent Energy	VAh	int32be	2	0.001	0		value		true			
                                        40132	M_Imported_VA	Total Imported Apparent Energy	VAh	int32be	2	0.001	0		value		true			
                                        40134	M_Imported_VA_A	Phase A Imported Apparent Energy	VAh	int32be	2	0.001	0		value		true			
                                        40136	M_Imported_VA_B	Phase B Imported Apparent Energy	VAh	int32be	2	0.001	0		value		true			
                                        40138	M_Imported_VA_C	Phase C Imported Apparent Energy	VAh	int32be	2	0.001	0		value		true			
                                        40140	M_Energy_VA_SF	Apparent Energy Scale Factor		int16be	1	1	0		value		true			
                                        40141	M_Import_VARh_Q1	Quadrant 1: Tota Imported Reactive Energy	VARh	int32be	2	1	0		value		true			
                                        40143	M_Import_VARh_Q1A	Phase A – Quadrant 1: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40145	M_Import_VARh_Q1B	Phase B – Quadrant 1: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40147	M_Import_VARh_Q1C	Phase C – Quadrant 1: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40149	M_Import_VARh_Q2	Quadrant 2: Total Imported Reactive Energy	VARh	int32be	2	1	0		value		true			
                                        40151	M_Import_VARh_Q2A	Phase A – Quadrant 2: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40153	M_Import_VARh_Q2B	Phase B – Quadrant 2: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40155	M_Import_VARh_Q2C	Phase C – Quadrant 2: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40157	M_Export_VARh_Q3	Quadrant 3: Total Imported Reactive Energy	VARh	int32be	2	1	0		value		true			
                                        40159	M_Export_VARh_Q3A	Phase A – Quadrant 3: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40161	M_Export_VARh_Q3B	Phase B – Quadrant 3: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40163	M_Export_VARh_Q3C	Phase C – Quadrant 3: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40165	M_Export_VARh_Q4	Quadrant 4: Tota Imported Reactive Energy	VARh	int32be	2	1	0		value		true			
                                        40167	M_Export_VARh_Q4A	Phase A – Quadrant 4: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40169	M_Export_VARh_Q4B	Phase B – Quadrant 4: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40171	M_Export_VARh_Q4C	Phase C – Quadrant 4: Imported Reac- tive Energy	VARh	int32be	2	1	0		value		true			
                                        40173	M_Energy_VAR_SF	Reactive Energy Scale Factor		int16be	1	1	0		value		true			
                                        40174	M_Events	Event flags		int32be	2	1	0		value		true			
                                        

                                        Vielleicht kannst du hier Anregungen auslesen.

                                        Homoran 1 Reply Last reply Reply Quote -1
                                        • Homoran
                                          Homoran Global Moderator Administrators @MartyBr last edited by Homoran

                                          @martybr sagte in Kostal Smartmeter per modbus auslesen:

                                          M_AC_Power Total Real Power (sum of active phases) W int16be 1 10 0 value true

                                          @Hank da ist der Faktor 10

                                          M H 2 Replies Last reply Reply Quote 0
                                          • M
                                            MartyBr @Homoran last edited by

                                            @homoran In meiner Tabelle habe ich auch alle Datensätze mit dem Scale factor ausgelesen (siehe z.B. 40123)

                                            1 Reply Last reply Reply Quote 1
                                            • 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

                                            13
                                            98
                                            13054
                                            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