tspopp / AquaMQTT

Monitor and control your Groupe Atlantic (Explorer, Aquawin,...) heat pump using MQTT
Apache License 2.0
21 stars 8 forks source link

wip(protocol-next): Analyzing the Next Protocol #53

Closed taloriko closed 2 days ago

taloriko commented 3 weeks ago

Initial evaluations from the HMI debug in PROTOCOL_NEXT.md

tspopp commented 3 weeks ago

What is PV System "Smart-Grid" ... Is this related to the heat element, or is this just the switch to "allow the pv input"? Maybe you can provide a picture of the hmi screen.

It appears in the main message you have something new Compressor Outlet Temp, I am jealous ;). These values are all in degrees celsius, right? So no additional formula needed?

taloriko commented 3 weeks ago

Yes, all values are in degrees Celsius, and no formula is needed.

I was just about to take a photo of the menu, but I can’t access it anymore :-)

I was only able to do a quick test. I noticed something else during.

If PV Smart Grid is set to "Yes" in the installer menu, then in the settings menu, the heating element is set to:

"Automatic" == 2

"Deactivated" == 6

If Smart Grid is set to "No," then in the settings menu, the heating element is set to:

"Automatic" == 0

"Deactivated" == 4

Screenshot_20241105_204953_Gallery Screenshot_20241105_205001_Gallery Screenshot_20241105_205010_Gallery Screenshot_20241105_205018_Gallery Screenshot_20241105_205033_Gallery Screenshot_20241105_205048_Gallery Screenshot_20241105_205057_Gallery

tspopp commented 3 weeks ago

Sometimes they store information in a bitmask. We have to identify what bit is responsible for the actual attribute we are requested in.

For example:

"Automatic + Smart Grid On" :   0x2 == 0010b
"Deactivated + Smart Grid On":  0x6 == 0110b

Here only the third bit changes, so the change of Automatic to Deactivated is stored in the third bit. The second bit is most probably smart grid status.

Automatic + Smart Grid Off" :   0x0 == 0000b
Deactivated + Smart Grid Off":  0x6 == 0100b

The second finding proves this: Third bit is heat element status, second bit is pv enabled since it is no longer present here.

Looking at the menu, it seems they only renamed and reordered the menu a bit. My menu ist just called "Photovoltaik". And even the protocol matches to the legacy protocol :+1: