Closed bkbartk closed 1 week ago
Hi, for support on the hardware controller you can create a ticket on https://shop.svenar.nl/support/ or sent an email to support@svenar.nl so that would will receive the support you need.
thanks, I asked the question over there, and I know this one is closed, but now think the issue is memory related I added heapsize to sensors and I found the following, what happens is,
22:30:19 [E] [modbus_controller:101] Modbus error - last command: function code=0x6 register address = 0x2 registers count=1 payload size=2
If I find the time I will serial flash with esp-idf because that one manages the memory better.
ok, just maybe for someones info,
I flashed with ESP-IDF, and then I applied the action which made the device crash earlier, tried this 3 times.
Still I got an error in the log, probably my device uses some different adress somewhere. but the free heap didn't decrease, also there is no reboot, and no CRC errors afterwards probably esphome arduino doesn't handle errors as nicely which causes the problem.
So that one is fixed, Now I have to dive into the other issues I have.
@bkbartk goed to read that you solved this issue. Can you share which action(s) you exactly executed to get the behavior? Until now we (Sven) are not able to reproduce the issue you see.
what I do is the following,
I grep the slider for the entering temperature
number.heatpump_set_water_temperature_t1s_zone_1
and lower it's value.
then I get this error in the esplog
19:30:22 [W] [component:237] Component modbus_controller took a long time for an operation (215 ms).
19:30:22 [W] [component:238] Components should block for at most 30 ms.
19:30:23 [W] [component:237] Component modbus_controller took a long time for an operation (201 ms).
19:30:23 [W] [component:238] Components should block for at most 30 ms.
19:30:24 [E] [modbus_controller:092] Modbus error function code: 0x6 exception: 3
19:30:24 [E] [modbus_controller:101] Modbus error - last command: function code=0x6 register address = 0x2 registers count=1 payload size=2
19:30:32 [W] [component:237] Component modbus_controller took a long time for an operation (66 ms).
19:30:32 [W] [component:238] Components should block for at most 30 ms.
19:30:32 [W] [component:237] Component modbus_controller took a long time for an operation (213 m
and the value won't change/is reverted after a refresh
the value changes during the day, and represents the number shown on the Midea terminal. what I think is that this value represents the actual temperature instead of the desired water temperature.
The device I have is a "Midea monoblock 6KW"
The modbus registers I could find, are consistent with the generic configuration. I see that the text in your screenshot shows “entering temperature”, I assume that is from a custom dashboard, since the default text is different.
Can you share the exact Heatpump model that you have, maybe with that information I am able to find an other modbus register list.
I use the dashboard from github
https://github.com/Mosibi/Midea-heat-pump-ESPHome/tree/master/homeassistant
but it is number.heatpump_set_water_temperature_t1s_zone_1
as at the moment, I'm not sure yet what I need.
The value 30, is consistent with the "Water flow desired temperature" so that's good, yesterday it was 55, So I thought it was the actual temp, but the manual mentions "desired", not sure why it changes over time.
I don't know the exact model number, can this be "MHC-V6W/D2N8-BE30"? this is in the documentation,
And my controller has model number: KJRH-120F/BMKO-E I see there is a full modbus spec in the manual but for somehow it's left out of the online manual.
It says
Register address: 2(PLC: 40003)
Description: Setting water water temperature T1S
Remarks:
Bit8-Bit15 Water temperature T1s is corresponding to the floor heating.(zone 2)
Bit0-Bit7 Water temperature T1s is corresponding to the floor heating.(zone 1)
Edit: I can change other options so at least write works as expected
Edit2: And this is interesting, This issue only occurs if I try to set a value <26, I can just set 28 without any issues.
Do you have weather compensation on or off for zone 1? Looking at my own stats, I see that the register seems to work like a sensor, thus reporting the current value, when weather compensation is off.
yes it's off for both zones and when I try to enable it, it automatically turns off again, so probably I'm not allowed to change that one.
It could be that you can’t enable weather compensation when it is in “thermostat” mode, but I am not sure about that.
thank you for spending time on this one,
later Weather compensation was enabled, still 25 was the minimum value I could select, I think it might takes some time before the modbus reacts on changes.
However for my this is more like a theoretical issue then an actual one since my ESP doesn't crash anymore. when heating the temperature should never be below 25 so that's ok. and my cooling conditions aren't in place yet.
if you want me to apply some tests I'd be happy to do so, but if this is just for me you don't need to put any effort in it.
I must be doing someting wrong but I can't figure what it is. I use the module from SVEN. including the cable. And today I finally had the time to install it,
On my device connectors X and E are swapped, So I still connect to E.
My esp device spontaneously reboots sometimes, and sometimes completely becomes unavailable until I repower the espmodule. Also In the log I see CRC errors anw when I'm able to change a setting a lot of times it will be reverted. I added reset reason to the script, but now the device is completely unavailable with this in the log.
I think about maybe a power issue, but that still doesn't explain the
Modbus CRC Check failed!
errors. of maybe, there are just to many sensors for ESP32 arduino and it's better to flash to ESP-IDF, but then I wouldn't be the only one having this issue.