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

Devices doesn't appear in Homekit & Gateway light doesn't work #285

Open
jackdownson opened this issue Apr 22, 2020 · 4 comments
Open

Devices doesn't appear in Homekit & Gateway light doesn't work #285

jackdownson opened this issue Apr 22, 2020 · 4 comments

Comments

@jackdownson
Copy link

Hi!
I've installed with pain this module and now I can see the hub in homekit. Now I'm trying to add devices to homekit with JSON in config.json at my hub.

{
"bridge": {
"name": "Homebridge 54E4",
"username": "0E:D6:52:92:54:E4",
"port": 51567,
"pin": "916-64-630"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"platform": "MiAqaraPlatform",
"manage": {
"port": 11128,
"password": "admin"
},
"gateways": {
"04cf8cb0ad64": "E74381D95AFF4F4C"
},
"defaultValue": {
"158d00030A0FC0": {
"SingleSwitch_Switch": {
"name": "ligth",
"serviceType": "SingleSwitch"
}
}
}
}
]
}

And it returns 0 devices. I've checked the ID of device, I've implemented the "0 absence in MAC in the index.js of this module. JSONLint says my json is correct.
Also I got this message in log when homekit taps to light or another device of Gateway:

4/22/2020, 21:42:32] [MiAqaraPlatform] [ERROR]TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
[4/22/2020, 21:42:32] [MiAqaraPlatform] [ERROR]TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
[4/22/2020, 21:42:32] [MiAqaraPlatform] [ERROR]TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
[4/22/2020, 21:42:32] [MiAqaraPlatform] [ERROR]TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
Снимок экрана 2020-04-22 в 21 42 53

Really don't undestand what I' missing

@jackdownson
Copy link
Author

Also I tried several times this issue: #188 (comment)
where author offers to change a pass to Gateway several times.

@jackdownson
Copy link
Author

Anybody?

@jackdownson
Copy link
Author

Hey dudes

@xrust83
Copy link

xrust83 commented Sep 9, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants