homeassistant-vcontrol icon indicating copy to clipboard operation
homeassistant-vcontrol copied to clipboard

Reduced operation

Open Vinshi01 opened this issue 10 months ago • 19 comments

How can I use vcontrold to set the reduced operation or change the operating status?

Vinshi01 avatar Feb 19 '25 15:02 Vinshi01

You have to use mqtt topic "setBetriebArt". (maybe the name is different in your vcontrold config xml) The options "Heizen+Warmwasser", "Warmwasser", ""Reduziert", etc must match also.

See how the select template is configured for it: https://github.com/Alexandre-io/homeassistant-vcontrol/issues/7#issuecomment-1381107026

For testing you could use mqtt explorer app.

dk1305hb avatar Feb 19 '25 15:02 dk1305hb

Can u speak german?

The problem is my Viessmann is from 2013 idk if the protocol is the right one

Vinshi01 avatar Feb 19 '25 15:02 Vinshi01

The "KW2" should be functional. "P300" is faster but you need a boiler that supports it. But both can receive and send commands. I can not help you out to set up vcontrold (it is not easy). What device id did you select?

dk1305hb avatar Feb 19 '25 16:02 dk1305hb

I select 2098

My Hest is one Vitodens 200 W2B2C The control is Vitotronic 200 HO1A weathercontroled

Vinshi01 avatar Feb 20 '25 03:02 Vinshi01

Ok, good. And with this ID you get boiler stats from this addon? You only ask for change commands, then I assume the addon is running. If so, then you can try out the set command.

dk1305hb avatar Feb 20 '25 08:02 dk1305hb

I can see this in Home Assist, but the change doesn't work.Screenshot_20250220_094655_Home Assistant.jpg

Vinshi01 avatar Feb 20 '25 08:02 Vinshi01

Ok, "Betriebsart" ist not working with both, get and set.

You have to look in https://github.com/Alexandre-io/homeassistant-vcontrol/blob/main/vcontrold/rootfs/etc/vcontrold/vito.xml The mqtt topic is openv/getBetriebart for get And openv/setBetriebArtM1 for set

The unit "BA" you find in https://github.com/Alexandre-io/homeassistant-vcontrol/blob/main/vcontrold/rootfs/etc/vcontrold/vcontrold.xml

Check your select template in HA - state_topic and command_topic

I would give you mine, but I have complete different command names because I use my own vcontrold instance. So this wouldnt help.

Check also the app mqtt explorer, there you can see all you get commands. And you can publish manually to a set topic to test.

dk1305hb avatar Feb 20 '25 09:02 dk1305hb

Did i need to write ther some data?

Screenshot_20250220_101653_Home Assistant.jpg

Vinshi01 avatar Feb 20 '25 09:02 Vinshi01

And this also don't work

getTimerM1Mo and Set.

Any way where I can test what commands my viessmann use ?

Vinshi01 avatar Feb 20 '25 09:02 Vinshi01

No, you dont have to write data there.

I would concentrate on the most important functions you use every day.

dk1305hb avatar Feb 20 '25 10:02 dk1305hb

Okay so maybe I have a 20C2 Vitodens.

Any way I can get the vito and vcontrold.xml data?

Vinshi01 avatar Feb 20 '25 10:02 Vinshi01

No, 2098 is fine. Stay with it. Use the included xmls. They are functional. You ask for changing operational status, i gave you hints how to achieve this.

dk1305hb avatar Feb 20 '25 10:02 dk1305hb

Yea i look at it but idk what you mean with mqtt topic get and set and the state_ and command_

Vinshi01 avatar Feb 20 '25 10:02 Vinshi01

I mean your HA configuration part. I have linked the comment above. ..... select: - name: "Betriebsart" unique_id: "vcontroldgetBetriebArt" state_topic: "openv/getBetriebArt" command_topic: "openv/setBetriebArt" ......

Add getBetriebArt:STRING to your config. I have overlooked it. It is not included in your screenshot.

Try to use command_topic: "openv/setBetriebArtM1"

dk1305hb avatar Feb 20 '25 11:02 dk1305hb

I have this in my vito

<command name="getBetriebArtM1" protocmd="getaddr">
    <addr>2301</addr>
    <len>1</len>
    <unit>BA</unit>
    <description>Betriebsart M1</description>
    <device ID="2053">
      <addr>51</addr>
      <len>1</len>
      <unit>BA</unit>
    </

Vinshi01 avatar Feb 20 '25 11:02 Vinshi01

Where i can type the command in?

Vinshi01 avatar Feb 20 '25 11:02 Vinshi01

You did not tell us, that you dont use the standard vito from this addon https://github.com/Alexandre-io/homeassistant-vcontrol/blob/main/vcontrold/rootfs/etc/vcontrold/vito.xml This includes getBetriebArt also.

You can type it in where you posted the screenshot above. In the Vcontrol add-on config. Remove the ones you do not use. Save. Restart.

dk1305hb avatar Feb 20 '25 11:02 dk1305hb

You did not tell us, that you dont use the standard vito from this addon https://github.com/Alexandre-io/homeassistant-vcontrol/blob/main/vcontrold/rootfs/etc/vcontrold/vito.xml This includes getBetriebArt also.

You can type it in where you posted the screenshot above. In the Vcontrol add-on config. Remove the ones you do not use. Save. Restart.

Yea idk what vito i should use.

Vinshi01 avatar Feb 20 '25 11:02 Vinshi01

You did not tell us, that you dont use the standard vito from this addon https://github.com/Alexandre-io/homeassistant-vcontrol/blob/main/vcontrold/rootfs/etc/vcontrold/vito.xml This includes getBetriebArt also.

You can type it in where you posted the screenshot above. In the Vcontrol add-on config. Remove the ones you do not use. Save. Restart.

Now it works but how I can get with getDevType my device ID. Idk where I can enter the co.mand to get the information.

Vinshi01 avatar Feb 20 '25 11:02 Vinshi01