Hello, first time poster here. Been using SmartThings for maybe 2 years now, and now that I’ve collected a bunch of devices I’ve really been getting into it. I started using CoRE just about a month ago (haven’t looked at webCoRE yet).
I’ve set up a piston that will control my fan speed based on motion and the temperature. I’m storing the temperature from a multisensor in a variable (or at least I think I am) and it’s actually being set to the status of the motion sensor. It all looks correct from me so maybe a second (or third or fourth) set of eyes can help me on this one.
The logic is supposed to be:
if motion is detected and temp >= 70 then
if temp <= 75 set fan speed to low
else if temp <= 80 set fan speed to medium
else if temp > 80 set fan speed to high
else set fan speed to low ## added this to use low as the default if the temp variable is not a number
What’s happening is that the variable I set is being set to “inactive” instead of a temperature value. Piston below: