kuestess / homebridge-platform-insteonlocal

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

fanlink error now 0.5.1 #278

Open isitmark27 opened 1 year ago

isitmark27 commented 1 year ago

[26/07/2022, 16:56:53] [InsteonLocal] Getting state for FanLink Bedroom ReferenceError: Cannot access 'setFanLevel' before initialization at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-platform-insteonlocal/src/InsteonLocalAccessory.ts:1086:7) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7) [26/07/2022, 16:56:54] [InsteonLocal] Child bridge process ended [26/07/2022, 16:56:54] [InsteonLocal] Process Ended. Code: 1, Signal: null [26/07/2022, 16:57:01] [InsteonLocal] Restarting Process... [26/07/2022, 16:57:03] [InsteonLocal] Launched child bridge with PID 4878

Describe The Bug: Anytime you change fan speed it restarts the process

To Reproduce: change fan speed

Expected behavior: change fan speed

Logs:

[26/07/2022, 16:56:53] [InsteonLocal] Getting state for FanLink Bedroom ReferenceError: Cannot access 'setFanLevel' before initialization at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-platform-insteonlocal/src/InsteonLocalAccessory.ts:1086:7) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7) [26/07/2022, 16:56:54] [InsteonLocal] Child bridge process ended [26/07/2022, 16:56:54] [InsteonLocal] Process Ended. Code: 1, Signal: null [26/07/2022, 16:57:01] [InsteonLocal] Restarting Process... [26/07/2022, 16:57:03] [InsteonLocal] Launched child bridge with PID 4878 Show the Homebridge logs here, remove any sensitive information.


**Plugin Config:**

