Scene doesn't appear to be firing.

  • 68 Views
  • Last Post 19 September 2014
monkey-magic posted this 26 August 2014

Hi all,

I have a scene that doesn't appear to be firing.

I have a 4 in 1 one sensor, with the temp sensor created as another device.
It is being logged and I can see the temps going between 26 and 35 oC

The scene is set to turn on a power point when it goes above 30oC for 5 minutes.
Devices: Power - On
Triggers: Temp changes to any level (I'm hoping this will make it check every time there is a temp change)
Conditions: Temp has been >= level 30 for 5 minutes.

I'm not seeing anything in the log or changes in the Power.

thanks Josh

Order By: Standard | Newest | Votes
awlieser posted this 18 September 2014

Hi Josh,

I do believe you have to include a time trgger that runs every -say - 5 min.

Cheers
Alfons

monkey-magic posted this 18 September 2014

That's what I'm running at the moment, a scene that runs every 15 minutes. If it is over 30C then it will turn on and if it is under it will turn off.

Not sure why the original I have posted wouldn't work but it should have activated when temp changes (if not every 0.1C but at least when it hit 31C) it would have been over 30C for more than 5 min so should have fired but didn't.

Josh

Ryan-Scott posted this 18 September 2014

It's because InControl doesn't have a 'long-term' memory; it only knows about the level that just took place. So let's say your temp changes to 36, to InControl, that "just" happened right now, even if it was at 35 for 20 minutes, it only just now changed to 36. In a sense, the timer resets any time the temperature adjusts; so if you've got the temp that changes once every 2 minutes and you are waiting for it to be 30 or higher for 5 minutes, it'll never trigger.

Hmm... confusing? You are welcome to put in a feature request for a historical memory if the current way you are doing it isn't working.

ftsikogi posted this 19 September 2014

Perhaps it could be feasible to try the following. Create a scene with a timer that runs every x minutes and add a condition that checks the temp level (e.g.>30).
The scene would then power on a virtual device to on.
Create a second scene that does this exact opposite.
Then make a third scene that monitors the status of the virtual device and if it is on for 30 minutes then would power on the whatever device you want to.
I have not tried it but it may work. What do you say?

monkey-magic posted this 19 September 2014

@Ryan

Thanks for that, that makes sense. Quick question, does it change every 0.1C or every 1C? The log shows 1C but the device shows 0.1C.


@ftsikogi

That should work, wouldn't need the second virtual device. Every minute if over 30C then On to Virtual device. If Virtual device is on for 5 minutes then turn on the fan.


I'm just trying to get a fan to turn on to vent near my server when it gets hot so I'm happy for it to run every 15 minutes and if it is over 30C.

Josh

Ryan-Scott posted this 19 September 2014

@Ryan

Thanks for that, that makes sense. Quick question, does it change every 0.1C or every 1C? The log shows 1C but the device shows 0.1C.
Josh


It really just depends on the device and how often it reports its temperature. I wouldn't be surprised if you are getting the .1 degree temp changes, but only seeing the rounded up version inside the UI.

Close