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

Plugin is not properly loading with Unifi controller 5.7.20 running on a Raspberry Pi 3 #1

Open
mrwaltern opened this issue Apr 6, 2018 · 3 comments

Comments

@mrwaltern
Copy link

Here are the logs:

Apr 06 13:29:04 raspberrypi homebridge[503]: [2018-4-6 13:29:04] [Guest Controller] Logging into Unifi Controller 10.0.1.24 8443
Apr 06 13:29:35 raspberrypi homebridge[503]: [2018-4-6 13:29:35] [Guest Controller] Logged into Unifi Controller
Apr 06 13:29:35 raspberrypi homebridge[503]: [2018-4-6 13:29:35] [Guest Controller] loading guest wifies
Apr 06 13:29:36 raspberrypi homebridge[503]: [2018-4-6 13:29:36] [Guest Controller] loaded wlan settings [ { _id: '5ac2ff1b1442340247f0276a',
Apr 06 13:29:36 raspberrypi homebridge[503]: bc_filter_enabled: true,
Apr 06 13:29:36 raspberrypi homebridge[503]: bc_filter_list: [],
Apr 06 13:29:36 raspberrypi homebridge[503]: dtim_mode: 'default',
Apr 06 13:29:36 raspberrypi homebridge[503]: dtim_na: 1,
Apr 06 13:29:36 raspberrypi homebridge[503]: dtim_ng: 1,
Apr 06 13:29:36 raspberrypi homebridge[503]: enabled: false,
Apr 06 13:29:36 raspberrypi homebridge[503]: group_rekey: 3600,
Apr 06 13:29:36 raspberrypi homebridge[503]: is_guest: true,
Apr 06 13:29:36 raspberrypi homebridge[503]: mac_filter_enabled: false,
Apr 06 13:29:36 raspberrypi homebridge[503]: mac_filter_list: [],
Apr 06 13:29:36 raspberrypi homebridge[503]: mac_filter_policy: 'allow',
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_na_advertising_rates: false,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_na_beacon_rate_kbps: 6000,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_na_data_rate_kbps: 6000,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_na_enabled: false,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_na_mgmt_rate_kbps: 6000,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_ng_advertising_rates: false,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_ng_beacon_rate_kbps: 1000,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_ng_cck_rates_enabled: true,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_ng_data_rate_kbps: 1000,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_ng_enabled: false,
Apr 06 13:29:36 raspberrypi homebridge[503]: minrate_ng_mgmt_rate_kbps: 1000,
Apr 06 13:29:36 raspberrypi homebridge[503]: name: 'W&J Guest',
Apr 06 13:29:36 raspberrypi homebridge[503]: schedule: [],
Apr 06 13:29:36 raspberrypi homebridge[503]: security: 'open',
Apr 06 13:29:36 raspberrypi homebridge[503]: site_id: '53fe8a390364ed3783a30cd8',
Apr 06 13:29:36 raspberrypi homebridge[503]: usergroup_id: '5ac2ff901442340247f0276b',
Apr 06 13:29:36 raspberrypi homebridge[503]: wep_idx: 1,
Apr 06 13:29:36 raspberrypi homebridge[503]: wlangroup_id: '53fe8a3a0364ed3783a30ce5',
Apr 06 13:29:36 raspberrypi homebridge[503]: wpa_enc: 'ccmp',
Apr 06 13:29:36 raspberrypi homebridge[503]: wpa_mode: 'wpa2',
Apr 06 13:29:36 raspberrypi homebridge[503]: x_iapp_key: '7e136ca59389b4d156543995f450556c' } ]
Apr 06 13:29:36 raspberrypi homebridge[503]: [2018-4-6 13:29:36] [Guest Controller] loaded 1 wlans [ 'W&J Guest' ]
Apr 06 13:29:36 raspberrypi homebridge[503]: [2018-4-6 13:29:36] [Guest Controller] adding 1 guest wifi [ { _id: '53fe8a390364ed3783a30cd8',
Apr 06 13:29:36 raspberrypi homebridge[503]: attr_hidden_id: 'default',
Apr 06 13:29:36 raspberrypi homebridge[503]: attr_no_delete: true,
Apr 06 13:29:36 raspberrypi homebridge[503]: desc: '300 W Holmes Rd',
Apr 06 13:29:36 raspberrypi homebridge[503]: name: 'default',
Apr 06 13:29:36 raspberrypi homebridge[503]: role: 'admin' } ]
Apr 06 13:29:36 raspberrypi homebridge[503]: [2018-4-6 13:29:36] [Guest Controller] Adding Guest Wifi: default-W&J Guest
Apr 06 13:29:36 raspberrypi homebridge[503]: [2018-4-6 13:29:36] [Guest Controller] Guest Wifi: default-W&J Guest, does not exists, adding new accessory
Apr 06 13:29:36 raspberrypi homebridge[503]: [2018-4-6 13:29:36] [Guest Controller] Setting up accessory for Guest Wifi: default-W&J Guest
Apr 06 13:29:36 raspberrypi homebridge[503]: [2018-4-6 13:29:36] [Guest Controller] getting service switch undefined, undefined
Apr 06 13:29:36 raspberrypi homebridge[503]: [2018-4-6 13:29:36] [Guest Controller] error loading guest wifies TypeError: Cannot read property 'getCharacteristic' of undefined
Apr 06 13:29:36 raspberrypi homebridge[503]: at UnifyGuestWifiPlatform.setupAccessory (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:211:39)
Apr 06 13:29:36 raspberrypi homebridge[503]: at UnifyGuestWifiPlatform._callee4$ (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:296:18)
Apr 06 13:29:36 raspberrypi homebridge[503]: at tryCatch (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:62:40)
Apr 06 13:29:36 raspberrypi homebridge[503]: at Generator.invoke [as _invoke] (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:296:22)
Apr 06 13:29:36 raspberrypi homebridge[503]: at Generator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js
Apr 06 13:29:36 raspberrypi homebridge[503]: at step (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
Apr 06 13:29:36 raspberrypi homebridge[503]: at /usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
Apr 06 13:29:36 raspberrypi homebridge[503]: at new Promise ()
Apr 06 13:29:36 raspberrypi homebridge[503]: at new F (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/core-js/library/modules/_export.js:36:28)
Apr 06 13:29:36 raspberrypi homebridge[503]: at UnifyGuestWifiPlatform. (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:1
Apr 06 13:29:36 raspberrypi homebridge[503]: at UnifyGuestWifiPlatform.addGuestWifiAccessory (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:309:18)
Apr 06 13:29:36 raspberrypi homebridge[503]: at /usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:164:29
Apr 06 13:29:36 raspberrypi homebridge[503]: at Array.map ()
Apr 06 13:29:36 raspberrypi homebridge[503]: at UnifyGuestWifiPlatform._callee2$ (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:161:39)
Apr 06 13:29:36 raspberrypi homebridge[503]: at tryCatch (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:62:40)
Apr 06 13:29:36 raspberrypi homebridge[503]: at Generator.invoke [as _invoke] (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:296:22)
Apr 06 13:29:36 raspberrypi homebridge[503]: at Generator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js
Apr 06 13:29:36 raspberrypi homebridge[503]: at step (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
Apr 06 13:29:36 raspberrypi homebridge[503]: at /usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
Apr 06 13:29:36 raspberrypi homebridge[503]: at new Promise ()
Apr 06 13:29:36 raspberrypi homebridge[503]: at new F (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/core-js/library/modules/_export.js:36:28)
Apr 06 13:29:36 raspberrypi homebridge[503]: at UnifyGuestWifiPlatform. (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:1
Apr 06 13:29:36 raspberrypi homebridge[503]: at UnifyGuestWifiPlatform.addGuestWifiAccessories (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:176:18)
Apr 06 13:29:36 raspberrypi homebridge[503]: at UnifyGuestWifiPlatform._callee$ (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:139:23)
Apr 06 13:29:36 raspberrypi homebridge[503]: at tryCatch (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:62:40)
Apr 06 13:29:36 raspberrypi homebridge[503]: at Generator.invoke [as _invoke] (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:296:22)
Apr 06 13:29:36 raspberrypi homebridge[503]: at Generator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js
Apr 06 13:29:36 raspberrypi homebridge[503]: at step (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
Apr 06 13:29:36 raspberrypi homebridge[503]: at /usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
Apr 06 13:29:36 raspberrypi homebridge[503]: at
Apr 06 13:29:36 raspberrypi homebridge[503]: at process._tickCallback (internal/process/next_tick.js:188:7)

@lyonlai
Copy link
Owner

lyonlai commented Apr 10, 2018

yo @mrwaltern what's the version of the node you are running down in the pi 3? & also the version of homebridg plz.

@lyonlai
Copy link
Owner

lyonlai commented Apr 10, 2018

I've updated my unifi controller to 5.7.20-10627. and couldn't find the issue. @mrwaltern

@mrwaltern
Copy link
Author

Thanks for looking into it. Node version 8.11.1, homebridge 0.4.38. If I can't figure it out, I'll try a clean install next week sometime.

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