Hi, another solution is to use one Esp8266 or anything else like this to read out the temperature of the device than can be sent the command to the device back for trigger the relay. I did not try it yet, I don't know if one parameter can be read at demand from outside.