```json
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

--> Raspbian GNU/Linux Bullseye (11)

magicvash commented 1 year ago

I’m having this issue as well. Updated to the most recent version and that’s when all my issues began.

kuestess commented 1 year ago

@isitmark27 @magicvash This should be fixed in 0.5.2 (just published).

isitmark27 commented 1 year ago

Thanks it works now, although the logs show it's constantly getting status updates from the fanlink

coreTech51 commented 1 year ago

kuestess,

I don’t see plugin version 0.5.2 available in HOOBS. How do I update?

Thanks, Aaron

Sent from my iPadMini Aaron Harvey @.***

Confidential Notice: This communication, including attachments, may contain information that is confidential and protected by the attorney/client or other privileges. It constitutes non-public information intended to be conveyed only to the designated recipient(s). If reader or recipient of this communication is not the intended recipient, an employee or agent of the intended recipient who is responsible for delivering it to the intended recipient, or you believe that you have received this communication in error, please notify the sender immediately by return email and promptly delete this email, including attachments without reading or saving them in any manner. The unauthorized use, dissemination, distribution, or reproduction of this email, including attachments, is prohibited and may be unlawful. Receipt by anyone other than the intended recipient(s) is not a waiver of any attorney/client or other privilege.

On Jul 27, 2022, at 10:15 PM, kuestess @.***> wrote:

 @isitmark27 @magicvash This should be fixed in 0.5.2 (just published).

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

kuestess commented 1 year ago

@coreTech51 Had to unpublish 0.5.2 due to an issue with npm - just install 0.5.3, its the asme code.

coreTech51 commented 1 year ago

Okay, but 0.5.1 is only showing in HOOBS plugin. Plus, when I select “Check for Updates”, Platform Insteonlocal will not show any updates.

Thanks.

Sent from my iPadMini Aaron Harvey @.***

Confidential Notice: This communication, including attachments, may contain information that is confidential and protected by the attorney/client or other privileges. It constitutes non-public information intended to be conveyed only to the designated recipient(s). If reader or recipient of this communication is not the intended recipient, an employee or agent of the intended recipient who is responsible for delivering it to the intended recipient, or you believe that you have received this communication in error, please notify the sender immediately by return email and promptly delete this email, including attachments without reading or saving them in any manner. The unauthorized use, dissemination, distribution, or reproduction of this email, including attachments, is prohibited and may be unlawful. Receipt by anyone other than the intended recipient(s) is not a waiver of any attorney/client or other privilege.

On Jul 30, 2022, at 1:58 PM, kuestess @.***> wrote:

 @coreTech51 Had to unpublish 0.5.2 due to an issue with npm - just install 0.5.3, its the asme code.

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

coreTech51 commented 1 year ago

Okay, but 0.5.1 is only showing in HOOBS plugin. Plus, when I select “Check for Updates”, Platform Insteonlocal will not show any updates.

Thanks.

Sent from my iPadMini Aaron Harvey @.***

Confidential Notice: This communication, including attachments, may contain information that is confidential and protected by the attorney/client or other privileges. It constitutes non-public information intended to be conveyed only to the designated recipient(s). If reader or recipient of this communication is not the intended recipient, an employee or agent of the intended recipient who is responsible for delivering it to the intended recipient, or you believe that you have received this communication in error, please notify the sender immediately by return email and promptly delete this email, including attachments without reading or saving them in any manner. The unauthorized use, dissemination, distribution, or reproduction of this email, including attachments, is prohibited and may be unlawful. Receipt by anyone other than the intended recipient(s) is not a waiver of any attorney/client or other privilege.

On Jul 30, 2022, at 1:58 PM, kuestess @.***> wrote:  @coreTech51 Had to unpublish 0.5.2 due to an issue with npm - just install 0.5.3, its the asme code.

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

kuestess commented 1 year ago

@coreTech51 Fired up my test HOOBS container and 0.5.3 shows available. Maybe reboot your instance or otherwise check for updates.

coreTech51 commented 1 year ago

Hi,

My logs are constantly getting status updates from the fanlink. is there a way to fix this?

Thanks

8/10/2022, 9:46:55 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:46:56 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:46:56 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:46:56 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting state for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:02 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:02 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:03 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:03 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:04 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:04 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:06 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:06 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:11 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:11 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:11 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting state for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:11 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:11 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:12 AMPlatform Insteonlocal BridgeInsteon Local PlatormError getting power state of PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:12 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:12 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:13 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:13 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:13 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting state for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:16 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:16 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:16 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting state for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:18 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:18 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:18 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting state for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:24 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:24 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:24 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting state for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:26 AMPlatform Insteonlocal BridgeInsteon Local PlatormError getting power state of PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:27 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:27 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:29 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:29 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:30 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:30 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan 8/10/2022, 9:47:31 AMPlatform Insteonlocal BridgeInsteon Local PlatormGetting status for PoolHouse Office Ceiling Fan Light 8/10/2022, 9:47:31 AMPlatform Insteonlocal BridgeInsteon Local PlatormGot updated status for PoolHouse Office Ceiling Fan

Sent from my iPadMini Aaron Harvey @.***

Confidential Notice: This communication, including attachments, may contain information that is confidential and protected by the attorney/client or other privileges. It constitutes non-public information intended to be conveyed only to the designated recipient(s). If reader or recipient of this communication is not the intended recipient, an employee or agent of the intended recipient who is responsible for delivering it to the intended recipient, or you believe that you have received this communication in error, please notify the sender immediately by return email and promptly delete this email, including attachments without reading or saving them in any manner. The unauthorized use, dissemination, distribution, or reproduction of this email, including attachments, is prohibited and may be unlawful. Receipt by anyone other than the intended recipient(s) is not a waiver of any attorney/client or other privilege.

On Jul 29, 2022, at 9:50 PM, isitmark27 @.***> wrote:

the logs show it's constantly getting status updates from the fanlink

kuestess commented 1 year ago

@coreTech51 Looks like your fanlinc may be a bit chatty :-). The plugin reports any traffic in the log that is sent to the hub, meaning that the fanlinc is actually sending all of those messages. I haven't had this happen, but have seen cases where devices start spewing messages and the solution is to factory reset and reprogram the device. No guarantees that is the issue, but it seems likely given the continuous messages from that device.

coreTech51 commented 1 year ago

Thanks. I’ll try that.

Sent from my iPadMini Aaron Harvey @.***

Confidential Notice: This communication, including attachments, may contain information that is confidential and protected by the attorney/client or other privileges. It constitutes non-public information intended to be conveyed only to the designated recipient(s). If reader or recipient of this communication is not the intended recipient, an employee or agent of the intended recipient who is responsible for delivering it to the intended recipient, or you believe that you have received this communication in error, please notify the sender immediately by return email and promptly delete this email, including attachments without reading or saving them in any manner. The unauthorized use, dissemination, distribution, or reproduction of this email, including attachments, is prohibited and may be unlawful. Receipt by anyone other than the intended recipient(s) is not a waiver of any attorney/client or other privilege.

On Aug 10, 2022, at 10:24 PM, kuestess @.***> wrote:

 @coreTech51 Looks like your fanlinc may be a bit chatty :-). The plugin reports any traffic in the log that is sent to the hub, meaning that the fanlinc is actually sending all of those messages. I haven't had this happen, but have seen cases where devices start spewing messages and the solution is to factory reset and reprogram the device. No guarantees that is the issue, but it seems likely given the continuous messages from that device.

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

isitmark27 commented 1 year ago

Let me know if that works. I rolled back and it's been working with the old version