dgreif / homebridge-hatch-baby-rest

A homebridge plugin for Hatch Baby Rest night light
MIT License
74 stars 19 forks source link

Failed to reach server error #135

Closed JeffJeanBap closed 3 weeks ago

JeffJeanBap commented 1 month ago

I'm getting the following error on the HOOBS plugin. This seems to work fine on homebridge using the same exact config.

**

Hatch Baby Rest BridgeHatchBabyRestERRORFailed to reach Hatch Baby server at https://prod-sleep.hatchbaby.com/public/v1/login. fetch is not defined. Trying again in 5 seconds...

**

CleanShot 2024-07-26 at 17 29 38@2x

Homekitdude commented 1 month ago

Same issue for me. On latest version 5.0.1. Ugh this is why I can’t trust homebridge and hoobs.

Homekitdude commented 1 month ago

@dgreif any hope for a fix?

jonarogers commented 1 month ago

I am having this server issue as well.

Homekitdude commented 1 month ago

Looks like the developer abandoned this plugin.

tsightler commented 4 weeks ago

Not abandoned, actually, the release notes for v5 of this plugin, released just 3 weeks ago, clearly state that NodeJS>=18 is required. The error above is caused by using an unsupported, end-of-life NodeJS version. Use modern Homebridge with a supported NodeJS version and the plugin will work. You should contact HOOBS for any assistance upgrading to a supported NodeJS version, assuming they are still responding to support requests.

dgreif commented 3 weeks ago

I second everything from @tsightler above. I've not abandoned this plugin, just have a lot going on in life and can't get to issues on open source on a daily basis 😅

Homekitdude commented 3 weeks ago

Dang that's unfortunate, because my HOOBS won't update beyond Node Version: 16.20.1. Does this mean anyone on that version is SOL? Sorry, not very versed in this and maybe HOOBS/homebridge is not for me. Thanks for your work though. Looks like I have to stay on an older version indefinitely?

tsightler commented 3 weeks ago

@Homekitdude My suggestion is to contact HOOBS support. The primary benefit of paying for HOOBS vs using Homebridge for free is to have someone to contact for support.

JeffJeanBap commented 3 weeks ago

Thanks @tsightler my node version is updated and seems to be running now.

Your contribution to this plugin is very much appreciated @dgreif !