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

Custom system/preset mode mapping for TRV602Z #8655

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

swiergot
Copy link

The default value converter thermostatSystemModeAndPreset is not suitable for this valve. Currently system mode "heat" changes preset mode to "comfort" while system mode "off" changes preset mode to "eco".

Please do not merge this PR yet. For some reason with these changes the valve will not respond to changing system or preset modes at all. I have zero past experience with this so I hope @Koenkk or @SteveOswald (as you made changes to this valve's support recently) can see where I made a mistake. At the moment I'm out of ideas. Nothing in the Z2M logs even with the debug level.

@swiergot
Copy link
Author

@Koenkk I think I've got the converter working. The key was adding a null-name datapoint, a few other thermostats do it for some reason. Does that make sense to you?

@Koenkk
Copy link
Owner

Koenkk commented Jan 20, 2025

That's fine but can we reduce code duplication by merging it with thermostatGtz10SystemModeAndPreset (all differences should be passed via a parameter)

@Koenkk Koenkk mentioned this pull request Jan 20, 2025
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