gadget-monk / homebridge-poolcontroller

Homebridge plugin for Pentair pools
6 stars 4 forks source link

Homebridge shows "No Response" in HomeKit #6

Closed gavc1 closed 3 years ago

gavc1 commented 3 years ago

Installing this plugin works great the first time, but after a restart Homebridge looks like its running (according to the UI) but no devices can connect, they all say "No Response" The only way to get it to come back online is to disable or remove the PoolController plugin. Reinstalling the plug-in exhibits the same behaviour, works well until the next restart.

Using Nodejs Pool Controller 6.1.0

Here are my logs:

[12/4/2020, 11:44:20 AM] [PoolControllerPlatform] Pool controller reports it is ready, getting initial data [12/4/2020, 11:44:20 AM] [PoolControllerPlatform] Skipping circuit/accessory Spa [12/4/2020, 11:44:20 AM] [PoolControllerPlatform] Creating new circuit accessory: circuitNumber: 2, id: poolController.2.Jets [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Creating new circuit accessory: circuitNumber: 3, id: poolController.3.Air Blower [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Creating new circuit accessory: circuitNumber: 4, id: poolController.4.INTELIFO [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Creating new circuit accessory: circuitNumber: 5, id: poolController.5.Lights [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Skipping circuit/accessory Pool [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Skipping circuit/accessory AUX 5 [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Skipping circuit/accessory AUX 6 [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Skipping circuit/accessory AUX 7 [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Skipping circuit/accessory AUX 8 [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Adding new body: Pool [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Updating data for Pool body: state: true [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Adding new body: Spa [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Updating data for Spa body: state: false [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Adding new pump accessory: Intelliflo VSF [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Updating pump to true [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] EasyTouch controller not found, skipping controller accessory [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Creating new temp sensor: Air Temperature [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Supress Water sensor option set to False (or not set), attempting creation of water sensor accessory [12/4/2020, 11:44:23 AM] [PoolControllerPlatform] Creating new temp sensor: Water Temperature

Restart...

[12/4/2020, 11:45:26 AM] [PoolControllerPlatform] Setting Body Spa to true [12/4/2020, 11:45:27 AM] [PoolControllerPlatform] Updating data for Pool body: state: false [12/4/2020, 11:45:28 AM] [PoolControllerPlatform] Updating data for Spa body: state: true [12/4/2020, 11:45:42 AM] [PoolControllerPlatform] Updating temp (and all other) data for body: Pool [12/4/2020, 11:45:42 AM] [PoolControllerPlatform] Updating data for Pool body: state: false [12/4/2020, 11:45:42 AM] [PoolControllerPlatform] Updating temp (and all other) data for body: Spa [12/4/2020, 11:45:42 AM] [PoolControllerPlatform] Updating data for Spa body: state: true [12/4/2020, 11:45:49 AM] [PoolControllerPlatform] Updating data for Pool body: state: false [12/4/2020, 11:45:49 AM] [PoolControllerPlatform] Updating data for Pool body: state: true [12/4/2020, 11:45:49 AM] [PoolControllerPlatform] Updating data for Spa body: state: false [12/4/2020, 11:45:50 AM] [PoolControllerPlatform] Updating data for Pool body: state: true [12/4/2020, 11:45:52 AM] [PoolControllerPlatform] Updating pump to true

[12/4/2020, 11:46:19 AM] Registering platform 'homebridge-poolcontroller.PoolControllerPlatform' Jets (undefined) - added to local current array from cache with UUID:40540b50-890b-49aa-ba45-3a9a4dc880d5 Air Blower (undefined) - added to local current array from cache with UUID:5c02607c-cbe9-4320-962d-798717ec7cdb INTELIFO (undefined) - added to local current array from cache with UUID:713e1a3b-2ae6-41f0-ac63-23eb3e6d7efe Lights (undefined) - added to local current array from cache with UUID:b28aa98d-6bd1-4e06-b8bc-9674ade0e63c Pool (undefined) - added to local current array from cache with UUID:5af980d7-875c-4a94-a23b-231811b90f31 Spa (undefined) - added to local current array from cache with UUID:4b0ac11d-89d0-4c4a-b3a4-bb4fe86f885f Intelliflo VSF (undefined) - added to local current array from cache with UUID:d0d721ad-5b3f-4c0a-b8c7-bd5fc7785b93 Air Temperature (undefined) - added to local current array from cache with UUID:26b42357-68e4-4409-9bba-52f966a8bf52 Water Sensor (undefined) - added to local current array from cache with UUID:ffb795bc-29ff-495d-a8e4-b42a2c318f87

[12/4/2020, 11:46:21 AM] [PoolControllerPlatform] Pool controller not ready, retrying... [12/4/2020, 11:46:32 AM] [PoolControllerPlatform] Pool controller reports it is ready, getting initial data

[12/4/2020, 11:46:39 AM] [PoolControllerPlatform] Updating temp (and all other) data for body: Pool [12/4/2020, 11:46:39 AM] [PoolControllerPlatform] Updating data for Pool body: state: true [12/4/2020, 11:46:39 AM] [PoolControllerPlatform] Updating temp (and all other) data for body: Spa [12/4/2020, 11:46:39 AM] [PoolControllerPlatform] Updating data for Spa body: state: false [12/4/2020, 11:46:39 AM] [PoolControllerPlatform] Updating data for Pool body: state: true [12/4/2020, 11:47:49 AM] [PoolControllerPlatform] Updating data for Pool body: state: false [12/4/2020, 11:47:50 AM] [PoolControllerPlatform] Updating data for Spa body: state: true [12/4/2020, 11:48:02 AM] [PoolControllerPlatform] Updating pump to true [12/4/2020, 11:48:30 AM] [PoolControllerPlatform] Updating pump to true [12/4/2020, 11:48:45 AM] [PoolControllerPlatform] Updating data for Pool body: state: true [12/4/2020, 11:48:45 AM] [PoolControllerPlatform] Updating data for Spa body: state: false [12/4/2020, 11:48:45 AM] [PoolControllerPlatform] Updating data for Pool body: state: false [12/4/2020, 11:48:46 AM] [PoolControllerPlatform] Updating data for Pool body: state: true [12/4/2020, 11:48:51 AM] [PoolControllerPlatform] Updating pump to true [12/4/2020, 11:49:13 AM] [PoolControllerPlatform] Updating pump to true [12/4/2020, 11:49:40 AM] [PoolControllerPlatform] Updating pump to true

gavc1 commented 3 years ago

Regression shows the issue only exhibits in v3.1 and v3.1.1, v3.0.11 works fine

gadget-monk commented 3 years ago

What version of homebridge are you using? I am on 1.1.6, node.js Version 14.15.1

gavc1 commented 3 years ago

1.2.3 nodejs 14.15.1

gadget-monk commented 3 years ago

can you try the updated version I pushed out today? I restarted a few times and am still able to control accessories, but I am on hb version 1.1.6.

gavc1 commented 3 years ago

I tried v3.1.3 and same issue sorry.

gavc1 commented 3 years ago

Is there and debug logging I can enable to help troubleshoot?

gadget-monk commented 3 years ago

Yes, can you try enabling debug logging in homebridge and see if it reports any errors? I can’t seem to reproduce this behavior on my side