Announcement

Collapse
No announcement yet.

Active Based on Status

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

    Active Based on Status

    I am looking for a plugin that can randomly turn on lights when I am not home. I have a virtual device with different modes, i.e. Home, Sleep, Vacation, Away. I want the plugin to only randomly turn on lights when the mode is Vacation or Away but not Home or Sleep. I looked at the settings in BLOccupied but couldn't find any 'global' on/off that can be triggered based on my status. Is there a way to do this?

    #2
    Originally posted by mulu View Post
    I am looking for a plugin that can randomly turn on lights when I am not home. I have a virtual device with different modes, i.e. Home, Sleep, Vacation, Away. I want the plugin to only randomly turn on lights when the mode is Vacation or Away but not Home or Sleep. I looked at the settings in BLOccupied but couldn't find any 'global' on/off that can be triggered based on my status. Is there a way to do this?
    It is an event action:

    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	31.5 KB
ID:	1189003

    You can also trigger other Events based upon this change, but it is not offered as a condition. I control mine with an occupancy virtual device like you do, triggering the start and stop of simulation based on the status of that device. My simulation is turned on for Vacation and Away and off for Home and Sleep.

    If you want a device you can see or use to control the simulation, you could easily setup a pair of events and a virtual device to show the status. I use such a virtual device to show the status as well as to manually control it.
    HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

    Comment


      #3
      Thank you for the post. I didn't realize that there was an On/Off event for this "device". I actually have exactly the same setup as you, i.e. I have Home, Sleep, Away and Vacation. For the former two I want the occupancy simulation disabled and for the later two enabled. I did create two events "Occupancy Simulation Off" and "Occupancy Simulation On". Below is a screenshot.

      To get there, add a new event, then for "IF" select "A Device's Value is...", "A device has set its value to", Device = "Location" (that's what I call my virtual device for Home/Sleep/Away/Vacation"), "Is Set To" (select "Vacation"). Then on that same line click on the green plus sign to the right. A new line appears where you need to select "OR IF". Repeat the above, i.e. select "A device's Value is...", "this device has its value set to", "Location" (again my virtual device), "Away". After that you go to the "THEN" line and select "VLOccupied: Start Occupancy Simulation".

      After that you create another event that turn on the simulation. So you repeat the above but select "Home" and "Sleep" to turn the simulation off.

      I haven't tested this yet but I think it will work.

      Click image for larger version

Name:	Occupancy.jpg
Views:	1
Size:	82.0 KB
ID:	1189004

      Comment


        #4
        Originally posted by mulu View Post
        Thank you for the post. I didn't realize that there was an On/Off event for this "device". I actually have exactly the same setup as you, i.e. I have Home, Sleep, Away and Vacation. For the former two I want the occupancy simulation disabled and for the later two enabled. I did create two events "Occupancy Simulation Off" and "Occupancy Simulation On". Below is a screenshot.

        To get there, add a new event, then for "IF" select "A Device's Value is...", "A device has set its value to", Device = "Location" (that's what I call my virtual device for Home/Sleep/Away/Vacation"), "Is Set To" (select "Vacation"). Then on that same line click on the green plus sign to the right. A new line appears where you need to select "OR IF". Repeat the above, i.e. select "A device's Value is...", "this device has its value set to", "Location" (again my virtual device), "Away". After that you go to the "THEN" line and select "VLOccupied: Start Occupancy Simulation".

        After that you create another event that turn on the simulation. So you repeat the above but select "Home" and "Sleep" to turn the simulation off.

        I haven't tested this yet but I think it will work.

        [ATTACH]59664[/ATTACH]
        Those events should do exactly what you want them to do.
        HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

        Comment


          #5
          Question, I understand how to get BLOccuppy to turn-on, whilst it is turned on are you using the virtual device to turn off other normally schedule events as a trigger and the when the PI is turned off they are turned back on/operating again?


          Sent from my iPhone using Tapatalk
          Computer: CUK Intel NUC7i7BNH
          Op System: Windows10 Pro - Work Station
          HS Version: HS4 Pro Edition 4.2.19.0

          Plug-Ins: AK Weather 4.0.5.25,APCUPSD 3.3.2.3,BLBackup 2.0.63.0,BLEditor 2.0.11.0,BLGData 3.0.55.0,BLOccupied 2.0.28.0,BLShutdown 1.0.6.0,Blue-Iris 3.1.3.33206,Device History 3.2.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,iRobot 5.22.41.1,JowiHue 4.0.8.7,Nest 3.0.0.34,NetCam Plugin 1.0.0.5,PHLocation2 3.0.0.64,Pushover 4.0.10.0,Random 3.0.0.2,Restart 1.0.0.7,Ring 1.0.0.9,SDJ-Health 3.1.1.3,Sonos 3.1.0.59,Sonos4 4.0.1.12,UltraCID3 3.0.6681.34300,UltraMon3 3.0.6554.33094,UltraNetCam3 3.0.6413.20219,Unifi 4.0.32.0,Zigbee 4.0.11.0,Z-Wave 4.0.3.0, and Jon00 scripts.

          Comment


            #6
            The plugin basically turns on devices you have defined (using the max ON you specify) and the virtual device is used to be turned on at the end of the cycle.

            Maybe I am not understanding your question.
            Cheers,
            Bob
            Web site | Help Desk | Feature Requests | Message Board

            Comment


              #7
              Active Based on Status

              Blade thanks for the comeback. My question is centered around my normal events that are not "home status" controlled but are scheduled daily e.g Turn On certain lights at 6:30am and turn them off at 9:30am irregardless if I'm home or not. So if BLOccupy is also running in parallel so I believe that I should add Home/Away triggers to turn them normal scheduled light events Off when I'm away and BLOccupy On And the inverse when I'm home to avoid parallel light events. Mike


              Sent from my iPhone using Tapatalk
              Computer: CUK Intel NUC7i7BNH
              Op System: Windows10 Pro - Work Station
              HS Version: HS4 Pro Edition 4.2.19.0

              Plug-Ins: AK Weather 4.0.5.25,APCUPSD 3.3.2.3,BLBackup 2.0.63.0,BLEditor 2.0.11.0,BLGData 3.0.55.0,BLOccupied 2.0.28.0,BLShutdown 1.0.6.0,Blue-Iris 3.1.3.33206,Device History 3.2.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,iRobot 5.22.41.1,JowiHue 4.0.8.7,Nest 3.0.0.34,NetCam Plugin 1.0.0.5,PHLocation2 3.0.0.64,Pushover 4.0.10.0,Random 3.0.0.2,Restart 1.0.0.7,Ring 1.0.0.9,SDJ-Health 3.1.1.3,Sonos 3.1.0.59,Sonos4 4.0.1.12,UltraCID3 3.0.6681.34300,UltraMon3 3.0.6554.33094,UltraNetCam3 3.0.6413.20219,Unifi 4.0.32.0,Zigbee 4.0.11.0,Z-Wave 4.0.3.0, and Jon00 scripts.

              Comment


                #8
                If you have scheduled events that turn on and off lights at certain times they could conflict with BLOccupied only if you select them as devices to use with the plugin.

                Best thing might be to disable them and re-enable back on when you turn off the plugin processing. Although if you are not using them as devices in the plugin then I see no reason why you could not leave the scheduled events active.

                Hope that helps
                Cheers,
                Bob
                Web site | Help Desk | Feature Requests | Message Board

                Comment


                  #9
                  Bob, thanks it helps confirm my thoughts, being a relative Nubie I've yet to implement Home Modes and this will be a forcing function as I've finally got PHLocation, GeoFency and iBeacons working just recently. I guess it time to turn the corner[emoji50]


                  Sent from my iPhone using Tapatalk
                  Computer: CUK Intel NUC7i7BNH
                  Op System: Windows10 Pro - Work Station
                  HS Version: HS4 Pro Edition 4.2.19.0

                  Plug-Ins: AK Weather 4.0.5.25,APCUPSD 3.3.2.3,BLBackup 2.0.63.0,BLEditor 2.0.11.0,BLGData 3.0.55.0,BLOccupied 2.0.28.0,BLShutdown 1.0.6.0,Blue-Iris 3.1.3.33206,Device History 3.2.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,iRobot 5.22.41.1,JowiHue 4.0.8.7,Nest 3.0.0.34,NetCam Plugin 1.0.0.5,PHLocation2 3.0.0.64,Pushover 4.0.10.0,Random 3.0.0.2,Restart 1.0.0.7,Ring 1.0.0.9,SDJ-Health 3.1.1.3,Sonos 3.1.0.59,Sonos4 4.0.1.12,UltraCID3 3.0.6681.34300,UltraMon3 3.0.6554.33094,UltraNetCam3 3.0.6413.20219,Unifi 4.0.32.0,Zigbee 4.0.11.0,Z-Wave 4.0.3.0, and Jon00 scripts.

                  Comment


                    #10
                    I have a couple of ibeacons but have not got them setup in the cars yet. I need to figure it out and get those up and running
                    Cheers,
                    Bob
                    Web site | Help Desk | Feature Requests | Message Board

                    Comment


                      #11
                      I purchased a few RadBeacon's based on others experience an they work get and are tailorable with English labels and adjustable power levels for close proximity locals. Mike


                      Sent from my iPhone using Tapatalk
                      Computer: CUK Intel NUC7i7BNH
                      Op System: Windows10 Pro - Work Station
                      HS Version: HS4 Pro Edition 4.2.19.0

                      Plug-Ins: AK Weather 4.0.5.25,APCUPSD 3.3.2.3,BLBackup 2.0.63.0,BLEditor 2.0.11.0,BLGData 3.0.55.0,BLOccupied 2.0.28.0,BLShutdown 1.0.6.0,Blue-Iris 3.1.3.33206,Device History 3.2.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,iRobot 5.22.41.1,JowiHue 4.0.8.7,Nest 3.0.0.34,NetCam Plugin 1.0.0.5,PHLocation2 3.0.0.64,Pushover 4.0.10.0,Random 3.0.0.2,Restart 1.0.0.7,Ring 1.0.0.9,SDJ-Health 3.1.1.3,Sonos 3.1.0.59,Sonos4 4.0.1.12,UltraCID3 3.0.6681.34300,UltraMon3 3.0.6554.33094,UltraNetCam3 3.0.6413.20219,Unifi 4.0.32.0,Zigbee 4.0.11.0,Z-Wave 4.0.3.0, and Jon00 scripts.

                      Comment


                        #12
                        Those are the same ones I have as well
                        I have it linked to my phone but that is as far as I have got.
                        It seems to lose connection to my phone though and I have to unplug and plug it in to get it back
                        Cheers,
                        Bob
                        Web site | Help Desk | Feature Requests | Message Board

                        Comment


                          #13
                          Are they within the vehicle or else where? I notice that the one in my Sonata seems to act erratically but I think it has something to do with USB that's connected directly with my center console I'm thinking about getting a cig lighter USB plugin. I currently have two near my main entrances and the work flawlessly, the secret was to get the broadcast power level down to avoid false alarms like being up stairs near the front door or USB overlapping which depending on each proximity to each other would both indicate entry status which provide a condition of not knowing where in the house the iPhone user (Me) actually was.


                          Sent from my iPhone using Tapatalk
                          Computer: CUK Intel NUC7i7BNH
                          Op System: Windows10 Pro - Work Station
                          HS Version: HS4 Pro Edition 4.2.19.0

                          Plug-Ins: AK Weather 4.0.5.25,APCUPSD 3.3.2.3,BLBackup 2.0.63.0,BLEditor 2.0.11.0,BLGData 3.0.55.0,BLOccupied 2.0.28.0,BLShutdown 1.0.6.0,Blue-Iris 3.1.3.33206,Device History 3.2.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,iRobot 5.22.41.1,JowiHue 4.0.8.7,Nest 3.0.0.34,NetCam Plugin 1.0.0.5,PHLocation2 3.0.0.64,Pushover 4.0.10.0,Random 3.0.0.2,Restart 1.0.0.7,Ring 1.0.0.9,SDJ-Health 3.1.1.3,Sonos 3.1.0.59,Sonos4 4.0.1.12,UltraCID3 3.0.6681.34300,UltraMon3 3.0.6554.33094,UltraNetCam3 3.0.6413.20219,Unifi 4.0.32.0,Zigbee 4.0.11.0,Z-Wave 4.0.3.0, and Jon00 scripts.

                          Comment

                          Working...
                          X