Jul-07-2019, 02:26 PM
hello your question isn't clear to me. Does your code output all the write messages to your phone? How are you checking temperature or water pressure?
In this example POWER is set to True:
In this example POWER is set to True:
if POWER == False: format_text= 'Alert Message %s'%('No A/C') port.write(format_text+'\r\n') rcv = port.read(10) print rcv