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

heartbeat warning #9

Closed
1rado1 opened this issue Jan 29, 2020 · 2 comments
Closed

heartbeat warning #9

1rado1 opened this issue Jan 29, 2020 · 2 comments
Labels
question Further information is requested

Comments

@1rado1
Copy link

1rado1 commented Jan 29, 2020

Hi,
I am getting [Rpi] warning: heartbeat 1, drift 365 and also some node related errors:
TypeError: events.once is not a function
As for now, node.js v. 12.x is not possible for me, since other Homebridge plugins are not compatible, I am forced to use stable version of 8.x - are you about to optimize for older versions?

@ebaauw
Copy link
Owner

ebaauw commented Jan 29, 2020

I don't think NodeJS v8 supports events.once(), so homebridge-rpi will not work with that version.

I develop and test my plugins against the latest LTS version of NodeJS, currently v12.14.1. I will not spend any time on testing against or porting to other versions.

The heartbeat warning indicates that the heartbeat didn't occur at the time it was scheduled. If this happens structurally, it might indicate a rogue plugin blocking the NodeJS process, or that you're running on a machine that cannot handle the load. If you only see a couple of these messages shortly after starting homebridge, there's nothing to worry about.

@1rado1
Copy link
Author

1rado1 commented Jan 29, 2020

You are right, it doesn't support it.

I totally understand, I have tried to install 12.14.1 and get it work with other plugins, but I am reverting back, as it is not possible at the moment. So I need to look for another plugin to control GPIO which works with 8.x

Thank you for all the info, I appreciate it

@ebaauw ebaauw added the question Further information is requested label Jan 29, 2020
@ebaauw ebaauw closed this as completed Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants