Hi - I am new to smartthings and been trying to understand the virtual thermostat smartapp. Went through the code as well, but am a bit confused on the EMER temperature value.
My use case is to turn on a fan (connected to a ST smartplug) when the house gets too warm and to turn the fan off when the house gets to 18 degrees C. This should only happen in night and away modes as its for our dog. I don't have a motion sensor in this area, just a ST multi-purpose sensor reporting temperature.
So i have put the set temp as 18. Left the motion, minutes and emer temp as blank. Set the mode to cool and set the specific modes as night and away. Do I need to have something in emer temp? Whats the minutes input for - motion or temp readings?
Currently the fan goes on, but never goes off, even though the mode changes from away/night to home.
Also I have noticed my multi-purpose sensor only reports temperature once every 1-3 hours (not minutes!) and this means the thermostat triggers the fan on after significant delays of several hours and I have never seen it go off! Is this normal? This is a new starter kit purchased just a week ago from amazon uk.
If someone can explain the how the virtual thermostat code works it would be great!
Thanks for your guidance!