This plugin slows down Homebridge / socket closed messages

[homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[02/01/2022, 01:24:04] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[02/01/2022, 01:24:05] [Harmony] (Harmony)ERROR (2)- refreshCurrentActivity TimeoutError: Can't open WebSocket within allowed timeout: 10000 ms. - Stack : TimeoutError: Can't open WebSocket within allowed timeout: 10000 ms.
    at PromiseController._handleTimeout (/usr/local/lib/node_modules/homebridge-harmony/node_modules/promise-controller/src/index.js:172:19)
    at Timeout.<anonymous> (/usr/local/lib/node_modules/homebridge-harmony/node_modules/promise-controller/src/index.js:178:43)
    at listOnTimeout (node:internal/timers:557:17)
    at processTimers (node:internal/timers:500:7)

Getting the exact same error here.  Where are we in getting this resolved?

This error means the hub is not reachable, network issue probably. You can try to use a dedicated bridge to see if it helps, try to ping the hub while getting the error inside the bridge . Some mesh network can cause issue also . Please ensure to use a fixed up also without HubName set  in the config .

I am getting the same "slow down" warning although both of my hubs are reachable. I don't have Mesh, I have a perfect WiFi signal at both Harmony Hubs from an UniFi 6 Long Range Access Point.

This the same for me, nicodju
M. Schlotzhauer<PHONE_NUMBER>   Photographer Indy Eleven
mschlotz.com  -  IndyElevenPhoto.com

On Jan 26, 2022, at 11:20 AM, mensa84 @.***> wrote:

I am getting the same "slow down" warning although both of my hubs are reachable. I don't have Mesh, I have a perfect WiFi signal at both Harmony Hubs from an UniFi 6 Long Range Access Point.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.

Hi all, will try to investigate (don't have it myself) , is it only at startup or periodically ? The config / system you are running homebridge on could be helpful

So for me, it's daily. Now even this plugin comes slows down homebridge. See above my report.

Running on an iMac with latest OS-Monterey. Here is the specific config section for the homebridge-harmony plug-in v 1.5.4, followed by an excerpt from the logs.
"name": "Harmony Hub",
"hubIP": "<IP_ADDRESS>",
"hubName": "Harmony Hub",
"DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000,
"HUB_CONNECT_TIMEOUT": 10000,
"HUB_SEND_TIMEOUT": 30000,
"numberOfCommandsSentForVolumeControl": 3,
"switchAccessories": true,
"showTurnOffActivity": "stateless",
"publishGeneralMuteSwitch": true,
"publishGeneralVolumeSwitches": true,
"publishSwitchActivitiesAsIndividualAccessories": true,
"devicesToPublishAsAccessoriesSwitch": [
"Samsung Amp (2)|VolUp;VolumeUp",
"Samsung Amp (2)|VolDn;VolumeDown",
"Samsung Amp (2)|Up9vol;VolumeUp|5000;VolumeUp;VolumeUp;VolumeUp;VolumeUp;VolumeUp;VolumeUp;VolumeUp;VolumeUp",
"Samsung Amp (2)|Dn9vol;VolumeDown;VolumeDown;VolumeDown;VolumeDown;VolumeDown;VolumeDown;VolumeDown;VolumeDown;VolumeDown",
"Samsung Amp (2)|Mute;Mute",
"Direct TV SAT|Pause TV;Pause",
"Direct TV SAT|Play TV;Play",
"Direct TV SAT|Prev TV;PrevChannel"
],
"showCommandsAtStartup": false,
"platform": "HarmonyHubWebSocket"
Log excerpt:
[1/16/2022, 8:32:53 PM] [Harmony Hub] (Harmony Hub)WARNING - socket closed
[1/16/2022, 9:58:37 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[1/16/2022, 9:58:43 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[1/17/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/17/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/17/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-E4NQ5I/homebridge-backup-0EE7C3EDC211.tar.gz
[1/17/2022, 8:29:22 AM] [Homebridge UI] Homebridge restart request received
[1/17/2022, 8:29:22 AM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[1/17/2022, 8:29:22 AM] [Homebridge UI] Sending SIGTERM to Homebridge
[1/17/2022, 8:29:22 AM] Got SIGTERM, shutting down Homebridge...
[1/17/2022, 8:29:22 AM] [Harmony Hub] INFO - shutdown
[1/17/2022, 8:29:27 AM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[1/17/2022, 8:29:32 AM] [HB Supervisor] Restarting Homebridge...
[1/17/2022, 8:29:32 AM] [HB Supervisor] Starting Homebridge with extra flags: -I
[1/17/2022, 8:29:32 AM] [HB Supervisor] Started Homebridge v1.3.9 with PID: 77046
[1/17/2022, 8:29:32 AM] Loaded config.json with 0 accessories and 5 platforms.
[1/17/2022, 8:29:32 AM] Loaded 32 cached accessories from cachedAccessories.
[Harmony Hub-Samsung Amp (2)-VolumeUpVolumeUpVolumeUpVolumeUpVolumeUpVolumeUpVolumeUpVolumeUpVolumeUp@@Name] characteristic was supplied illegal value: string 'Harmony Hub-Samsung Amp (2)-VolumeUpVolumeUpVolumeUpVolumeUpVolumeUpVolumeUpVolumeUpVolumeUpVolumeUp' exceeded max length of 64
[Harmony Hub-Samsung Amp (2)-VolumeDownVolumeDownVolumeDownVolumeDownVolumeDownVolumeDownVolumeDownVolumeDownVolumeDown@@Name] characteristic was supplied illegal value: string 'Harmony Hub-Samsung Amp (2)-VolumeDownVolumeDownVolumeDownVolumeDownVolumeDownVolumeDownVolumeDownVolumeDownVolumeDown' exceeded max length of 64
[1/17/2022, 8:29:32 AM] ---
[1/17/2022, 8:29:33 AM] Loaded plugin: @.***
[1/17/2022, 8:29:33 AM] Registering platform 'homebridge-config-ui-x.config'
[1/17/2022, 8:29:33 AM] ---
[1/17/2022, 8:29:33 AM] Loaded plugin: @.***
[1/17/2022, 8:29:33 AM] Plugin 'homebridge-directv' tried to register with an incorrect plugin identifier: 'homebridge-directv-location'. Please report this to the developer!
[1/17/2022, 8:29:33 AM] Registering accessory 'homebridge-directv.DirectvSTB'
[1/17/2022, 8:29:33 AM] Registering platform 'homebridge-directv.Directv'
[1/17/2022, 8:29:33 AM] ---
[1/17/2022, 8:29:33 AM] Loaded plugin: @.***
[1/17/2022, 8:29:33 AM] Registering platform 'homebridge-eufy-security.EufySecurity'
[1/17/2022, 8:29:33 AM] ---
[1/17/2022, 8:29:34 AM] Loaded plugin: @.***
[1/17/2022, 8:29:34 AM] Registering platform 'homebridge-harmony.HarmonyHubWebSocket'
[1/17/2022, 8:29:34 AM] ---
[1/17/2022, 8:29:34 AM] Loaded plugin: @.***
[1/17/2022, 8:29:34 AM] Registering platform 'homebridge-simplisafe3.SimpliSafe 3'
[1/17/2022, 8:29:34 AM] ---
[1/17/2022, 8:29:34 AM] Loading 5 platforms...
[1/17/2022, 8:29:34 AM] [Config] Initializing config platform...
[1/17/2022, 8:29:34 AM] [Config] Running in Service Mode
[1/17/2022, 8:29:34 AM] [Security] Initializing homebridge-simplisafe3.SimpliSafe 3 platform...
[1/17/2022, 8:29:34 AM] [DTV] Initializing Directv platform...
[1/17/2022, 8:29:34 AM] [DTV] Fetching DTV locations.
[1/17/2022, 8:29:34 AM] [Harmony Hub] Initializing HarmonyHubWebSocket platform...
[1/17/2022, 8:29:34 AM] [Harmony Hub] HarmonyPlatform Init
[1/17/2022, 8:29:34 AM] [EufySecurity] Initializing EufySecurity platform...
[1/17/2022, 8:29:34 AM] [EufySecurity] Finished initializing Eufy Security Platform
[1/17/2022, 8:29:34 AM] [Harmony Hub] DidFinishLaunching
[1/17/2022, 8:29:34 AM] [Harmony Hub] (Harmony Hub)INFO - Loading activities...
[1/17/2022, 8:29:34 AM] [DTV] Finding DTV Locations (accessories)...
[1/17/2022, 8:29:34 AM] [DTV] Found DTV Location MB, but EXCLUDING per configuration setting.
[1/17/2022, 8:29:34 AM] [DTV] Found DTV Location KITCHEN, but EXCLUDING per configuration setting.
[1/17/2022, 8:29:34 AM] [DTV] Found DTV Location LVR
[1/17/2022, 8:29:34 AM] Initializing platform accessory 'Lvr DTV'...
Setup Payload:
X-HM://0024TILLAVMY2
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 816-03-278 │
└────────────┘

[1/17/2022, 8:29:34 AM] Homebridge v1.3.9 (HAP v0.9.8) (Homebridge C211) is running on port 51552.
[1/17/2022, 8:29:34 AM] [EufySecurity] Restoring existing accessory from cache: Eufybase
[1/17/2022, 8:29:34 AM] [EufySecurity] Restoring existing accessory from cache: Patio
[1/17/2022, 8:29:34 AM] [EufySecurity] Restoring existing accessory from cache: Back West
[1/17/2022, 8:29:34 AM] [EufySecurity] Restoring existing accessory from cache: Front Door
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Adding Accessory : Harmony Hub-TV
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - configuring Main TV Service
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Creating TV Service
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Creating Input Service - Direct TV
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Creating Input Service - Movies
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)WARNING - No main Activity that match config file found, default to first one
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Configuring Main Activity Direct TV
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Creating TV Speaker Service
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Activity : Direct TV
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Activity : Movies
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Activity : PowerOff
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Loading general mute Switch...
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Loading general volume switches...
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - setupFoundAccessories - TV accessory added as external accessory
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Loading devices...
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Device : Samsung Amp (2)
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Device : Samsung Amp (2)
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Device : Samsung Amp (2)
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Device : Samsung Amp (2)
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Device : Samsung Amp (2)
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Device : Direct TV SAT
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Device : Direct TV SAT
[1/17/2022, 8:29:35 AM] [Harmony Hub] (Harmony Hub)INFO - Discovered Device : Direct TV SAT
[1/17/2022, 8:29:35 AM] Harmony Hub-TV 18C2 is running on port 58944.
[1/17/2022, 8:29:35 AM] Please add [Harmony Hub-TV 18C2] manually in Home app. Setup Code: 816-03-278
[1/17/2022, 8:29:35 AM] [EufySecurity] Push Closed!
[1/17/2022, 8:29:44 AM] [Security] Motion Sensor 'Front Door' requires secret alerts to be enabled in SimpliSafe before you can add it to Homebridge.
[1/17/2022, 8:29:44 AM] [Security] Motion Sensor 'Hallway' requires secret alerts to be enabled in SimpliSafe before you can add it to Homebridge.
[1/17/2022, 8:29:44 AM] [Security] Motion Sensor 'Kitchen' requires secret alerts to be enabled in SimpliSafe before you can add it to Homebridge.
[1/17/2022, 8:29:44 AM] [Security] Motion Sensor 'Living Room' requires secret alerts to be enabled in SimpliSafe before you can add it to Homebridge.
[1/17/2022, 8:29:44 AM] [Security] Motion Sensor 'Garage' requires secret alerts to be enabled in SimpliSafe before you can add it to Homebridge.
[1/17/2022, 2:24:11 PM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/17/2022, 5:22:02 PM] [Security] 1 error was received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/17/2022, 5:34:46 PM] [Security] 5 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/17/2022, 5:39:46 PM] [Security] 5 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/18/2022, 1:41:54 AM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 4:18:55 AM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/18/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-M35o3r/homebridge-backup-0EE7C3EDC211.tar.gz
[1/18/2022, 7:25:35 AM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 7:53:50 AM] [Security] 1 error was received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 11:55:36 AM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 1:00:37 PM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 5:15:39 PM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 5:50:37 PM] [Harmony Hub] (Harmony Hub)WARNING - socket closed
[1/18/2022, 6:23:38 PM] [Security] 1 error was received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 7:55:46 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[1/18/2022, 7:55:52 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[1/18/2022, 7:56:01 PM] [Harmony Hub] (Harmony Hub)ERROR (1)- refreshCurrentActivity Error: WebSocket closed with reason: undefined (undefined). - Stack : Error: WebSocket closed with reason: undefined (undefined).
at WebSocketAsPromised._handleClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:353:19)
at WebSocket.listener (/usr/local/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:311:64)
at WebSocket.emit (node:events:390:28)
at WebSocket.emitClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:246:10)
at Socket.socketOnClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:1088:15)
at Socket.emit (node:events:390:28)
at TCP. (node:net:687:12)
[1/18/2022, 7:56:01 PM] [Harmony Hub] (Harmony Hub)WARNING - socket closed
[1/18/2022, 8:34:26 PM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/18/2022, 10:55:41 PM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/19/2022, 12:54:00 AM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/19/2022, 1:04:59 AM] [EufySecurity] Push Closed!
[1/19/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/19/2022, 1:10:40 AM] [Security] 7 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/19/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/19/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-va7Zyj/homebridge-backup-0EE7C3EDC211.tar.gz
[1/19/2022, 11:46:51 AM] [EufySecurity] Push Closed!
[1/19/2022, 3:57:34 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[1/19/2022, 3:57:40 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[1/20/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/20/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/20/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-dtegtY/homebridge-backup-0EE7C3EDC211.tar.gz
[1/20/2022, 6:24:37 AM] [EufySecurity] Push Closed!
[1/20/2022, 6:28:50 AM] [EufySecurity] Push Closed!
[1/20/2022, 4:24:05 PM] [Security] 1 error was received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/21/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/21/2022, 1:18:22 AM] [Security] 1 error was received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/21/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/21/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-88potH/homebridge-backup-0EE7C3EDC211.tar.gz
[1/21/2022, 6:15:45 AM] [EufySecurity] Push Closed!
[1/21/2022, 10:00:06 PM] [homebridge-directv] This plugin generated a warning from the characteristic 'Channel': characteristic was supplied illegal value: number 1229 exceeded maximum of 375. See https://git.io/JtMGR for more info.
[1/21/2022, 10:18:04 PM] [homebridge-directv] This plugin generated a warning from the characteristic 'Channel': characteristic was supplied illegal value: number 1229 exceeded maximum of 375. See https://git.io/JtMGR for more info.
[1/21/2022, 10:26:40 PM] [homebridge-directv] This plugin generated a warning from the characteristic 'Channel': characteristic was supplied illegal value: number 1229 exceeded maximum of 375. See https://git.io/JtMGR for more info.
[1/22/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/22/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/22/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-oLzVEQ/homebridge-backup-0EE7C3EDC211.tar.gz
[1/22/2022, 10:29:35 AM] [Security] 1 error was received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/22/2022, 1:58:34 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[1/22/2022, 1:58:40 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[1/23/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/23/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/23/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-lsf0Vi/homebridge-backup-0EE7C3EDC211.tar.gz
[1/23/2022, 8:21:59 AM] [Homebridge UI] [homebridge-eufy-security] Terminating child process...
[1/23/2022, 8:21:59 AM] [Homebridge UI] [homebridge-eufy-security] Child process ended
[1/23/2022, 8:22:04 AM] [Homebridge UI] [homebridge-simplisafe3] Incoming Request: /credentialsExist
[1/23/2022, 8:22:04 AM] [Homebridge UI] [homebridge-simplisafe3] Incoming Request: /getCodeVerifier
[1/23/2022, 8:22:04 AM] [Homebridge UI] [homebridge-simplisafe3] Incoming Request: /getSSAuthURL
[1/23/2022, 8:22:10 AM] [Homebridge UI] [homebridge-simplisafe3] Terminating child process...
[1/23/2022, 8:22:10 AM] [Homebridge UI] [homebridge-simplisafe3] Child process ended
[1/23/2022, 8:22:59 AM] [Homebridge UI] [homebridge-eufy-security] Terminating child process...
[1/23/2022, 8:22:59 AM] [Homebridge UI] [homebridge-eufy-security] Child process ended
[1/23/2022, 5:14:22 PM] [Security] 1 error was received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/23/2022, 5:39:02 PM] [Security] 1 error was received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/23/2022, 5:40:40 PM] [Security] An error occurred while making snapshot request:
[1/24/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/24/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/24/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-M5QKhE/homebridge-backup-0EE7C3EDC211.tar.gz
[1/24/2022, 2:41:57 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[1/24/2022, 2:42:03 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[1/25/2022, 12:25:32 AM] [homebridge-directv] This plugin generated a warning from the characteristic 'Channel': characteristic was supplied illegal value: number 1230 exceeded maximum of 375. See https://git.io/JtMGR for more info.
[1/25/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/25/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/25/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-wCaBt7/homebridge-backup-0EE7C3EDC211.tar.gz
[1/26/2022, 1:10:05 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days...
[1/26/2022, 4:42:47 AM] [Homebridge UI] Running scheduled instance backup...
[1/26/2022, 4:42:47 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/74/j2krsg5d4115j320d0wppj540000gn/T/homebridge-backup-5iUwx9/homebridge-backup-0EE7C3EDC211.tar.gz
[1/26/2022, 11:45:50 AM] [EufySecurity] Push Closed!
[1/26/2022, 12:23:59 PM] [Security] 1 error was received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
[1/26/2022, 1:26:48 PM] [Security] 3 errors were received from the SimpliSafe API while refereshing sensors in the last 5 minutes. Enable debug logging for detailed output.
Matt Schlotzhauer
IndyEleven Photographer
MSchlotz.com http://mschlotz.com/  Indy Eleven (USL) https://indyelevenphoto.com/
317.874.7674

On Jan 26, 2022, at 2:28 , Nicolas Dujardin @.***> wrote:
Hi all, will try to investigate (don't have it myself) , is it only at startup or periodically ? The config / system you are running homebridge on could be helpful
—
Reply to this email directly, view it on GitHub https://github.com/nicoduj/homebridge-harmony/issues/387#issuecomment-1022527941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGQIG7X6DQNUJ34QC43W4D3UYBDMDANCNFSM5LDLDOQA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.

I've been having this issue since the update which kept causing my Homebridge to restart. Once I turned off Child bridge I haven't seen this message in the logs or had a restart since. (24 hours and counting)

Hi
Update of ? Homebridge or the plugin ? You were running it in a child bridge and moved it to o the main bridge ?

Running in main bridge here.
M. Schlotzhauer<PHONE_NUMBER>   Photographer Indy Eleven
mschlotz.com  -  IndyElevenPhoto.com

On Jan 28, 2022, at 12:55 PM, Nicolas Dujardin @.***> wrote:

Hi
Update of ? Homebridge or the plugin ? You were running it in a child bridge and moved it to o the main bridge ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.

Hi
Update of ? Homebridge or the plugin ? You were running it in a child bridge and moved it to o the main bridge ?

Ah sorry I should have been more clear. I had this plugin running as a child bridge. I've used a child bridge ever since they were introduced so over a year I thnk. (3 harmony hubs connected). Once I removed the child bridge for my Harmony Hubs in the plugin and restarted homebridge. I haven't seen this error message since. I had not seen this error message until recently last 3 weeks or so I am rarely on the homepage UI page.
In case it might be related to overlapping with other plugins I also run PiHole and Homebridge-display.

Ok thanks. Last update of homebridge moved from ciao to bonjour again I think, might be related . The issue is tricky, since it is network / underlying lib related and I don't reproduce it myself ....

Ok thanks. Last update of homebridge moved from ciao to bonjour again I think, might be related. The issue is tricky since it is network / underlying lib related and I don't reproduce it myself ....

That the worst when you can't recreate. Let me know if I can help with any logs or beta testing. This plugin has always been rock solid, I've fully moved to Home Assistant over the last 2 years but run homebridge solely for this plugin. Keep up the great work!

Ok, so Hi everyone.
Will try to take a look at this since there are a lot of reports, and even if I still can't reproduce it.
First, i'd like that everyone who has this issue (slow down / websocket error) removes the following settings in their conf :
        "DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000,
        "HUB_CONNECT_TIMEOUT": 10000,
        "HUB_SEND_TIMEOUT": 30000,

I am also interested in reports on the stack itself : node js version, and if possible libs versions like this :
/homebridge/node_modules/homebridge-harmony # npm ls -depth=3 --prod
<EMAIL_ADDRESS>/homebridge/node_modules/homebridge-harmony
+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| `--<EMAIL_ADDRESS>|   `--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>  +--<EMAIL_ADDRESS>  +--<EMAIL_ADDRESS>  | +--<EMAIL_ADDRESS>  | +--<EMAIL_ADDRESS>  | `--<EMAIL_ADDRESS>  |   +--<EMAIL_ADDRESS>  |   +--<EMAIL_ADDRESS>  |   `--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    +-- UNMET OPTIONAL DEPENDENCY<EMAIL_ADDRESS>    `-- UNMET OPTIONAL DEPENDENCY<EMAIL_ADDRESS>

1.6.0 beta1 has been released, please try it and report feedback. (previous comment still applicable) .

I have now deleted the gweünschten lines from the confugiration. And updated to the latest version. What exactly do you need?

@bsoener thx, I need new logs with the beta in debug mode, at start of the bridge and when/if the error / warning of slow response is happening.
List of bpm dependencies and other plugins used on the homebridge would be great also.
Finally, I would need your setup (homebridge version and host config)

    _eventsCount: 0,
    _maxListeners: undefined,
    services: [
      [AccessoryInformation],
      [Television],
      [InputSource],
      [TelevisionSpeaker]
    ],
    reachable: false,
    context: { subPlatformName: 'Harmony' },
    _associatedHAPAccessory: Accessory {
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      displayName: 'Harmony-TV',
      UUID: '251fd294-4705-48fd-9645-2661664c61f4',
      aid: 2,
      _isBridge: false,
      bridged: true,
      bridgedAccessories: [],
      reachable: true,
      category: 1,
      services: [Array],
      shouldPurgeUnusedIDs: true,
      initialized: false,
      controllers: {},
      _setupID: null,
      controllerStorage: [ControllerStorage],
      lastAccessoriesRequest: 0,
      getPrimaryAccessory: [Function (anonymous)],
      configurationChangeDebounceTimeout: Timeout {
        _idleTimeout: 1000,
        _idlePrev: [TimersList],
        _idleNext: [Timeout],
        _idleStart: 1648,
        _onTimeout: [Function (anonymous)],
        _timerArgs: undefined,
        _repeat: null,
        _destroyed: false,
        [Symbol(refed)]: false,
        [Symbol(kHasPrimitive)]: false,
        [Symbol(asyncId)]: 19,
        [Symbol(triggerId)]: 0
      },
      lastKnownUsername: undefined,
      bridge: [Bridge],
      [Symbol(kCapture)]: false
    },
    displayName: 'Harmony-TV',
    UUID: '251fd294-4705-48fd-9645-2661664c61f4',
    category: 31,
    _associatedPlugin: 'homebridge-harmony',
    _associatedPlatform: 'HarmonyHubWebSocket',
    [Symbol(kCapture)]: false
  }
]
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - Services confirmed after retrieving hub infos :
[30/01/2022, 09:13:25] [Harmony] [
  Television {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: 8,
    name: null,
    characteristics: [
      [Name],
      [Active],
      [ActiveIdentifier],
      [ConfiguredName],
      [RemoteKey],
      [SleepDiscoveryMode],
      [PowerModeSelection]
    ],
    optionalCharacteristics: [
      [Brightness],
      [ClosedCaptions],
      [DisplayOrder],
      [CurrentMediaState],
      [TargetMediaState],
      [Name],
      [PictureMode],
      [PowerModeSelection]
    ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [ [InputSource], [TelevisionSpeaker] ],
    displayName: 'Harmony',
    UUID: '000000D8-0000-1000-8000-0026BB765291',
    subtype: 'Harmony TV',
    activityName: 'Musik hören',
    activityId: '49669958',
    [Symbol(kCapture)]: false
  },
  InputSource {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: 16,
    name: null,
    characteristics: [
      [Name],
      [ConfiguredName],
      [InputSourceType],
      [IsConfigured],
      [CurrentVisibilityState],
      [Identifier],
      [TargetVisibilityState]
    ],
    optionalCharacteristics: [ [Identifier], [InputDeviceType], [TargetVisibilityState] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'Harmony',
    UUID: '000000D9-0000-1000-8000-0026BB765291',
    subtype: 'Musik hören Activity',
    activityName: 'Musik hören',
    activityId: '49669958',
    MuteCommand: '{"command":"Mute","type":"IRCommand","deviceId":"76722504"}',
    VolumeDownCommand: '{"command":"VolumeDown","type":"IRCommand","deviceId":"76722504"}',
    VolumeUpCommand: '{"command":"VolumeUp","type":"IRCommand","deviceId":"76722504"}',
    DirectionDownCommand: '{"command":"DirectionDown","type":"IRCommand","deviceId":"76722504"}',
    DirectionLeftCommand: '{"command":"DirectionLeft","type":"IRCommand","deviceId":"76722504"}',
    DirectionRightCommand: '{"command":"DirectionRight","type":"IRCommand","deviceId":"76722504"}',
    DirectionUpCommand: '{"command":"DirectionUp","type":"IRCommand","deviceId":"76722504"}',
    SelectCommand: '{"command":"Ok","type":"IRCommand","deviceId":"76722504"}',
    StopCommand: '{"command":"Stop","type":"IRCommand","deviceId":"76722504"}',
    PlayCommand: '{"command":"Play","type":"IRCommand","deviceId":"76722504"}',
    RewindCommand: '{"command":"Rewind","type":"IRCommand","deviceId":"76722504"}',
    PauseCommand: '{"command":"Pause","type":"IRCommand","deviceId":"76722504"}',
    FastForwardCommand: '{"command":"FastForward","type":"IRCommand","deviceId":"76722504"}',
    SkipBackwardCommand: '{"command":"SkipBack","type":"IRCommand","deviceId":"76722504"}',
    SkipForwardCommand: '{"command":"SkipForward","type":"IRCommand","deviceId":"76722504"}',
    ExitCommand: '{"command":"Exit","type":"IRCommand","deviceId":"76722504"}',
    [Symbol(kCapture)]: false
  },
  TelevisionSpeaker {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: 24,
    name: null,
    characteristics: [
      [Name],
      [Mute],
      [Active],
      [VolumeControlType],
      [VolumeSelector],
      [Volume]
    ],
    optionalCharacteristics: [ [Active], [Volume], [VolumeControlType], [VolumeSelector] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'Harmony',
    UUID: '00000113-0000-1000-8000-0026BB765291',
    subtype: 'Harmony Volume',
    [Symbol(kCapture)]: false
  }
]
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - GET Characteristic.Active
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - GET Characteristic.ActiveIdentifier
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -1
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - refreshCharacteristic : updating Characteristic.ActiveIdentifier to 0
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - GET Characteristic.CurrentVisibilityState : DEFAULT - 0
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - GET Characteristic.TargetVisibilityState : DEFAULT - 0
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - GET Characteristic.Mute
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - GET Characteristic.Volume
[30/01/2022, 09:13:25] [Harmony] (Harmony)keysMap is :{}
[30/01/2022, 09:13:25] [Harmony] (Harmony)INFO - refreshCharacteristic : updating Characteristic.Active to false

  {
        "name": "Harmony",
        "hubIP": "<IP_ADDRESS>",
        "hubName": "xxxxx",
        "cleanCache": false,
        "publishAllTVAsExternalAccessory": false,
        "TVAccessory": true,
        "SortInput": 0,
        "configureAccesscontrol": false,
        "platform": "HarmonyHubWebSocket",
        "_bridge": {
            "username": "xx:xx:xx:xx:xx:xx",
            "port": 54006``

plugins:
-DenonTv

Homebridge Camera FFmpeg
Homebridge Fritz Platform
Homebridge Harmony
Miele@home
Homebridge Robonect
Homebridge Synology
Homebridge TaHoma
Panasonic™ Viera™ TVs support
Homebridge Warmup4ie
Homebridge Xiaomi Roborock Vacuum

Thank you, did you have any new notice of slowing down the bridge or a websocket error at all ?

So I updated it this morning. And deleted the lines. I will watch it and report.

unfortunately i get this error message all the time now
30/01/2022, 22:01:54] [Harmony] (Harmony)WARNING - socket closed
[30/01/2022, 22:02:03] [Harmony] (Harmony)ERROR (3)- refreshCurrentActivity Error: WebSocket closed with reason: undefined (undefined). - Stack : Error: WebSocket closed with reason: undefined (undefined).
    at WebSocketAsPromised._handleClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:353:19)
    at WebSocket.listener (/usr/local/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:311:64)
    at WebSocket.emit (node:events:390:28)
    at WebSocket.emitClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:236:12)
    at emitErrorAndClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:836:13)
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:697:5)
    at ClientRequest.emit (node:events:390:28)
    at Socket.socketErrorListener (node:_http_client:447:9)
    at Socket.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
[30/01/2022, 22:02:03] [Harmony] (Harmony)WARNING - socket closed
[30/01/2022, 22:02:11] [Harmony] (Harmony)ERROR (4)- refreshCurrentActivity Error: WebSocket closed with reason: undefined (undefined). - Stack : Error: WebSocket closed with reason: undefined (undefined).
    at WebSocketAsPromised._handleClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:353:19)
    at WebSocket.listener (/usr/local/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:311:64)
    at WebSocket.emit (node:events:390:28)
    at WebSocket.emitClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:236:12)
    at emitErrorAndClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:836:13)
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:697:5)
    at ClientRequest.emit (node:events:390:28)
    at Socket.socketErrorListener (node:_http_client:447:9)
    at Socket.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
[30/01/2022, 22:02:11] [Harmony] (Harmony)WARNING - socket closed
[30/01/2022, 22:02:19] [Harmony] (Harmony)ERROR (5)- refreshCurrentActivity Error: WebSocket closed with reason: undefined (undefined). - Stack : Error: WebSocket closed with reason: undefined (undefined).
    at WebSocketAsPromised._handleClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:353:19)
    at WebSocket.listener (/usr/local/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:311:64)
    at WebSocket.emit (node:events:390:28)
    at WebSocket.emitClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:236:12)
    at emitErrorAndClose (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:836:13)
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:697:5)
    at ClientRequest.emit (node:events:390:28)
    at Socket.socketErrorListener (node:_http_client:447:9)
    at Socket.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
[30/01/2022, 22:02:19] [Harmony] (Harmony)WARNING - socket closed
[30/01/2022, 22:02:24] [Harmony] (Harmony)WARNING - refreshCurrentActivity : NO refresh done since too much socket errors - will retry later
[30/01/2022, 22:03:24] [Harmony] (Harmony)WARNING - refreshCurrentActivity : Resetting counter after network loss, trying to refresh
[30/01/2022, 22:18:03] [Harmony] (Harmony)WARNING - socket closed

Hi,
Ok, so if I understand it works for a certain period of time (around 24h ? ) and then you have this message and it doesn't work anymore . If you restart the bridge it works again right ?
When this happens, can you reach the hub Ip inside homebridge (do a ping through a terminal in homebridge ?) .

reboot I do not get any errors. Only after a certain time comes this error message.
pi@homebridge:/var/lib/homebridge $ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=1.75 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=1.61 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=2.76 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=2.13 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=64 time=2.77 ms
64 bytes from <IP_ADDRESS>: icmp_seq=6 ttl=64 time=2.30 ms
64 bytes from <IP_ADDRESS>: icmp_seq=7 ttl=64 time=2.53 ms
64 bytes from <IP_ADDRESS>: icmp_seq=8 ttl=64 time=1.56 ms
64 bytes from <IP_ADDRESS>: icmp_seq=9 ttl=64 time=2.99 ms
64 bytes from <IP_ADDRESS>: icmp_seq=10 ttl=64 time=2.86 ms
64 bytes from <IP_ADDRESS>: icmp_seq=11 ttl=64 time=2.47 ms
64 bytes from <IP_ADDRESS>: icmp_seq=12 ttl=64 time=1.37 ms

Ok, thx. Just to be sure : you did the ping while having the error ?

I do not know when exactly this error message occurs. Have tested it now earlier the ping.

@bsoener ok, thank you. If I correctly understand, when it is happening, the hub is available, but the socket closed message keeps coming until you restart the bridge, but it does not crash it right ?

@bsoener ok, and do you need to restart homebridge for the plugin to work again ? Can you try the beta I published today ? Thanks

I did not restart the Homebridge after the error message. I have now installed the new beta and will report as soon as an error message appears again. Thanks

Thanks, what I really want to know is if when the error occurs, do you need to do something (like restarting hub or bridge), or does it work again by itself without doing anything .

I will report as soon as something comes

Thanks, I am publishing beta3 in order to fix this loop condition on closed socket. Let me know, thanks for following this issue and reporting results.

good morning. Today I got this error message again. Harmony was not in use.
[19/02/2022, 10:17:20] [Harmony] (Harmony)WARNING - socket closed

@bsoener thanks, could you please tell me :

if you are in beta3
if when there is this message, there is another error after or not
if the plugin still works without restarting anything (homebridge for example)

The message can appear in case of network loss or even too much socket opened / some time out, but the socket remains active always in order to have feedback from the hub and update activities accordingly. So the plugin or even harmony remote itself is not something that will specifically trigger this. What is important / what I am trying to fix is a loop condition on this and especially the fact that it should resolve itself by reconnecting, without the need to restart homebridge or anything else.
Thanks.

So I have the latest version on it beta 3. Homebridge I have not restarted. The Harmony works but despite this error message.

@bsoener ok thanks, that is what I was expecting. if it reconnects without any action from your side it is ok in my opinion (can't prevent the socket closed at all).

Hello @nicoduj,
Sorry if this should be opened up in a seperate issue, but since it seemed to be related to the 1.6.0 beta version that fixed the above issues, I thought I'd put this here.
I was also experiencing the same issues and updated to your latest beta3. I had also removed the hubName and the 3 options you mentioned earlier in the config.
That fixed the errors I was seeing before but now a new issue has shown up. I'm seeing this in the logs at startup of homebridge and nothing is working with the plugin:
[2/22/2022, 8:37:07 AM] [HarmonyHub] (undefined)INFO - received discovered hubs  undefined
[2/22/2022, 8:37:07 AM] [HarmonyHub] (undefined)ERROR - no hub found

I didn't see this before when running 1.5.4 (but also had the other issues which broke the plugin).
Here is my plugin config:
        {
            "name": "HarmonyHub",
            "hubIP": "x.x.x.x",
            "TVAccessory": true,
            "sortInput": 0,
            "mainActivity": "Watch Apple TV",
            "playPauseBehavior": true,
            "switchAccessories": true,
            "publishGeneralMuteSwitch": false,
            "publishGeneralVolumeSlider": true,
            "publishGeneralVolumeSwitches": true,
            "linkVolumeControlToTV": true,
            "publishSwitchActivitiesAsIndividualAccessories": true,
            "otherPlatforms": [
                {
                    "sortInput": 0
                }
            ],
            "platform": "HarmonyHubWebSocket"
        },

Running Homebridge v1.4.0 on Raspian 10.
Nodejs libs for homebridge-harmony:
<EMAIL_ADDRESS>/usr/lib/node_modules/homebridge-harmony
├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  ├─┬<EMAIL_ADDRESS>  │ ├── UNMET OPTIONAL DEPENDENCY<EMAIL_ADDRESS>  │ └─┬<EMAIL_ADDRESS>  │   ├──<EMAIL_ADDRESS>  │   └──<EMAIL_ADDRESS>  ├─┬<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>  │ └─┬<EMAIL_ADDRESS>  │   ├──<EMAIL_ADDRESS>  │   ├──<EMAIL_ADDRESS>  │   └──<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    ├── UNMET OPTIONAL DEPENDENCY<EMAIL_ADDRESS>    └── UNMET OPTIONAL DEPENDENCY<EMAIL_ADDRESS>
Here's most of the homebridge-harmony plugin startup (in debug mode):
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Adding Accessory : HarmonyHub-TV
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - UUID for : *HarmonyHub-TV* is : *efba48cc-0514-40d8-9b3c-b8e24a1daad5*
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - configuring Main TV Service
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Creating TV Service
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - accessories : main activity name : Watch Apple TV
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - accessories : Sort Order : 0
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - accessories : activity to configure : Watch Apple TV
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Configuring Main Activity Watch Apple TV
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Creating TV Speaker Service
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Creating Input Service - Watch Apple TV in position 1
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - accessories : activity to configure : HDMI 3
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Creating Input Service - HDMI 3 in position 2
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - accessories : activity to configure : Watch Chromecast
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Creating Input Service - Watch Chromecast in position 3
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - accessories : activity to configure : Watch TV
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Creating Input Service - Watch TV in position 4
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Discovered Activity : Watch Apple TV
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Discovered Activity : HDMI 3
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Discovered Activity : Watch Chromecast
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Discovered Activity : Watch TV
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Loading general volume switches...
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Creating Switch Service GeneralVolumeUp/GeneralVolumeUp
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Creating Switch Service GeneralVolumeDown/GeneralVolumeDown
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)Volume commands for Global Volume Up :
[2/22/2022, 8:55:48 AM] [HarmonyHub] {
  '42759932': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
  '42759958': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
  '42760013': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
  '42760083': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}'
}
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)Volume commands for Global Volume Down :
[2/22/2022, 8:55:48 AM] [HarmonyHub] {
  '42759932': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
  '42759958': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
  '42760013': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
  '42760083': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}'
}
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Loading general volume Slider...
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Creating Slider Service GeneralVolumeSlider/GeneralVolumeSlider
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)Volume commands for Global Volume Slider :
[2/22/2022, 8:55:48 AM] [HarmonyHub] {
  '42759932': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
  '42759958': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
  '42760013': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
  '42760083': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}'
}
[2/22/2022, 8:55:48 AM] [HarmonyHub] {
  '42759932': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
  '42759958': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
  '42760013': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
  '42760083': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}'
}
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - setupFoundAccessories - TV accessory added as external accessory
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Accessories confirmed after retrieving hub infos :
[2/22/2022, 8:55:48 AM] [HarmonyHub] [
  PlatformAccessory {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined,
    services: [
      [AccessoryInformation],
      [Television],
      [TelevisionSpeaker],
      [InputSource],
      [InputSource],
      [InputSource],
      [InputSource],
      [Switch],
      [Switch],
      [Lightbulb]
    ],
    reachable: false,
    context: { subPlatformName: 'HarmonyHub' },
    _associatedHAPAccessory: Accessory {
      _events: [Object: null prototype],
      _eventsCount: 1,
      _maxListeners: undefined,
      displayName: 'HarmonyHub-TV',
      UUID: 'efba48cc-0514-40d8-9b3c-b8e24a1daad5',
      aid: null,
      _isBridge: false,
      bridged: false,
      bridgedAccessories: [],
      reachable: true,
      category: 1,
      services: [Array],
      shouldPurgeUnusedIDs: true,
      initialized: false,
      controllers: {},
      _setupID: null,
      controllerStorage: [ControllerStorage],
      lastAccessoriesRequest: 0,
      getPrimaryAccessory: [Function (anonymous)],
      configurationChangeDebounceTimeout: Timeout {
        _idleTimeout: 1000,
        _idlePrev: [Timeout],
        _idleNext: [TimersList],
        _idleStart: 6929,
        _onTimeout: [Function (anonymous)],
        _timerArgs: undefined,
        _repeat: null,
        _destroyed: false,
        [Symbol(refed)]: false,
        [Symbol(kHasPrimitive)]: false,
        [Symbol(asyncId)]: 482,
        [Symbol(triggerId)]: 0
      },
      [Symbol(kCapture)]: false
    },
    displayName: 'HarmonyHub-TV',
    UUID: 'efba48cc-0514-40d8-9b3c-b8e24a1daad5',
    category: 31,
    name: 'HarmonyHub-TV',
    model: 'HarmonyHub',
    manufacturer: 'Logitech',
    serialNumber: 'efba48cc-0514-40d8-9b3c-b8e24a1daad5',
    _associatedPlugin: 'homebridge-harmony',
    [Symbol(kCapture)]: false
  },
  PlatformAccessory {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined,
    services: [ [AccessoryInformation], [Switch] ],
    reachable: false,
    context: { subPlatformName: 'HarmonyHub' },
    _associatedHAPAccessory: Accessory {
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      displayName: 'HarmonyHub-Watch Apple TV',
      UUID: 'd1e368b6-8345-470e-bf94-69be21591c4a',
      aid: 2,
      _isBridge: false,
      bridged: true,
      bridgedAccessories: [],
      reachable: true,
      category: 1,
      services: [Array],
      shouldPurgeUnusedIDs: true,
      initialized: false,
      controllers: {},
      _setupID: null,
      controllerStorage: [ControllerStorage],
      lastAccessoriesRequest: 0,
      getPrimaryAccessory: [Function (anonymous)],
      configurationChangeDebounceTimeout: undefined,
      lastKnownUsername: undefined,
      bridge: [Bridge],
      [Symbol(kCapture)]: false
    },
    displayName: 'HarmonyHub-Watch Apple TV',
    UUID: 'd1e368b6-8345-470e-bf94-69be21591c4a',
    category: 8,
    _associatedPlugin: 'homebridge-harmony',
    _associatedPlatform: 'HarmonyHubWebSocket',
    [Symbol(kCapture)]: false
  },
  PlatformAccessory {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined,
    services: [ [AccessoryInformation], [Switch] ],
    reachable: false,
    context: { subPlatformName: 'HarmonyHub' },
    _associatedHAPAccessory: Accessory {
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      displayName: 'HarmonyHub-HDMI 3',
      UUID: '062e36cf-e42b-4222-a790-56fab61dff82',
      aid: 3,
      _isBridge: false,
      bridged: true,
      bridgedAccessories: [],
      reachable: true,
      category: 1,
      services: [Array],
      shouldPurgeUnusedIDs: true,
      initialized: false,
      controllers: {},
      _setupID: null,
      controllerStorage: [ControllerStorage],
      lastAccessoriesRequest: 0,
      getPrimaryAccessory: [Function (anonymous)],
      configurationChangeDebounceTimeout: undefined,
      lastKnownUsername: undefined,
      bridge: [Bridge],
      [Symbol(kCapture)]: false
    },
    displayName: 'HarmonyHub-HDMI 3',
    UUID: '062e36cf-e42b-4222-a790-56fab61dff82',
    category: 8,
    _associatedPlugin: 'homebridge-harmony',
    _associatedPlatform: 'HarmonyHubWebSocket',
    [Symbol(kCapture)]: false
  },
  PlatformAccessory {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined,
    services: [ [AccessoryInformation], [Switch] ],
    reachable: false,
    context: { subPlatformName: 'HarmonyHub' },
    _associatedHAPAccessory: Accessory {
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      displayName: 'HarmonyHub-Watch Chromecast',
      UUID: 'cc8194e2-0871-44f0-b80e-10249b376d41',
      aid: 4,
      _isBridge: false,
      bridged: true,
      bridgedAccessories: [],
      reachable: true,
      category: 1,
      services: [Array],
      shouldPurgeUnusedIDs: true,
      initialized: false,
      controllers: {},
      _setupID: null,
      controllerStorage: [ControllerStorage],
      lastAccessoriesRequest: 0,
      getPrimaryAccessory: [Function (anonymous)],
      configurationChangeDebounceTimeout: undefined,
      lastKnownUsername: undefined,
      bridge: [Bridge],
      [Symbol(kCapture)]: false
    },
    displayName: 'HarmonyHub-Watch Chromecast',
    UUID: 'cc8194e2-0871-44f0-b80e-10249b376d41',
    category: 8,
    _associatedPlugin: 'homebridge-harmony',
    _associatedPlatform: 'HarmonyHubWebSocket',
    [Symbol(kCapture)]: false
  },
  PlatformAccessory {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined,
    services: [ [AccessoryInformation], [Switch] ],
    reachable: false,
    context: { subPlatformName: 'HarmonyHub' },
    _associatedHAPAccessory: Accessory {
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      displayName: 'HarmonyHub-Watch TV',
      UUID: '8ba91e91-b9ca-4023-9407-6ba9ca2503fd',
      aid: 5,
      _isBridge: false,
      bridged: true,
      bridgedAccessories: [],
      reachable: true,
      category: 1,
      services: [Array],
      shouldPurgeUnusedIDs: true,
      initialized: false,
      controllers: {},
      _setupID: null,
      controllerStorage: [ControllerStorage],
      lastAccessoriesRequest: 0,
      getPrimaryAccessory: [Function (anonymous)],
      configurationChangeDebounceTimeout: undefined,
      lastKnownUsername: undefined,
      bridge: [Bridge],
      [Symbol(kCapture)]: false
    },
    displayName: 'HarmonyHub-Watch TV',
    UUID: '8ba91e91-b9ca-4023-9407-6ba9ca2503fd',
    category: 8,
    _associatedPlugin: 'homebridge-harmony',
    _associatedPlatform: 'HarmonyHubWebSocket',
    [Symbol(kCapture)]: false
  }
]
[2/22/2022, 8:55:48 AM] [HarmonyHub] (HarmonyHub)INFO - Services confirmed after retrieving hub infos :
[2/22/2022, 8:55:48 AM] [HarmonyHub] [
  Television {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: null,
    name: null,
    characteristics: [
      [Name],
      [Active],
      [ActiveIdentifier],
      [ConfiguredName],
      [RemoteKey],
      [SleepDiscoveryMode],
      [PowerModeSelection]
    ],
    optionalCharacteristics: [
      [Brightness],
      [ClosedCaptions],
      [DisplayOrder],
      [CurrentMediaState],
      [TargetMediaState],
      [Name],
      [PictureMode],
      [PowerModeSelection]
    ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [
      [TelevisionSpeaker],
      [InputSource],
      [InputSource],
      [InputSource],
      [InputSource]
    ],
    displayName: 'HarmonyHub',
    UUID: '000000D8-0000-1000-8000-0026BB765291',
    subtype: 'HarmonyHub TV',
    activityName: 'Watch Apple TV',
    activityId: '42759932',
    [Symbol(kCapture)]: false
  },
  TelevisionSpeaker {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: null,
    name: null,
    characteristics: [
      [Name],
      [Mute],
      [Active],
      [VolumeControlType],
      [VolumeSelector],
      [Volume]
    ],
    optionalCharacteristics: [ [Active], [Volume], [VolumeControlType], [VolumeSelector] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'HarmonyHub',
    UUID: '00000113-0000-1000-8000-0026BB765291',
    subtype: 'HarmonyHub Volume',
    [Symbol(kCapture)]: false
  },
  InputSource {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: null,
    name: null,
    characteristics: [
      [Name],
      [ConfiguredName],
      [InputSourceType],
      [IsConfigured],
      [CurrentVisibilityState],
      [Identifier],
      [TargetVisibilityState]
    ],
    optionalCharacteristics: [ [Identifier], [InputDeviceType], [TargetVisibilityState] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'HarmonyHub',
    UUID: '000000D9-0000-1000-8000-0026BB765291',
    subtype: 'Watch Apple TV Activity',
    activityName: 'Watch Apple TV',
    activityId: '42759932',
    MuteCommand: '{"command":"Mute","type":"IRCommand","deviceId":"51101893"}',
    VolumeDownCommand: '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
    VolumeUpCommand: '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
    DirectionDownCommand: '{"command":"DirectionDown","type":"IRCommand","deviceId":"51101892"}',
    DirectionLeftCommand: '{"command":"DirectionLeft","type":"IRCommand","deviceId":"51101892"}',
    DirectionRightCommand: '{"command":"DirectionRight","type":"IRCommand","deviceId":"51101892"}',
    DirectionUpCommand: '{"command":"DirectionUp","type":"IRCommand","deviceId":"51101892"}',
    SelectCommand: '{"command":"Select","type":"IRCommand","deviceId":"51101892"}',
    StopCommand: '{"command":"Stop","type":"IRCommand","deviceId":"51101892"}',
    PlayCommand: '{"command":"Play","type":"IRCommand","deviceId":"51101892"}',
    RewindCommand: '{"command":"Rewind","type":"IRCommand","deviceId":"51101892"}',
    PauseCommand: '{"command":"Pause","type":"IRCommand","deviceId":"51101892"}',
    FastForwardCommand: '{"command":"FastForward","type":"IRCommand","deviceId":"51101892"}',
    SkipBackwardCommand: '{"command":"SkipBack","type":"IRCommand","deviceId":"51101892"}',
    SkipForwardCommand: '{"command":"SkipForward","type":"IRCommand","deviceId":"51101892"}',
    MenuCommand: '{"command":"Menu","type":"IRCommand","deviceId":"51101892"}',
    ReturnCommand: '{"command":"Back","type":"IRCommand","deviceId":"51101892"}',
    HomeCommand: '{"command":"Home","type":"IRCommand","deviceId":"51101892"}',
    [Symbol(kCapture)]: false
  },
  InputSource {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: null,
    name: null,
    characteristics: [
      [Name],
      [ConfiguredName],
      [InputSourceType],
      [IsConfigured],
      [CurrentVisibilityState],
      [Identifier],
      [TargetVisibilityState]
    ],
    optionalCharacteristics: [ [Identifier], [InputDeviceType], [TargetVisibilityState] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'HarmonyHub',
    UUID: '000000D9-0000-1000-8000-0026BB765291',
    subtype: 'HDMI 3 Activity',
    activityName: 'HDMI 3',
    activityId: '42760083',
    MuteCommand: '{"command":"Mute","type":"IRCommand","deviceId":"51101893"}',
    VolumeDownCommand: '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
    VolumeUpCommand: '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
    DirectionDownCommand: '{"command":"DirectionDown","type":"IRCommand","deviceId":"51101893"}',
    DirectionLeftCommand: '{"command":"DirectionLeft","type":"IRCommand","deviceId":"51101893"}',
    DirectionRightCommand: '{"command":"DirectionRight","type":"IRCommand","deviceId":"51101893"}',
    DirectionUpCommand: '{"command":"DirectionUp","type":"IRCommand","deviceId":"51101893"}',
    SelectCommand: '{"command":"Select","type":"IRCommand","deviceId":"51101893"}',
    ReturnCommand: '{"command":"Return","type":"IRCommand","deviceId":"51101893"}',
    MenuCommand: '{"command":"Menu","type":"IRCommand","deviceId":"51101893"}',
    InfoCommand: '{"command":"Info","type":"IRCommand","deviceId":"51101893"}',
    ExitCommand: '{"command":"Exit","type":"IRCommand","deviceId":"51101893"}',
    [Symbol(kCapture)]: false
  },
  InputSource {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: null,
    name: null,
    characteristics: [
      [Name],
      [ConfiguredName],
      [InputSourceType],
      [IsConfigured],
      [CurrentVisibilityState],
      [Identifier],
      [TargetVisibilityState]
    ],
    optionalCharacteristics: [ [Identifier], [InputDeviceType], [TargetVisibilityState] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'HarmonyHub',
    UUID: '000000D9-0000-1000-8000-0026BB765291',
    subtype: 'Watch Chromecast Activity',
    activityName: 'Watch Chromecast',
    activityId: '42760013',
    MuteCommand: '{"command":"Mute","type":"IRCommand","deviceId":"51101893"}',
    VolumeDownCommand: '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
    VolumeUpCommand: '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
    DirectionDownCommand: '{"command":"DirectionDown","type":"IRCommand","deviceId":"51101893"}',
    DirectionLeftCommand: '{"command":"DirectionLeft","type":"IRCommand","deviceId":"51101893"}',
    DirectionRightCommand: '{"command":"DirectionRight","type":"IRCommand","deviceId":"51101893"}',
    DirectionUpCommand: '{"command":"DirectionUp","type":"IRCommand","deviceId":"51101893"}',
    SelectCommand: '{"command":"Select","type":"IRCommand","deviceId":"51101893"}',
    ReturnCommand: '{"command":"Return","type":"IRCommand","deviceId":"51101893"}',
    MenuCommand: '{"command":"Menu","type":"IRCommand","deviceId":"51101893"}',
    InfoCommand: '{"command":"Info","type":"IRCommand","deviceId":"51101893"}',
    ExitCommand: '{"command":"Exit","type":"IRCommand","deviceId":"51101893"}',
    [Symbol(kCapture)]: false
  },
  InputSource {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: null,
    name: null,
    characteristics: [
      [Name],
      [ConfiguredName],
      [InputSourceType],
      [IsConfigured],
      [CurrentVisibilityState],
      [Identifier],
      [TargetVisibilityState]
    ],
    optionalCharacteristics: [ [Identifier], [InputDeviceType], [TargetVisibilityState] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'HarmonyHub',
    UUID: '000000D9-0000-1000-8000-0026BB765291',
    subtype: 'Watch TV Activity',
    activityName: 'Watch TV',
    activityId: '42759958',
    MuteCommand: '{"command":"Mute","type":"IRCommand","deviceId":"51101893"}',
    VolumeDownCommand: '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
    VolumeUpCommand: '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
    DirectionDownCommand: '{"command":"DirectionDown","type":"IRCommand","deviceId":"51101894"}',
    DirectionLeftCommand: '{"command":"DirectionLeft","type":"IRCommand","deviceId":"51101894"}',
    DirectionRightCommand: '{"command":"DirectionRight","type":"IRCommand","deviceId":"51101894"}',
    DirectionUpCommand: '{"command":"DirectionUp","type":"IRCommand","deviceId":"51101894"}',
    SelectCommand: '{"command":"Select","type":"IRCommand","deviceId":"51101894"}',
    StopCommand: '{"command":"Stop","type":"IRCommand","deviceId":"51101894"}',
    PlayCommand: '{"command":"Play","type":"IRCommand","deviceId":"51101894"}',
    RewindCommand: '{"command":"Rewind","type":"IRCommand","deviceId":"51101894"}',
    PauseCommand: '{"command":"Pause","type":"IRCommand","deviceId":"51101894"}',
    FastForwardCommand: '{"command":"FastForward","type":"IRCommand","deviceId":"51101894"}',
    SkipBackwardCommand: '{"command":"SkipBack","type":"IRCommand","deviceId":"51101894"}',
    SkipForwardCommand: '{"command":"SkipForward","type":"IRCommand","deviceId":"51101894"}',
    MenuCommand: '{"command":"Menu","type":"IRCommand","deviceId":"51101894"}',
    InfoCommand: '{"command":"Info","type":"IRCommand","deviceId":"51101894"}',
    ExitCommand: '{"command":"Cancel","type":"IRCommand","deviceId":"51101894"}',
    [Symbol(kCapture)]: false
  },
  Switch {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: 8,
    name: null,
    characteristics: [ [Name], [On] ],
    optionalCharacteristics: [ [Name] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'Watch Apple TV',
    UUID: '00000049-0000-1000-8000-0026BB765291',
    subtype: 'Watch Apple TV',
    activityId: '42759932',
    type: 'ACTVIVITY',
    [Symbol(kCapture)]: false
  },
  Switch {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: 8,
    name: null,
    characteristics: [ [Name], [On] ],
    optionalCharacteristics: [ [Name] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'HDMI 3',
    UUID: '00000049-0000-1000-8000-0026BB765291',
    subtype: 'HDMI 3',
    activityId: '42760083',
    type: 'ACTVIVITY',
    [Symbol(kCapture)]: false
  },
  Switch {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: 8,
    name: null,
    characteristics: [ [Name], [On] ],
    optionalCharacteristics: [ [Name] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'Watch Chromecast',
    UUID: '00000049-0000-1000-8000-0026BB765291',
    subtype: 'Watch Chromecast',
    activityId: '42760013',
    type: 'ACTVIVITY',
    [Symbol(kCapture)]: false
  },
  Switch {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: 8,
    name: null,
    characteristics: [ [Name], [On] ],
    optionalCharacteristics: [ [Name] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'Watch TV',
    UUID: '00000049-0000-1000-8000-0026BB765291',
    subtype: 'Watch TV',
    activityId: '42759958',
    type: 'ACTVIVITY',
    [Symbol(kCapture)]: false
  },
  Switch {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: null,
    name: null,
    characteristics: [ [Name], [On] ],
    optionalCharacteristics: [ [Name] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'GeneralVolumeUp',
    UUID: '00000049-0000-1000-8000-0026BB765291',
    subtype: 'GeneralVolumeUp',
    type: 'VOLUMEUP',
    volumeUpCommands: {
      '42759932': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
      '42759958': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
      '42760013': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
      '42760083': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}'
    },
    [Symbol(kCapture)]: false
  },
  Switch {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: null,
    name: null,
    characteristics: [ [Name], [On] ],
    optionalCharacteristics: [ [Name] ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'GeneralVolumeDown',
    UUID: '00000049-0000-1000-8000-0026BB765291',
    subtype: 'GeneralVolumeDown',
    type: 'VOLUMEDOWN',
    volumeDownCommands: {
      '42759932': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
      '42759958': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
      '42760013': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
      '42760083': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}'
    },
    [Symbol(kCapture)]: false
  },
  Lightbulb {
    _events: [Object: null prototype] {
      'service-configurationChange': [Function: bound ],
      'characteristic-change': [Function: bound ],
      'characteristic-warning': [Function: bound ]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    iid: null,
    name: null,
    characteristics: [ [Name], [On], [Brightness] ],
    optionalCharacteristics: [
      [Brightness],
      [CharacteristicValueActiveTransitionCount],
      [CharacteristicValueTransitionControl],
      [ColorTemperature],
      [Hue],
      [Name],
      [Saturation],
      [SupportedCharacteristicValueTransitionConfiguration]
    ],
    isHiddenService: false,
    isPrimaryService: false,
    linkedServices: [],
    displayName: 'GeneralVolumeSlider',
    UUID: '00000043-0000-1000-8000-0026BB765291',
    subtype: 'GeneralVolumeSlider',
    type: 'VOLUME',
    volumeUpCommands: {
      '42759932': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
      '42759958': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
      '42760013': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}',
      '42760083': '{"command":"VolumeUp","type":"IRCommand","deviceId":"51101893"}'
    },
    volumeDownCommands: {
      '42759932': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
      '42759958': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
      '42760013': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}',
      '42760083': '{"command":"VolumeDown","type":"IRCommand","deviceId":"51101893"}'
    },
    [Symbol(kCapture)]: false
  }
]
[2/22/2022, 8:55:48 AM] Publishing external accessory (name: HarmonyHub-TV, publishInfo: {
  username: 'CB:68:40:DB:D2:E8',
  pincode: '***-**-***',
  category: 31,
  port: undefined,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'bonjour-hap'
}).
[2/22/2022, 8:55:48 AM] HarmonyHub-TV 435F is running on port 37085.
[2/22/2022, 8:55:48 AM] Please add [HarmonyHub-TV 435F] manually in Home app. Setup Code: 267-94-821
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.Active
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.ActiveIdentifier
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -1
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCharacteristic : updating Characteristic.ActiveIdentifier to 0
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.Mute
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.Volume
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.CurrentVisibilityState : DEFAULT - 0
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.TargetVisibilityState : DEFAULT - 0
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.CurrentVisibilityState : DEFAULT - 0
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.TargetVisibilityState : DEFAULT - 0
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.CurrentVisibilityState : DEFAULT - 0
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.TargetVisibilityState : DEFAULT - 0
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.CurrentVisibilityState : DEFAULT - 0
[2/22/2022, 8:55:49 AM] [HarmonyHub] (HarmonyHub)INFO - GET Characteristic.TargetVisibilityState : DEFAULT - 0
[2/22/2022, 8:55:51 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[2/22/2022, 8:55:51 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -1
[2/22/2022, 8:55:52 AM] [HarmonyHub] INFO - stopping hub discovery, hubs found : undefined
[2/22/2022, 8:55:52 AM] [HarmonyHub] (undefined)INFO - received discovered hubs  undefined
[2/22/2022, 8:55:52 AM] [HarmonyHub] (undefined)ERROR - no hub found

That is all that shows up just on startup without trying anything.
When I try to turn on the HarmonyHub-WatchAppleTV activity through Homekit, the following shows up in the homebridge log:
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -1
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)checkOn : -1/ACTVIVITY/42760083/false/false
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)Got status for HDMI 3 - was false set to false
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -1
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)checkOn : -1/ACTVIVITY/42760013/false/false
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)Got status for Watch Chromecast - was false set to false
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -1
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)checkOn : -1/ACTVIVITY/42759958/false/false
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)Got status for Watch TV - was false set to false
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -1
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)checkOn : -1/ACTVIVITY/42759932/false/false
[2/22/2022, 9:08:22 AM] [HarmonyHub] (HarmonyHub)Got status for Watch Apple TV - was false set to false
[2/22/2022, 9:08:29 AM] [HarmonyHub] (HarmonyHub)INFO : SET on an activty not in skippedIfSameStateActivities list Watch Apple TV
[2/22/2022, 9:08:29 AM] [HarmonyHub] (HarmonyHub)INFO : Activty Watch Apple TV will be sent command 42759932
[2/22/2022, 9:08:29 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.8982263174666123","msg":"Activity in progress"}
[2/22/2022, 9:08:29 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.8982263174666123","msg":"Activity in progress"}
[2/22/2022, 9:08:31 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:31 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.289846321474464","msg":"Activity in progress"}
[2/22/2022, 9:08:31 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.289846321474464","msg":"Activity in progress"}
[2/22/2022, 9:08:33 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:33 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.670540215639728","msg":"Activity in progress"}
[2/22/2022, 9:08:33 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.670540215639728","msg":"Activity in progress"}
[2/22/2022, 9:08:35 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:35 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.9756976479493071","msg":"Activity in progress"}
[2/22/2022, 9:08:35 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.9756976479493071","msg":"Activity in progress"}
[2/22/2022, 9:08:37 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:37 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.2463955196949137","msg":"Activity in progress"}
[2/22/2022, 9:08:37 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.2463955196949137","msg":"Activity in progress"}
[2/22/2022, 9:08:39 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:39 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.13566099313602997","msg":"Activity in progress"}
[2/22/2022, 9:08:39 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.13566099313602997","msg":"Activity in progress"}
[2/22/2022, 9:08:41 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:41 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.21568121510705107","msg":"Activity in progress"}
[2/22/2022, 9:08:41 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.21568121510705107","msg":"Activity in progress"}
[2/22/2022, 9:08:43 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:44 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.7045603552002437","msg":"Activity in progress"}
[2/22/2022, 9:08:44 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.7045603552002437","msg":"Activity in progress"}
[2/22/2022, 9:08:46 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:46 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.9268036401694126","msg":"Activity in progress"}
[2/22/2022, 9:08:46 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.9268036401694126","msg":"Activity in progress"}
[2/22/2022, 9:08:48 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:48 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.6460067017424991","msg":"Activity in progress"}
[2/22/2022, 9:08:48 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.6460067017424991","msg":"Activity in progress"}
[2/22/2022, 9:08:50 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:50 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.12028471702330767","msg":"Activity in progress"}
[2/22/2022, 9:08:50 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.12028471702330767","msg":"Activity in progress"}
[2/22/2022, 9:08:52 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:52 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.0670935709624545","msg":"Activity in progress"}
[2/22/2022, 9:08:52 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.0670935709624545","msg":"Activity in progress"}
[2/22/2022, 9:08:54 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:54 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.3795837679855425","msg":"Activity in progress"}
[2/22/2022, 9:08:54 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.3795837679855425","msg":"Activity in progress"}
[2/22/2022, 9:08:56 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:56 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.3547353943843472","msg":"Activity in progress"}
[2/22/2022, 9:08:56 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.3547353943843472","msg":"Activity in progress"}
[2/22/2022, 9:08:58 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : RETRY to send command 42759932
[2/22/2022, 9:08:58 AM] [HarmonyHub] (HarmonyHub)INFO - activityCommand : Returned from hub {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.9260155963362475","msg":"Activity in progress"}
[2/22/2022, 9:08:58 AM] [HarmonyHub] (HarmonyHub)WARNING - activityCommand : could not SET status : {"cmd":"harmony.activityengine?runactivity","code":202,"id":"0.9260155963362475","msg":"Activity in progress"}
[2/22/2022, 9:09:00 AM] [HarmonyHub] (HarmonyHub)ERROR - activityCommand : could not SET status, no more RETRY : 42759932
[2/22/2022, 9:09:00 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -1
[2/22/2022, 9:09:00 AM] [HarmonyHub] (HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -1

When I restart homebridge, I do also see this (maybe this is still expected):
^[[0;37m[2/22/2022, 9:14:46 AM] ^[[0m^[[0;36m[Homebridge UI]^[[0m Homebridge restart request received
^[[0;37m[2/22/2022, 9:14:46 AM] ^[[0m^[[0;36m[Homebridge UI]^[[0m UI / Bridge settings have not changed; only restarting Homebridge process
^[[0;37m[2/22/2022, 9:14:46 AM] ^[[0m^[[0;36m[Homebridge UI]^[[0m Sending SIGTERM to Homebridge
^[[37m[2/22/2022, 9:14:46 AM] ^[[39mGot SIGTERM, shutting down Homebridge...
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m INFO - shutdown
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m (HarmonyHub)ERROR (1)- refreshCurrentActivity Error: WebSocket closed with reason: undefined (undefined). - Stack : Error: WebSocket closed with reason: undefined (undefined).
    at WebSocketAsPromised._handleClose (/usr/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:353:19)
    at WebSocket.listener (/usr/lib/node_modules/homebridge-harmony/node_modules/websocket-as-promised/src/index.js:311:64)
    at WebSocket.emit (node:events:520:28)
    at WebSocket.emitClose (/usr/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:246:10)
    at Socket.socketOnClose (/usr/lib/node_modules/homebridge-harmony/node_modules/ws/lib/websocket.js:1127:15)
    at Socket.emit (node:events:520:28)
    at TCP.<anonymous> (node:net:687:12)
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)keysMap is :{}^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -9999^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -9999^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)WARNING : no current Activity^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -9999^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -9999^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)WARNING : no current Activity^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -9999^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -9999^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)WARNING : no current Activity^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)INFO - refreshCurrentActivity : Refresh needed since last update is too old or current Activity is not set : -9999^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)INFO - refreshCurrentActivity : Cancelling refresh since a refresh is allready in progress -9999^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)WARNING : no current Activity^[[39m
^[[37m[2/22/2022, 9:14:46 AM] ^[[39m^[[36m[HarmonyHub]^[[39m ^[[90m(HarmonyHub)WARNING - refreshCharacteristic : no current Activity^[[39m
^[[37m[2/22/2022, 9:14:51 AM]^[[0m ^[[36m[HB Supervisor]^[[0m Homebridge Process Ended. Code: 143, Signal: null

Let me know if there's anything else that might be useful.
Thanks!

@mattvw you should remove the other platform since you seem to have only one hub :
"otherPlatforms": [
{
"sortInput": 0
}
],

latest version is on it and i have no more error message so far

@nicoduj Thanks, I've removed that from my config and restarted Homebridge. I no longer see the discovery messages and error message on startup now.
However, still nothing was working correctly. I was still seeing the same other messages.
However, I decided to try pulling the power on my Harmony Hub and plugging it back in.... And voila, everything started working again! I apologize for the false issue... I am personally embarrassed I didn't think to try "turning if off and back on again" from the start (I should have known better...)....
For what it's worth, I also no longer see the "This plugin slows down Homebridge" or the WebSocket/socket closed messages anymore with version 1.6.0beta3 that I was seeing previously at times with version 1.5.4.
Thanks for your help regardless!

Hi,
sorry, but I saw some issue on migration tat I wanted to check, but did not have the time to do so. Will try ion the next few weeks ...


Feature Request: Ability to Pin Selected Files to the Top of a Specific Folder

What feature or improvement do you think would benefit Files?
Feature Request: Ability to Pin Selected Files to the Top of a Specific Folder
I am looking for a way to conveniently access specific files in a folder without having to rename or search for them. In my case, I have a collection of resume documents stored in a single folder. I would love to have the ability to pin selected files, such as key resumes, to the top of this specific folder for easy and quick access.
To further explain, I have this folder pinned to my quick access in Windows File Explorer, so I frequently access it. My request is for a feature that allows us to pin selected files to the top of the folder, similar to how we can pin folders to quick access. This would allow me to immediately see my selected resume files at the top when I open this specific folder, instead of having to either rename them or use the search function to find them among a large number of files.
I understand that I can use the search bar and input keywords to find these files, but as many of us may have experienced, the Windows File Explorer searching function can sometimes be slow. There are instances when visually scanning for the file might be quicker, especially when there aren't many files in the folder.
Having a consistent method to pin important files to the top of a specific folder would greatly enhance the user experience and efficiency when navigating through files and folders in Windows.
Many thanks for considering this feature request, and I would greatly appreciate any feedback on this!
Requirements
Requirements - To make the pinning of selected files to the top of a specific folder possible, the following high-level requirements are proposed:
1. Develop a User Interface (UI) option for pinning/unpinning files:
This proposal will introduce a right-click context menu option or a toolbar button in the File Explorer/Files App for pinning and unpinning selected files.
2. Establish a Pinning System within the File System:
This proposal will create a system for marking and recognizing files that have been pinned within the Windows File System.
3. Display Pinned Files at the Top of the Folder View:
This proposal will ensure that pinned files are visually distinct and are always displayed at the top of the folder, regardless of the current sorting method.
4. Save and Retain Pinning Preferences:
This proposal will make sure that the pinning preferences of a user are saved and retained, even after system reboots or updates.
5. Integrate Pinning Feature into Quick Access:
This proposal will allow pinned files in specific folders to also appear at the top when those folders are accessed via Quick Access.
6. Ensure Security and Permissions Integrity:
This proposal will confirm that the pinning feature respects and does not alter the existing file and folder permissions.
7. Design for Performance and Efficiency:
This proposal will ensure that the pinning feature is designed to have minimal impact on system performance and responsiveness.

These high-level requirements are designed to give a comprehensive overview of the necessary changes and considerations to make the feature of pinning selected files to the top of a specific folder possible. Each of these items would likely involve more detailed technical specifications in a full proposal.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.2134
Comments
No response

Thank you for your feedback, have you considered using the tagging feature?


[BUG] Fix resource leak in to_json

Describe the bug
Through manual testing, I found some resource leak warnings.
Steps/Code to reproduce bug
I am debugging now and should have a PR up fairly soon.
Expected behavior
Environment details (please complete the following information)
Additional context

Fixed in https://github.com/NVIDIA/spark-rapids/pull/9879


Please add os.O_TRUNC to writeFlags

...otherwise when the target file already exists downloading will with ErrBadLength because the existing file may have a different length.

This was by design, but I'm happy to rethink it. If the existing file is larger than the remote file, then it can't possibly be the same file. Therefore, grab should exit with a user-actionable error.
I've changed this now, if Request.NoResume is set to true, the local file will always be overwritten, except if the size exactly matches the remote file.


Small fix to liveness analysis

Not sure how this was not caught until now, but I clearly need to relearn my basic boolean algebra.

@adlerjohn I think this is the root cause of the transfer_to_output problem I was seeing.. Checking where we are now. I will add a test for this later.
Plane about to fly... 🛸

Can you add a failing test for this? Not sure what this actually fixes!

Yes this needs a test of course... fixes tests that have a lot of nested jumps.
I will add a test as soon as I land.


Put ConsoleLogger writes on a background thread

#532
Built on top of https://github.com/aspnet/Logging/pull/536 from @benaadams

We need some throughput tests before and after.

I'll do some perf testing today

Test results? :)

Metric
Before
After

Average (RPS)
4001.162
5007.562

Max (RPS)
4618.2
6120.87

Standard deviation
824.096
824.499

CPU was around 100% the whole time


ERROR Error: Cannot find a differ supporting object '[object Object],[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays.

Bug, feature request, or proposal:
IE11 issue only when using  mat-tab-group

Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.


Read from iPhone/iPad sensor?

I have a Mac mini with 2x LG UltraFine monitors so I've got nothing to read from. It would be really cool to be able to get the ambient light reading from a close by iPhone/iPad to be able to adjust the brightness of my monitors.  Certainly beyond my capabilities, but thinking it wouldn't be too difficult for someone who knows what they are doing.

That's a cool idea, but unfortunately not trivial and outside of the scope of this project.


Feature Request #01

Make it possible to drag/move a user when hands are being held.

maybe will do it theres been a few requests for this

It's been a month now since I requested it and still no updates, please do not forget about it.

It has seemed you have forgotten about it, I'm disappointed that's all.

Modders do this for free and their own free time.
You could always code this feature yourself and submit as a PullRequest, or get more people show more interest about this


Evaluate NousResearch/Nous-Hermes-Llama2

Evals completed today, this is a Very Good coding model that's able to beat our test in both languages which is rare.
I only wish we had a tougher test to give it.