mc0110 / inetbox2mqtt

communicate over mqtt protocol to simulate a truma inetbox
MIT License
85 stars 18 forks source link

current_temp_water does not change #8

Closed 7wells closed 2 years ago

7wells commented 2 years ago

Hi Magnus!

Now that my setup seems to work nicely with your code on my ESP32 and my Truma Combi 4, I realise that current_temp_water does not change; it stays 12.0 °C all the time, whereas current_temp_room changes as expected - see graphs from 2 different tools (IoT MQTT Panel Android app above; HA below):

Screenshot_20221109_071307.jpg

Screenshot_20221109_071546.jpg

How can I find out the reason for this? Attaching the ESP32 to my laptop and reading the Thonny shell while changing water temperature on the CP+, or doing something else?

In previous nights (and with Daniel's code on the RPi4), the water temperature display changed, too.

I find it remarkable that the room temperature in the graph above (IoT app) shows changes more pronounced than the other. Is this because of different values or just less accurate on the other?

mc0110 commented 2 years ago

But you have the hot water off? Then you only see that water acts like a buffer against temperature fluctuations due to its significantly higher heat capacity. Yes, and it has nothing to do with the code on the ESP32 but only with the climate in your environment. HA scales the graphs automatically, hence the better resolution if you leave out the temperature jump in the data.

mc0110 commented 2 years ago

At the moment my water temperature is also 12degree ;-)

grafik

mc0110 commented 2 years ago

grafik

And for comparison - measured with several thermometers in the vehicle, here is the room temperature of the last day. The curve looks similar.

7wells commented 2 years ago

The water and air heating is off.

Thank you for your confirmation! I agree that water is much slower than air in changing temperature and saw this also in previous days before. I was somewhat puzzled, though, that now it stays on exactly 12.0°C all the time (even now), whereas in the previous days it did decline during the nights and increased during the days (less pronounced than the air temperature). I will keep an eye on it.

PS1: On the CP+, I set the water heating to boost and see this:

Screenshot_20221109_100052.jpg

The 200.0 corresponds to boost.

As the heating switches automatically off after about a minute, I cannot further investigate in this right now. There is enough water in the tank, but this gets OT now.

BTT, the water temperature is still shown as 12.0°C.

PS2: The water temperature has suddenly increased (after I boostered for about 1-2 minutes):

Screenshot_20221109_102740.jpg

Was it really exactly 12.0°C warm over the whole night until I briefly triggered the water heating booster? Must be like this, and your tool works very nicely! 👍