Code for to convert raw temp value into degree celcius in telegram temp monitor

what should be add in code of telegram messaging temp monitering to get raw temperature value into degree celcius by message

For getting the temperature message in celcius, make this changes in the value of threshold in step3 of while loop :

message = "Alert! Sensor value has exceeded " + str(conf.threshold * 0.097) +
". The current value is " + str(sensor_value *0.097)
We get the values in celcius then

1 Like