diff --git a/src/smartpower2.ino b/src/smartpower2.ino index 8b8c96a1647c4381a8f718d8e0e4452b249989b0..8ed1c3ca86f78c6e9f1bdb86fa4ef6a7625c6e06 100644 --- a/src/smartpower2.ino +++ b/src/smartpower2.ino @@ -717,7 +717,7 @@ void handler(void) if (logClient && logClient.connected()) { // Report the log info - String data = String(volt) + "," + String(ampere) + "," + + String data = String(volt, 3) + "," + String(ampere, 3) + "," + String(watt, 3) + "," + String(watth/3600, 3) + "\r\n"; logClient.write(data.c_str());