www-ShapeLabs-de / Judo-i-soft-save-plus-to-mqtt-bridge

A small device to write and read settings to Judo i-soft safe+ water softening system with homeassistant
MIT License
24 stars 8 forks source link

Is the input hardness formula correct? #2

Closed hzulla closed 1 year ago

hzulla commented 1 year ago

https://github.com/www-ShapeLabs-de/Judo-i-soft-save-plus-to-mqtt-bridge/blob/9ea6f6145c0fc38f97e52bdf989079c6f3950e3e/python/getjudo.py#L231

Hi there,

again, thanks for the script. I've copied your code for my own little script and found the line above puzzling. According to it, the input hardness of my Judo device is lower than the output hardness.

Comparing your code to another project's version of the same problem, the other guys don't seem to do the input_hardness.value = float(input_hardness.value)/2 + 2 calculation that you are doing.

When I remove that added formula from my code, the result also looks more plausible and input hardness is higher than output hardness.

hzulla commented 1 year ago

Is the position 54:56 of the hex substring correct? The other guys are reading it from 22:24. On my Judo, the values at 22:24 and 54:56 are identical, but that may be caused by my system configured to use dH as its water hardness unit.

www-ShapeLabs-de commented 1 year ago

Hi Hanno,

In my case, it was that the original value was not plausible. I had opened an issue on this in the IOBroker project to ask if it is similar for others: https://github.com/arteck/ioBroker.judoisoft/issues/27 As an answer I got from the developer a line of code where the value is divided by 2 and added with 2. The value that came out was again much more plausible for me. But whether that is now so correct, I can also not say

hzulla commented 1 year ago

I will ask Judo. Their email support may answer technical inquiries, at least it's manned by humans and gave actual responses last time I had a problem with my device's cloud connection.

www-ShapeLabs-de commented 1 year ago

okay, thank you so much for taking care of this. I am curious about the answer from Judo

www-ShapeLabs-de commented 1 year ago

This is the formula for the maximum adjustable desired output hardness. See in Manual Chapter 9 - Technical data

I think that the conductance sensor from my system is no longer working correctly, since the maintenance is already half a year overdue anyway. This is replaced during the annual maintenance

hzulla commented 1 year ago

Wait, which manual are you talking about?

www-ShapeLabs-de commented 1 year ago

https://judo.eu/app/downloads/files/de/8203521/manuals/1703159_202103.pdf

See on page 46