We have moved at community.getvera.com

Author Topic: Scene Creation  (Read 755 times)

Offline jmarty32

  • Jr. Member
  • **
  • Posts: 60
  • Karma: +0/-0
Scene Creation
« on: July 28, 2014, 06:34:18 pm »
Hi Everyone,

I am sure for most this is pretty simple.

I want to create a scene for my teenage daughters bathroom to turn off lights when there is no activity. have searched the forums for hours but it seems there are multiple ways to accomplish creating scenes and i am confused as to the easiest way.

This is what i would like to accomplish
1-lights to run on online after dark
2-after midnight lights to go on at 50%
3-lights to turn off after 2 minutes of inactivity

gear- GE zwave dimmer-Intermatic CA9000 sensor

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2409
  • Karma: +112/-140
Re: Scene Creation
« Reply #1 on: July 28, 2014, 07:25:20 pm »
I'm assuming you only want the lights to come on when she enters the bathroom? Most of it would be doable with a normal scene using the LUUP is_Night function (http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#function:_is_night) to determine if it is night. There is also a plugin you can define sunrise more custom. (http://rts-services.com/Vera/Plugin/DayTime/)

I don't use occupancy sensors as I have multiple large dogs and I have yet to device a logic that excludes them from any of those kind of sensors.
Don't occupancy sensors have a setting to switch off if noone dteceted for a set period of time? if so, you could trigger a scene on that.  It'll get a bit convoluted though. You may want to look into the PLEG plugin to make your life easier...

Seems someone already made a LUUP script that looks like it may take care of most of what you need. (http://www.remaining-home.com/node/4) or (http://www.remaining-home.com/node/1)

« Last Edit: July 28, 2014, 07:34:56 pm by BOFH »
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W