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

Vicare Vitovent Ventilation isnt displayed #127024

Open
Benleni17 opened this issue Sep 29, 2024 · 76 comments
Open

Vicare Vitovent Ventilation isnt displayed #127024

Benleni17 opened this issue Sep 29, 2024 · 76 comments

Comments

@Benleni17
Copy link

The problem

my Vitovent 300W ventilation isnt listed as an entity

What version of Home Assistant Core has the issue?

core-2024.9.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Viessmann Vicare

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @CFenner, mind taking a look at this issue as it has been labeled with an integration (vicare) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of vicare can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign vicare Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


vicare documentation
vicare source
(message by IssueLinks)

@CFenner
Copy link
Contributor

CFenner commented Sep 29, 2024

Hey, please share the diagnostics and log file.

@CFenner
Copy link
Contributor

CFenner commented Sep 30, 2024

Hey @Benleni17, could you share the diagnostics file?

@Benleni17
Copy link
Author

Hello, thanks for helping. How does it work only for the integration vicare?

@CFenner
Copy link
Contributor

CFenner commented Oct 1, 2024

@Benleni17 select "devices & services" in the HA settings and then "vicare", click on the ... and select download diagnostic information.

@Benleni17
Copy link
Author

config_entry-vicare-01J8PC8V04X7R2YFHA0EC39TM5 (1).json

Ventilation is showed, but not addet as entity in Vicare

@CFenner
Copy link
Contributor

CFenner commented Oct 1, 2024

What kind of device is that. Looks like a heat pump.

@Benleni17
Copy link
Author

The Heatpump is a Vitocal 200s and the ventilation Vitovent 300W

@CFenner
Copy link
Contributor

CFenner commented Oct 1, 2024

But the Vitovent 300W is no standalone device from an API perspective, right? It's somehow exposed via the heat pump via mod bus?

@Benleni17
Copy link
Author

Benleni17 commented Oct 1, 2024

Yes. The ventilation is integrated into the control of the heat pump via Modbus.

This is only possible because the standalone Vitovent control system is not cloud compatible

@Benleni17
Copy link
Author

Do you need anything else?

@Benleni17
Copy link
Author

Aber der Vitovent 300W ist aus API-Sicht kein eigenständiges Gerät, oder? Er wird irgendwie über den Modbus der Wärmepumpe angebunden?

Moin,

Can I still help or is my problem unsolvable?

Grüße
Benedikt

@Benleni17
Copy link
Author

Aber der Vitovent 300W ist aus API-Sicht kein eigenständiges Gerät, oder? Er wird irgendwie über den Modbus der Wärmepumpe angebunden?

Hello Christopher, can you still help me?

Benedikt

@Benleni17 Benleni17 reopened this Oct 25, 2024
@CFenner
Copy link
Contributor

CFenner commented Oct 25, 2024

Only if you can develop in Python. Currently, I don't have the time to look into it.

@Benleni17
Copy link
Author

Only if you can develop in Python. Currently, I don't have the time to look into it.

Okay, I respect that. If there’s any way I can support you, just let me know. I’ll wait for your response.

@klappsepp
Copy link

Hello, i have the same problem. I Use also the Heatpump Vitocal 200s and the ventilation Vitovent 300-f.
config_entry-vicare-c1c1fb38fe05eeedc83a42f778a5ac09.json

@Benleni17
Copy link
Author

Hallo, ich habe das gleiche Problem. Ich verwende auch die Wärmepumpe Vitocal 200s und die Lüftung Vitovent 300-f. config_entry-vicare-c1c1fb38fe05eeedc83a42f778a5ac09.json

That reassures me to know the problem isn’t just on my end. I hope we’ll receive a solution soon.

@aliex87
Copy link

aliex87 commented Nov 7, 2024

I have the same challenge with my Viessmann setup. I have several devices all connected behind the primary gateway (Heat Pump), but I can’t see or control them in Home Assistant:
Vitocal 151A (fully visible)
None of these are visable: Vitoair FS 300E, Vitotrol 300-E Remote Control, E3 Repeater, 5x E3 Room Sensors

Any guidance on how to get these recognised or integrated would be greatly appreciated as they're visable in the log!
config_entry-vicare-01J948YYMEGM9VPDWVHMRK0HCA.json

@CFenner
Copy link
Contributor

CFenner commented Nov 7, 2024

@aliex87 your room devices are only usable with a advanced API plan. The ViAir in your case is a separate device and could be supported already. Unfortunately the role / model does not match and therefore it is not detected as such.

https://github.com/openviess/PyViCare/blob/master/PyViCare/PyViCareDeviceConfig.py#L86C31-L86C69

We would need to extend the library..

@aliex87
Copy link

aliex87 commented Nov 7, 2024

Thanks, @CFenner! I’ve reached out to Viessmann, as both the Electric and Advanced API plans aren’t available for me to proceed with. Unfortunately, I get the message ‘The selected product is currently not available in your country,’ which I’d be willing to subscribe to if they were available in the UK. As I understand, my setup is one of only two in the UK that combines both the Heat Pump and the Vitoair FS 300E.

Currently, the Vitoair isn’t operating quite as expected, with room devices not influencing any operations (e.g., humidity levels triggering airflow steps). There’s conflicting documentation from Viessmann, so my hope was that by integrating the ventilation system and, ideally, climate sensors into Home Assistant, I could set up triggers and automations alongside other devices in my home—like increasing airflow when bathroom humidity rises or when the kitchen hob is activated. I’m actively working with Viessmann UK, who have hopefully forwarded my request for advanced API access, but progress is slow.

I previously tried using a custom ViCare integration, but given the role/model isn’t in the library, that approach didn’t work either. If I can support or test anything, I’d be more than happy to help wherever needed!

@Benleni17
Copy link
Author

Benleni17 commented Nov 7, 2024

@aliex87deine Raumgeräte sind nur mit einem erweiterten API-Plan nutzbar. Das ViAir ist in deinem Fall ein separates Gerät und könnte bereits unterstützt werden. Leider stimmt die Rolle/das Modell nicht überein und daher wird es nicht als solches erkannt.

https://github.com/openviess/PyViCare/blob/master/PyViCare/PyViCareDeviceConfig.py#L86C31-L86C69

Wir müssten die Bibliothek erweitern.

i‘m happy to help as well, just let me know how…

@LarsTh86
Copy link

LarsTh86 commented Nov 7, 2024

Is now ventilation available? I still waiting for this support

@Benleni17
Copy link
Author

@aliex87 your room devices are only usable with a advanced API plan. The ViAir in your case is a separate device and could be supported already. Unfortunately the role / model does not match and therefore it is not detected as such.

https://github.com/openviess/PyViCare/blob/master/PyViCare/PyViCareDeviceConfig.py#L86C31-L86C69

We would need to extend the library..

Do I understand correctly that the Vitovent is not listed as a device_type?

# see: https://vitodata300.viessmann.com/vd300/ApplicationHelp/VD300/1031_de_DE/Ger%C3%A4teliste.html
def asAutoDetectDevice(self):
    device_types = [
        (self.asFuelCell, r"Vitovalor|Vitocharge|Vitoblo", []),
        (self.asGazBoiler, r"Vitodens|VScotH|Vitocrossal|VDensH|Vitopend|VPendH|OT_Heating_System", ["type:boiler"]),
        (self.asHeatPump, r"Vitocal|VBC70|V200WO1A|CU401B", ["type:heatpump"]),
        (self.asOilBoiler, r"Vitoladens|Vitoradial|Vitorondens|VPlusH|V200KW2_6", []),
        (self.asPelletsBoiler, r"Vitoligno|Ecotronic|VBC550P", []),
        (self.asElectricalEnergySystem, r"E3_VitoCharge_03", ["type:ees"]),
        (self.asVentilation, r"E3_ViAir", ["type:ventilation"]),
        (self.asVentilation, r"E3_VitoPure", ["type:ventilation;purifier"]),
        (self.asRadiatorActuator, r"E3_RadiatorActuator", ["type:radiator"]),
        (self.asRoomSensor, r"E3_RoomSensor", ["type:climateSensor"]),
        (self.asGateway, r"E3_TCU41_x04", ["type:gateway;TCU100"]),
        (self.asGateway, r"E3_TCU19_x05", ["type:gateway;TCU200"]),
        (self.asGateway, r"E3_TCU10_x07", ["type:gateway;TCU300"]),
        (self.asGateway, r"Heatbox1", ["type:gateway;VitoconnectOpto1"]),
        (self.asGateway, r"Heatbox2", ["type:gateway;VitoconnectOpto2/OT2"])
    ]

@CFenner
Copy link
Contributor

CFenner commented Nov 11, 2024

@aliex87 the ViAir should already be detected if you set heating type to auto. Please verify if that is the case.

@Benleni17

Do I understand correctly that the Vitovent is not listed as a device_type?

This is correct and the vitovent is from the api perspective to standalone device. With openviess/PyViCare#360 we could check if a device supports ventilation and activate the fan control for the heating device.

@Benleni17
Copy link
Author

@aliex87heating typeWenn Sie auf eingestellt haben, sollte das ViAir bereits erkannt werden auto. Bitte überprüfen Sie, ob dies der Fall ist.

@Benleni17

Verstehe ich das richtig, dass der Vitovent nicht als Gerätetyp aufgeführt ist?

Dies ist korrekt und der Vitovent ist aus API-Sicht ein Standalone-Gerät. Mit openviess/PyViCare#360 könnten wir prüfen, ob ein Gerät Lüftung unterstützt und die Lüftersteuerung für das Heizgerät aktivieren.

That makes sense. As far as I can tell, I’m not the only one with a Vitovent system, so I’m happy to help for everyone’s benefit. If you could explain how I can test my system, that would be great, as I’m not very experienced with development.

@aliex87
Copy link

aliex87 commented Nov 11, 2024

Thank you, @CFenner I must’ve removed and re-added the integration multiple times before, but not recently. It’s now finally exposed the second device: E3_ViAir_300F_01, along with the following new entities, which are functioning well:

preset_modes:

  • permanent
  • ventilation
  • sensor_driven
  • sensor_override
    percentage: 75
    percentage_step: 25
    preset_mode: sensor_driven
    friendly_name: Ventilation
    supported_features: 9

While I’m glad to have these entities, I was hoping for a few more. The logs indicate that some may be deprecated. Ideally, it would be helpful to see entities for both of the following, which are invaluable for specific ventilation scenarios:

  • ventilation.quickmodes.forcedLevelFour: Perfect for triggering a ventilation burst when there’s an increase in humidity or other ventilation needs.
  • ventilation.quickmodes.silent: Useful for quiet operation when necessary.
    (aware I can setup an automation/script as a workaround)

Additionally, there are quite a few temperature stats within the device itself, though I can’t find any documentation on these being exposed via the Viessmann API. Are these API-dependent, or could they be exposed as well?

Thanks for your assistance!

IMG_0514

@CFenner
Copy link
Contributor

CFenner commented Nov 11, 2024

@aliex87 great that this works for you. Unfortunately there seems to be no further datapoint beside the quick modes that we could leverage from the free API.
I got myself a Vitopure lately and will try to make the quick modes work.

@CFenner
Copy link
Contributor

CFenner commented Dec 18, 2024

Hey @bend, you could use #130356 already, that should work. Feel free to give feedback.

@bend
Copy link

bend commented Dec 18, 2024

@CFenner that's great. It's hard for me to test as I don't have a test instance of HA.
Any idea when this could be merged and released ?

Thanks for your work !

@DaelDe
Copy link

DaelDe commented Dec 22, 2024

Thank you very much for your effort. I have the same issue with a VitoVent 200" controlled through the heat pump. Looking forward using this new feature.

@LarsTh86
Copy link

Man kann sie abschalten, auf "Fahrplan"-Betrieb und auf den Grundbetrieb stellen.
Ich vermisse noch die Möglichkeit per "one-button"-solution auf Intensiv bzw. COMFORT-Modus zu schalten.
Ich hatte es glaube schon mal im ersten ticket zu den Problem beschrieben

@LarsTh86
Copy link

Screenshot_20241229_131356_Json Genie FREE
Screenshot_20241229_131356_Json Genie FREE

@Benleni17
Copy link
Author

Man kann sie abschalten, auf "Fahrplan"-Betrieb und auf den Grundbetrieb stellen. Ich vermisse noch die Möglichkeit per "one-button"-solution auf Intensiv bzw. COMFORT-Modus zu schalten. Ich hatte es glaube schon mal im ersten ticket zu den Problem beschrieben

I have the same problem

@LarsTh86
Copy link

Screenshot_20241229_221701_Json Genie FREE
Screenshot_20241229_221658_Json Genie FREE
And also this for the eco-Modus --> "Sparmodus" would be nice

@LarsTh86
Copy link

And also the actual state of the ventilation in a separate sensor would be nice.
Screenshot_20241229_221125_Json Genie FREE

@CFenner
Copy link
Contributor

CFenner commented Dec 30, 2024

Still trying to figure out how to integrate the quick modes, as separate switches or as additional ventilation modes...

@CFenner
Copy link
Contributor

CFenner commented Dec 30, 2024

Could the one's with an integrated ventilation test out the latest state of the PR #130356? I extended the Heat Pump capabilities now to support also the ventilation entity.

@LarsTh86
Copy link

LarsTh86 commented Dec 30, 2024 via email

@CFenner
Copy link
Contributor

CFenner commented Dec 30, 2024

Es sollte alles so sein, wie vorher. Ich habe einige Änderungen in die Python lib gezogen: https://github.com/openviess/PyViCare/releases/tag/2.40.0

Wenn alles noch läuft wie vorher ist das super.

@LarsTh86
Copy link

LarsTh86 commented Dec 30, 2024 via email

@TBB75
Copy link

TBB75 commented Jan 13, 2025

Danke für Deine Mühe, @CFenner
Bei mir läuft es auch mit den 3 Modi (Standby/Grundbetrieb/Schedule). Alleine das ist schon super und bietet ganz neue Möglichkeiten. Sofern jetzt noch die "one-button" Steuermöglichkeiten möglich wären, wäre das grandios.
Noch einmal Danke!

@CrEaK
Copy link

CrEaK commented Feb 7, 2025

Ich häng mich hier auch mal dran (Deutsch ist in Ordnung?):

Mit HA 2025.2 ist ja jetzt die Ventilation dazugekommen. Ich kann jetzt auch mit einem Entity die Lüftung an/aus und den Mode schalten:
Image

Laut Code im fan.py müsste ja eigentlich auch die Stufe Steuerbar sein oder versteh ich das falsch? Das ist bei mir bisher nicht möglich. Muss da noch was gemacht werden? Kann ich irgendwie unterstützen?

@CFenner
Copy link
Contributor

CFenner commented Feb 7, 2025

Moin @CrEaK, es gibt Geräte, die nur an und aus unterstützen. Kannst du mal deine Diagnostic Datei teilen=

@CrEaK
Copy link

CrEaK commented Feb 7, 2025

Moin!
Über ioBroker kann ich die zumindest die die Intensivlüftung anschalten (ist in der Vicare-App unter Schnellwahl). Der Datenpunkt heißt im ioBroker: "viessmannapi.1.2000393.0.features.ventilation.operating.programs.comfort.commands.activate.setValue" = true

Das würde mir schon reichen :D

Hier mal meine Diagnostic-Datei:
config_entry-vicare-01JKC4F48C8DEVRRA4EAD767Q4.json

@CFenner
Copy link
Contributor

CFenner commented Feb 7, 2025

Du hast leider keine Levels, die sich separat schalten lassen. Dies geht nur über den Zeitplan in der App.

Folgende modes finde ich bei dir

  • mode: standby -> aus
  • mode: standard -> minimal
  • mode: ventilation -> schedule
  • quickmode: eco
  • quickmode: comfort
  • quickmode: holiday

