Skip to content

fix b23 and mpm3pm#2701

Merged
LKuemmel merged 1 commit intoopenWB:masterfrom
LKuemmel:counter
Aug 26, 2025
Merged

fix b23 and mpm3pm#2701
LKuemmel merged 1 commit intoopenWB:masterfrom
LKuemmel:counter

Conversation

@LKuemmel
Copy link
Contributor

No description provided.

@LKuemmel LKuemmel marked this pull request as ready for review August 26, 2025 14:40
@LKuemmel LKuemmel merged commit 8ef225a into openWB:master Aug 26, 2025
1 check passed
@LKuemmel LKuemmel deleted the counter branch August 26, 2025 14:44
log.debug(f"Zähler {meter_type} mit Modbus-ID:{modbus_id} antwortet nicht.")
except Exception:
log.debug(client)
log.debug(f"Zähler {meter_type} mit Modbus-ID:{modbus_id} antwortet nicht.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wäre es hier nicht hilfreich, die Nachricht aus der Exception mit auszugeben?
Und wäre es nicht besser als "Warning" oder gar als "Error" geloggt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Es wird geprüft, auf welcher Modbus-ID der Zähler antwortet, um den Zählertyp zu bestimmen. Die Exception ist erwartetes Verhalten. Kunden werden dagegen nervös, wenn bei jedem Start Warning oder Error im Log steht, auch wenn alles funktioniert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants