Scene trouble

Hey Guys,

I have a Vera 2 running the latest firmware for UI5. I have a scene that is setup with a luup code to only run if it’s night. This scene will turn on two lights in the house when a certain code is entered in my door lock and turn off in 10 minutes. My problem is, when the code is entered the lights come on, but will never shut off. If I run the code manually the lights come on and will go off in 10 minutes. Any help or ideas would be much appreciated.

Thanks,
-Kyle

Details of how you actually set this up
Timers … Triggers … Trigger luup code … Scene luup code.

Under Scene LUUP I have the following code:
if ( luup.is_night() ) then
return true
else
return false
end

I then added a trigger for my Door lock and am using “A PIN Code is entered” and used PIN code index #1.

Below I attached a screen shot of the advanced tab.

Thanks.

Looks good …
Might watch the log file in another window while this is happening and see if you see some type of error.

http://VeraIPAddress/cgi-bin/cmh/log.sh?Device=LuaUPnP

[quote=“RichardTSchaefer, post:4, topic:173576”]Looks good …
Might watch the log file in another window while this is happening and see if you see some type of error.

http://VeraIPAddress/cgi-bin/cmh/log.sh?Device=LuaUPnP[/quote]

What I ended up doing was deleting the scene and redoing it. After doing that and a reboot everything seems to be working fine.

Thanks again!