Die ersten drei solltest du benutzen können. Die Quickmodes sind noch nicht eingebaut.

@CrEaK
Copy link

CrEaK commented Feb 7, 2025

Ah okay dann wären es die Quickmodes, die ich brauche. Alles klar, dank dir! :-)

Bisschen Off-Topic: So Zeitplansteuerung ist vermutlich schwierig im HA Entity-Umfeld umzusetzen oder? Ich nutze aktuell das setSchedule für die Zirkulationspumpe im ioBroker (viessmannapi.1.2000393.0.features.heating.dhw.pumps.circulation.schedule.commands.setSchedule.setValue) um die Pumpe auszuschalten, wenn keiner Zuhause ist. Also Uhrzeit dann nur auf 00:00 - 00:01 und somit läuft die halt dann nicht. Bei Rückkehr schalte ich das wieder auf den "normalen" Zeitplan um. Sowas würde ich auch gerne im HA umsetzen 🤔

@CFenner
Copy link
Contributor

CFenner commented Feb 7, 2025

Am einfachsten wäre es wohl das als Service Call umzusetzen, dem du einfach das JSON durch reichst, aber damit habe ich mich noch nicht beschäftigt.

Die Services müssen eh mal richtig angeschaut werden, also wenn du Zeit hast... 😉

@CrEaK
Copy link

CrEaK commented Feb 7, 2025

Ich les mich am Wochenende mal ein 🙂

@CFenner
Copy link
Contributor

CFenner commented Feb 9, 2025

@Benleni17 & others, this was added with last release. Can we close this issue? Any issues with the implementation?

@LarsTh86
Copy link

LarsTh86 commented Feb 9, 2025

Die "quickmodes" wären noch mega praktisch, damit kann man zumindest die wichtigsten Stufen steuern und die Vicare app bräuchte man nur für den Standardfahrplan

@Benleni17
Copy link
Author

Die "quickmodes" wären noch mega praktisch, damit kann man zumindest die wichtigsten Stufen steuern und die Vicare app bräuchte man nur für den Standardfahrplan

Die Meinung kann ich 1 zu 1 vertreten.

@DaelDe
Copy link

DaelDe commented Feb 9, 2025

Ist die Intensivlüftung (Vitovent 200W/300W) in dem Release schon dabei? Ich vermute es ist auch einer der Quickmodes.
Der wäre total praktisch, wenn die Raumluft schlecht ist (CO2/VOC etc.) könnte ich die Lüftung über HA hochdrehen.

Wenn sich die Stufen aber schon regeln lassen, geht das sicher auch.

Ausprobieren konnte ich es leider nicht :(

@LarsTh86
Copy link

LarsTh86 commented Feb 9, 2025

Viessmann ist leider nicht sehr konsequent in der Namensgebung. Der "Quickmodus" "comfort" ist die Intensivlüftung.

@TBB75
Copy link

TBB75 commented Feb 10, 2025

Ich wäre auch sehr dankbar für den Quickmode "comfort".

@CrEaK
Copy link

CrEaK commented Feb 11, 2025

@CFenner wie hattest du dir das mit dem Quickmode vorgestellt? Als neues Select-Entity? Soweit ich sehen kann, kann man ja das Fan-Entity nicht noch um ein Dropdown erweitern, richtig?

Sonst würde ich dazu auch mal ein PR machen :-)

@CFenner
Copy link
Contributor

CFenner commented Feb 11, 2025

@CrEaK ich hätte es gerne in die bestehenden Modi integriert, auch weil Viessmann da nicht so konsequent unterscheidet. Manche Geräte haben einen Mode Standby andere nur einen qucikmode Standby.
Dafür müsste aber das Modi handling etwas angepasst werden, da du die Quickmodes glaube ich immer erst deaktivieren musst und nicht einfach übersteuern kannst. Bzw. evtl. übersteuert ein Quickmode einen normalen Modi und eine Änderung hätte evtl. keinen Effekt.

@LarsTh86
Copy link

LarsTh86 commented Feb 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants