Coder Social home page Coder Social logo

Comments (14)

Homekitdude avatar Homekitdude commented on May 10, 2024 1

Mine also doesn’t work. Shows up in HomeKit, but nothing works at all.

from homebridge-hatch-baby-rest.

dgreif avatar dgreif commented on May 10, 2024

The Bluetooth Rest won't be detected automatically. You need to go into your config and at it based on MAC address

from homebridge-hatch-baby-rest.

Bmkenny avatar Bmkenny commented on May 10, 2024

I know. I have added it there but it’s still not being added and I don’t get any json errors when saving the config. Am I supposed to add it directly to the json file or through the plug in? Any ideas would be greatly appreciated.

Thanks!

from homebridge-hatch-baby-rest.

dgreif avatar dgreif commented on May 10, 2024

You can add it via homebridge-config-ui-x, which has a nice UI to make sure you have everything structured properly

from homebridge-hatch-baby-rest.

dgreif avatar dgreif commented on May 10, 2024

@Bmkenny any luck?

from homebridge-hatch-baby-rest.

Twileyskunk avatar Twileyskunk commented on May 10, 2024

I am having this same issue. Running Homebridge on Windows 10, confirmed I have BTLE, followed instructions exactly. But HB doesn't seem to add it as an accessory? I can't even see it to control it in HB much less HK. What am I missing?

from homebridge-hatch-baby-rest.

dgreif avatar dgreif commented on May 10, 2024

@Twileyskunk do you have any logs to show what's happening?

from homebridge-hatch-baby-rest.

Twileyskunk avatar Twileyskunk commented on May 10, 2024

Sure. Looks like there is an error connecting to the API, and it says "address family not supported by protocol"?

from homebridge-hatch-baby-rest.

dgreif avatar dgreif commented on May 10, 2024

Would you mind posting the full error from the logs?

from homebridge-hatch-baby-rest.

Twileyskunk avatar Twileyskunk commented on May 10, 2024

HatchBabyRest] Error connecting to API
[9/19/2021, 8:17:02 PM] [HatchBabyRest] Error: EAFNOSUPPORT, Address family not supported by protocol
at new Hci (/homebridge/node_modules/homebridge-hatch-baby-rest/node_modules/@abandonware/noble/lib/hci-socket/hci.js:80:18)
at new NobleBindings (/homebridge/node_modules/homebridge-hatch-baby-rest/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:25:15)
at module.exports (/homebridge/node_modules/homebridge-hatch-baby-rest/node_modules/@abandonware/noble/lib/resolve-bindings.js:13:12)
at Object. (/homebridge/node_modules/homebridge-hatch-baby-rest/node_modules/@abandonware/noble/index.js:2:51)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Module.require (internal/modules/cjs/loader.js:961:19)
at require (internal/modules/cjs/helpers.js:92:18) {
errno: 97,
code: 'EAFNOSUPPORT',
syscall: 'socket'

from homebridge-hatch-baby-rest.

dgreif avatar dgreif commented on May 10, 2024

What hardware/OS are you using to run homebridge? Does it have a Bluetooth LE adapter? Could you post your config (without your Hatch username/password)?

from homebridge-hatch-baby-rest.

Twileyskunk avatar Twileyskunk commented on May 10, 2024

Running HB on a Dell machine with Windows 10. Yes it does have BT LE adapter plugged in. My config as follows (with UN/PW removed):

email": " [email protected]",
"password": "XXXXX",
"restLights": [
{
"name": "Nursery",
"macAddress": "CF:49:A4:64:BB:2B"
}
],
"platform": "HatchBabyRest"
}

from homebridge-hatch-baby-rest.

dgreif avatar dgreif commented on May 10, 2024

I don't see anything out of the ordinary. My guess is the noble package simply doesn't like something with your computer/bluetooth hardware. Unfortunately it's not something I can debug 😞. I think most users use a raspberry pi, so consider setting one of those up as your homebridge server

from homebridge-hatch-baby-rest.

dgreif avatar dgreif commented on May 10, 2024

I'm really not doing much maintenance on the bluetooth side of this plugin any longer. For the best experience, I recommend buying one of the newer wifi lights from Hatch. The bluetooth is just too complicated given the hardware requirements, and the fact that bluetooth warries widely between different devices (rpi vs mac vs ...). PRs welcome if anyone finds improvements.

from homebridge-hatch-baby-rest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.