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.
    • 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
                            • H
                              Hank 0 @Homoran last edited by

                              @homoran Faktor 10 ergibt das gleiche wie Formel x*10. Das hat den gleichen Effekt.

                              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 Faktor 10 ergibt das gleiche wie Formel x*10. Das hat den gleichen Effekt.

                                ach was!?

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

                                  @homoran sagte in Kostal Smartmeter per modbus auslesen:

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

                                  @homoran Faktor 10 ergibt das gleiche wie Formel x*10. Das hat den gleichen Effekt.

                                  ach was!?

                                  👍

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

                                    Dann bleibt es eben dabei, dass der Wert nur auf die 10er Stelle genau ist.

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

                                      @hank-0 Nein, das ist Quatsch. Der Faktor verschiebt nur die Kommastelle in der Zahl:

                                      Bildschirmfoto 2023-11-08 um 21.19.11.png

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

                                        @martybr Hat denn der Wert bei dir aus dem Register 40087 die 1er stelle und oder eine Nachkommastelle?

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

                                          @hank-0 Wie du meiner Tabelle oben entnehmen kannst, habe ich bei 40087 den Faktor 10 eingetragen. Das Ergebnis sind richtige 350W:
                                          Bildschirmfoto 2023-11-08 um 21.29.11.png

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

                                            @martybr Das habe ich doch auch so!? Aber die 1er Stelle ist immer 0 oder verstehe ich da was komplett falsch?

                                            Homoran M 2 Replies 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

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