Closed joanwa closed 3 years ago
I think the ESP32-dev branch misses the division by 10 for the tankMiddleTemp and mixerTemp
// Mixer temperature
if (Helpers::hasValue(mixerTemp_)) {
json["mixerTemp"] = (float)mixerTemp_ / 10;
}
// tank middle temperature (TS3)
if (Helpers::hasValue(tankMiddleTemp_)) {
json["tankMiddleTemp"] = (float)tankMiddleTemp_ / 10;
}
the v3/ESP32 is a completely different beast when it comes to capturing the variables and displaying them. it's supposedly easier!
basically you need to remove the initializer in the .h header file and only modify 1 line in the .cpp file to register the value, using register_device_value
. Use FL_(div10) to divide by 10. I don't mind making the port to v3 if its complicated