Announcement

Collapse
No announcement yet.

Constructing a series of events for motion controlled lighting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    Thanks. I think this is quite an important thread for people trying to make HomeSeer do the essentials. I was using Vera/Pleg, but depending so heavily on an unofficial plug in did not seem to be a very secure boat. Sorry that it needs to be "reconstructed" as opposed to recovered..

    Comment


    • #62
      Originally posted by quinn View Post
      Thanks. I think this is quite an important thread for people trying to make HomeSeer do the essentials. I was using Vera/Pleg, but depending so heavily on an unofficial plug in did not seem to be a very secure boat. Sorry that it needs to be "reconstructed" as opposed to recovered..
      I think I was able to reconstruct the second and third posts in the thread. Also note that I have replaced my Jasco switches with HomeSeer HS-WD100+, allowing me to replace ON-OFF-ON with central scene triggers.
      Randy Prade
      Aurora, CO
      Prades.net

      PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

      Comment


      • #63
        I am trying to create a series of events, virtual devices, counters and timers that will allow me to suspend motion control of my garage lights. The main difference between my system and rprade is the fact that I am using a switch and motion control sensor within Lutron Radio RA2. With this system, the motion sensor communicates with the switch outside of HS3, thus, I cannot turn that communication off from within HS3. In addition, the motion sensors within RA2 are "dumb" in the sense that they only broadcast their status; you cannot change their status externally. I have also researched this on the Lutron forums, and Lutron does not support this type of functionality.

        I was thinking of creating a series of events that would detect when the sensor reported no motion, and then immediately turn the light back on. The problem is that there is no way to distinguish when the lights are turned off manually versus when they are turned off by the motion detector.

        Comment


        • #64
          Originally posted by rprade View Post
          I think I was able to reconstruct the second and third posts in the thread. Also note that I have replaced my Jasco switches with HomeSeer HS-WD100+, allowing me to replace ON-OFF-ON with central scene triggers.
          Hi Randy,
          Wondering if you might have some time and would mind updating either this thread or make a new one “Updated for HS Switches”? I’m sure your events have come a long ways since 2015! I’m thinking you probably don’t have some of those VD since EasyTrigger schedules....


          Sent from my iPad using Tapatalk
          HS3 3.0.0.548 &HSTouch Designer 3.0.71 with 996 Devices, 547 Events
          Plugin's:
          BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
          EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
          weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave 3.0.1.252

          Comment


          • #65
            Originally posted by The Profit View Post

            Hi Randy,
            Wondering if you might have some time and would mind updating either this thread or make a new one “Updated for HS Switches”? I’m sure your events have come a long ways since 2015! I’m thinking you probably don’t have some of those VD since EasyTrigger schedules....


            Sent from my iPad using Tapatalk
            I just saw this post today. I will try to show the changes in some additional posts. I do use Easy Trigger schedules and HomeSeer Central Scene switches, but the underlying logic for motion control remains the same.

            Randy Prade
            Aurora, CO
            Prades.net

            PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

            Comment


            • #66
              Originally posted by rprade View Post
              I just saw this post today. I will try to show the changes in some additional posts. I do use Easy Trigger schedules and HomeSeer Central Scene switches, but the underlying logic for motion control remains the same.
              Thank you Randy! I look forward to seeing the updates that you've made!

              I haven't been able to get Tapatalk notifications working again so I just ran across your post by accident. Most everyone else has gotten it working so I'm thinking I'm just going to be left out in the cold on the issue so I'll keep checking back.
              HS3 3.0.0.548 &HSTouch Designer 3.0.71 with 996 Devices, 547 Events
              Plugin's:
              BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
              EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
              weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave 3.0.1.252

              Comment


              • #67
                Here goes...

                Since I initially posted the HomeSeer scene capable switches and dimmers became available as well as Spuds excellellent Easy Trigger plug-in. This provided much more flexibility and ease of configuration as compared to my original method using Jasco switches with counters and timers and a master motion control virtual device. Now, instead of a virtual device to determine when motion control was desired, I use an Easy Trigger schedule. I currently use three schedules, exterior, interior and basement. These schedules account for sunrise and sunset times. In addition, I have a "Low Light" virtual device that is controlled by the luminance sensor on my rooftop weather station. Here is one of the schedules

                Click image for larger version  Name:	InteriorSchedule.PNG Views:	0 Size:	30.0 KB ID:	1321136

                For each lighting group I use two virtual devices - Motion Master and Motion Enable. Motion Master is used to suspend motion control until it is specifically enabled again. Motion Enable is used for temporary suspension allowing the lights to remain off or on until they are manually controlled.

                There are also some subtle changes to the Events. Here is the On by Motion Event:

                Click image for larger version  Name:	OnByMotion.PNG Views:	0 Size:	82.4 KB ID:	1321137

                There are two sections, scheduled and low light. Each is triggered by motion, require that the lights are off for at least 30 seconds (so that they will not trigger as I am leaving the room) and that the two virtual devices are on. If the Low Light Device is On, it will allow motion control outside of the schedule.

                Here is the Off by No Motion Event:

                Click image for larger version  Name:	OffByNoMotion.PNG Views:	0 Size:	54.8 KB ID:	1321138

                The Off Event also has two sections. The first will cause the event to run if there has been no motion for at least 15 minutes, that the lights have been on for a few minutes and that motion control is enabled. The second section is a failsafe that will not let the lights stay on for more that 2 hours, unless there has been recent motion.

                I have two Events for temporarily suspending and resuming motion control:

                Click image for larger version  Name:	Suspend.PNG Views:	0 Size:	37.4 KB ID:	1321141
                If the top or bottom paddle on the HS switch is held, motion control is temporarily disabled. This will leave the lights On or Off until manually controlled.

                Click image for larger version  Name:	Resume.PNG Views:	0 Size:	44.3 KB ID:	1321142

                If the lights are turned on or off at the switch or set to off by event, the motion control is resumed. My "House to Sleep" routine turns all household lights off. Since the 3rd trigger is dependent on the lights being "Set" to off, this will restore motion control.

                There are two Events allowing me to turn motion control Off or On on a persistent basis. These Events use Central Scene controls from the switch, instead of counters and timers with the Jasco switches. The old methods worked, but the Central Scene gives me much more control and easier Event construction.

                Click image for larger version  Name:	SuspendMaster.PNG Views:	0 Size:	28.6 KB ID:	1321143

                Click image for larger version  Name:	ResumeMaster.PNG Views:	0 Size:	28.4 KB ID:	1321144
                Randy Prade
                Aurora, CO
                Prades.net

                PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

                Comment


                • #68
                  With dimmers, much is the same, except I use a set of level setting events that will set the dim level based on time of day, low light, etc. Each of the 6 default levels can be set through virtual devices.

                  Click image for larger version  Name:	defaults.PNG Views:	0 Size:	66.7 KB ID:	1321149

                  When the lights are controlled it is through a level set Event. I call this level Event from the motion controls, or when controlling the lights from other Events.

                  Click image for larger version  Name:	level.PNG Views:	0 Size:	64.2 KB ID:	1321150

                  This will set the lights to a level based on time of day or low light as well as being set to the last level if lighting defaults are not employed (controlled by the "Use Defaults" Virtual Device). Each of the called events will run based upon Easy Trigger schedule time of day and Virtual Devices. Here is for Night-Awake level:

                  Click image for larger version  Name:	night.PNG Views:	0 Size:	47.1 KB ID:	1321151

                  If "Use Defaults" is Off, this Event runs

                  Click image for larger version  Name:	NoDefault.PNG Views:	0 Size:	32.6 KB ID:	1321152

                  My master suspend and resume Events are the same as for switches. I only use a temporary suspend in the On position, since holding a paddle also will increase or decrease the level. To allow me to increase or decrease the light level, I added a pair of Events using the Central Scene double tap. Tapping the top twice turns the lights to On.

                  Click image for larger version  Name:	top2.PNG Views:	0 Size:	27.9 KB ID:	1321153

                  Tapping the bottom twice returns them to the default level.

                  Click image for larger version  Name:	bottom2.PNG Views:	0 Size:	37.1 KB ID:	1321154
                  Randy Prade
                  Aurora, CO
                  Prades.net

                  PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

                  Comment


                  • #69
                    Hey rprade
                    Thank you for posting! I think just a couple of questions:
                    1) I don't understand the difference between "Motion Master" & "Motion Enable" virtual devices. Motion Enable is temporary and will automatically turn itself back on if any type of light control is made after Motion Enable was turned off, correct? Where Motion Master will allow user to control the light after Motion Master is turned off and won't turn motion back on unless it is three tapped? If the three tap isn't performed on the way out of the room, is there another event that you have that will automatically reset it back to On? I think you said that your good night event would reset the Motion Master....turning the light off does too, correct?

                    2) Do you have events for motion with Dimmers? I assume the tap and hold wouldn't work with dimmers?

                    3) If I remember correctly, a lot of your motion sensors are tied in with your security system, correct? I'm thinking about how the motion sensor (if not wired) settings would need to be set? My initial thought would be to set them so they trigger similar to wired, in that they reset to No Motion every 60 seconds?

                    Thanks Randy, really appreciate the amount of time you spend and detail that you put into your posts.
                    HS3 3.0.0.548 &HSTouch Designer 3.0.71 with 996 Devices, 547 Events
                    Plugin's:
                    BLBackup, BLOccupied, BLShutdown, EasyTrigger, Ecobee, Nest, AK Bond
                    EnvisaLink DSC, PHLocation, Pushover, SONOS, Blue Iris, UltraRachio3,
                    weatherXML, Jon00 Alexa Helper, Network Monitor, MyQ, Z-Wave 3.0.1.252

                    Comment


                    • #70
                      Originally posted by The Profit View Post
                      Hey rprade
                      Thank you for posting! I think just a couple of questions:
                      1) I don't understand the difference between "Motion Master" & "Motion Enable" virtual devices. Motion Enable is temporary and will automatically turn itself back on if any type of light control is made after Motion Enable was turned off, correct? Where Motion Master will allow user to control the light after Motion Master is turned off and won't turn motion back on unless it is three tapped? If the three tap isn't performed on the way out of the room, is there another event that you have that will automatically reset it back to On? I think you said that your good night event would reset the Motion Master....turning the light off does too, correct?
                      Motion Master is a device which will disable motion control on a persistent basis. The device must be turned on and off, it is not reset at midnight. It is a means of disabling motion control indefinitely. For consistency, I include the device in the package of Virtual Devices for all lights, but in reality there are only a couple of groups that I use the Master Device with. I currently have motion control disabled in the backyard (because the dogs will set it off) and in my wife's bathroom because she doesn't like it. For some reason she cannot live without it in the basement rooms, but doesn't like it in her bathroom. The backyard motion control is enabled when we are out of town. When our occupancy mode is "Vacation" the backyard motion controlled lighting is enabled along with many other changes. It is disabled when not Vacation. While I could just use the Occupancy Mode device to disable backyard motion but as above, I like consistency among groups of devices.

                      Click image for larger version

Name:	occupancy.png
Views:	205
Size:	12.3 KB
ID:	1321344

                      Motion Enable is turned back on whenever the top or bottom paddle is pressed, or if the switch is "set" to Off. My "House to Sleep" Event sets all lights to Off, so the Motion Enable devices are turned on each night when we go to bed.
                      2) Do you have events for motion with Dimmers? I assume the tap and hold wouldn't work with dimmers?
                      In the second post yesterday I wrote about it. We have more switches than dimmers on motion controlled lights and dimmers are set with default levels whenever the lights are turned on with the defaults being just about exactly where we want the lighting from day to night. As the time transitions from day to twilight to night, the light levels are adjusted. The top paddle held will work, but the timing is very tight. There is a brief moment where the paddle will show key held, before the level starts changing, but adjusting the level of the lights will always trigger a key held and released scene. My current workaround is to set the light to On with a double tap of the top and back to the default level with a double tap of the bottom. A push and hold of the top or bottom will still disable the motion control, but the timing is close on the top paddle. We have found we rarely want to temporarily disable motion control on any of the dimmers with the light on, only when it is off. Alternately a double tap could be used to temporarily enable/disable, but that would be inconsistent with the switches.
                      3) If I remember correctly, a lot of your motion sensors are tied in with your security system, correct? I'm thinking about how the motion sensor (if not wired) settings would need to be set? My initial thought would be to set them so they trigger similar to wired, in that they reset to No Motion every 60 seconds?
                      Yes, mine are DSC and Bosch PIRs tied into my DSC security system. They are almost immediate in changing state based on motion. The Events will work even with Z-Wave motion detectors with a longer timeout, since I am turning the lights off only after the sensor has been no motion for xx minutes. I set my Z-Wave devices to a 1 minute timeout when I was using them. I like the near instant reaction of the wired sensors because it affords me the ability with a counter and timer to determine if there is continuous motion over a set period of time. There are some areas where I only want something to happen if there is continuous occupancy For instance if I count 6 or more motion triggers within 2 minutes and the door becomes closed the extractors in the bathrooms are turned on. The extractors are turned off after there is no motion for 10 minutes and the door is opened. If a guest closes the door when exiting, the fan will still be turned off after 20 minutes.

                      Thanks Randy, really appreciate the amount of time you spend and detail that you put into your posts.
                      Sure. I hope the above makes sense

                      Randy Prade
                      Aurora, CO
                      Prades.net

                      PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

                      Comment

                      Working...
                      X