Giter VIP home page Giter VIP logo

homebridge-unifi-guest-wlan-switch's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

chandlerhuff

homebridge-unifi-guest-wlan-switch's Issues

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

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)

No button in Home app

In homebridge it was loading Guest WiFi fine, but there was no button published in my HomeApp? Did i miss any step? Thanks :)

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.