Open generator85 opened 8 months ago
Hi, I will check this as soon as I can, but did you try on both main hub / secondary hub (do you even have a secondary hub - otherplatforms is set) ?
I don't have a secondary hub
Ok, so you can remove otherplatforms section. Could you also check your logs in debug, and especillay this line : this.log.debug('(' + this.name + ')' + 'INFO - accessories : Sort Order : ' + this.sortInput);
oh, and please remove cleancache option / set it to false, otherwise everything will be created on each startup which could lead to some issues.
I did what you said, these are the lines mentioning the Sort Order (I've tried 3 different sort orders, but nothing seem to change in my Apple Home app):
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : Sort Order : 0
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Play Console
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Play Console in position 1
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Watch Smart TV
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - Configuring Main Activity Watch Smart TV
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating TV Speaker Service
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Watch Smart TV in position 2
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Watch Apple TV
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Watch Apple TV in position 3
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Listen To Sonos
[1/2/2024, 6:07:11 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Listen To Sonos in position 4
...
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : Sort Order : 1
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Listen To Sonos
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Listen To Sonos in position 1
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Play Console
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Play Console in position 2
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Watch Apple TV
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Watch Apple TV in position 3
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Watch Smart TV
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - Configuring Main Activity Watch Smart TV
[1/2/2024, 6:09:01 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating TV Speaker Service
...
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : Sort Order : 2
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Play Console
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Play Console in position 1
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Listen To Sonos
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Listen To Sonos in position 2
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Watch Smart TV
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - Configuring Main Activity Watch Smart TV
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating TV Speaker Service
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - Creating Input Service - Watch Smart TV in position 3
[1/2/2024, 6:11:14 PM] [Logitech Harmony] (Logitech Harmony)INFO - accessories : activity to configure : Watch Apple TV
Also it might be useful to know, my Harmony sort order is:
Describe the bug The
sortInput
setting does not seem to actually sort the input list in homekit.To Reproduce In TV mode when setting
sortInput
it just displays all activities in seemingly random order. None of the options (0-3) seem to have any effect on the list of inputs. Even when I manually enter my activities, and setsortInput
to3
, the ordering does not change.Expected behavior I would expect the list of activities in TV mode to be displayed using the order set.
Screenshots![Screenshot 2023-10-11 at 13 03 31](https://github.com/nicoduj/homebridge-harmony/assets/2392976/8fd2440e-21fd-4689-9975-3984abe9113e)
IOS (please complete the following information):
Logs homebridge-log.txt
Config