Fixed number of decimal points on MQTT payload

This commit is contained in:
Gunnar Skjold
2023-10-28 08:20:39 +02:00
parent 4634050700
commit a6d8857655
2 changed files with 8 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{
"tPI" : %.2f,
"tPO" : %.2f,
"tQI" : %.2f,
"tQO" : %.2f,
"tPI" : %.3f,
"tPO" : %.3f,
"tQI" : %.3f,
"tQO" : %.3f,
"rtc" : %lu
}

View File

@@ -30,10 +30,10 @@
"PF1" : %.2f,
"PF2" : %.2f,
"PF3" : %.2f,
"tPI" : %.2f,
"tPO" : %.2f,
"tQI" : %.2f,
"tQO" : %.2f,
"tPI" : %.3f,
"tPO" : %.3f,
"tQI" : %.3f,
"tQO" : %.3f,
"rtc" : %lu
},
"realtime" : {