Currently I have only one temp probe in my sump, but I have another at home that I am going to place in there as well for some redundancy. As I leave my tank to its own devices for extended periods, I would like to work in some sort of code should one of the temp probes decides to go haywire. I was thinking something like this
if ((T1_PROBE + T2_PROBE) / 2 >= (T!_PROBE + 10) || (T1_PROBE + T2_PROBE) / 2 <= ( T1_PROBE - 10)
send alert
From there I can hopefully work out which one is faulty from spikes or something in the portal charts or android app history. From there I would like to set standard heater to whichever probe is the correct one. I could do this by setting a 1 or 0 in internal memory and then calling something to change the standard heater line I suppose. Just wondering if you guys that know the libraries better than me can see a more elegant solution.
Thanks