ebaauw / homebridge-ws

Homebridege plugin for virtual weather station
Apache License 2.0
106 stars 4 forks source link

stuck on old weather #23

Closed beliy82 closed 3 years ago

beliy82 commented 3 years ago

hi, it was working perfectly, and about a week ago, its stuck on old weather, in log file i can see this:

[12/4/2020, 02:15:19] [Weather] warning: npm registry request 1: get /homebridge-ws/latest [12/4/2020, 02:15:19] [Weather] warning: npm registry request 1: error: registry.npmjs.org: timeout after 5 seconds

ebaauw commented 3 years ago

That's just the NPM registry to check for updates of Homebridge WS.

Do you see any errors or warnings contacting the OpenWeatherMap server?

beliy82 commented 3 years ago

The plugin "homebridge-ws" requires Node version of ^14.15.1 which does not satisfy the current Node version of v12.19.0. You may need to upgrade your installation of Node.

but i got latest node version

ebaauw commented 3 years ago

You’re running Homebridge under NodeJS v12.19.0, as per the message. I develop and test against the latest LTS version of NodeJS, hence the dependency. Not sure if that’s causing the weather not to be updated, though.

ebaauw commented 3 years ago

Actually, the issue seems to be related to the NodeJS version. For now, either update to NodeJS v14, or downgrade to homebridge-ws@2.4.0.

ebaauw commented 3 years ago

Should be fixed in v2.4.2.

beliy82 commented 3 years ago

Thanks! with the update it was fixed