I have a motion-triggered scene to turn on a ceiling fan. I do not want the fan to come on if it is under 75F. The trane is device 30.
I tried this from the wiki:
Third, the last step is to add the condition. To the right of the scene's description you'll see the button "Luup Scene". Click it and in the code box, copy and paste the following: local lul_temp = luup.variable_get("urn:upnp-org:serviceId:TemperatureSensor1","CurrentTemperature", 30) if (tonumber(lul_temp) < 23.8) then return false end
…but it still triggers. Is “urn:upnp-org:serviceId:TemperatureSensor1”,“CurrentTemperature” correct for the trane?
Any ideas?