What triggers a scene?

Hi

I have a scene which should turn the heating off if the temperature goes over a set point.

This does not always trigger and I am trying to work out why.

Is the trigger for a scene when the temperature changes and goes past the set point or is it always retriggering if it’s above the set point???

Ideally I would like it to recheck every minute or so and shut the heating off any time it is over the set point, does the temperature event in a scene achieve this or would some code work better??

If code will achieve it and events not then has anyone got a code snippit for me?

Thanks

Nick

Hi Nick,

What are you using for the temperature sensor?
A simple UI scene using the temperature > scenario (depending on the size of your network and the sensor) may take some time to fire due to the interval between the temperature sensor being polled.

JOD.

Temperature updates are quick, the “one wire” ethernet solution from Chris. This gives 0.1C resolution into Vera.

I am thinking from reading into Luup that I need to create a “temperature scene” polled by it’s own timer every minute or so that looks at the parameters I am interested in and sends the heat pump command. This can then be gated for different temperatures at different times of day and inhibited in the day if there is no motion sensor activity etc.

The existing scenes are too sloppy to trust Vera to run the heating for me. I want something that is actively polling and checking for temperature and time and making active decisions. This sounds like some custom code with the timer triggering it to poll and check parameters and it’s the direction I am heading in.

Nick

Then it appears the issue is relying on the scene cycling. In my system scenes appear to be passively read ~every 30 minutes or so.

I had a similar need as you, for my HVAC UV lights.
See this thread: http://forum.micasaverde.com/index.php/topic,7691.msg49514.html#msg49514

Not having any experience with the one wire solution, I can’t help in that regard.

JOD.

Thanks, been out to eat, got back, and the heating is still on, I’ve got 4 different cut out points in the “heating off” scene and it’s gone past the first 2 without triggering on either.

What log file do I need to look at to try and work out why an event as simple as “turn appliance switch off if temperature above a set point” is failing to trigger?

Thanks for the thoughts.

Nick