Update activity and volume up/down

Posted on
Tue Aug 22, 2017 4:51 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Update activity and volume up/down

Hi Guys
Need guidance for setup trigger activity update and device volume up/down. somebody for help me ?

Posted on
Tue Aug 22, 2017 4:57 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Update activity and volume up/down

qcvictor wrote:
Hi Guys
Need guidance for setup trigger activity update and device volume up/down. somebody for help me ?


Can you be more specific on what you're doing?

There's a trigger for when an activity has finished starting (activityFinishedNotification), which is the primary one you should be using. There are also triggers for other activity and automation messages from the Hub, but there's no published description of when you're going to get those. You need to experiment.

There's no trigger for device volume up/down. The hub doesn't broadcast anything like that. There are commands to SEND volume up/down/mute to the current activity (or a specific device).

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Aug 23, 2017 4:22 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Update activity and volume up/down

Hi Joe
The final goal is to get start / stop activity, volume up and down in the control page.
I created:
-2 action group, with device "my harmony hub" and for one "start activity"and for the second "Power Off"
-Create on virtual on/off device with device setting the previous action groups created.
until here it's working as excepted if I start activity on the physical remote, the virtual button is not "updated"
So as you suggest I created 2 triggers with for type "Harmony Hub Event" and event "Activity Finished Notification" for actions : "set virtual on/off device state.........." device my previous "virtual switch created " and for action settings "on" and the second "off".
When I start activity via virtual switch the log show :
23 août 2017 17:34:40
Trigger Harmony Kitchen Stop
Trigger Harmony Kitchen Start
and when I stop activity via virtual he never goes off ! why he send both trigger in same time ?

Posted on
Wed Aug 23, 2017 4:28 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Update activity and volume up/down

Turn on debug level logging and run your tests again, then post the log info. I think the problem is that the activity messages you're triggering on don't mean what you think they mean.

I'm not sure you're going to be able to use a toggle control to turn on a specific activity and turn the system off. I think you're going to need a button for each activity, with "PowerOff" considered an activity. That's pretty much how Harmony treats things, and faking it out without getting out of sync with the physical remote is going to be hard.

Some of the other plugin users who use control pages are going to have to chime in here. I don't do it that way at all. I only use the Harmony remotes, and I do Indigo stuff based on the reports from the Hub about activities starting up (or system power down, which is just a specialized activity).

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Mar 21, 2018 2:45 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Update activity and volume up/down

Et voila !
Code: Select all
21 mars 2018 16:40:25
   Virtual Devices                 Turning on debug logging

21 mars 2018 16:40:46
   Virtual Devices Debug           Virtual On/Off Device ON action group id: 1767874862
   Action Group                    Harmony Hub Kitchen Start TV
   Virtual Devices                 sent "TV Kitchen " on

21 mars 2018 16:41:04
   Trigger                         Harmony Kitchen Stop
   Virtual Devices Debug           set virtual state for id: 1058862966
   Trigger                         Harmony Kitchen Start
   Virtual Devices Debug           set virtual state for id: 1058862966

21 mars 2018 16:41:42
   Action Group                    Harmony Hub Kitchen Close TV
   Virtual Devices                 sent "TV Kitchen " off
   Trigger                         Harmony Kitchen Stop
   Virtual Devices Debug           set virtual state for id: 1058862966
   Trigger                         Harmony Kitchen Start
   Virtual Devices Debug           set virtual state for id: 1058862966

Posted on
Wed Mar 21, 2018 2:49 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Update activity and volume up/down

I mean debug logging on the Harmony Hub plugin.

I'll also need details (screen shots) on those triggers.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Mar 21, 2018 4:26 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Update activity and volume up/down

Code: Select all
21 mars 2018 18:00:58
   Harmony Hub Debug               logLevel = 5
   Action Group                    Harmony Hub Kitchen Close TV
   Virtual Devices                 sent "TV Kitchen " off
   Harmony Hub Debug               HarmonyHub Kitchen: Power Off

