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

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

                                Aber die 1er Stelle ist immer 0

                                Ach! Das wäre dein Problem?

                                für die Nulleinspeisung ist 4 W für paar Sekunden absolut irrelevant.

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

                                  @hank-0 Was meinst du mit 1. Stelle? Ich gebe offen zu, dass ich den Thread nicht komplett gelesen habe.

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

                                    @martybr er meint er müsse Wattgenaue Werte bekommen.
                                    Hab ich auch erst jetzt verstanden dass er das als "Sprünge" bezeichnet hatte.

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

                                      Ja, ich hätte es eigentlich gerne Monk mäßig ganz genau gehabt aber mir war auch klar, dass es im Endeffekt zur Anzeige egal ist, ob mir 350 oder 480 oder aber 354 oder 488 angezeigt wird.

                                      Mit 1er Stelle meinte ich anhand der 350 -> 3 Hunderter 5 Zehner 0 Einer
                                      Also 1er Stelle die letzte Ziffer des Wertes 😬

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

                                        @homoran Okay. Danke für die Info.
                                        Das Auswerten macht auch richtig Spaß, wenn man auf die Idee kommt, die Werte in Verbindung zu bringen. Z.B. Aus Einspeisung, Netzbezug etc. den Hausverbrauch berechnen zu wollen. Das Problem kennst du ja (hatte ich irgendwo in einer deiner Antworten gelesen). Die Werte aktualisieren ja nicht immer zur gleichen Zeit. Ich nutze Werte vom KSEM, vom Wechselrichter und meiner Stromzähler.
                                        Für einige Sekunden bei extremen Änderungen der PV Einspeisung erscheinen negative Hausverbräuche 😕

                                        Das Thema gehe ich aber später mal an.

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

                                          @martybr sagte in Kostal Smartmeter per modbus auslesen:

                                          Für einige Sekunden bei extremen Änderungen der PV Einspeisung erscheinen negative Hausverbräuche

                                          ja! ist im Energiefluss-erweitert schön zu sehen.

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Thomas1982 @Uli977 last edited by

                                            @uli977 said in Kostal Smartmeter per modbus auslesen:

                                            @thomas1982 Zu welchem Thema? Überschussladen?

                                            Also was ich mache, für eine Visualisierung, ich frage via Modus die beiden WR und den KSEM ab, benutze die Werte in ein paar Skripten.

                                            Modbus Register
                                            e3ad0795-cbea-4556-aca6-69ca654069d4-image.png

                                            Zusammen mit dem sourceanalytics Adapter kommt dann sowas bei rum.... und natürlich mit der entsprechenden Visualisierung...

                                            4954ced0-89ff-4d17-8166-63dad41dc148-image.png

                                            Aber frag mich nicht mehr im Detail, was ich an welcher Stelle genau gemacht habe, das ist leider zu lange her.

                                            Hi @Uli977 ,

                                            wie ermittelst du den aktuellen Hausverbrauch? Ich sehe bei deinen Datenpunkten nur den Netzbezug und die Einspeisung vom KSME.

                                            Danke vorab für deine Info.

                                            VG, Thomas

                                            Uli977 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

                                            993
                                            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