Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fanlink error now 0.5.1 #278

Open
isitmark27 opened this issue Jul 26, 2022 · 12 comments
Open

fanlink error now 0.5.1 #278

isitmark27 opened this issue Jul 26, 2022 · 12 comments
Labels

Comments

@isitmark27
Copy link

isitmark27 commented Jul 26, 2022

[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:

  • Plugin Version:0.5.1
  • Homebridge Version: 1.5.0
  • Node.js Version: Node.js Version v16.13.1
    NPM Version:
  • Operating System: <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker / hb-service

--> Raspbian GNU/Linux Bullseye (11)

@isitmark27 isitmark27 added the bug label Jul 26, 2022
@isitmark27 isitmark27 changed the title fanlink error now fanlink error now 0.5.1 Jul 27, 2022
@magicvash
Copy link

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

kuestess added a commit that referenced this issue Jul 28, 2022
@kuestess
Copy link
Owner

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

@isitmark27
Copy link
Author

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

@coreTech51
Copy link

coreTech51 commented Jul 30, 2022 via email

@kuestess
Copy link
Owner

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

@coreTech51
Copy link

coreTech51 commented Jul 30, 2022 via email

@coreTech51
Copy link

coreTech51 commented Jul 30, 2022 via email

@kuestess
Copy link
Owner

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

@coreTech51
Copy link

coreTech51 commented Aug 10, 2022 via email

@kuestess
Copy link
Owner

@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
Copy link

coreTech51 commented Aug 11, 2022 via email

@isitmark27
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants