Announcement

Collapse
No announcement yet.

Where did the "Activity Changed" feature go?

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

    Where did the "Activity Changed" feature go?

    Frank, question was trying to setup a simple set of events the first when the "Watch Movies" has Started then turn off/dim various lights the second event was suppose to turn those lights on once the "Activity Changed" e.g. moving form "Watch Movies" to "Watch TV" but I do not see the option from my drop down to select "Activity Changed" am I missing something?

    I was hoping that I could use the "Watch a Movie" as the initial trigger for turn it on and then "Activity changed" that was not "Watch a Movie"..

    There are 3 states that the Harmony Hub tracks: Activity is Starting, Activity has Started, Activity Changed (in that order). The first two are provided as Triggers in the HomeSeer Event Engine.
    • Activity is Starting - This is when the activity has just started. This is great for triggering any light scenes you want to kick off with an activity. Some activities can take longer than others to start, so this way HomeSeer events can be kicked off at the start instead of after the activity has started.
    • Activity has Started - This is when the activity has completed it's start up sequence. This is before the Hub actually internally changes the activity to the just started activity.
    • Activity Changed - This is when the activity has changed in the Hub. This is when the plugin actually updates the HomeSeer Activity Device, so creating a trigger for this is basically looking for when the Activity Device changes.
    Attached Files
    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.

    #2
    In the general features it's called "When Hub Updates Activity". To be honest, it comes in right after the Activity has started. It's just the moment that the hub itself has said "I recognize this as my current activity" even though the activity has already started.

    What I do is set my devices to update on "When hub updates activity" and then I offer triggers for the other two in the events engine.

    Comment


      #3
      Frank not to be thick.. (me) can you provide an example(s) thanxs Mike
      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


        #4
        When you press the button on the remote, the hub sends out a command that says "Hey, I'm starting the activity". Once it sends the last command, it sends a message that says "I finished starting the activity". Then finally it send the message that says "Yo, This is the activity I'm now on.

        As for examples

        I use the trigger "An activity is starting" to turn on the ceiling fan in the living room (actually, I set the occupancy to "occupied" which turns on the ceiling fans).

        Click image for larger version

Name:	2019-03-20_21-57-17.png
Views:	201
Size:	45.9 KB
ID:	1293963

        for the trigger "An activity is started", you could trigger events that happen after the last command is sent (maybe you want the lights behind your TV to turn on signifying that the activity is started and the system is ready).

        I also offer triggers for "Power off is starting" and "Power off is ending". For the latter, My example is usually, you want the lights in the room to turn off, but only after the system has completely turned off. Or maybe you want to turn a switch for a sub off.

        The state of "When hub Updates activity" is pretty darn close (in ms) to "Activity has started". I added all 3 in case people wanted it for some reason. There is technically a difference, but like i said, in time they are basically the same thing.

        Comment


          #5
          sirmeili off topic, do you use one liner scripts for all your controls?

          I am wondering since long time.. if this bypass something ? so if this get ''better'' performance?

          Comment


            #6
            Originally posted by MattL0 View Post
            sirmeili off topic, do you use one liner scripts for all your controls?

            I am wondering since long time.. if this bypass something ? so if this get ''better'' performance?
            My "occupancy" devices are status only, so I have to use script to set them. I really don't have to do this as I'm the only one who actually goes to the HS interface, but it does prevent me from accidentally setting it in another event. This way I know I'm intentionally setting it.

            Comment


              #7
              Frank, thanxs for the example, it answered my question. One of the reasons I always ask for examples is that folks are doing some interesting solutions, in your case the use of a script and Hub activity to denote "Occupancy" out of curiosity what is your event to change from Occupied to Not Occupied? mike
              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
                Originally posted by MNB View Post
                Frank, thanxs for the example, it answered my question. One of the reasons I always ask for examples is that folks are doing some interesting solutions, in your case the use of a script and Hub activity to denote "Occupancy" out of curiosity what is your event to change from Occupied to Not Occupied? mike
                For the living room, it's hard.Because motion sensors just won't work (people sit still too long), so in order to trigger it to be unoccupied, the Lights and TV need to be manually turned off. This then turns off ceiling fans and anything else. I would like to come up with a better way of occupancy detection, but it works pretty well now, except no one but me turns the lights off...... ARGH!!!! lol

                Comment


                  #9
                  Thanxs Frank, I know the feeling about being the only one who turns the lights off... well "Kevin" (granddaughter name for the HS voice - from Minions) and "Alexa" also help Mike
                  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
                    Frank, belated question can you share your "Not Occupied" event I noticed that I haven't quite made my virtual device to change properly to "Not Occupied" thanxs in advance Mike

                    UPDATE: I've updated my event (below) with the assumption that Power Off activities is that no Harmony activities are in a power ON state?
                    Attached Files
                    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


                      #11
                      Originally posted by MNB View Post
                      Frank, belated question can you share your "Not Occupied" event I noticed that I haven't quite made my virtual device to change properly to "Not Occupied" thanxs in advance Mike

                      UPDATE: I've updated my event (below) with the assumption that Power Off activities is that no Harmony activities are in a power ON state?
                      If the activity is "PowerOff' then that means there are no active activities and the Hub assumes everything is turned off.

                      Comment


                        #12
                        So... If I were to string a few statements to cover TV Off or Movie Off or Game Off conditions how would I do this? Currently I only have activity starting and started and not stopping or stopped options available? Mike
                        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


                          #13
                          Originally posted by MNB View Post
                          So... If I were to string a few statements to cover TV Off or Movie Off or Game Off conditions how would I do this? Currently I only have activity starting and started and not stopping or stopped options available? Mike
                          So....are you looking for a way to tell if the activity is changing, but just not going to poweroff? So you're traversing between activities?

                          Comment


                            #14
                            Frank, I was thinking that the normal Livingroom shut down cycle is to; turn off the TV and then turn off the lights (reading and Torche lights) something like the attached. For the first condition I only picked the last likely light to go off and then check to see that the TV is turned OFF the second OR IF assumes that both lights are already off and the TV gets turn OFF. your thoughts? Mike

                            UPDATE: I seem to have issue with the Samsung TV has a value equal to PowerOff, I had assumed that it was the power state of the TV but it seems to be only the command issuance rather than state of TV is there something I'm missing? Mike
                            Attached Files
                            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


                              #15
                              OK, one thing to understand is that the Hub does not report back the status of devices. Those are control only!

                              For what you want, I think you want the MeiHarmonyHub trigger: "Power off is completed". This means the hub has sent the off sequence completely to all devices (some may take longer to actually turn off).

                              Click image for larger version  Name:	2019-05-07_21-10-44.png Views:	1 Size:	59.9 KB ID:	1303386

                              Click image for larger version  Name:	2019-05-07_21-11-12.png Views:	2 Size:	44.3 KB ID:	1303384

                              Click image for larger version  Name:	2019-05-07_21-11-42.png Views:	1 Size:	34.5 KB ID:	1303385

                              Comment

                              Working...
                              X