Skip to content

feat: Add support for Direct Valve Control for TRVs - #413

Open
Haxk20 wants to merge 1 commit into
snazzybean:mainfrom
Haxk20:direct-valve
Open

feat: Add support for Direct Valve Control for TRVs#413
Haxk20 wants to merge 1 commit into
snazzybean:mainfrom
Haxk20:direct-valve

Conversation

@Haxk20

@Haxk20 Haxk20 commented Aug 19, 2026

Copy link
Copy Markdown

What

Some TRVs (as example Sonoff) have the ability to be controlled via direct valve adjustments.
We can make use of this in roommind by sending the power fraction directly to the TRV.

The support is implemented in a way so it doesnt matter whether the TRV has support for opening and closing or only one of them.

I tried to keep it as simple as possible but there are still things to improve upon and would love feedback on this.

Why

Discussions #236 and #253 already describe why this was done.

But to keep it very simple the radiator doesnt need to turn on for 5 minutes on full power if realistically holding the power at 20% would have saved battery on the TRV and also be more cost efficient since radiators like to hold on heat.

Checklist

  • Backend tests pass (pytest tests/ -v)
  • Frontend builds without errors (cd frontend && npm run build)
  • New strings added to en.json, de.json and fr.json. (if applicable)
  • Tested on mobile layout (if UI change)

Some TRVs (as example Sonoff) have the ability to be controlled
via direct valve adjustments.
We can make use of this in roommind by sending the power fraction
directly to the TRV.

The support is implemented in a way so it doesnt matter whether
the TRV has support for opening and closing or only one of them.
@Haxk20
Haxk20 requested a review from snazzybean as a code owner August 19, 2026 11:50
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.

1 participant