homebridge-harmony
homebridge-harmony copied to clipboard
Switching activities powers off activity
Describe the bug When switching activities in the Home app, the accessories are powered off instead off actually switching activities.
To Reproduce It occurs on both hubs when switching from "TV Kijken" to "Apple TV Kijken". So, switching from "Apple TV Kijken" to "TV Kijken" it all goes well but when switching from "TV Kijken" to "Apple TV Kijken" all devices are powered off on both hubs.
Expected behavior I would expect that activities would switch instead of powering off.
Screenshots No applicable screenshots to help explain your problem.
IOS (please complete the following information):
- Version: iOS 15.3
- Device: iPhone 13 Pro Max
- Version: 15.3
- Device: iPhone XS
Logs
Televisie Woonkamer:
[2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - GET Characteristic.CurrentVisibilityState : DEFAULT - 0 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - GET Characteristic.Active [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : 45834462 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - GET Characteristic.ActiveIdentifier [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : 45834462 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress 45834462 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - refreshCharacteristic : updating Characteristic.ActiveIdentifier to 1 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - GET Characteristic.CurrentVisibilityState : DEFAULT - 0 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - GET Characteristic.ActiveIdentifier [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - GET Characteristic.Active [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -1 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - refreshCharacteristic : updating Characteristic.Active to false [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - GET Characteristic.CurrentVisibilityState : DEFAULT - 0 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - GET Characteristic.CurrentVisibilityState : DEFAULT - 0 [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - commands found for override : TV Kijken-ARROW_UP:{"command":"VolumeUp","type":"IRCommand","deviceId":"71445326"} [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - commands found for override : TV Kijken-ARROW_DOWN:{"command":"VolumeDown","type":"IRCommand","deviceId":"71445326"} [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - commands found for override : TV Kijken-ARROW_LEFT:{"command":"ChannelDown","type":"IRCommand","deviceId":"71442499"} [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - commands found for override : TV Kijken-ARROW_RIGHT:{"command":"ChannelUp","type":"IRCommand","deviceId":"71442499"} [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - commands found for override : TV Kijken-BACK:{"command":"Mute","type":"IRCommand","deviceId":"71445326"} [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)keysMap is :{"0":"{"command":"Rewind","type":"IRCommand","deviceId":"71442499"}","1":"{"command":"FastForward","type":"IRCommand","deviceId":"71442499"}","4":["{"command":"VolumeUp","type":"IRCommand","deviceId":"71445326"}"],"5":["{"command":"VolumeDown","type":"IRCommand","deviceId":"71445326"}"],"6":["{"command":"ChannelDown","type":"IRCommand","deviceId":"71442499"}"],"7":["{"command":"ChannelUp","type":"IRCommand","deviceId":"71442499"}"],"8":"{"command":"Select","type":"IRCommand","deviceId":"71442499"}","9":["{"command":"Mute","type":"IRCommand","deviceId":"71445326"}"],"10":"{"command":"Exit","type":"IRCommand","deviceId":"71442499"}","11":"{"command":"Play","type":"IRCommand","deviceId":"71442499"}","15":"{"command":"Info","type":"IRCommand","deviceId":"71442499"}"} [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - refreshCharacteristic : updating Characteristic.Active to true [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)keysMap is :{} [2/6/2022, 11:46:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - refreshCharacteristic : updating Characteristic.ActiveIdentifier to 0 [2/6/2022, 11:46:04 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - GET Characteristic.TargetVisibilityState : DEFAULT - 0 [2/6/2022, 11:46:04 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - GET Characteristic.TargetVisibilityState : DEFAULT - 0 [2/6/2022, 11:46:06 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - SET Characteristic.ActiveIdentifier 2 [2/6/2022, 11:46:06 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - sendInputCommand : Activty PowerOff will be activated [2/6/2022, 11:46:06 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":200,"id":"0.3692538206950131","msg":"OK"} [2/6/2022, 11:46:06 AM] [Televisie Woonkamer] (Televisie Woonkamer)keysMap is :{} [2/6/2022, 11:46:06 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - onMessage : received message : {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"configVersion":115,"activityId":"45834462","syncStatus":0,"time":1644144089,"stateVersion":2689,"tzOffset":"3600","mode":3,"hubSwVersion":"4.15.290","deviceSetupState":[],"tzoffset":"3600","isSetupComplete":true,"contentVersion":92,"sequence":false,"discoveryServer":"https://svcs.myharmony.com/Discovery/Discovery.svc","updates":[],"activityStatus":3,"wifiStatus":1,"tz":"CET-1CEST,M3.4.0,M10.5.0/3","activitySetupState":false,"runningActivityList":"45834462","hubUpdate":false,"discoveryServerCF":"https://cf-svcs.myharmony.com/Discovery/Discovery.svc","accountId":"14325679"}} [2/6/2022, 11:46:07 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - onMessage : received message : {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"configVersion":115,"activityId":"-1","syncStatus":0,"time":1644144089,"stateVersion":2690,"tzOffset":"3600","mode":3,"hubSwVersion":"4.15.290","deviceSetupState":[],"tzoffset":"3600","isSetupComplete":true,"contentVersion":92,"sequence":false,"discoveryServer":"https://svcs.myharmony.com/Discovery/Discovery.svc","updates":[],"activityStatus":0,"wifiStatus":1,"tz":"CET-1CEST,M3.4.0,M10.5.0/3","activitySetupState":false,"runningActivityList":"45834462","hubUpdate":false,"discoveryServerCF":"https://cf-svcs.myharmony.com/Discovery/Discovery.svc","accountId":"14325679"}} [2/6/2022, 11:46:07 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - onMessage : received message : {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"configVersion":115,"activityId":"-1","syncStatus":0,"time":1644144089,"stateVersion":2691,"tzOffset":"3600","mode":3,"hubSwVersion":"4.15.290","deviceSetupState":[],"tzoffset":"3600","isSetupComplete":true,"contentVersion":92,"sequence":false,"discoveryServer":"https://svcs.myharmony.com/Discovery/Discovery.svc","updates":[],"activityStatus":0,"wifiStatus":1,"tz":"CET-1CEST,M3.4.0,M10.5.0/3","activitySetupState":false,"runningActivityList":"","hubUpdate":false,"discoveryServerCF":"https://cf-svcs.myharmony.com/Discovery/Discovery.svc","accountId":"14325679"}} [2/6/2022, 11:46:07 AM] [Televisie Woonkamer] (Televisie Woonkamer)INFO - onMessage : Refreshing activity to -1 [2/6/2022, 11:46:07 AM] [Televisie Woonkamer] (Televisie Woonkamer)keysMap is :{}
Televisie Slaapkamer:
[2/6/2022, 11:54:02 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - GET Characteristic.TargetVisibilityState : DEFAULT - 0 [2/6/2022, 11:54:02 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - GET Characteristic.TargetVisibilityState : DEFAULT - 0 [2/6/2022, 11:54:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - SET Characteristic.ActiveIdentifier 1 [2/6/2022, 11:54:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - sendInputCommand : Activty TV Kijken will be activated [2/6/2022, 11:54:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":200,"id":"0.5971326031799675","msg":"OK"} [2/6/2022, 11:54:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)keysMap is :{"0":"{"command":"Rewind","type":"IRCommand","deviceId":"73341286"}","1":"{"command":"FastForward","type":"IRCommand","deviceId":"73341286"}","2":"{"command":"SkipForward","type":"IRCommand","deviceId":"73341286"}","3":"{"command":"SkipBack","type":"IRCommand","deviceId":"73341286"}","4":"{"command":"DirectionUp","type":"IRCommand","deviceId":"73341286"}","5":"{"command":"DirectionDown","type":"IRCommand","deviceId":"73341286"}","6":"{"command":"DirectionLeft","type":"IRCommand","deviceId":"73341286"}","7":"{"command":"DirectionRight","type":"IRCommand","deviceId":"73341286"}","8":"{"command":"OK","type":"IRCommand","deviceId":"73341286"}","9":"{"command":"Back","type":"IRCommand","deviceId":"73341286"}","10":"{"command":"Exit","type":"IRCommand","deviceId":"73341286"}","11":"{"command":"Play","type":"IRCommand","deviceId":"73341286"}","15":"{"command":"Info","type":"IRCommand","deviceId":"73341286"}"} [2/6/2022, 11:54:03 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - onMessage : received message : {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"contentVersion":70,"activityId":"47241830","syncStatus":0,"activitySetupState":false,"stateVersion":553,"tzOffset":"3600","mode":3,"hubSwVersion":"4.15.290","deviceSetupState":[],"tzoffset":"3600","isSetupComplete":true,"sequence":false,"discoveryServer":"https://svcs.myharmony.com/Discovery/Discovery.svc","discoveryServerCF":"https://cf-svcs.myharmony.com/Discovery/Discovery.svc","runningActivityList":"47535212","activityStatus":1,"wifiStatus":1,"tz":"CET-1CEST,M3.4.0,M10.5.0/3","time":1644144094,"configVersion":114,"hubUpdate":false,"updates":[],"accountId":"14656391"}} [2/6/2022, 11:54:07 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - onMessage : received message : {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"contentVersion":70,"activityId":"47241830","syncStatus":0,"activitySetupState":false,"stateVersion":554,"tzOffset":"3600","mode":3,"hubSwVersion":"4.15.290","deviceSetupState":[],"tzoffset":"3600","isSetupComplete":true,"sequence":false,"discoveryServer":"https://svcs.myharmony.com/Discovery/Discovery.svc","discoveryServerCF":"https://cf-svcs.myharmony.com/Discovery/Discovery.svc","runningActivityList":"47535212","activityStatus":2,"wifiStatus":1,"tz":"CET-1CEST,M3.4.0,M10.5.0/3","time":1644144094,"configVersion":114,"hubUpdate":false,"updates":[],"accountId":"14656391"}} [2/6/2022, 11:54:07 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - onMessage : received message : {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"contentVersion":70,"activityId":"47241830","syncStatus":0,"activitySetupState":false,"stateVersion":555,"tzOffset":"3600","mode":3,"hubSwVersion":"4.15.290","deviceSetupState":[],"tzoffset":"3600","isSetupComplete":true,"sequence":false,"discoveryServer":"https://svcs.myharmony.com/Discovery/Discovery.svc","discoveryServerCF":"https://cf-svcs.myharmony.com/Discovery/Discovery.svc","runningActivityList":"47241830","activityStatus":2,"wifiStatus":1,"tz":"CET-1CEST,M3.4.0,M10.5.0/3","time":1644144094,"configVersion":114,"hubUpdate":false,"updates":[],"accountId":"14656391"}} [2/6/2022, 11:54:07 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - onMessage : Refreshing activity to 47241830 [2/6/2022, 11:54:07 AM] [Televisie Woonkamer] (Televisie Slaapkamer)keysMap is :{"0":"{"command":"Rewind","type":"IRCommand","deviceId":"73341286"}","1":"{"command":"FastForward","type":"IRCommand","deviceId":"73341286"}","2":"{"command":"SkipForward","type":"IRCommand","deviceId":"73341286"}","3":"{"command":"SkipBack","type":"IRCommand","deviceId":"73341286"}","4":"{"command":"DirectionUp","type":"IRCommand","deviceId":"73341286"}","5":"{"command":"DirectionDown","type":"IRCommand","deviceId":"73341286"}","6":"{"command":"DirectionLeft","type":"IRCommand","deviceId":"73341286"}","7":"{"command":"DirectionRight","type":"IRCommand","deviceId":"73341286"}","8":"{"command":"OK","type":"IRCommand","deviceId":"73341286"}","9":"{"command":"Back","type":"IRCommand","deviceId":"73341286"}","10":"{"command":"Exit","type":"IRCommand","deviceId":"73341286"}","11":"{"command":"Play","type":"IRCommand","deviceId":"73341286"}","15":"{"command":"Info","type":"IRCommand","deviceId":"73341286"}"} [2/6/2022, 11:54:35 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - SET Characteristic.ActiveIdentifier 2 [2/6/2022, 11:54:35 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - sendInputCommand : Activty PowerOff will be activated [2/6/2022, 11:54:35 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":200,"id":"0.8849779459334928","msg":"OK"} [2/6/2022, 11:54:35 AM] [Televisie Woonkamer] (Televisie Slaapkamer)keysMap is :{} [2/6/2022, 11:54:35 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - onMessage : received message : {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"contentVersion":70,"activityId":"47241830","syncStatus":0,"activitySetupState":false,"stateVersion":556,"tzOffset":"3600","mode":3,"hubSwVersion":"4.15.290","deviceSetupState":[],"tzoffset":"3600","isSetupComplete":true,"sequence":false,"discoveryServer":"https://svcs.myharmony.com/Discovery/Discovery.svc","discoveryServerCF":"https://cf-svcs.myharmony.com/Discovery/Discovery.svc","runningActivityList":"47241830","activityStatus":3,"wifiStatus":1,"tz":"CET-1CEST,M3.4.0,M10.5.0/3","time":1644144094,"configVersion":114,"hubUpdate":false,"updates":[],"accountId":"14656391"}} [2/6/2022, 11:54:36 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - onMessage : received message : {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"contentVersion":70,"activityId":"-1","syncStatus":0,"activitySetupState":false,"stateVersion":557,"tzOffset":"3600","mode":3,"hubSwVersion":"4.15.290","deviceSetupState":[],"tzoffset":"3600","isSetupComplete":true,"sequence":false,"discoveryServer":"https://svcs.myharmony.com/Discovery/Discovery.svc","discoveryServerCF":"https://cf-svcs.myharmony.com/Discovery/Discovery.svc","runningActivityList":"47241830","activityStatus":0,"wifiStatus":1,"tz":"CET-1CEST,M3.4.0,M10.5.0/3","time":1644144094,"configVersion":114,"hubUpdate":false,"updates":[],"accountId":"14656391"}} [2/6/2022, 11:54:36 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - onMessage : received message : {"type":"connect.stateDigest?notify","data":{"sleepTimerId":-1,"runningZoneList":[],"contentVersion":70,"activityId":"-1","syncStatus":0,"activitySetupState":false,"stateVersion":558,"tzOffset":"3600","mode":3,"hubSwVersion":"4.15.290","deviceSetupState":[],"tzoffset":"3600","isSetupComplete":true,"sequence":false,"discoveryServer":"https://svcs.myharmony.com/Discovery/Discovery.svc","discoveryServerCF":"https://cf-svcs.myharmony.com/Discovery/Discovery.svc","runningActivityList":"","activityStatus":0,"wifiStatus":1,"tz":"CET-1CEST,M3.4.0,M10.5.0/3","time":1644144094,"configVersion":114,"hubUpdate":false,"updates":[],"accountId":"14656391"}} [2/6/2022, 11:54:36 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - onMessage : Refreshing activity to -1 [2/6/2022, 11:54:36 AM] [Televisie Woonkamer] (Televisie Slaapkamer)keysMap is :{}
Config
{ "bridge": { "name": "Homebridge", "username": "XX:XX:XX:XX:XX:XX", "port": 51002, "pin": "xxx-xx-xxx", "advertiser": "ciao" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "auth": "form", "theme": "auto", "tempUnits": "c", "lang": "auto", "sessionTimeout": 600, "platform": "config" }, { "name": "Televisie Woonkamer", "hubIP": "xxx.xxx.xxx.xxx", "hubName": "Televisie Woonkamer", "DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000, "HUB_CONNECT_TIMEOUT": 10000, "HUB_SEND_TIMEOUT": 30000, "TVAccessory": true, "SortInput": 0, "mainActivity": "Apple TV Kijken", "remoteOverrideCommandsList": [ { "ActivityName": "TV Kijken", "CommandsList": [ { "CommandName": "ARROW_RIGHT", "NewCommand": "TV Woonkamer;ChannelUp" }, { "CommandName": "ARROW_LEFT", "NewCommand": "TV Woonkamer;ChannelDown" }, { "CommandName": "ARROW_UP", "NewCommand": "Harman Kardon AV-ontvanger;VolumeUp" }, { "CommandName": "ARROW_DOWN", "NewCommand": "Harman Kardon AV-ontvanger;VolumeDown" }, { "CommandName": "BACK", "NewCommand": "Harman Kardon AV-ontvanger;Mute" } ] }, { "ActivityName": "Apple TV Kijken", "CommandsList": [ { "CommandName": "ARROW_UP", "NewCommand": "Harman Kardon AV-ontvanger;VolumeUp" }, { "CommandName": "ARROW_DOWN", "NewCommand": "Harman Kardon AV-ontvanger;VolumeDown" } ] } ], "publishGeneralMuteSwitch": false, "publishGeneralVolumeSwitches": false, "linkVolumeControlToTV": false, "otherPlatforms": [ { "name": "Televisie Slaapkamer", "hubIP": "xxx.xxx.xxx.xxx", "hubName": "Televisie Slaapkamer", "TVAccessory": true, "SortInput": 0, "mainActivity": "Apple TV Kijken" } ], "platform": "HarmonyHubWebSocket" } ] }
Additional context Using version 1.6.0-beta1. The problem did not occur using version 1.5.4.
Hi, thx for reporting . Can you try with sortInput to 1 or 2 please ? be aware of the case : sortInout and not SortInput . Will try to reproduce asap by my side
Hi, thx for reporting . Can you try with sortInput to 1 or 2 please ? be aware of the case : sortInout and not SortInput . Will try to reproduce asap by my side
Hi, sorry I didn't mention this but I already tried the sortInput 1 and 2. Doesn't make a difference tho.
You have corrected the case also ? In your conf I see SortInput and not sortInput
You have corrected the case also ? In your conf I see SortInput and not sortInput
Yes I have. The config I posted is the one without trying the sortInput 1 and 2. I have just tried it again with sortInput 1 and 2 on both hubs. 0 and 2 act the same, 1 flips the problem 180 degrees meaning when switching from "Apple TV Kijken" to "TV Kijken" all devices are powered off.
@nicoduj, I don't want to rush you at all and don't let me rush you! 😉 But.. Did you had time to look at this? I would like to help you solve this before a stable release.
Hi, sorry, but did not have time to code / test. Will try next week !
Hi again,
can you give me the lines at start like :
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Creating TV Service
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Creating Input Service - Vinyl in position 1
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Creating Input Service - Un Film in position 2
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Creating Input Service - Regarder Smart TV in position 3
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Creating Input Service - La ps5 in position 4
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Creating Input Service - La Switch in position 5
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Configuring Main Activity La TV
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Creating TV Speaker Service
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Creating Input Service - La TV in position 6
[2022-2-12 9:52:39] [NicoHarmonyHubDEV] (NicoHarmonyHubDEV)INFO - Creating Input Service - La musique in position 7
Hi @nicoduj,
Thank you for taking the time on this saturday. These are my lines at start using v1.6.0-beta2:
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - Adding Accessory : Televisie Slaapkamer-TV
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - UUID for : *Televisie Slaapkamer-TV* is : *9460fb05-5cc8-4e3c-a412-61dce401a77a*
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - configuring Main TV Service
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - Creating TV Service
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - accessories : main activity name : Apple TV Kijken
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - accessories : Sort Order : 0
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - accessories : activity to configure : TV Kijken
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - Creating Input Service - TV Kijken in position 1
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - accessories : activity to configure : Apple TV Kijken
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - Configuring Main Activity Apple TV Kijken
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - Creating TV Speaker Service
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - Creating Input Service - Apple TV Kijken in position 2
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - setupFoundAccessories - TV accessory added as external accessory
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] (Televisie Slaapkamer)INFO - Accessories confirmed after retrieving hub infos :
[2/12/2022, 11:20:12 AM] [Televisie Woonkamer] [
v1.6.0-beta2 does seem to fix this problem. Just tried switching activities back and forward on both hubs and it works like a charm! 🥳
I’m reopening the issue in the latest update the behavior has returned.
Hi @simplytoast1 , can you please post your logs and conf please ? Did ou have the problem in 1.6 or only in 1.6.1 ?
I’m reopening the issue in the latest update the behavior has returned.
Problem doesn't occur in my setup with this latest update.
Th issue turned out to be a configuration issue on my end. Closing.
I'm seeing this issue in 1.6.0 and 1.6.1. My setup works fine in 1.5.4. My configuration is pretty simple so I'm not sure what I could adjust to fix it.
{
"platform": "HarmonyHubWebSocket",
"name": "Family Room Hub",
"hubIP": "192.168.10.150",
"mainActivity": "Watch TV"
},
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Adding Accessory : Family Room Hub-TV
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - configuring Main TV Service
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating TV Service
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Configuring Main Activity Watch TV
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating TV Speaker Service
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating Input Service - Watch TV in position 1
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating Input Service - Listen to Music in position 2
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating Input Service - Watch Apple TV in position 3
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating Input Service - Listen to SACD in position 4
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating Input Service - Play Sega in position 5
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating Input Service - Play Nintendo in position 6
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating Input Service - Play PS4 in position 7
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - Creating Input Service - Watch Movie in position 8
[4/29/2022, 11:19:05 PM] [Family Room Hub] (Family Room Hub)INFO - setupFoundAccessories - TV accessory added as external accessory
[4/29/2022, 11:19:05 PM] Family Room Hub-TV BE3A is running on port 51122.
[4/29/2022, 11:19:05 PM] Please add [Family Room Hub-TV BE3A] manually in Home app. Setup Code:
Hi,
Could you please turn your log in debug mode and send them while the issue occurs ?
Thanks.
Hi, I attached the log. I restarted homebridge and then asked Siri to switch to the "Watch Apple TV" activity. Everything powered off/on and it did not switch activities.
Thanks, but as far as I know switching activities through Siri does not work ( only on / off or some shortcut trick) Can you check through home app ?
Thanks, but as far as I know switching activities through Siri does not work ( only on / off or some shortcut trick) Can you check through home app ?
@nicoduj, you're right. Switching activities using Siri doesn't work.
@landlord11 Thx, I checked your logs and something is strange, the activeIDentifier is set to an activityID and not to an int like it should be since sort Opton was introduce.
[4/30/2022, 3:57:09 PM] [Family Room Hub] (Family Room Hub)INFO - SET Characteristic.ActiveIdentifier 28267809 [4/30/2022, 3:57:09 PM] [Family Room Hub] (Family Room Hub)INFO - sendInputCommand : Activty PowerOff will be activated [4/30/2022, 3:57:09 PM] [Family Room Hub] (Family Room Hub)INFO - SET Characteristic.Active 1 [4/30/2022, 3:57:09 PM] [Family Room Hub] (Family Room Hub)INFO - value of Characteristic.ActiveIdentifier 28267809
Could you please :
- tell me if you can reproduce without using siri, but with home app after powering on (with home app or harmony remote itself)
- By the way, tell me what siri command you are using to reproduce (I can't find any siri command in french for input switching)
- Try to set another sortOrder in your config (1 for example)
Thanks.
Regards.
Nicolas
Hi @nicoduj, I should have explained about Siri. I setup scenes that set the input, then can ask Siri to set the scene. I see the same behavior using the Home app and it still does this after setting sortInput to 1.
"switchAccessories": true
This makes a separate HomeKit accessory for each activity allowing Siri to find it by name very easily
On May 1, 2022, at 10:47 PM, landlord11 @.***> wrote:
Hi @nicoduj https://github.com/nicoduj, I should have explained about Siri. I setup scenes that set the input, then can ask Siri to set the scene. I see the same behavior using the Home app and it still does this after setting sortInput to 1.
— Reply to this email directly, view it on GitHub https://github.com/nicoduj/homebridge-harmony/issues/395#issuecomment-1114517894, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT2J4BVS5G5ATWARFQRHQ4LVH5T5RANCNFSM5NVEM2TQ. You are receiving this because you are subscribed to this thread.