Skip to content

Conversation

@cr0i
Copy link
Contributor

@cr0i cr0i commented Apr 20, 2025

No description provided.

@cr0i
Copy link
Contributor Author

cr0i commented Apr 20, 2025

PR für Zähler-Modul Thermia:
openWB/core#2345

@cr0i cr0i marked this pull request as draft April 24, 2025 19:40
@cr0i cr0i marked this pull request as ready for review April 24, 2025 20:02
Comment on lines +19 to +26
<openwb-base-number-input
title="Modbus ID"
required
:model-value="device.configuration.modbus_id"
min="1"
max="255"
@update:model-value="updateConfiguration($event, 'configuration.modbus_id')"
/>
Copy link
Contributor

Choose a reason for hiding this comment

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

In der Backend-Implementierung ist die Modbus-ID bei den Zähler-Einstellungen dabei. Wenn alle Komponenten über eine Modbus-ID abgefragt werden, ist sie im Gerät richtig. Wenn jede Komponente eine eigene hat, bei den Komponenten. Wenn nur ein Zähler möglich ist, mach es beim Zähler mit rein.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wenn die Smarthome Geräte später Komponenten der Geräte werden, gehört sie eher ins Device.
Es gibt immer nur einen Zähler.
Allerdings ist mir aufgefallen, dass die Modbus ID ja immer 1 ist, also gar nicht in der Oberfläche auftauchen müsste.
Ich schau mir das nochmal an, Danke für den Hinweis.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Habe es im Backend geändert.
Da der Zähler nur ein paar umgesetzte Register auf der Wärmepumpe sind und nicht komplett eigenständig abgefragt werden kann, hat er eigentlich auch keine eigene Konfiguration verdient. ;-)

@cr0i cr0i marked this pull request as draft May 5, 2025 17:10
@cr0i cr0i marked this pull request as ready for review May 5, 2025 18:05
@cr0i cr0i requested a review from LKuemmel May 5, 2025 18:06
@LKuemmel LKuemmel merged commit 69128b2 into openWB:main May 6, 2025
2 checks passed
@cr0i cr0i deleted the thermia-counter-ui branch May 6, 2025 17:05
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