In the telegram message code there are lines:
response = mybolt.analogRead(pin) data = json.loads(response) if data["success"] != 1: print("Request not successfull") print("This is the response->", data) return -999
It says it checks for the valid response. But how?
What is the value of success?
Like what does data[“success”] do?
Data is the temperature right? So how is it 1?