Skip to content
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

Werte über Modbusproxy zurück schreiben lassen #119

Open
Obsthaendler opened this issue Oct 14, 2024 · 2 comments
Open

Werte über Modbusproxy zurück schreiben lassen #119

Obsthaendler opened this issue Oct 14, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Obsthaendler
Copy link

Hallo,
eine nützliche Funktion wäre es, wenn über den Modbusproxy auch Werte geschrieben werden könnten. Z.B. bei Nutzung von evcc wird eine aktive Batteriesteuerung genutzt, diese verhindert das entladen der Batterie. (https://docs.evcc.io/docs/features/battery#aktive-batteriesteuerung)

In meinem Fall wird hierbei das Register 47100 genutzt ([Energy storage] Forcible charge / discharge)

Es müsste daher die Anfrage im Modbusproxy zu aller erst registriert werden, ob der Wert ankommt und dann weiterverarbeitet wird.

VG
Steffen

Copy link

Thanks for reporting a new issue @Obsthaendler!

  1. Please make sure your topic is not covered in the documentation
  2. Ensure that you use the latest beta version (not the current stable version): 0.13.0
  3. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  4. Search for the issue topic in other/closed issues to avoid duplicates!

Otherwise this issue will be closed.

@bolliy
Copy link
Owner

bolliy commented Oct 16, 2024

@Obsthaendler Hallo Steffen!
Zuerst muss ich einen Async-Lock für das Serialisieren der Datenanfrage an den WR programmieren. Ansonsten kann ich keine synchronen Responses auf die Schreibvorgänge geben. Das ist ein bisschen kniffelig, da die Huawei modbus Schnittstelle des SDongles leider keine gleichzeitigen Anfragen verträgt.

LG Stephan

@bolliy bolliy added the enhancement New feature or request label Oct 16, 2024
@bolliy bolliy self-assigned this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants