kuestess / homebridge-platform-insteonlocal

Homebridge platform plugin for local Insteon control
Other
76 stars 26 forks source link

Problem with Insteon Plugin on Hoobs #254

Open rschuler1964 opened 2 years ago

rschuler1964 commented 2 years ago

5/26/2022, 10:57:17 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' was slow to respond! 5/26/2022, 10:57:17 AM Platform Insteonlocal Bridge InsteonLocal Got updated status for Plant Stand 5/26/2022, 10:57:17 AM Platform Insteonlocal Bridge InsteonLocal Getting power state for Plant Stand 5/26/2022, 10:57:19 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Bar Can Lights 5/26/2022, 10:57:20 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Theater Lights 5/26/2022, 10:57:20 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Wine Cellar Lights 5/26/2022, 10:57:23 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' didn't respond at all!. Please check that you properly call the callback! 5/26/2022, 10:57:24 AM Platform Insteonlocal Bridge [ WARNING ] unhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed') 5/26/2022, 10:57:26 AM Platform Insteonlocal Bridge InsteonLocal Setting power state of Basement Lights to off 5/26/2022, 10:57:27 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Bar Can Lights 5/26/2022, 10:57:27 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Theater Lights 5/26/2022, 10:57:27 AM Platform Insteonlocal Bridge InsteonLocal Got updated status for Deck Plug 5/26/2022, 10:57:27 AM Platform Insteonlocal Bridge InsteonLocal Getting power state for Deck Plug 5/26/2022, 10:57:29 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' was slow to respond! 5/26/2022, 10:57:32 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Bar Can Lights 5/26/2022, 10:57:35 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' didn't respond at all!. Please check that you properly call the callback! 5/26/2022, 10:57:36 AM Platform Insteonlocal Bridge [ WARNING ] unhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed') 5/26/2022, 10:57:38 AM Platform Insteonlocal Bridge InsteonLocal Setting power state of Basement Lights to off 5/26/2022, 10:57:41 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' was slow to respond! 5/26/2022, 10:57:41 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Bar Can Lights 5/26/2022, 10:57:42 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Theater Lights 5/26/2022, 10:57:44 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Bar Can Lights 5/26/2022, 10:57:44 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Theater Lights 5/26/2022, 10:57:47 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' didn't respond at all!. Please check that you properly call the callback! 5/26/2022, 10:57:48 AM Platform Insteonlocal Bridge [ WARNING ] unhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed') 5/26/2022, 10:57:50 AM Platform Insteonlocal Bridge InsteonLocal Setting power state of Basement Lights to off 5/26/2022, 10:57:51 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Bar Can Lights 5/26/2022, 10:57:51 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Theater Lights 5/26/2022, 10:57:53 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' was slow to respond! 5/26/2022, 10:57:59 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' didn't respond at all!. Please check that you properly call the callback! 5/26/2022, 10:58:00 AM Platform Insteonlocal Bridge [ WARNING ] unhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed') 5/26/2022, 10:58:00 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Bar Can Lights 5/26/2022, 10:58:01 AM Platform Insteonlocal Bridge InsteonLocal Got updated status for Front Porch Outlet 5/26/2022, 10:58:01 AM Platform Insteonlocal Bridge InsteonLocal Getting power state for Front Porch Outlet 5/26/2022, 10:58:02 AM Platform Insteonlocal Bridge InsteonLocal Setting power state of Basement Lights to off 5/26/2022, 10:58:03 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Bar Can Lights 5/26/2022, 10:58:03 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Theater Lights 5/26/2022, 10:58:03 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Wine Cellar Lights 5/26/2022, 10:58:05 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' was slow to respond! 5/26/2022, 10:58:08 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Bar Can Lights 5/26/2022, 10:58:08 AM Platform Insteonlocal Bridge InsteonLocal Got off event for Downstairs Theater Lights 5/26/2022, 10:58:09 AM Alexa Bridge Alexa PowerController TurnOff FD:62:23:F1:17:96 undefined Error: ESOCKETTIMEDOUT at ClientRequest. (/var/lib/hoobs/alexabridge/node_modules/request/request.js:816:19) at Object.onceWrapper (node:events:641:28) at ClientRequest.emit (node:events:527:28) at Socket.emitRequestTimeout (node:_http_client:771:9) at Object.onceWrapper (node:events:641:28) at Socket.emit (node:events:539:35) at Socket._onTimeout (node:net:516:8) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) { code: 'ESOCKETTIMEDOUT', connect: false, attempts: 5 } 5/26/2022, 10:58:11 AM Platform Insteonlocal Bridge [ ERROR ] [Platform Insteonlocal Bridge BE9B@On] The write handler for the characteristic 'On' on the accessory 'Basement Lights' didn't respond at all!. Please check that you properly call the callback! 5/26/2022, 10:58:12 AM Platform Insteonlocal Bridge [ WARNING ] unhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed')

kuestess commented 2 years ago

@rschuler1964 Most of the messages above are hoops-specific messages, potentially associated with a lot of Insteon traffic. Can you help me understand if this has any impact on controlling devices and/or status?

rschuler1964 commented 2 years ago

Hi, Most of the time, the Insteon scenes turn on/off correctly with Alexa. However, Alexa says can’t reach the Insteon hub and something about a “null”. Probably, 25% of the time, Alexa says the correct response.

On Fri, May 27, 2022 at 10:24 AM kuestess @.***> wrote:

@rschuler1964 https://github.com/rschuler1964 Most of the messages above are hoops-specific messages, potentially associated with a lot of Insteon traffic. Can you help me understand if this has any impact on controlling devices and/or status?

— Reply to this email directly, view it on GitHub https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1139721088, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLNA6GPSCFLA4VH5NEMS33VMDSLNANCNFSM5XCOWPYA . You are receiving this because you were mentioned.Message ID: @.*** com>

rschuler1964 commented 2 years ago

We just got home and asked Alexa to turn on Inside Lights and Alexa said "Inside lights aren't responding, please check the network connection and power supply". This is very frustrating, but they finally came on. Here is the info in the log file...

5/27/2022, 7:47:42 PMPlatform Insteonlocal BridgeInsteonLocalSetting power state of Inside Lights to on5/27/2022, 7:47:45 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'Inside Lights' was slow to respond!5/27/2022, 7:47:51 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'Inside Lights' didn't respond at all!. Please check that you properly call the callback!5/27/2022, 7:47:52 PMPlatform Insteonlocal BridgeWARNINGunhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed')5/27/2022, 7:47:54 PMPlatform Insteonlocal BridgeInsteonLocalSetting power state of Inside Lights to on5/27/2022, 7:47:55 PMPlatform Insteonlocal BridgeInsteonLocalGetting status of scene device Family Room Can Lights5/27/2022, 7:47:55 PMPlatform Insteonlocal BridgeInsteonLocalGetting status of scene device Family Room Fan Light5/27/2022, 7:47:55 PMPlatform Insteonlocal BridgeInsteonLocalGetting status of scene device Kitchen Can Lights5/27/2022, 7:47:55 PMPlatform Insteonlocal BridgeInsteonLocalGetting status of scene device Kitchen Island Lights5/27/2022, 7:47:55 PMPlatform Insteonlocal BridgeInsteonLocalGetting status of scene device Kitchen Table Light5/27/2022, 7:47:56 PMAlexa BridgeAlexaPowerController TurnOn FD:62:23:F1:17:96 undefined null5/27/2022, 7:47:57 PMPlatform Insteonlocal BridgeInsteonLocalGetting status for Family Room Can Lights5/27/2022, 7:47:58 PMPlatform Insteonlocal BridgeInsteonLocalGetting status for Family Room Fan Light5/27/2022, 7:47:58 PMPlatform Insteonlocal BridgeInsteonLocalGetting status for Kitchen Can Lights5/27/2022, 7:47:58 PMPlatform Insteonlocal BridgeInsteonLocalGetting status for Kitchen Island Lights5/27/2022, 7:47:58 PMPlatform Insteonlocal BridgeInsteonLocalGetting status for Kitchen Table Light5/27/2022, 7:48:09 PMPlatform Insteonlocal Bridge InsteonLocalGot updated status for Plant Stand5/27/2022, 7:48:09 PMPlatform Insteonlocal BridgeInsteonLocalGetting power state for Plant Stand5/27/2022, 7:48:18 PMPlatform Insteonlocal BridgeInsteonLocalGot updated status for Deck Plug5/27/2022, 7:48:18 PMPlatform Insteonlocal BridgeInsteonLocalGetting power state for Deck Plug5/27/2022, 7:48:39 PMPlatform Insteonlocal Bridge InsteonLocalGot updated status for Back Fountain5/27/2022, 7:48:39 PMPlatform Insteonlocal BridgeInsteonLocalGetting power state for Back Fountain5/27/2022, 7:48:52 PMPlatform Insteonlocal BridgeInsteonLocalGot updated status for Front Porch Outlet5/27/2022, 7:48:52 PMPlatform Insteonlocal Bridge InsteonLocalGetting power state for Front Porch Outlet5/27/2022, 7:56:46 PMPlatform Insteonlocal BridgeInsteonLocalClosing connection to Hub...5/27/2022, 7:56:51 PMGovee BridgeGovee[Basement Temperature] current temperature [21.13°C].5/27/2022, 7:56:51 PMGovee BridgeGovee[Basement Temperature] current humidity [59.53%].5/27/2022, 7:56:51 PMGovee BridgeGovee[Family Room] current temperature [24.19°C].5/27/2022, 7:56:51 PMGovee BridgeGovee[Family Room] current humidity [52.26%].5/27/2022, 7:56:51 PMGovee BridgeGovee[Florida Room] current temperature [22.05°C].5/27/2022, 7:56:51 PMGovee BridgeGovee[Florida Room] current humidity [60.49%].5/27/2022, 7:56:51 PMPlatform Insteonlocal BridgeInsteonLocalReconnecting to Hub...5/27/2022, 7:56:51 PMPlatform Insteonlocal BridgeInsteonLocalConnected to Insteon Model 2245 Hub...

On Fri, May 27, 2022 at 11:25 AM Bob Schuler @.***> wrote:

Hi, Most of the time, the Insteon scenes turn on/off correctly with Alexa. However, Alexa says can’t reach the Insteon hub and something about a “null”. Probably, 25% of the time, Alexa says the correct response.

On Fri, May 27, 2022 at 10:24 AM kuestess @.***> wrote:

@rschuler1964 https://github.com/rschuler1964 Most of the messages above are hoops-specific messages, potentially associated with a lot of Insteon traffic. Can you help me understand if this has any impact on controlling devices and/or status?

— Reply to this email directly, view it on GitHub https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1139721088, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLNA6GPSCFLA4VH5NEMS33VMDSLNANCNFSM5XCOWPYA . You are receiving this because you were mentioned.Message ID: @.*** com>

metaton8086 commented 2 years ago

I was having something similar in Homebridge. There have been a couple of updates recently, so I am not sure exactly when it started, but I was getting errors stating "unable to get power state" of the various devices. The command shows it was received by Homebridge, but if the command executed successfully was maybe 50% of the time. Because it could not get the power status, it seemed to assume the current power state was valid, when it was not. I manually downgraded to 0.4.22 which is several versions back. No issues now.

zzack1 commented 2 years ago

BEFORE connecting your Hoobs to Alexa, you will need to go in and disable the insteon skill then manually delete all the insteon devices & scenes. This will help resolve future problems. If you followed this step from discord you would not have these issues

rschuler1964 commented 2 years ago

I had already deleted (weeks ago) the Insteon Skill from Alexa. However, tonight I removed the Alexa plugin from Hoobs, deleted all the Hoobs Insteon Devices from the Alexa skill, rediscovered them and still have the same problem.

On Sat, May 28, 2022 at 4:23 PM zzack1 @.***> wrote:

BEFORE connecting your Hoobs to Alexa, you will need to go in and disable the insteon skill then manually delete all the insteon devices & scenes. This will help resolve future problems. If you followed this step from discord you would not have these issues

— Reply to this email directly, view it on GitHub https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1140331283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLNA6GVL5XBGKIEX54YZ6LVMKFEPANCNFSM5XCOWPYA . You are receiving this because you were mentioned.Message ID: @.*** com>

zzack1 commented 2 years ago

Even though the Alexa skill was deleted you still need to manually go through and delete all the devices and scenes in the Alexa app. The only way to delete them is one by one (according to the Amazon Alexa support team) the null is when Alexa can not reach the device you are trying to control.

On May 28, 2022, at 8:00 PM, rschuler1964 @.***> wrote:

 I had already deleted (weeks ago) the Insteon Skill from Alexa. However, tonight I removed the Alexa plugin from Hoobs, deleted all the Hoobs Insteon Devices from the Alexa skill, rediscovered them and still have the same problem.

On Sat, May 28, 2022 at 4:23 PM zzack1 @.***> wrote:

BEFORE connecting your Hoobs to Alexa, you will need to go in and disable the insteon skill then manually delete all the insteon devices & scenes. This will help resolve future problems. If you followed this step from discord you would not have these issues

— Reply to this email directly, view it on GitHub https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1140331283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLNA6GVL5XBGKIEX54YZ6LVMKFEPANCNFSM5XCOWPYA . You are receiving this because you were mentioned.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

rschuler1964 commented 2 years ago

That’s exactly what I did. I went into Alexa on my laptop and manually deleted each Hoobs created Insteon devices and scenes (approximately 70-80). The ones that were previously there with the Insteon Alexa skill were deleted over a month ago. Then I rediscovered all the Insteon Hoobs created devices and scenes. Still the same problem.

On Sun, May 29, 2022 at 12:43 PM zzack1 @.***> wrote:

Even though the Alexa skill was deleted you still need to manually go through and delete all the devices and scenes in the Alexa app. The only way to delete them is one by one (according to the Amazon Alexa support team) the null is when Alexa can not reach the device you are trying to control.

On May 28, 2022, at 8:00 PM, rschuler1964 @.***> wrote:

 I had already deleted (weeks ago) the Insteon Skill from Alexa. However, tonight I removed the Alexa plugin from Hoobs, deleted all the Hoobs Insteon Devices from the Alexa skill, rediscovered them and still have the same problem.

On Sat, May 28, 2022 at 4:23 PM zzack1 @.***> wrote:

BEFORE connecting your Hoobs to Alexa, you will need to go in and disable the insteon skill then manually delete all the insteon devices & scenes. This will help resolve future problems. If you followed this step from discord you would not have these issues

— Reply to this email directly, view it on GitHub < https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1140331283 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AZLNA6GVL5XBGKIEX54YZ6LVMKFEPANCNFSM5XCOWPYA

. You are receiving this because you were mentioned.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

— Reply to this email directly, view it on GitHub https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1140494279, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLNA6ADER6NC7R7YGMIMADVMOUCTANCNFSM5XCOWPYA . You are receiving this because you were mentioned.Message ID: @.*** com>

rschuler1964 commented 2 years ago

Here is the latest log with the errors...

5/29/2022, 2:14:23 PMPlatform Insteonlocal BridgeInsteonLocalSetting power state of All Basement Lights to off5/29/2022, 2:14:26 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' was slow to respond!5/29/2022, 2:14:32 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' didn't respond at all!. Please check that you properly call the callback!5/29/2022, 2:14:33 PMPlatform Insteonlocal BridgeInsteonLocalGot updated status for Deck Plug5/29/2022, 2:14:33 PMPlatform Insteonlocal BridgeInsteonLocalGetting power state for Deck Plug5/29/2022, 2:14:35 PMPlatform Insteonlocal BridgeInsteonLocalSetting power state of All Basement Lights to off5/29/2022, 2:14:35 PMPlatform Insteonlocal BridgeWARNINGunhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed')5/29/2022, 2:14:38 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' was slow to respond!5/29/2022, 2:14:44 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' didn't respond at all!. Please check that you properly call the callback!5/29/2022, 2:14:46 PMPlatform Insteonlocal BridgeWARNINGunhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed')5/29/2022, 2:14:47 PMPlatform Insteonlocal BridgeInsteonLocalSetting power state of All Basement Lights to off5/29/2022, 2:14:50 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' was slow to respond!5/29/2022, 2:14:56 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' didn't respond at all!. Please check that you properly call the callback!5/29/2022, 2:14:57 PMPlatform Insteonlocal Bridge WARNINGunhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed')5/29/2022, 2:14:58 PMPlatform Insteonlocal Bridge InsteonLocalGot updated status for Back Fountain5/29/2022, 2:14:58 PMPlatform Insteonlocal BridgeInsteonLocalGetting power state for Back Fountain5/29/2022, 2:14:59 PMPlatform Insteonlocal BridgeInsteonLocalSetting power state of All Basement Lights to off5/29/2022, 2:15:02 PMPlatform Insteonlocal Bridge ERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' was slow to respond!5/29/2022, 2:15:08 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' didn't respond at all!. Please check that you properly call the callback!5/29/2022, 2:15:09 PMPlatform Insteonlocal BridgeWARNINGunhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed')5/29/2022, 2:15:11 PMPlatform Insteonlocal BridgeInsteonLocalSetting power state of All Basement Lights to off5/29/2022, 2:15:14 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' was slow to respond!5/29/2022, 2:15:16 PMPlatform Insteonlocal BridgeInsteonLocalGot updated status for Front Porch Outlet5/29/2022, 2:15:16 PMPlatform Insteonlocal Bridge InsteonLocalGetting power state for Front Porch Outlet5/29/2022, 2:15:18 PMAlexa BridgeAlexaPowerController TurnOff FD:62:23:F1:17:96 undefined Error: ESOCKETTIMEDOUT at ClientRequest. (/var/lib/hoobs/alexabridge/node_modules/request/request.js:816:19) at Object.onceWrapper (node:events:641:28) at ClientRequest.emit (node:events:527:28) at Socket.emitRequestTimeout (node:_http_client:771:9) at Object.onceWrapper (node:events:641:28) at Socket.emit (node:events:539:35) at Socket._onTimeout (node:net:516:8) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) { code: 'ESOCKETTIMEDOUT', connect: false, attempts: 5 }5/29/2022, 2:15:20 PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge @. The write handler for the characteristic 'On' on the accessory 'All Basement Lights' didn't respond at all!. Please check that you properly call the callback!5/29/2022, 2:15:21 PMPlatform Insteonlocal BridgeWARNINGunhandled rejection: TypeError: Cannot read properties of undefined (reading 'completed')

On Sun, May 29, 2022 at 2:27 PM Bob Schuler @.***> wrote:

That’s exactly what I did. I went into Alexa on my laptop and manually deleted each Hoobs created Insteon devices and scenes (approximately 70-80). The ones that were previously there with the Insteon Alexa skill were deleted over a month ago. Then I rediscovered all the Insteon Hoobs created devices and scenes. Still the same problem.

On Sun, May 29, 2022 at 12:43 PM zzack1 @.***> wrote:

Even though the Alexa skill was deleted you still need to manually go through and delete all the devices and scenes in the Alexa app. The only way to delete them is one by one (according to the Amazon Alexa support team) the null is when Alexa can not reach the device you are trying to control.

On May 28, 2022, at 8:00 PM, rschuler1964 @.***> wrote:

 I had already deleted (weeks ago) the Insteon Skill from Alexa. However, tonight I removed the Alexa plugin from Hoobs, deleted all the Hoobs Insteon Devices from the Alexa skill, rediscovered them and still have the same problem.

On Sat, May 28, 2022 at 4:23 PM zzack1 @.***> wrote:

BEFORE connecting your Hoobs to Alexa, you will need to go in and disable the insteon skill then manually delete all the insteon devices & scenes. This will help resolve future problems. If you followed this step from discord you would not have these issues

— Reply to this email directly, view it on GitHub < https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1140331283 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AZLNA6GVL5XBGKIEX54YZ6LVMKFEPANCNFSM5XCOWPYA

. You are receiving this because you were mentioned.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

— Reply to this email directly, view it on GitHub https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1140494279, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLNA6ADER6NC7R7YGMIMADVMOUCTANCNFSM5XCOWPYA . You are receiving this because you were mentioned.Message ID: @.*** com>

NorthernMan54 commented 2 years ago

The Alexa plugin issues in this are likely just a symptom of the underlying Insteon plugin issue.

BridgeAlexaPowerController TurnOff FD:62:23:F1:17:96 undefined Error:
ESOCKETTIMEDOUT at ClientRequest.<anonymous>
(/var/lib/hoobs/alexabridge/node_modules/request/request.js:816:19) at
Object.onceWrapper (node:events:641:28) at ClientRequest.emit
(node:events:527:28) at Socket.emitRequestTimeout (node:_http_client:771:9)
at Object.onceWrapper (node:events:641:28) at Socket.emit
(node:events:539:35) at Socket._onTimeout (node:net:516:8) at listOnTimeout
(node:internal/timers:559:17) at processTimers (node:internal/timers:502:7)
{ code: 'ESOCKETTIMEDOUT', connect: false, attempts: 5 }

This error is triggered when the Alexa plugin did not hear back for the Insteon plugin. The data flow looks like this

Alexa Device --> Alexa Cloud --> Homebridge.ca Cloud --> Alexa Plugin --> Insteon Plugin --> Insteon Hub --> Insteon Device

And the Alexa plugin error is it reporting that it didn't get a response from the Insteon plugin within 7 seconds. Which is a similar error to this being reported by the HAP-NodeJS framework

5/29/2022, 2:15:20
PMPlatform Insteonlocal BridgeERROR[Platform Insteonlocal Bridge ***@***.***
The write handler for the characteristic 'On' on the accessory 'All
Basement Lights' didn't respond at all!. Please check that you properly
call the callback!

Any thoughts as to why the Insteon plugin is not responding ?

kuestess commented 2 years ago

@NorthernMan54 The plugin calls all of the homebridge callbacks - is there another response that the Alexa plugin needs?

rschuler1964 commented 1 year ago

Hi, The latest version of the Insteon Bridge messed up a lot of things...

  1. Lost all the rooms defined in Hoobs for the Insteon devices.
  2. Lost all the rooms defined in HomeKit
  3. The Insteon Door and Leak sensors are no longer visible in HomeKit.
  4. Lost all my automation for these sensors in HomeKit.

Painful upgrade!!!

Bob

On Fri, May 27, 2022 at 10:24 AM kuestess @.***> wrote:

@rschuler1964 https://github.com/rschuler1964 Most of the messages above are hoops-specific messages, potentially associated with a lot of Insteon traffic. Can you help me understand if this has any impact on controlling devices and/or status?

— Reply to this email directly, view it on GitHub https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1139721088, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLNA6GPSCFLA4VH5NEMS33VMDSLNANCNFSM5XCOWPYA . You are receiving this because you were mentioned.Message ID: @.*** com>

kuestess commented 1 year ago

@rschuler1964 This is a one-time side effect of migrating to a dynamic platform and documented in the readme:

https://github.com/kuestess/homebridge-platform-insteonlocal/blob/ea5bb47bde3c6d24fc0c19ef0b1d616dc423030d/README.md?plain=1#L10

Door and leak sensors are still there in the 'circle' icons at the top of the corresponding room in the Home app.

rschuler1964 commented 1 year ago

5/28/2022, 9:39:59 PMAlexa BridgeLoaded plugin 'homebridge-alexa'5/28/2022, 9:39:59 PMAlexa BridgeLoading 1 platforms...5/28/2022, 9:39:59 PMAlexa BridgeAlexaERRORMissing username and password5/28/2022, 9:39:59 PMAlexa BridgeAlexahomebridge-alexa v0.5.63, node v16.15.0, homebridge v1.4.15/28/2022, 9:40:00 PMAlexa BridgeBridge is running on port 51836.5/28/2022, 9:40:04 PMAlexa BridgeConfiguration change5/28/2022, 9:40:04 PMalexabridge stopping5/28/2022, 9:40:09 PMAlexa Bridge starting5/28/2022, 9:40:18 PMPlatform Insteonlocal BridgeInsteonLocalError getting power state of Green Texas Holdem Neon Light5/28/2022, 9:40:22 PMAlexa BridgeLoaded plugin 'homebridge-alexa'5/28/2022, 9:40:22 PMAlexa BridgeLoading 1 platforms...5/28/2022, 9:40:22 PMAlexa BridgeAlexahomebridge-alexa v0.5.63, node v16.15.0, homebridge v1.4.15/28/2022, 9:40:23 PMAlexa BridgeBridge is running on port 51836.5/28/2022, 9:40:29 PMPlatform Insteonlocal Bridge InsteonLocalError getting power state of Basement Lights5/28/2022, 9:40:39 PMPlatform Insteonlocal BridgeInsteonLocalError getting power state of Inside Lights5/28/2022, 9:40:42 PMAlexa BridgeAlexaWARNING: Duplicate device name Doorbell5/28/2022, 9:40:42 PMAlexa BridgeAlexaWARNING: Duplicate device name Doorbell5/28/2022, 9:40:42 PMAlexa BridgeAlexaalexaDiscovery

On Sat, May 28, 2022 at 10:00 PM Bob Schuler @.***> wrote:

I had already deleted (weeks ago) the Insteon Skill from Alexa. However, tonight I removed the Alexa plugin from Hoobs, deleted all the Hoobs Insteon Devices from the Alexa skill, rediscovered them and still have the same problem.

On Sat, May 28, 2022 at 4:23 PM zzack1 @.***> wrote:

BEFORE connecting your Hoobs to Alexa, you will need to go in and disable the insteon skill then manually delete all the insteon devices & scenes. This will help resolve future problems. If you followed this step from discord you would not have these issues

— Reply to this email directly, view it on GitHub https://github.com/kuestess/homebridge-platform-insteonlocal/issues/254#issuecomment-1140331283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLNA6GVL5XBGKIEX54YZ6LVMKFEPANCNFSM5XCOWPYA . You are receiving this because you were mentioned.Message ID: @.*** com>