Skip to content

Ability to turn TRV off #3

@msp1974

Description

@msp1974

Hi,

Hope you don't mind these issues and appreciate input to this great HA integration.

One of the things that seems to be missing from the api is the ability to turn off a TRV, ie set to manual mode and set temp to -200.

I am thinking that if in setRoomMode if it should accept an 'off' mode which would have the following patchData

       patchData={"Mode":"Manual","RequestOverride":{"Type":"Manual","SetPoint":-200}}

I have tested this with both postman and adding into the api and it seems to work.

The only issue I am not sure how to resolve is that if you then put it back to manual mode, the temp is still set to -200 and cannot be adjusted through lovelace thermostat card. I have, for now, done it so that when setting manual mode it uses the patchData above but uses the boost temp. I think it should have some logic to determine the temp set point when setting manual mode (current setpoint if coming from auto mode and some pre-determined setpoint if coming from off mode) or the ability to pass in the setpoint temp when going to manual.

What do you think?
Mark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions