thomasgermain / pymultiMATIC

Python interface with Vaillant multiMATIC
MIT License
56 stars 11 forks source link

Monitor on- and off events for Ambisense valves #34

Closed jiridj closed 4 years ago

jiridj commented 4 years ago

Hi Thomas,

While looking for API documentation on my Vaillant setup I came across this wonderful project. I have been looking in more detail into it, but I can't seem to find what I'm looking for. I'll just ask to be sure. ;-)

I have multiple AmbiSense Valves connected to the the internet module. Each valve controls the temperature in a particular room. The standard app allows you to set temperatures, but not much more.

I'm interested in collecting information on when a particular valve opens and closes. In other words, when is which room being heated. Is that information available anywhere in the APIs you have found?

Thanks!

jiri

thomasgermain commented 4 years ago

Hi Jiri,

thanks for your input :)

I also have multiple ambisense valves and one heating floor and I already had a deep look into that problem. In summary: no, this information is not directly available, but...

Taking my configuration as example:

For a Zone you have an active_function attribute. From what I can see this is switching between standby and heating (I think it can also be cooling but I don't have any cooling system related to vaillant). So you can know what the zone is doing. So for a zone we can get it directly through the API.

Here comes the tricky part: now speaking about Room, from the VRC 700 point of view, rooms don't exist (it only knows Zone 1 and Zone 2). During my tests I was able to see the following:

Hope it can help you.

Thomas

jiridj commented 4 years ago

Ah, that is interesting! Digging deeper into your documentation I noticed that rooms also have the actual temperature in their data structure, not just zones.

A boolean on the device (valve open or closed) would have been nice, but comparing actual to target temperature should indeed to the trick.

I won't get to this right away, but when I do I will provide feedback.

Thanks!

thomasgermain commented 4 years ago

You are welcome :smiley:

The goal of the project here is the reflect what is available from the API, so I try to limit as most as possible to "guess" or interpret some data. I prefer to have the end user (you :stuck_out_tongue: ) doing it based on his needs.

I could add the boolean, but i'm not 100% sure when the valve is open or close: as I said, if there is 0.5 degree difference between actual and target temperature, in some case the system may heat or not (maybe because of outdoor temperature, or maybe the boiler is already heating something else so it costs nothing to just send a few hot water in that room, etc.)