Comments (14)
Mine also doesn’t work. Shows up in HomeKit, but nothing works at all.
from homebridge-hatch-baby-rest.
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.
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.
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.
@Bmkenny any luck?
from homebridge-hatch-baby-rest.
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.
@Twileyskunk do you have any logs to show what's happening?
from homebridge-hatch-baby-rest.
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.
Would you mind posting the full error from the logs?
from homebridge-hatch-baby-rest.
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.
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.
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.
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.
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)
- Error connecting to API (403 Forbidden) HOT 2
- No Volume Control HOT 1
- Consider switching sound selector device type HOT 1
- Restore 2 Support HOT 14
- Only on/off switch appearing for Rest+ HOT 2
- Internal Server Error HOT 13
- Tapping on the Brightness Switch Does Not Set Brightness to 0
- Use Lightbulb instead of speaker to allow Homekit control HOT 1
- Rest+ Homekit Display HOT 1
- Only getting on/off on Rest Gen2 HOT 9
- I have had this pop up in and out again, I think the issue is if there is ANY interruption to the AWS back end a new token is issued. HOT 1
- Plugin crash after latest Rest updates HOT 3
- Ignore `alexa` device type
- 4.3.1 removes Hatch Rest+ Gen 1 and 2 devices HOT 5
- 4.3.2 Breaks Rest2 support HOT 4
- 4.3.1 and up Break Rest+ HOT 2
- Added to homekit but buttons do nothing (rest+ 2nd gen) HOT 2
- Issue installing on Synology DSM7 package, continues to fail HOT 2
- Command for touch ring favorites on Hatch Rest bluetooth? HOT 4
- Doesnt Show Devices - restoreIot HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-hatch-baby-rest.