21 mars 2018 18:01:30
   Action Group                    Harmony Hub Kitchen Start TV
   Virtual Devices                 sent "TV Kitchen " on
   Harmony Hub Debug               HarmonyHub Kitchen: Start Activity - 12254083
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"12254083","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":197,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":3,"runningActivityList":"12254083","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = 12254083, activityStatus = 3
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"-1","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":198,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":0,"runningActivityList":"12254083","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = -1, activityStatus = 0
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event startActivityFinished, child.text = errorCode=200:errorString=OK:activityId=-1
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event startActivityFinished, activityId = -1, errorCode = 200, errorString = OK
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Stop (256607866) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Stop
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Start (526661180) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Start
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"-1","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":199,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = -1, activityStatus = 0
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"12254083","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":200,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":1,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = 12254083, activityStatus = 1
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Action Group                    Harmony Hub Kitchen Start TV
   Virtual Devices                 sent "TV Kitchen " on
   Harmony Hub Debug               HarmonyHub Kitchen: Start Activity - 12254083
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"12254083","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":201,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":2,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = 12254083, activityStatus = 2
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event startActivityFinished, child.text = errorCode=200:errorString=OK:activityId=12254083
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event startActivityFinished, activityId = 12254083, errorCode = 200, errorString = OK
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Stop (256607866) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Stop
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Start (526661180) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Start
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"12254083","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":202,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":3,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = 12254083, activityStatus = 3
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"-1","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":203,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = -1, activityStatus = 0
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event startActivityFinished, child.text = errorCode=200:errorString=OK:activityId=-1
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event startActivityFinished, activityId = -1, errorCode = 200, errorString = OK
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Stop (256607866) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Stop
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Start (526661180) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Start
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"-1","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":204,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = -1, activityStatus = 0
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"12254083","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":205,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":1,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = 12254083, activityStatus = 1
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification

21 mars 2018 18:02:18
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"12254083","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":206,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":2,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = 12254083, activityStatus = 2
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event startActivityFinished, child.text = errorCode=200:errorString=OK:activityId=12254083
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event startActivityFinished, activityId = 12254083, errorCode = 200, errorString = OK
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Stop (256607866) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Stop
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Start (526661180) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Start
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"12254083","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":207,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":2,"runningActivityList":"12254083","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = 12254083, activityStatus = 2
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification

21 mars 2018 18:02:39
   Action Group                    Harmony Hub Kitchen Close TV
   Virtual Devices                 sent "TV Kitchen " off
   Harmony Hub Debug               HarmonyHub Kitchen: Power Off
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"12254083","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":208,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":3,"runningActivityList":"12254083","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = 12254083, activityStatus = 3
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"-1","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":209,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":0,"runningActivityList":"12254083","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = -1, activityStatus = 0
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event startActivityFinished, child.text = errorCode=200:errorString=OK:activityId=-1
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event startActivityFinished, activityId = -1, errorCode = 200, errorString = OK
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Stop (256607866) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Stop
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Executing Trigger Harmony Kitchen Start (526661180) on Device HarmonyHub Kitchen (160891994)
   Trigger                         Harmony Kitchen Start
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"-1","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":210,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = -1, activityStatus = 0
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
   Harmony Hub Threaddebug         HarmonyHub Kitchen: messageHandler: Event connect.stateDigest, child.text = {"sleepTimerId":-1,"runningZoneList":[],"configVersion":139,"activityId":"-1","errorCode":"200","syncStatus":0,"time":1521668118,"stateVersion":211,"tzOffset":"-14400","mode":3,"hubSwVersion":"4.14.123","deviceSetupState":[],"tzoffset":"-14400","isSetupComplete":true,"contentVersion":114,"discoveryServer":"https:\/\/svcs.myharmony.com\/Discovery\/Discovery.svc","wifiStatus":1,"activityStatus":0,"runningActivityList":"","tz":"EST5EDT,M3.2.0,M11.1.0","activitySetupState":false,"updates":{"97":"4.14.112","100":"4.14.112"},"hubUpdate":false,"sequence":false,"accountId":"6061547"}
   Harmony Hub Debug               HarmonyHub Kitchen: messageHandler: Event state notify, activityId = -1, activityStatus = 0
   Harmony Hub Debug                  Checking Trigger Harmony Salon Stop (66417048), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Stop (66417048), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Stop (256607866), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Stop (256607866), wrong type: activityNotification
   Harmony Hub Debug                  Checking Trigger Harmony Salon Start (412666145), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Salon Start (412666145), wrong hub: 160891994
   Harmony Hub Debug                  Checking Trigger Harmony Kitchen Start (526661180), Type: activityFinishedNotification
   Harmony Hub Debug                     Skipping Trigger Harmony Kitchen Start (526661180), wrong type: activityNotification
Attachments
Virtual On-Off.png
Virtual On-Off.png (201.26 KiB) Viewed 3803 times
Action Group.png
Action Group
Action Group.png (135.04 KiB) Viewed 3803 times

Posted on
Wed Mar 21, 2018 6:18 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Update activity and volume up/down

I still need to see the details on the triggers you set up. That's what you're having problems with, correct?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Mar 21, 2018 6:41 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Update activity and volume up/down

It’s the virtual on/off “TV kitchen” first picture!

Posted on
Wed Mar 21, 2018 6:45 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Update activity and volume up/down

qcvictor wrote:
It’s the virtual on/off “TV kitchen” first picture!


No, you have Triggers called "Harmony Kitchen Stop" and "Harmony Kitchen Start" that are executing. I need to see how those are defined.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Mar 22, 2018 12:05 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Update activity and volume up/down

Oups
Attachments
Trigger Kitchen Stop.png
Trigger Kitchen Stop.png (501.52 KiB) Viewed 3720 times
Trigger Kitchen Start.png
Trigger Kitchen Start.png (397.98 KiB) Viewed 3720 times

Posted on
Thu Mar 22, 2018 1:12 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Update activity and volume up/down

Since you didn't show the Conditions tab of the trigger dialog, I'm assuming you're not using it. All the "Activity Finished" event tells you is that SOME activity finished. Not what it was.

You need to use the Conditions tab and test the currentActivityName or currentActivityNum states to see what just finished happening. For instance, if "currentActivityNum = -1", then you know the Harmony has just done a power down.

So, look at the custom states for the hub, see what they values are for each Activity, and test for those values in your Trigger. You probably only need to use currentActivityName or currentActivityNum, plus maybe notifyActivityStatus.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Mar 23, 2018 3:07 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Update activity and volume up/down

Hey Joe you are right no Conditions involved..... until now ;-)
At this point start to be little bit advanced user for me, but I will give it a try so, I take a look in the "write formated hub config to log" and the "write raw hub config to log" and found nothing named current Activity, currentActivityName or currentActivityNum states,
It's the right place for found this information ?

Posted on
Fri Mar 23, 2018 3:15 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Update activity and volume up/down

qcvictor wrote:
Hey Joe you are right no Conditions involved..... until now ;-)
At this point start to be little bit advanced user for me, but I will give it a try so, I take a look in the "write formated hub config to log" and the "write raw hub config to log" and found nothing named current Activity, currentActivityName or currentActivityNum states,
It's the right place for found this information ?


No, you need to look at the custom states of the Hub device in the Indigo client application. Select your hub device in the Indigo devices list, drag the separator dimple up a little, and you'll see the custom state list. See the screen shot. You need to test the values of those states in the Conditions tab of your trigger.
Attachments
Screen Shot 2018-03-23 at 5.13.17 PM.png
Screen Shot 2018-03-23 at 5.13.17 PM.png (76.87 KiB) Viewed 3669 times

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Apr 08, 2018 2:49 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Update activity and volume up/down

Hey Joe
Thanks for your support it's working, as you suggest activity number "-1" for trigger Stop activities and the appropriate value for the start trigger do the trick

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest