Vaillant/MultiMATIC integration

Yes i read but i dont know how set example Holiday or Party mode ? Please explaine me…

Hi @tgermain,

thanks for this great work! Call me stupid, but i don’t get the following to work:
I simply want to change the OperatingMode:

#!/usr/bin/env python3

import asyncio
import sys

import aiohttp

from pymultimatic.systemmanager import SystemManager
from pymultimatic.model import System, quick_mode


async def main(user, passw):
    print('Trying to connect with user ' + user)

    async with aiohttp.ClientSession() as session:
        manager = SystemManager(user, passw, session)
        system =  await manager.set_zone_heating_operating_mode('Control_ZO1','NIGHT')
        print(system)


if __name__ == "__main__":
    if not len(sys.argv) == 3:
        print('Usage: python3 dump.py user pass')
        sys.exit(0)
    user = sys.argv[1]
    passw = sys.argv[2]

    asyncio.get_event_loop().run_until_complete(main(user, passw))

… but it doesn’t has any effect.

following command works fine

system =  await manager.get_zone("Control_ZO1")

I hope you can help me
best regards

Hello,

better to create an issue here if you have technical questions :slight_smile:

In your case, you should use OperatingModes.NIGHT, instead of simply 'NIGHT'. Also, set_zone_heating_operating_mode returns None

Hi, is there any news on the VRC720 (sensoapp) support? Would the above solution work? If so, could @tgermain include in the code?
I don’t personally have a VRC720 yet only VRC700 but I’m planning to have one when moving to a new house… (Once I have it can test…)
Thanks!

Actually, I have no way to test, so I will rely on @sylvainvh.

It sounds it’s quite easy to include the senso app compatibility, I just created a task for myself. I’ll work on it.

Hi,

I’m working on this project but it seems to be more complicate that I believed. Currently, I’ve some issues with the mapping of room. We keep in touch.

Sylvain

@tgermain I have a VRC720(f) available to test.

this is working now:

  • created a 2nd user in the Vaillant app
  • used the 2nd user to sign-up in the HA custom component.
    this results in a succesfull sign-in an creating of the integration succesfull.

no entities or devices are however shown/created.
I do find this in the log however


Traceback (most recent call last):
  File "/config/custom_components/vaillant/hub.py", line 77, in _update_system
    self.system = await self._manager.get_system()
  File "/usr/local/lib/python3.8/site-packages/pymultimatic/systemmanager.py", line 92, in get_system
    full_system = await full_system_req
  File "/usr/local/lib/python3.8/site-packages/pymultimatic/systemmanager.py", line 646, in _call_api
    return await self._connector.request(method, url, payload)
  File "/usr/local/lib/python3.8/site-packages/pymultimatic/api/connector.py", line 171, in request
    raise ApiError('Cannot ' + method + ' ' + url, response=resp,
pymultimatic.api.error.ApiError: Cannot get https://smart.vaillant.com/mobile/api/v4/facilities/mystemidnumber/systemcontrol/v1

The url is wrong as it seems, but maybe i can find proper urls for the V720 by some searching/testing I am pretty new however to HA and have no idea where the url is being programmed in your sources.
I am available for testing on VRC720 / sensoapp in case something needs to be tested!

Hello, i have vr921, everything is working like a charm.
I’m trying to set vaillant.set_holiday_mode - can you help me to start how to set it?

Hello,

do you have any error ? You have to provide:

  • start_date (YYYY-MM-DD format)
  • end_date (YYYY-MM-DD format)
  • temperature - target temperature during the holiday mode is active

I created an issue (make pymultimatic compatible with senso app · Issue #52 · thomasgermain/pymultiMATIC · GitHub) in pymultimatic, but I have very few time available for now.

I released the 1.5.0b7 version here: Release 1.5.0b7 · thomasgermain/vaillant-component · GitHub (be aware if you’re moving to 1.5.0x, there are a lot of breaking changes).

If you already have the integration setup, you should delete it and recreate it and select the right application in the dropdown (SYSTEMCONTROL_MULTIMATIC or SYSTEMCONTROL_SENSO).

Please note that I can’t test that at all for SYSTEMCONTROL_SENSO.

I just tested the latest version with a senso and it seems not working.
This is my branch develop GitHub - sylvainvh/pymultiMATIC at dev
I’m able to retrieve all information but I never test set values and I’ve a problem with a new operation mode and the new system for timeprogram.

With senso, we have a start date and an end date for a time program.

Well, since I can’t test at all for senso app, It would be great to have a PR, so I can evaluate if I can include it in pymultimatic

Done

1 Like

Hello !

I’m quite proud to announce the 1.5.0 release. Please check the release note, there are lots of breaking changes, you will have to dedicate some time for the migration.

If you have any issues → Issues · thomasgermain/vaillant-component · GitHub

Please note, it doesn’t include sensoAPP compatibility (yet)

4 Likes

Although I do not use pymultimatic because I can not begin anything with the async and not even the example works. I only need the python basic API, just use vr900connector :slight_smile: ("/tli/" adjusted).
But since I also use a sensoHome for sensoApp, I wanted to connect Alexa, for setting the heating mode by script. After a long trial-and-error I have at least the 3 possible modes to work. Maybe that helps a little.
Connect.put(Urls.zone_heating_configuration(“Control_ZO1”) + “/operation_mode”,{‘operation_mode’: ‘MANUAL’})
Connect.put(Urls.zone_heating_configuration(“Control_ZO1”) + “/operation_mode”,{‘operation_mode’: ‘OFF’})
Connect.put(Urls.zone_heating_configuration(“Control_ZO1”) + “/operation_mode”,{‘operation_mode’: ‘TIME_CONTROLLED’})

I’m using Homey and would like to check if my installation is in cooling mode.
I have the VR720 with the senso app.

Could somebody help me to create a rest script to get this information:

So that I can try if I can use this app in homey to get it working?

Thank you!

I wouldnt spend any time working on anything for the sensohome/sensocomfort devices as they are about to start migrating to a new IOT app that will be completely different, the VRC700 will also move to the same platform but not likley till next year.

Hello John, any sources :open_mouth: ?

The app is already on the google play store and the ios app store. Its called “MyVaillant”.

The spanish site with the announce