8000 Vestel: decorate RFID support by mfuchs1984 · Pull Request #21124 · evcc-io/evcc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Vestel: decorate RFID support #21124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

mfuchs1984
Copy link
Contributor
@mfuchs1984 mfuchs1984 commented May 8, 2025

RFID support through Modbus depends on the Vestel Firmware Version. Since updates of the charger are not easy to perform, this PR makes sure to only decorate Identify when the registers are available. Adds hints to the template requirements.
Fixes #21048, fix #21127, refs #20848

Copy link
Contributor
@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @mfuchs1984 - I've reviewed your changes - here's some feedback:

  • The conditional logic in decorateVestel for different feature combinations is becoming extensive; consider if a more composable decorator pattern might be clearer as more features are added.
  • User-facing text in vestel.yaml contains a mix of languages in the English description (e.g., "und" instead of "and").
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟡 Complexity: 1 issue found
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@mfuchs1984 mfuchs1984 force-pushed the feature/vestel_decorate_identifier branch from f9d9ff3 to 7800314 Compare May 8, 2025 12:07
@andig andig added the devices Specific device support label May 8, 2025
@andig andig merged commit d0d6ac9 into evcc-io:master May 8, 2025
6 checks passed
@mfuchs1984
Copy link
Contributor Author
mfuchs1984 commented May 16, 2025

@andig die Änderung resultiert bei Wallboxen mit alter Firmware -Version leider in einem "connection reset by peer" Fehler, siehe #21048 (comment)

Damit ist das Problem eher verschärft, würde daher sagen revert, außer dir fällt was ein um das Problem zu beheben. Insgesamt braucht es hier eine Entscheidung: Besitzer der E.ON Variante zum inoffiziellen Update auf die Vestel Firmware zwingen oder nicht. Wenn nicht, gäbe es noch die Möglichkeit, die RFID Funktion über das auslesen der Version zu dekorieren.

@andig
Copy link
Member
andig commented May 16, 2025

…und wir können die FW Version nirgendwo auslesen?

@andig
Copy link
Member
andig commented May 16, 2025

Wie wäre es wenn wir RFID explizit als Templateparameter mit Versionsangabe ausprägen?

@mfuchs1984
Copy link
Contributor Author
mfuchs1984 commented May 16, 2025

…und wir können die FW Version nirgendwo auslesen?

Doch, das geht, wird in Diagnose schon gemacht, siehe

if b, err := wb.conn.ReadInputRegisters(vestelRegFirmware, 50); err == nil {

Sieht dann so aus
Firmware: v3.118.0-1.0.130.0

Soweit ich verstehe, ist die minimal notwendige Version die v3.187.0

@ambitzgi
Copy link

Wie im Issue 21359 erwähnt, scheint es mit der Firmware version 3.156.0 zu funktionieren, wenigstens mit der Webasto-Version. #21359 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devices Specific device support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vestel Wallbox Modus Error
3 participants
0