diff --git a/pio/src/iSpindel.cpp b/pio/src/iSpindel.cpp index 78abd829..dc0fcb47 100644 --- a/pio/src/iSpindel.cpp +++ b/pio/src/iSpindel.cpp @@ -788,11 +788,11 @@ bool uploadData(uint8_t service) sender.add("brand", "wemos_d1_mini"); sender.add("version", FIRMWAREVERSION); sender.add("chipid", chipidHashed); - sender.add("s_number_wort_0", (float)(round(Gravity * 10000) / 10000)); - sender.add("s_number_temp_0", (float)(round(Temperatur * 10) / 10)); // always transmit °C - sender.add("s_number_voltage_0", (float)round(Volt * 100) / 100); + sender.add("s_number_wort_0", Gravity); // gravity can be in SG or °P, depending on user setting + sender.add("s_number_temp_0", Temperatur); // always transmit °C + sender.add("s_number_voltage_0", Volt); sender.add("s_number_wifi_0", WiFi.RSSI()); - sender.add("s_number_tilt_0", (float)(round(Tilt * 100) / 100)); + sender.add("s_number_tilt_0", Tilt); CONSOLELN(F("\ncalling BRICKS"));