hart2hart Posted August 21, 2023 Share Posted August 21, 2023 @markv58 The NS was almost instantaneous with updates to virtual devices. With one of the last PG3x updates or last IOX update the NS has starting being slow or missing updates to the virtual devices from both the AC and UD Mobile. Short log segment below shows the slowness. I’ve reinstalled and restarted 2023-08-21 10:47:14,444 Command udi_interface INFO Virtual:storeValues: Storing Values2023-08-21 10:47:14,445 Command udi_interface INFO Virtual:listValues: {'switchStatus': 0}2023-08-21 10:47:19,517 MQTT udi_interface.interface INFO interface:_message: Successfully set 02 :: ST to 0 UOM 252023-08-21 10:47:36,730 Command udi_interface INFO Virtual:storeValues: Storing Values2023-08-21 10:47:36,731 Command udi_interface INFO Virtual:listValues: {'switchStatus': 1}2023-08-21 10:47:46,900 MQTT udi_interface.interface INFO interface:_message: Successfully set 02 :: ST to 1 UOM 252023-08-21 10:47:55,162 Command udi_interface INFO Virtual:storeValues: Storing Values2023-08-21 10:47:55,163 Command udi_interface INFO Virtual:listValues: {'switchStatus': 0}2023-08-21 10:47:55,231 MQTT udi_interface.interface INFO interface:_message: Successfully set 02 :: ST to 0 UOM 252023-08-21 10:48:01,318 Command udi_interface INFO Virtual:storeValues: Storing Values2023-08-21 10:48:01,320 Command udi_interface INFO Virtual:listValues: {'switchStatus': 1}2023-08-21 10:48:01,384 MQTT udi_interface.interface INFO interface:_message: Successfully set 02 :: ST to 1 UOM 252023-08-21 10:48:08,745 Command udi_interface INFO Virtual:storeValues: Storing Values2023-08-21 10:48:08,746 Command udi_interface INFO Virtual:listValues: {'switchStatus': 0}2023-08-21 10:48:08,810 MQTT udi_interface.interface INFO interface:_message: Successfully set 02 :: ST to 0 UOM 252023-08-21 10:48:16,861 Command udi_interface INFO Virtual:storeValues: Storing Values2023-08-21 10:48:16,862 Command udi_interface INFO Virtual:listValues: {'switchStatus': 1}2023-08-21 10:48:26,945 MQTT udi_interface.interface INFO interface:_message: Successfully set 02 :: ST to 1 UOM 252023-08-21 10:48:40,805 Command udi_interface INFO Virtual:storeValues: Storing Values2023-08-21 10:48:40,806 Command udi_interface INFO Virtual:listValues: {'switchStatus': 0}2023-08-21 10:48:40,871 MQTT udi_interface.interface INFO interface:_message: Successfully set 02 :: ST to 0 UOM 252023-08-21 10:48:43,691 Command udi_interface INFO Virtual:storeValues: Storing Values2023-08-21 10:48:43,692 Command udi_interface INFO Virtual:listValues: {'switchStatus': 1}2023-08-21 10:48:53,805 MQTT udi_interface.interface INFO interface:_message: Successfully set 02 :: ST to 1 UOM 25 Link to comment
bpwwer Posted August 21, 2023 Share Posted August 21, 2023 It looks like a number of the commands had a delay of about 10 seconds. That corresponds with the PG3x send timeout of about 5 seconds meaning that the first two attempts PG3x made to update the IoX status timed out. You can verify this in the PG3x log by looking for lines that start with [Try 2] and [Try 3] If you're seeing those then that's the problem. I'd suggest submitting a ticket as this seems more like a PG3x or IoX problem than a node server problem. Link to comment
hart2hart Posted August 22, 2023 Author Share Posted August 22, 2023 Thanks @bpwwer. I've seen same thing from at least two other NS. I'll submit them with logs. Link to comment
JTsao Posted August 22, 2023 Share Posted August 22, 2023 (edited) Would this explain why my Logitech harmony hub remote control of lighting and fans has become extremely slow? I use the Hue Emulator NS to set a Virtual NS button, which runs a program to adjust lighting or fans Edited August 22, 2023 by JTsao Link to comment
Recommended Posts