mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
update max31855 json temperature name publication
For using the thermostat function, publication of the measured temperature was using the wrong name. Changed to the common used name.
This commit is contained in:
parent
4096990d3f
commit
4f6a84de0b
@ -143,7 +143,7 @@ void MAX31855_Show(bool Json) {
|
||||
GetTextIndexed(sensor_name, sizeof(sensor_name), Settings.flag4.max6675, kMax31855Types);
|
||||
|
||||
if (Json) {
|
||||
ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_PROBETEMPERATURE "\":%*_f,\"" D_JSON_REFERENCETEMPERATURE "\":%*_f,\"" D_JSON_ERROR "\":%d}"), \
|
||||
ResponseAppend_P(PSTR(",\"%s\":{\"" D_JSON_TEMPERATURE "\":%*_f,\"" D_JSON_REFERENCETEMPERATURE "\":%*_f,\"" D_JSON_ERROR "\":%d}"), \
|
||||
sensor_name,
|
||||
Settings.flag2.temperature_resolution, &MAX31855_Result.ProbeTemperature,
|
||||
Settings.flag2.temperature_resolution, &MAX31855_Result.ReferenceTemperature,
|
||||
@ -194,4 +194,4 @@ bool Xsns39(uint8_t function)
|
||||
return result;
|
||||
}
|
||||
|
||||
#endif // USE_MAX31855
|
||||
#endif // USE_MAX31855
|
||||
|
Loading…
x
Reference in New Issue
Block a user