Skip to content

mqtt consumer: add sim count - #3952

Merged
LKuemmel merged 1 commit into
openWB:masterfrom
LKuemmel:consumer_dev
Sep 16, 2026
Merged

LKuemmel merged 1 commit into
openWB:masterfrom
LKuemmel:consumer_dev

Conversation

@LKuemmel

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No unresolved review issues were identified.

Pull request overview

Adds simulated imported/exported energy counters to the generic MQTT consumer when MQTT topics are unavailable.

Changes:

  • Initializes SimCounterConsumer.
  • Falls back to simulated counters based on reported power.
  • Registers the initializer with ConfigurableConsumer.
File summaries
File Summary
packages/modules/consumers/generic/mqtt/consumer.py Adds simulated energy-counter initialization and fallback logic.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@LKuemmel
LKuemmel merged commit 98679c5 into openWB:master Sep 16, 2026
1 check passed
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