Repository navigation
fix: IDM Consumer - #3961
Merged
LKuemmel merged 2 commits intoSep 17, 2026
Merged
fix: IDM Consumer #3961
Conversation
write_register() ohne data_type fällt auf eine ungewandelte Schreibfunktion
zurück, die float-Werte nicht verarbeiten kann (struct.error, required
argument is not an integer). Betrifft alle 5 Register in send_values() und
das Register in set_power_limit() - Konsumenten mit IDM-Wärmepumpe waren
dadurch permanent im Fehlerzustand.
Register-Kodierung (FLOAT_32 mit wordorder=Little für die kW-Werte,
INT_16 für den Batteriefüllstand) gegen das offizielle IDM-Protokoll
("Gebäudeleittechnik-Smartfox") sowie eine funktionierende ioBroker-
Modbus-Konfiguration auf echter Hardware verifiziert.
openWBs bat_power-Konvention ist negativ=Entladung, positiv=Ladung (siehe z.B. sungrow_sh/bat.py: is_discharging -> negativ, is_charging -> positiv). Register 84 "Batterieentladung" der IDM-Schnittstelle erwartet die umgekehrte Konvention (negativ=Ladung, siehe eigener Code-Kommentar) - der Wert wurde bisher unverändert durchgereicht und dadurch mit falschem Vorzeichen an die WP gemeldet.
LKuemmel
approved these changes
Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Korrektur der Register um Werte zu schreiben, getestet und funktioniert