-
Notifications
You must be signed in to change notification settings - Fork 284
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
Startup issue #41
Comments
Hey - looks like there's a device in your network that may not be fully supported. What Broadlink devices are on your network?
…On 9 Apr 2017, 6:14 AM +1000, linru2000 ***@***.***>, wrote:
Hi,
I'm a beginner to homebridge. When I try to launch homebridge with Broadlink plugin, it always has error like this:
Loaded plugin: homebridge-broadlink-rm
[2017-4-9 03:39:11] Registering platform 'homebridge-broadlink-rm.BroadlinkRM'
[2017-4-9 03:39:11] ---
[2017-4-9 03:39:11] Loaded config.json with 0 accessories and 1 platforms.
[2017-4-9 03:39:11] ---
[2017-4-9 03:39:11] Loading 1 platforms...
[2017-4-9 03:39:11] [Broadlink RM 2] Initializing BroadlinkRM platform...
[2017-4-9 03:39:11] [Broadlink RM 2] No accessories have been added to the Broadlink RM config. Only the Learn IR accessory will be accessible on HomeKit.
[2017-4-9 03:39:11] [Broadlink RM 2] Initializing platform accessory 'Learn IR'...
[2017-4-9 03:39:11] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:`
┌────────────┐ │ 031-45-xxx │ └────────────┘
[2017-4-9 03:39:11] Homebridge is running on port 53xxx.
Discovered Broadlink RM device at 10.0.1.xx (xx:xx:xx:xx:xx:xx)
/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:98
dev.device();
^
TypeError: dev.device is not a function
at module.exports.Broadlink.genDevice (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:98:13)
at Socket.cs.on (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:187:29)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:194:7)
at UDP.onMessage [as onmessage] (dgram.js:545:8)
And this is my config file:
{
"bridge":{
"name":"Homebridge",
"username":"xx:22:xx:xx:xx:xx",
"port":53xxx,
"pin":"031-4x-xxx"
},
"description":"Homebridge",
"accessories":[
],
"platforms":[
{
"platform":"BroadlinkRM",
"name":"Broadlink RM 2",
"accessories":[
]
}
]
}
I ran homebridge on Mac with 10.12.4, Node 7.8. I tried installing Wemo plugin and it works. Then I deleted all stuff and started to setup broadlink. However, every time it said: TypeError: dev.device is not a function.
Could you help me ?
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (#41), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAJ8rbl64C2hhiAbrkzOcJZakcbhiHZAks5rt-qVgaJpZM4M30Rl).
|
My Device is RM Pro with lots of TC 2 switch. |
I have the same issue 'TypeError: dev.device is not a function'. |
Follow your hints, I checked my wifi and found Dooya Automated Curtains is also named as Broadlink_Dooya. |
I'll update the version of broadlinkjs I'm using to exclude it and other non-rm devices tomorrow |
Hi,
I'm a beginner to homebridge. When I try to launch homebridge with Broadlink plugin, it always has error like this:
Loaded plugin: homebridge-broadlink-rm
[2017-4-9 03:39:11] Registering platform 'homebridge-broadlink-rm.BroadlinkRM'
[2017-4-9 03:39:11] ---
[2017-4-9 03:39:11] Loaded config.json with 0 accessories and 1 platforms.
[2017-4-9 03:39:11] ---
[2017-4-9 03:39:11] Loading 1 platforms...
[2017-4-9 03:39:11] [Broadlink RM 2] Initializing BroadlinkRM platform...
[2017-4-9 03:39:11] [Broadlink RM 2] No accessories have been added to the Broadlink RM config. Only the Learn IR accessory will be accessible on HomeKit.
[2017-4-9 03:39:11] [Broadlink RM 2] Initializing platform accessory 'Learn IR'...
[2017-4-9 03:39:11] Loading 0 accessories...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:`
[2017-4-9 03:39:11] Homebridge is running on port 53xxx.
Discovered Broadlink RM device at 10.0.1.xx (xx:xx:xx:xx:xx:xx)
/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:98
dev.device();
^
TypeError: dev.device is not a function
at module.exports.Broadlink.genDevice (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:98:13)
at Socket.cs.on (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs/index.js:187:29)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:194:7)
at UDP.onMessage [as onmessage] (dgram.js:545:8)
And this is my config file:
{
"bridge":{
"name":"Homebridge",
"username":"xx:22:xx:xx:xx:xx",
"port":53xxx,
"pin":"031-4x-xxx"
},
"description":"Homebridge",
"accessories":[
],
"platforms":[
{
"platform":"BroadlinkRM",
"name":"Broadlink RM 2",
"accessories":[
]
}
]
}
I ran homebridge on Mac with 10.12.4, Node 7.8. I tried installing Wemo plugin and it works. Then I deleted all stuff and started to setup broadlink. However, every time it said: TypeError: dev.device is not a function.
Could you help me ?
Thank you.
The text was updated successfully, but these errors were encountered: